Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-10-31 23:59:03.299996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-10-31 23:59:22.519062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/11/image_29102025_19_11_51_2606.jpg', '/home/pi/Desktop/images/29102025/19/11/image_29102025_19_11_54_3095.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_03_2580.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_06_2920.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_10_3609.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_13_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/11/image_29102025_19_11_51_2606.jpg
/home/pi/Desktop/images/29102025/19/11/image_29102025_19_11_54_3095.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_03_2580.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_06_2920.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_10_3609.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_13_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391455526","1391455540","1391455534","1391455542","1391455536","1391455539"],"photo_ids_order":["1391455526","1391455534","1391455536","1391455539","1391455540","1391455542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56abe65f04802b67c9e5dd2f4000dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody6402474806377203233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_11_51_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0d87acd21944ed1fc02a4acbfa835d3.jpg","text":"TemporaryFile(/tmp/multipartBody3567868142359288602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_12_10_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d708f625e97f27c7b1f53db0c5a021cf.jpg","text":"TemporaryFile(/tmp/multipartBody1493503807651792099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_11_54_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0206f446f9543003d4991eaa044ec74e.jpg","text":"TemporaryFile(/tmp/multipartBody9185341426516896835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_12_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a01e67ecb6f727ad9401205eb8abae95.jpg","text":"TemporaryFile(/tmp/multipartBody2341946178659962768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_12_03_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8925c82a2c502179da45b94ba1c3419.jpg","text":"TemporaryFile(/tmp/multipartBody5347199415932349654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951625543,"filename":"image_29102025_19_12_06_2920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391455536","file1":"1391455534","file0":"1391455526","file4":"1391455540","file5":"1391455542","file3":"1391455539"},"map_files_photo_id_array":[{"photo_id":"1391455542","filename":"file5"},{"photo_id":"1391455536","filename":"file2"},{"photo_id":"1391455540","filename":"file4"},{"photo_id":"1391455534","filename":"file1"},{"photo_id":"1391455526","filename":"file0"},{"photo_id":"1391455539","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391455526":["hashtag1","hashtag2"]},{"1391455540":["hashtag1","hashtag2"]},{"1391455534":["hashtag1","hashtag2"]},{"1391455542":["hashtag1","hashtag2"]},{"1391455536":["hashtag1","hashtag2"]},{"1391455539":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391455526, 1391455540, 1391455534, 1391455542, 1391455536, 1391455539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12832808494568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:00:22.392534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_15_2778.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_18_2763.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_22_3594.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_25_2887.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_27_2716.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_31_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_15_2778.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_18_2763.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_22_3594.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_25_2887.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_27_2716.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_31_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391455577","1391455562","1391455573","1391455581","1391455592","1391455568"],"photo_ids_order":["1391455562","1391455568","1391455573","1391455577","1391455581","1391455592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38ac851086118f2999f0e424c22aa745.jpg","text":"TemporaryFile(/tmp/multipartBody2339094387026742042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_25_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/573e0d8648f9c5d48a7e66b2304e1a32.jpg","text":"TemporaryFile(/tmp/multipartBody4930363376880138207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_15_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/517939893304c1f0d58f0cb48c24c924.jpg","text":"TemporaryFile(/tmp/multipartBody4922097297298539607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_22_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68d41441a97ccad63a332d85e89a1bec.jpg","text":"TemporaryFile(/tmp/multipartBody3203603555151678329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_27_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a8dc998a4edc6030dcf7bafa9ae2bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5520297165107808103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_31_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2c4b256685271d34d9a5742a098e163.jpg","text":"TemporaryFile(/tmp/multipartBody4509964039935384140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951692078,"filename":"image_29102025_19_12_18_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391455573","file1":"1391455568","file0":"1391455562","file4":"1391455581","file5":"1391455592","file3":"1391455577"},"map_files_photo_id_array":[{"photo_id":"1391455592","filename":"file5"},{"photo_id":"1391455573","filename":"file2"},{"photo_id":"1391455581","filename":"file4"},{"photo_id":"1391455568","filename":"file1"},{"photo_id":"1391455562","filename":"file0"},{"photo_id":"1391455577","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391455577":["hashtag1","hashtag2"]},{"1391455562":["hashtag1","hashtag2"]},{"1391455573":["hashtag1","hashtag2"]},{"1391455581":["hashtag1","hashtag2"]},{"1391455592":["hashtag1","hashtag2"]},{"1391455568":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391455577, 1391455562, 1391455573, 1391455581, 1391455592, 1391455568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.76965665817261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:01:22.499755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_34_2700.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_37_2728.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_39_2738.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_46_2715.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_48_2571.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_52_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_34_2700.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_37_2728.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_39_2738.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_46_2715.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_48_2571.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_52_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391455757","1391455861","1391455668","1391455716","1391455908","1391455799"],"photo_ids_order":["1391455668","1391455716","1391455757","1391455799","1391455861","1391455908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f82b09249dce0c3d29474b41bd0d398e.jpg","text":"TemporaryFile(/tmp/multipartBody987148890682019316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_39_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50a2f1f37fbed039af05dbe951d1daaa.jpg","text":"TemporaryFile(/tmp/multipartBody6490479044586710230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_48_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c62cba12ae1c94b8e74e629510018d32.jpg","text":"TemporaryFile(/tmp/multipartBody7537198529137860115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_34_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/699d82e196ad36d05113aa6e7ebf9ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1635933378188522824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5f3e7eb572a930a2a2c52b85f3ee561.jpg","text":"TemporaryFile(/tmp/multipartBody667267694863764600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_52_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d897bb8c4fcdb6c24d08cf262f75411d.jpg","text":"TemporaryFile(/tmp/multipartBody2033285722220293109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951745286,"filename":"image_29102025_19_12_46_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391455757","file1":"1391455716","file0":"1391455668","file4":"1391455861","file5":"1391455908","file3":"1391455799"},"map_files_photo_id_array":[{"photo_id":"1391455908","filename":"file5"},{"photo_id":"1391455757","filename":"file2"},{"photo_id":"1391455861","filename":"file4"},{"photo_id":"1391455716","filename":"file1"},{"photo_id":"1391455668","filename":"file0"},{"photo_id":"1391455799","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391455757":["hashtag1","hashtag2"]},{"1391455861":["hashtag1","hashtag2"]},{"1391455668":["hashtag1","hashtag2"]},{"1391455716":["hashtag1","hashtag2"]},{"1391455908":["hashtag1","hashtag2"]},{"1391455799":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391455757, 1391455861, 1391455668, 1391455716, 1391455908, 1391455799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27345848083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:02:03.208218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_55_2672.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_57_2693.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_13_00_2745.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_04_3668.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_07_3084.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_10_3105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_55_2672.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_57_2693.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_13_00_2745.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_04_3668.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_07_3084.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_10_3105.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.03365159034729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:02:22.601103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_55_2672.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_57_2693.jpg', '/home/pi/Desktop/images/29102025/19/12/image_29102025_19_13_00_2745.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_04_3668.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_07_3084.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_10_3105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_55_2672.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_12_57_2693.jpg
/home/pi/Desktop/images/29102025/19/12/image_29102025_19_13_00_2745.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_04_3668.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_07_3084.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_10_3105.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391456425","1391456739","1391456913","1391456514","1391456831","1391456636"],"photo_ids_order":["1391456425","1391456514","1391456636","1391456739","1391456831","1391456913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9f85f741035871c8f0eb8cdb9fd66fc.jpg","text":"TemporaryFile(/tmp/multipartBody7488927690437870549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_12_55_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/852a59c4095bbd501471e9a81def0544.jpg","text":"TemporaryFile(/tmp/multipartBody1168173661079883846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_13_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7815272f9348a2bcad60d27325b7cfed.jpg","text":"TemporaryFile(/tmp/multipartBody6723211341852912104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_13_10_3105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2620222bb6e8c08913ec965ffe1d0b97.jpg","text":"TemporaryFile(/tmp/multipartBody3828050911065362486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_12_57_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ff6c715ef7a38b09f63de00b14b9a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1918086749212078315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_13_07_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39c4874d51eaff25b9b9d74b9ee521cc.jpg","text":"TemporaryFile(/tmp/multipartBody818494718482786288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951804926,"filename":"image_29102025_19_13_00_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391456636","file1":"1391456514","file0":"1391456425","file4":"1391456831","file5":"1391456913","file3":"1391456739"},"map_files_photo_id_array":[{"photo_id":"1391456913","filename":"file5"},{"photo_id":"1391456636","filename":"file2"},{"photo_id":"1391456831","filename":"file4"},{"photo_id":"1391456514","filename":"file1"},{"photo_id":"1391456425","filename":"file0"},{"photo_id":"1391456739","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391456425":["hashtag1","hashtag2"]},{"1391456739":["hashtag1","hashtag2"]},{"1391456913":["hashtag1","hashtag2"]},{"1391456514":["hashtag1","hashtag2"]},{"1391456831":["hashtag1","hashtag2"]},{"1391456636":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391456425, 1391456739, 1391456913, 1391456514, 1391456831, 1391456636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48219418525696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:03:02.602273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_13_2760.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_22_3625.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_25_2828.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_27_2702.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_30_2893.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_34_3843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_13_2760.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_22_3625.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_25_2828.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_27_2702.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_30_2893.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_34_3843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391457073","1391457202","1391457249","1391457117","1391457161","1391457298"],"photo_ids_order":["1391457073","1391457117","1391457161","1391457202","1391457249","1391457298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a6d2157411e5a9510f0569499955a05.jpg","text":"TemporaryFile(/tmp/multipartBody7864366719718512272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_13_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e598f24e3ca19a5cbf827625a2b2ba12.jpg","text":"TemporaryFile(/tmp/multipartBody4363478910729174554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_27_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0783c055bb463de1cd1e4f56b00ea34a.jpg","text":"TemporaryFile(/tmp/multipartBody6699112261204789375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_30_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4676ee2ce7595dc60481207fe686737f.jpg","text":"TemporaryFile(/tmp/multipartBody3775485277059116551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_22_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa509929a540f9ce48f5edb9bfeaae17.jpg","text":"TemporaryFile(/tmp/multipartBody5372560399201548862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_25_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71fd71cbee967f70d43f8b5146e29362.jpg","text":"TemporaryFile(/tmp/multipartBody3798931182803834827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951844832,"filename":"image_29102025_19_13_34_3843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391457161","file1":"1391457117","file0":"1391457073","file4":"1391457249","file5":"1391457298","file3":"1391457202"},"map_files_photo_id_array":[{"photo_id":"1391457298","filename":"file5"},{"photo_id":"1391457161","filename":"file2"},{"photo_id":"1391457249","filename":"file4"},{"photo_id":"1391457117","filename":"file1"},{"photo_id":"1391457073","filename":"file0"},{"photo_id":"1391457202","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391457073":["hashtag1","hashtag2"]},{"1391457202":["hashtag1","hashtag2"]},{"1391457249":["hashtag1","hashtag2"]},{"1391457117":["hashtag1","hashtag2"]},{"1391457161":["hashtag1","hashtag2"]},{"1391457298":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391457073, 1391457202, 1391457249, 1391457117, 1391457161, 1391457298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37194514274597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:04:02.523306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_39_2610.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_42_2787.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_46_3776.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_49_2723.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_51_2647.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_55_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_39_2610.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_42_2787.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_46_3776.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_49_2723.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_51_2647.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_55_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391457811","1391457634","1391457900","1391457860","1391457676","1391457763"],"photo_ids_order":["1391457634","1391457676","1391457763","1391457811","1391457860","1391457900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02b4c2feec5dac6d4b38d8e00bcd64ce.jpg","text":"TemporaryFile(/tmp/multipartBody4623022375960273030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_49_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/848b7a59ae5beba104f8063cad710caf.jpg","text":"TemporaryFile(/tmp/multipartBody2046977166036837331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_39_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/105a5d2d43a9873c1efe4473f5f3adca.jpg","text":"TemporaryFile(/tmp/multipartBody5656518455146048128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_55_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/908cc98717ed166ff26179137cc69d8e.jpg","text":"TemporaryFile(/tmp/multipartBody142360492916556400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_51_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/815167c3aca752a9afd08d492accccf3.jpg","text":"TemporaryFile(/tmp/multipartBody6802477302654617518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_42_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cb0849826307e669e3e88344d38f461.jpg","text":"TemporaryFile(/tmp/multipartBody873176721377504861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951904940,"filename":"image_29102025_19_13_46_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391457763","file1":"1391457676","file0":"1391457634","file4":"1391457860","file5":"1391457900","file3":"1391457811"},"map_files_photo_id_array":[{"photo_id":"1391457900","filename":"file5"},{"photo_id":"1391457763","filename":"file2"},{"photo_id":"1391457860","filename":"file4"},{"photo_id":"1391457676","filename":"file1"},{"photo_id":"1391457634","filename":"file0"},{"photo_id":"1391457811","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391457811":["hashtag1","hashtag2"]},{"1391457634":["hashtag1","hashtag2"]},{"1391457900":["hashtag1","hashtag2"]},{"1391457860":["hashtag1","hashtag2"]},{"1391457676":["hashtag1","hashtag2"]},{"1391457763":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391457811, 1391457634, 1391457900, 1391457860, 1391457676, 1391457763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.720972537994385 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:05:02.821046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_58_2893.jpg', '/home/pi/Desktop/images/29102025/19/13/image_29102025_19_14_00_2618.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_03_2597.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_07_3821.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_09_2640.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_12_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_13_58_2893.jpg
/home/pi/Desktop/images/29102025/19/13/image_29102025_19_14_00_2618.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_03_2597.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_07_3821.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_09_2640.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_12_2821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391458182","1391458201","1391458191","1391458221","1391458270","1391458315"],"photo_ids_order":["1391458182","1391458191","1391458201","1391458221","1391458270","1391458315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f35fd061ff8d72668084f597f017685.jpg","text":"TemporaryFile(/tmp/multipartBody7992800295479749938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_13_58_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a78836bc3b8dd1329bdef99c9ca539a.jpg","text":"TemporaryFile(/tmp/multipartBody6329095151202570916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_14_03_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a99487e41ab8f3128a0fd106d096464.jpg","text":"TemporaryFile(/tmp/multipartBody3856300434223958375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_14_00_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6f3535e16019a1d8093d3c46cc93406.jpg","text":"TemporaryFile(/tmp/multipartBody6429292670480516435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_14_07_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aeaba243171460a15af6df509894e77e.jpg","text":"TemporaryFile(/tmp/multipartBody6988746050970304963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_14_09_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36ac043165e25eb49800d975bf3b6627.jpg","text":"TemporaryFile(/tmp/multipartBody2850982071778370667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761951965092,"filename":"image_29102025_19_14_12_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391458201","file1":"1391458191","file0":"1391458182","file4":"1391458270","file5":"1391458315","file3":"1391458221"},"map_files_photo_id_array":[{"photo_id":"1391458315","filename":"file5"},{"photo_id":"1391458201","filename":"file2"},{"photo_id":"1391458270","filename":"file4"},{"photo_id":"1391458191","filename":"file1"},{"photo_id":"1391458182","filename":"file0"},{"photo_id":"1391458221","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391458182":["hashtag1","hashtag2"]},{"1391458201":["hashtag1","hashtag2"]},{"1391458191":["hashtag1","hashtag2"]},{"1391458221":["hashtag1","hashtag2"]},{"1391458270":["hashtag1","hashtag2"]},{"1391458315":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391458182, 1391458201, 1391458191, 1391458221, 1391458270, 1391458315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24289608001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:06:02.786545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_15_2677.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_19_3824.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_22_2703.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_24_2577.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_28_3736.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_31_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_15_2677.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_19_3824.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_22_2703.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_24_2577.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_28_3736.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_31_2853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391458770","1391458689","1391458539","1391458626","1391458582","1391458813"],"photo_ids_order":["1391458539","1391458582","1391458626","1391458689","1391458770","1391458813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/706b56828162eba0cfc60c5f42281f73.jpg","text":"TemporaryFile(/tmp/multipartBody1730349901299238976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_28_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de8b297d36460aa44c054e12c90b5ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4167926619916166841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_24_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1640a20a3070e761e32c597f93bed27e.jpg","text":"TemporaryFile(/tmp/multipartBody6123438429238393041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_15_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b531973d3bbafeb773ef470f1105dc94.jpg","text":"TemporaryFile(/tmp/multipartBody1714496674030991065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_22_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c7c809208d095a6601cdc1130f9cea7.jpg","text":"TemporaryFile(/tmp/multipartBody8442990227907984179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_19_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9582e38024374beb4e5f14c857d17c2.jpg","text":"TemporaryFile(/tmp/multipartBody7129836956418387666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952024931,"filename":"image_29102025_19_14_31_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391458626","file1":"1391458582","file0":"1391458539","file4":"1391458770","file5":"1391458813","file3":"1391458689"},"map_files_photo_id_array":[{"photo_id":"1391458813","filename":"file5"},{"photo_id":"1391458626","filename":"file2"},{"photo_id":"1391458770","filename":"file4"},{"photo_id":"1391458582","filename":"file1"},{"photo_id":"1391458539","filename":"file0"},{"photo_id":"1391458689","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391458770":["hashtag1","hashtag2"]},{"1391458689":["hashtag1","hashtag2"]},{"1391458539":["hashtag1","hashtag2"]},{"1391458626":["hashtag1","hashtag2"]},{"1391458582":["hashtag1","hashtag2"]},{"1391458813":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391458770, 1391458689, 1391458539, 1391458626, 1391458582, 1391458813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78206658363342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:06:42.351921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_36_2564.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_40_3704.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_42_2674.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_45_2674.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_49_3774.jpg', '/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_54_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_36_2564.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_40_3704.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_42_2674.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_45_2674.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_49_3774.jpg
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_54_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459067","1391459022","1391458979","1391459230","1391459152","1391459215"],"photo_ids_order":["1391458979","1391459022","1391459067","1391459152","1391459215","1391459230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f4f98178cd9a2a1a4e325fabecd37b3.jpg","text":"TemporaryFile(/tmp/multipartBody8510245216851518793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_42_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2bbed42ca7da67d61b42484be08bc86.jpg","text":"TemporaryFile(/tmp/multipartBody5918603288117683745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_40_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33d475047d98a29762a3aa0dfd888bd9.jpg","text":"TemporaryFile(/tmp/multipartBody7482581693669915102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_36_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa4ed2646e2eb467947a8d7c389f2a4f.jpg","text":"TemporaryFile(/tmp/multipartBody5053238758557784148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_54_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fcff2c75ba39c9ccbcf32963372b921.jpg","text":"TemporaryFile(/tmp/multipartBody636458086544069946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_45_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7fa948599c8e4e4f9e2145aa5faeb7e.jpg","text":"TemporaryFile(/tmp/multipartBody6360760059683800717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952063673,"filename":"image_29102025_19_14_49_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459067","file1":"1391459022","file0":"1391458979","file4":"1391459215","file5":"1391459230","file3":"1391459152"},"map_files_photo_id_array":[{"photo_id":"1391459230","filename":"file5"},{"photo_id":"1391459067","filename":"file2"},{"photo_id":"1391459215","filename":"file4"},{"photo_id":"1391459022","filename":"file1"},{"photo_id":"1391458979","filename":"file0"},{"photo_id":"1391459152","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459067":["hashtag1","hashtag2"]},{"1391459022":["hashtag1","hashtag2"]},{"1391458979":["hashtag1","hashtag2"]},{"1391459230":["hashtag1","hashtag2"]},{"1391459152":["hashtag1","hashtag2"]},{"1391459215":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459067, 1391459022, 1391458979, 1391459230, 1391459152, 1391459215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.684412479400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:07:22.453447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_57_2623.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_04_3744.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_06_2043.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_09_3589.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_12_2725.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_15_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/14/image_29102025_19_14_57_2623.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_04_3744.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_06_2043.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_09_3589.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_12_2725.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_15_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459363","1391459387","1391459369","1391459360","1391459333","1391459356"],"photo_ids_order":["1391459333","1391459356","1391459360","1391459363","1391459369","1391459387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/522795bedc6be88a4263d26c0271c77a.jpg","text":"TemporaryFile(/tmp/multipartBody1565954401678485223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_15_09_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8766bd942447ea74bfa0c5d308a1750e.jpg","text":"TemporaryFile(/tmp/multipartBody1784329704702343031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_15_15_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a59b9df3b6517c7328a1d9601645612d.jpg","text":"TemporaryFile(/tmp/multipartBody6788816701592802049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_15_12_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8123e936f07872c2f62c33fa0849477b.jpg","text":"TemporaryFile(/tmp/multipartBody4181059736704438375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_15_06_2043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/628562e59f5c3e99f0a14c7b5bab049e.jpg","text":"TemporaryFile(/tmp/multipartBody5987365489819377062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_14_57_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a84da53202ee18bc6ca3205ef5df1913.jpg","text":"TemporaryFile(/tmp/multipartBody5538927809404226399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952105155,"filename":"image_29102025_19_15_04_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459360","file1":"1391459356","file0":"1391459333","file4":"1391459369","file5":"1391459387","file3":"1391459363"},"map_files_photo_id_array":[{"photo_id":"1391459387","filename":"file5"},{"photo_id":"1391459360","filename":"file2"},{"photo_id":"1391459369","filename":"file4"},{"photo_id":"1391459356","filename":"file1"},{"photo_id":"1391459333","filename":"file0"},{"photo_id":"1391459363","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459363":["hashtag1","hashtag2"]},{"1391459387":["hashtag1","hashtag2"]},{"1391459369":["hashtag1","hashtag2"]},{"1391459360":["hashtag1","hashtag2"]},{"1391459333":["hashtag1","hashtag2"]},{"1391459356":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459363, 1391459387, 1391459369, 1391459360, 1391459333, 1391459356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46875476837158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:08:03.193370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_18_3599.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_21_2643.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_25_3689.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_27_2696.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_31_3090.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_33_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_18_3599.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_21_2643.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_25_3689.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_27_2696.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_31_3090.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_33_2835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459541","1391459576","1391459555","1391459537","1391459563","1391459487"],"photo_ids_order":["1391459487","1391459537","1391459541","1391459555","1391459563","1391459576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e75a34d85cc76ca8963363165388a92.jpg","text":"TemporaryFile(/tmp/multipartBody3111133657381548469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_25_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d1c4570700bb59d44fad84a201cd78.jpg","text":"TemporaryFile(/tmp/multipartBody9081572404795570513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_33_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc0dc15e7edadc5d817e3f4abf982781.jpg","text":"TemporaryFile(/tmp/multipartBody4275470286474947830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_27_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a5f29c39f1e2989826f1401d7c72d23.jpg","text":"TemporaryFile(/tmp/multipartBody7664421402423394043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_21_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5a6d058bd382b522f6edbbe9d15ca97.jpg","text":"TemporaryFile(/tmp/multipartBody7503726143151671386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_31_3090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/415000578d11042e94111bac80d81b85.jpg","text":"TemporaryFile(/tmp/multipartBody586821568808284454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952145334,"filename":"image_29102025_19_15_18_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459541","file1":"1391459537","file0":"1391459487","file4":"1391459563","file5":"1391459576","file3":"1391459555"},"map_files_photo_id_array":[{"photo_id":"1391459576","filename":"file5"},{"photo_id":"1391459541","filename":"file2"},{"photo_id":"1391459563","filename":"file4"},{"photo_id":"1391459537","filename":"file1"},{"photo_id":"1391459487","filename":"file0"},{"photo_id":"1391459555","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459541":["hashtag1","hashtag2"]},{"1391459576":["hashtag1","hashtag2"]},{"1391459555":["hashtag1","hashtag2"]},{"1391459537":["hashtag1","hashtag2"]},{"1391459563":["hashtag1","hashtag2"]},{"1391459487":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459541, 1391459576, 1391459555, 1391459537, 1391459563, 1391459487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7136914730072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:08:42.757460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_39_2734.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_42_3663.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_48_2721.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_57_2675.jpg', '/home/pi/Desktop/images/29102025/19/15/image_29102025_19_16_00_2589.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_03_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_39_2734.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_42_3663.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_48_2721.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_15_57_2675.jpg
/home/pi/Desktop/images/29102025/19/15/image_29102025_19_16_00_2589.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_03_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459594","1391459597","1391459606","1391459600","1391459590","1391459602"],"photo_ids_order":["1391459590","1391459594","1391459597","1391459600","1391459602","1391459606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d994a5aa51f89f204a5214151ad1b072.jpg","text":"TemporaryFile(/tmp/multipartBody1412570599209767770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_15_42_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa9fa2c8e5ca10af1ceb889c0b767d80.jpg","text":"TemporaryFile(/tmp/multipartBody3360558654008905275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_15_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2110e83a8decc7bb454245d6dca567d7.jpg","text":"TemporaryFile(/tmp/multipartBody564172170901607047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_16_03_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e1d3b1579bf8c7fb7d76d4d365624f.jpg","text":"TemporaryFile(/tmp/multipartBody2689905688367710229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_15_57_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cb3076eb909f2ab37fb350f85ace171.jpg","text":"TemporaryFile(/tmp/multipartBody7969485087052802382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_15_39_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae0090f2e0b52299997585c8ad068531.jpg","text":"TemporaryFile(/tmp/multipartBody4169538152888006946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952183920,"filename":"image_29102025_19_16_00_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459597","file1":"1391459594","file0":"1391459590","file4":"1391459602","file5":"1391459606","file3":"1391459600"},"map_files_photo_id_array":[{"photo_id":"1391459606","filename":"file5"},{"photo_id":"1391459597","filename":"file2"},{"photo_id":"1391459602","filename":"file4"},{"photo_id":"1391459594","filename":"file1"},{"photo_id":"1391459590","filename":"file0"},{"photo_id":"1391459600","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459594":["hashtag1","hashtag2"]},{"1391459597":["hashtag1","hashtag2"]},{"1391459606":["hashtag1","hashtag2"]},{"1391459600":["hashtag1","hashtag2"]},{"1391459590":["hashtag1","hashtag2"]},{"1391459602":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459594, 1391459597, 1391459606, 1391459600, 1391459590, 1391459602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622159004211426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:09:21.874019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_06_2657.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_10_3685.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_12_2604.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_15_2675.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_23_3106.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_25_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_06_2657.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_10_3685.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_12_2604.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_15_2675.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_23_3106.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_25_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459723","1391459735","1391459615","1391459713","1391459670","1391459631"],"photo_ids_order":["1391459615","1391459631","1391459670","1391459713","1391459723","1391459735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/838cbf5c520eedf50bb6dca3e26a9edd.jpg","text":"TemporaryFile(/tmp/multipartBody4860009693970983796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_23_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4346fa4ed6a0abcc021de45bebcafb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2286666407390778341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_25_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba4601a6e82a2b0a923871a4822d5074.jpg","text":"TemporaryFile(/tmp/multipartBody7826460410820926973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_06_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eee02f0c435e806e16991c34d714e10d.jpg","text":"TemporaryFile(/tmp/multipartBody5101829604899847299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_15_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c6111f128ac6b9b3fcc572e984bc238.jpg","text":"TemporaryFile(/tmp/multipartBody3093468690182744139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_12_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b19c2e9b0e75b614620f2c417a86411.jpg","text":"TemporaryFile(/tmp/multipartBody6173337502029627022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952224597,"filename":"image_29102025_19_16_10_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459670","file1":"1391459631","file0":"1391459615","file4":"1391459723","file5":"1391459735","file3":"1391459713"},"map_files_photo_id_array":[{"photo_id":"1391459735","filename":"file5"},{"photo_id":"1391459670","filename":"file2"},{"photo_id":"1391459723","filename":"file4"},{"photo_id":"1391459631","filename":"file1"},{"photo_id":"1391459615","filename":"file0"},{"photo_id":"1391459713","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459723":["hashtag1","hashtag2"]},{"1391459735":["hashtag1","hashtag2"]},{"1391459615":["hashtag1","hashtag2"]},{"1391459713":["hashtag1","hashtag2"]},{"1391459670":["hashtag1","hashtag2"]},{"1391459631":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459723, 1391459735, 1391459615, 1391459713, 1391459670, 1391459631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27152419090271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:10:22.096788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_28_2896.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_34_5976.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_35_1666.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_48_12880.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_50_1801.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_52_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_28_2896.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_34_5976.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_35_1666.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_48_12880.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_50_1801.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_52_1670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459768","1391459762","1391459765","1391459782","1391459773","1391459778"],"photo_ids_order":["1391459762","1391459765","1391459768","1391459773","1391459778","1391459782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ee5b639bfca5ceb9cad2c4dbd3f8f83.jpg","text":"TemporaryFile(/tmp/multipartBody76244371665248769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_35_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ead83142709f2a166154055bd84189c2.jpg","text":"TemporaryFile(/tmp/multipartBody2373941548320954312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_28_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3171580066072beef7d8cdf67ef53485.jpg","text":"TemporaryFile(/tmp/multipartBody697811856688462978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_34_5976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ddb9c4b656d091f78e8913854345f74.jpg","text":"TemporaryFile(/tmp/multipartBody6932415799210292279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_52_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a41679e93c3d5d4b15fdc82bed62dc4.jpg","text":"TemporaryFile(/tmp/multipartBody931809539931674527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_48_12880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0b5da9f4c76a5bb0bfa57037e742f18.jpg","text":"TemporaryFile(/tmp/multipartBody779048014356255962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952284808,"filename":"image_29102025_19_16_50_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459768","file1":"1391459765","file0":"1391459762","file4":"1391459778","file5":"1391459782","file3":"1391459773"},"map_files_photo_id_array":[{"photo_id":"1391459782","filename":"file5"},{"photo_id":"1391459768","filename":"file2"},{"photo_id":"1391459778","filename":"file4"},{"photo_id":"1391459765","filename":"file1"},{"photo_id":"1391459762","filename":"file0"},{"photo_id":"1391459773","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459768":["hashtag1","hashtag2"]},{"1391459762":["hashtag1","hashtag2"]},{"1391459765":["hashtag1","hashtag2"]},{"1391459782":["hashtag1","hashtag2"]},{"1391459773":["hashtag1","hashtag2"]},{"1391459778":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459768, 1391459762, 1391459765, 1391459782, 1391459773, 1391459778)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.72689747810364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:11:22.155734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_53_1540.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_55_1642.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_56_1685.jpg', '/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_59_2496.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_01_1674.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_02_1861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_53_1540.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_55_1642.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_56_1685.jpg
/home/pi/Desktop/images/29102025/19/16/image_29102025_19_16_59_2496.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_01_1674.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_02_1861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391459822","1391459804","1391459845","1391459875","1391459830","1391459856"],"photo_ids_order":["1391459804","1391459822","1391459830","1391459845","1391459856","1391459875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/454211b22b58bd80dcd190b82821d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody6203126415579094872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_16_55_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b7e0d245f4724034601103a90b5f150.jpg","text":"TemporaryFile(/tmp/multipartBody5045784282502337101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_16_53_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88e4989cbd4db29e960440bc0e4c7871.jpg","text":"TemporaryFile(/tmp/multipartBody8523605723139361431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_16_59_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d160ef83698fe271b590648b8069ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6496197381869227646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_17_02_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41cba944941b0193d8370a3079f7cf69.jpg","text":"TemporaryFile(/tmp/multipartBody3241481539790334311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_16_56_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/765e541e8c1eaae03f47c768a40ca7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8031956496568724853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952344869,"filename":"image_29102025_19_17_01_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391459830","file1":"1391459822","file0":"1391459804","file4":"1391459856","file5":"1391459875","file3":"1391459845"},"map_files_photo_id_array":[{"photo_id":"1391459875","filename":"file5"},{"photo_id":"1391459830","filename":"file2"},{"photo_id":"1391459856","filename":"file4"},{"photo_id":"1391459822","filename":"file1"},{"photo_id":"1391459804","filename":"file0"},{"photo_id":"1391459845","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391459822":["hashtag1","hashtag2"]},{"1391459804":["hashtag1","hashtag2"]},{"1391459845":["hashtag1","hashtag2"]},{"1391459875":["hashtag1","hashtag2"]},{"1391459830":["hashtag1","hashtag2"]},{"1391459856":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391459822, 1391459804, 1391459845, 1391459875, 1391459830, 1391459856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.024683237075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:12:02.951249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_15_2995.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_16_1674.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_18_1689.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_20_1648.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_21_1640.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_24_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_15_2995.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_16_1674.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_18_1689.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_20_1648.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_21_1640.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_24_2724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0541350841522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:12:22.423796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_15_2995.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_16_1674.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_18_1689.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_20_1648.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_21_1640.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_24_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_15_2995.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_16_1674.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_18_1689.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_20_1648.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_21_1640.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_24_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460025","1391460018","1391460006","1391460021","1391460009","1391460013"],"photo_ids_order":["1391460006","1391460009","1391460013","1391460018","1391460021","1391460025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9340fdf4e119950cf700c8a9bdbcf96.jpg","text":"TemporaryFile(/tmp/multipartBody2017526451758709365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_24_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/044a7a2c7486ffc42f25c3f78ded8106.jpg","text":"TemporaryFile(/tmp/multipartBody1022049960390289449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_20_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9b06491eb25de8dfa8d552a9032914b.jpg","text":"TemporaryFile(/tmp/multipartBody5131156546517262316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_15_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79170df055f39ecdcdbf05284ebe9042.jpg","text":"TemporaryFile(/tmp/multipartBody1450745732837765694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_21_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e9cd202acc6e31f13d5c3259a8d04ef.jpg","text":"TemporaryFile(/tmp/multipartBody4833658237138220813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_16_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f620638735b7f4e24fb9131b81dfce8.jpg","text":"TemporaryFile(/tmp/multipartBody4174175844514069781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952405002,"filename":"image_29102025_19_17_18_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460013","file1":"1391460009","file0":"1391460006","file4":"1391460021","file5":"1391460025","file3":"1391460018"},"map_files_photo_id_array":[{"photo_id":"1391460025","filename":"file5"},{"photo_id":"1391460013","filename":"file2"},{"photo_id":"1391460021","filename":"file4"},{"photo_id":"1391460009","filename":"file1"},{"photo_id":"1391460006","filename":"file0"},{"photo_id":"1391460018","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460025":["hashtag1","hashtag2"]},{"1391460018":["hashtag1","hashtag2"]},{"1391460006":["hashtag1","hashtag2"]},{"1391460021":["hashtag1","hashtag2"]},{"1391460009":["hashtag1","hashtag2"]},{"1391460013":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460025, 1391460018, 1391460006, 1391460021, 1391460009, 1391460013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37772083282471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:13:03.343320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_28_3554.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_36_5205.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_37_1755.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_42_2625.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_45_3677.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_51_6162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_28_3554.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_36_5205.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_37_1755.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_42_2625.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_45_3677.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_51_6162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460063","1391460036","1391460039","1391460077","1391460044","1391460073"],"photo_ids_order":["1391460036","1391460039","1391460044","1391460063","1391460073","1391460077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2482b52aecc3ba0670646f3ec9906626.jpg","text":"TemporaryFile(/tmp/multipartBody2502236987620739820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_42_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/479d5031082b5b0e5b0369c56d155bba.jpg","text":"TemporaryFile(/tmp/multipartBody6304673932830023254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_28_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39e8eb68dd91e0855447eecfa5a4813d.jpg","text":"TemporaryFile(/tmp/multipartBody7692968187100741809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_36_5205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b3244c68d77a0d0c502e0a53a6be5b0.jpg","text":"TemporaryFile(/tmp/multipartBody5601386777863110574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_51_6162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebd9d772406974eadb218dbf92a97b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5331000672172157655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_37_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af5cb2f90778d1eaed43912a9d9464e3.jpg","text":"TemporaryFile(/tmp/multipartBody1224391376621784318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952445589,"filename":"image_29102025_19_17_45_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460044","file1":"1391460039","file0":"1391460036","file4":"1391460073","file5":"1391460077","file3":"1391460063"},"map_files_photo_id_array":[{"photo_id":"1391460077","filename":"file5"},{"photo_id":"1391460044","filename":"file2"},{"photo_id":"1391460073","filename":"file4"},{"photo_id":"1391460039","filename":"file1"},{"photo_id":"1391460036","filename":"file0"},{"photo_id":"1391460063","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460063":["hashtag1","hashtag2"]},{"1391460036":["hashtag1","hashtag2"]},{"1391460039":["hashtag1","hashtag2"]},{"1391460077":["hashtag1","hashtag2"]},{"1391460044":["hashtag1","hashtag2"]},{"1391460073":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460063, 1391460036, 1391460039, 1391460077, 1391460044, 1391460073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83780241012573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:14:03.506924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_53_1626.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_57_2661.jpg', '/home/pi/Desktop/images/29102025/19/17/image_29102025_19_18_00_2586.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_03_3004.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_09_3601.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_12_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_53_1626.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_17_57_2661.jpg
/home/pi/Desktop/images/29102025/19/17/image_29102025_19_18_00_2586.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_03_3004.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_09_3601.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_12_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460174","1391460177","1391460141","1391460191","1391460149","1391460145"],"photo_ids_order":["1391460141","1391460145","1391460149","1391460174","1391460177","1391460191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5edaa35d73a529cc2754c8ce38513cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2526288740516894905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_18_03_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7cea9c8d4c0962c9d0e0d9719699df3.jpg","text":"TemporaryFile(/tmp/multipartBody1074306220767998093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_18_09_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ac8e82ab0295ba570a9b6a704ef9bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2157325794586311671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_17_53_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/065b12beea0757343c2ba800bd8d9088.jpg","text":"TemporaryFile(/tmp/multipartBody4459550255098473178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_18_12_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/430e0ee8ede8e3dde3730086b57f7188.jpg","text":"TemporaryFile(/tmp/multipartBody6952677090788293170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_18_00_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/430eabcffd21bac8492538cc82b9845f.jpg","text":"TemporaryFile(/tmp/multipartBody7341268187595302191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952505730,"filename":"image_29102025_19_17_57_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460149","file1":"1391460145","file0":"1391460141","file4":"1391460177","file5":"1391460191","file3":"1391460174"},"map_files_photo_id_array":[{"photo_id":"1391460191","filename":"file5"},{"photo_id":"1391460149","filename":"file2"},{"photo_id":"1391460177","filename":"file4"},{"photo_id":"1391460145","filename":"file1"},{"photo_id":"1391460141","filename":"file0"},{"photo_id":"1391460174","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460174":["hashtag1","hashtag2"]},{"1391460177":["hashtag1","hashtag2"]},{"1391460141":["hashtag1","hashtag2"]},{"1391460191":["hashtag1","hashtag2"]},{"1391460149":["hashtag1","hashtag2"]},{"1391460145":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460174, 1391460177, 1391460141, 1391460191, 1391460149, 1391460145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84558057785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:15:02.851563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_15_3617.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_18_2601.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_21_2765.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_24_3564.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_27_2879.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_30_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_15_3617.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_18_2601.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_21_2765.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_24_3564.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_27_2879.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_30_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460233","1391460236","1391460230","1391460238","1391460223","1391460226"],"photo_ids_order":["1391460223","1391460226","1391460230","1391460233","1391460236","1391460238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dec21c8ce57321854d3f042d419023b9.jpg","text":"TemporaryFile(/tmp/multipartBody6741023342584198490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_24_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61f90d6a71a1442942b451e1145e48da.jpg","text":"TemporaryFile(/tmp/multipartBody4675070883507189835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_27_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40423ea437119d462d88ef828cbc8744.jpg","text":"TemporaryFile(/tmp/multipartBody3539752354623079943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_21_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e67b85e0ffa1369c1a9febb4764d107.jpg","text":"TemporaryFile(/tmp/multipartBody2601761627666253472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_30_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e807e2167cfd1a6744102a70666a729a.jpg","text":"TemporaryFile(/tmp/multipartBody2867301247917934868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_15_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fc236114e11a0605d90fe6c05813145.jpg","text":"TemporaryFile(/tmp/multipartBody1729308115153583005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952565075,"filename":"image_29102025_19_18_18_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460230","file1":"1391460226","file0":"1391460223","file4":"1391460236","file5":"1391460238","file3":"1391460233"},"map_files_photo_id_array":[{"photo_id":"1391460238","filename":"file5"},{"photo_id":"1391460230","filename":"file2"},{"photo_id":"1391460236","filename":"file4"},{"photo_id":"1391460226","filename":"file1"},{"photo_id":"1391460223","filename":"file0"},{"photo_id":"1391460233","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460233":["hashtag1","hashtag2"]},{"1391460236":["hashtag1","hashtag2"]},{"1391460230":["hashtag1","hashtag2"]},{"1391460238":["hashtag1","hashtag2"]},{"1391460223":["hashtag1","hashtag2"]},{"1391460226":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460233, 1391460236, 1391460230, 1391460238, 1391460223, 1391460226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08019399642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:15:42.150114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_33_2670.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_36_3773.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_39_2630.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_42_2679.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_45_3714.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_51_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_33_2670.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_36_3773.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_39_2630.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_42_2679.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_45_3714.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_51_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460270","1391460273","1391460266","1391460254","1391460248","1391460259"],"photo_ids_order":["1391460248","1391460254","1391460259","1391460266","1391460270","1391460273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e433edc2efa5acf65c9eb88a924a0866.jpg","text":"TemporaryFile(/tmp/multipartBody8581159455760834215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_45_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4809b9099cd430749be2ec26510d5098.jpg","text":"TemporaryFile(/tmp/multipartBody125412232638108021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_51_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b35fb59c338fb11ba1b9739293eaca6.jpg","text":"TemporaryFile(/tmp/multipartBody4310655678121723664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_42_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ef5615e840f543662565eaaa715a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7321230734235307875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_36_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14c447b07e1c151bfe32137657d9098d.jpg","text":"TemporaryFile(/tmp/multipartBody3983965713946058168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_33_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91e2243a9cbd3798adcec575ff6997bc.jpg","text":"TemporaryFile(/tmp/multipartBody1203466029607759102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952603319,"filename":"image_29102025_19_18_39_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460259","file1":"1391460254","file0":"1391460248","file4":"1391460270","file5":"1391460273","file3":"1391460266"},"map_files_photo_id_array":[{"photo_id":"1391460273","filename":"file5"},{"photo_id":"1391460259","filename":"file2"},{"photo_id":"1391460270","filename":"file4"},{"photo_id":"1391460254","filename":"file1"},{"photo_id":"1391460248","filename":"file0"},{"photo_id":"1391460266","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460270":["hashtag1","hashtag2"]},{"1391460273":["hashtag1","hashtag2"]},{"1391460266":["hashtag1","hashtag2"]},{"1391460254":["hashtag1","hashtag2"]},{"1391460248":["hashtag1","hashtag2"]},{"1391460259":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460270, 1391460273, 1391460266, 1391460254, 1391460248, 1391460259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.662240743637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:16:22.314350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_54_3678.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_57_2652.jpg', '/home/pi/Desktop/images/29102025/19/18/image_29102025_19_19_00_2536.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_06_2575.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_09_2943.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_12_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_54_3678.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_18_57_2652.jpg
/home/pi/Desktop/images/29102025/19/18/image_29102025_19_19_00_2536.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_06_2575.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_09_2943.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_12_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460345","1391460300","1391460326","1391460349","1391460298","1391460334"],"photo_ids_order":["1391460298","1391460300","1391460326","1391460334","1391460345","1391460349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bce6312f7ac2ef7619e02ead3956ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody2869794715039441695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_19_09_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cc0a3ddaf27625a839ec9197008a1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6700797518415870096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_18_57_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80835baf44c41d55dfd8a4145e08f081.jpg","text":"TemporaryFile(/tmp/multipartBody9152706058571225316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_19_00_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c41ae437505172b32537de77788f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3901033264826160777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_19_12_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dad9e34c803c36ba8b59ade5cde4479.jpg","text":"TemporaryFile(/tmp/multipartBody9222852506211179054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_18_54_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc5b7fa3287dc5b8ad491e90a8f6f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody42562590336490447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952645016,"filename":"image_29102025_19_19_06_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460326","file1":"1391460300","file0":"1391460298","file4":"1391460345","file5":"1391460349","file3":"1391460334"},"map_files_photo_id_array":[{"photo_id":"1391460349","filename":"file5"},{"photo_id":"1391460326","filename":"file2"},{"photo_id":"1391460345","filename":"file4"},{"photo_id":"1391460300","filename":"file1"},{"photo_id":"1391460298","filename":"file0"},{"photo_id":"1391460334","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460345":["hashtag1","hashtag2"]},{"1391460300":["hashtag1","hashtag2"]},{"1391460326":["hashtag1","hashtag2"]},{"1391460349":["hashtag1","hashtag2"]},{"1391460298":["hashtag1","hashtag2"]},{"1391460334":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460345, 1391460300, 1391460326, 1391460349, 1391460298, 1391460334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8858859539032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:17:03.265547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_24_3748.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_27_2576.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_30_2814.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_33_3590.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_36_2708.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_39_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_24_3748.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_27_2576.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_30_2814.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_33_3590.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_36_2708.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_39_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460378","1391460366","1391460423","1391460380","1391460371","1391460382"],"photo_ids_order":["1391460366","1391460371","1391460378","1391460380","1391460382","1391460423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c1676bbec8b3e4aed71d7aa1d4549c0.jpg","text":"TemporaryFile(/tmp/multipartBody7175778438255029810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_30_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c08226e137a0f128208786307d13f67.jpg","text":"TemporaryFile(/tmp/multipartBody1680289106263028269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_24_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf2245a9c50b6e4d4df8cda6abcb6e43.jpg","text":"TemporaryFile(/tmp/multipartBody1907388255937351269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_39_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/566b727c70a133c4c6565fcf8a7a12fc.jpg","text":"TemporaryFile(/tmp/multipartBody2265721915182173364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_33_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33b2c2a35cdc6ff12051394a8cb0103d.jpg","text":"TemporaryFile(/tmp/multipartBody8477549027956847668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_27_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1ff40cf6299ffe62d4e1510b08eb13e.jpg","text":"TemporaryFile(/tmp/multipartBody1344611926403655167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952685500,"filename":"image_29102025_19_19_36_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460378","file1":"1391460371","file0":"1391460366","file4":"1391460382","file5":"1391460423","file3":"1391460380"},"map_files_photo_id_array":[{"photo_id":"1391460423","filename":"file5"},{"photo_id":"1391460378","filename":"file2"},{"photo_id":"1391460382","filename":"file4"},{"photo_id":"1391460371","filename":"file1"},{"photo_id":"1391460366","filename":"file0"},{"photo_id":"1391460380","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460378":["hashtag1","hashtag2"]},{"1391460366":["hashtag1","hashtag2"]},{"1391460423":["hashtag1","hashtag2"]},{"1391460380":["hashtag1","hashtag2"]},{"1391460371":["hashtag1","hashtag2"]},{"1391460382":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460378, 1391460366, 1391460423, 1391460380, 1391460371, 1391460382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.340389013290405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:18:03.214923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_42_3660.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_45_2626.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_48_2751.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_51_3757.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_54_2547.jpg', '/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_56_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_42_3660.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_45_2626.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_48_2751.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_51_3757.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_54_2547.jpg
/home/pi/Desktop/images/29102025/19/19/image_29102025_19_19_56_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460657","1391460662","1391460659","1391460623","1391460664","1391460655"],"photo_ids_order":["1391460623","1391460655","1391460657","1391460659","1391460662","1391460664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1abb24338c2c3d8c67f72a56b335becf.jpg","text":"TemporaryFile(/tmp/multipartBody7341491926780525798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_48_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bbe9ca4954c756d2344ec30b0cab8b6.jpg","text":"TemporaryFile(/tmp/multipartBody2183508509113445293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_54_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74b1c0519bbbca2a1fb1b53838f78580.jpg","text":"TemporaryFile(/tmp/multipartBody8364265559999963664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_51_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/846777c772deaa7623527b8900316dca.jpg","text":"TemporaryFile(/tmp/multipartBody7187280526732845504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_42_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/333b4dfab2186da7a8842948e7626733.jpg","text":"TemporaryFile(/tmp/multipartBody5480013444829742851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_56_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f6f796b2ae0d552125406b45f51973e.jpg","text":"TemporaryFile(/tmp/multipartBody3203077099585795165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952746849,"filename":"image_29102025_19_19_45_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460657","file1":"1391460655","file0":"1391460623","file4":"1391460662","file5":"1391460664","file3":"1391460659"},"map_files_photo_id_array":[{"photo_id":"1391460664","filename":"file5"},{"photo_id":"1391460657","filename":"file2"},{"photo_id":"1391460662","filename":"file4"},{"photo_id":"1391460655","filename":"file1"},{"photo_id":"1391460623","filename":"file0"},{"photo_id":"1391460659","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460657":["hashtag1","hashtag2"]},{"1391460662":["hashtag1","hashtag2"]},{"1391460659":["hashtag1","hashtag2"]},{"1391460623":["hashtag1","hashtag2"]},{"1391460664":["hashtag1","hashtag2"]},{"1391460655":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460657, 1391460662, 1391460659, 1391460623, 1391460664, 1391460655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14598846435547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:19:02.837315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_03_2755.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_06_3026.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_09_2639.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_11_2807.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_15_3606.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_18_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_03_2755.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_06_3026.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_09_2639.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_11_2807.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_15_3606.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_18_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460779","1391460782","1391460775","1391460790","1391460772","1391460786"],"photo_ids_order":["1391460772","1391460775","1391460779","1391460782","1391460786","1391460790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0c6a9099563c53afb1a0c61d88395cb.jpg","text":"TemporaryFile(/tmp/multipartBody4820370561150295220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_09_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e71adc65d6d3d389f796ac80f881dabe.jpg","text":"TemporaryFile(/tmp/multipartBody8518567200097643708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_11_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a5d2cc5c4d917f7a1f05a10f33e8c67.jpg","text":"TemporaryFile(/tmp/multipartBody8784737007518030660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_06_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02f936c06ba7fe996949456d670e6c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2492092275110884368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_18_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c89eb32e6d73c5b8bcc1ad5568ca33fc.jpg","text":"TemporaryFile(/tmp/multipartBody4379400612865332854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_03_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fef7712bf783ab051c4bc8cdd835c075.jpg","text":"TemporaryFile(/tmp/multipartBody3395916781937632728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952805233,"filename":"image_29102025_19_20_15_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460779","file1":"1391460775","file0":"1391460772","file4":"1391460786","file5":"1391460790","file3":"1391460782"},"map_files_photo_id_array":[{"photo_id":"1391460790","filename":"file5"},{"photo_id":"1391460779","filename":"file2"},{"photo_id":"1391460786","filename":"file4"},{"photo_id":"1391460775","filename":"file1"},{"photo_id":"1391460772","filename":"file0"},{"photo_id":"1391460782","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460779":["hashtag1","hashtag2"]},{"1391460782":["hashtag1","hashtag2"]},{"1391460775":["hashtag1","hashtag2"]},{"1391460790":["hashtag1","hashtag2"]},{"1391460772":["hashtag1","hashtag2"]},{"1391460786":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460779, 1391460782, 1391460775, 1391460790, 1391460772, 1391460786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22536897659302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:20:02.675897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_24_3708.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_27_2749.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_30_2751.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_32_2724.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_36_3749.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_39_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_24_3708.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_27_2749.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_30_2751.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_32_2724.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_36_3749.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_39_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460837","1391460844","1391460826","1391460820","1391460823","1391460817"],"photo_ids_order":["1391460817","1391460820","1391460823","1391460826","1391460837","1391460844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a08cdecded2532b498c1256edcfd7e59.jpg","text":"TemporaryFile(/tmp/multipartBody3782891622510225502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_36_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dc1754428406d2236dacbf44f90f257.jpg","text":"TemporaryFile(/tmp/multipartBody6145284094098771419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_39_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea1fea1521c51e22ff90704ecccf1c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8510651699623713456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_32_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec2b3456889c6cf699ab525e4baa4897.jpg","text":"TemporaryFile(/tmp/multipartBody3047011584262628098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_27_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3d091a227be9f9dedd62c624f2213da.jpg","text":"TemporaryFile(/tmp/multipartBody4425787245779819721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_30_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a1c03e32ee7e12f3ae742f126cb8da2.jpg","text":"TemporaryFile(/tmp/multipartBody3528270106565814008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952864819,"filename":"image_29102025_19_20_24_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460823","file1":"1391460820","file0":"1391460817","file4":"1391460837","file5":"1391460844","file3":"1391460826"},"map_files_photo_id_array":[{"photo_id":"1391460844","filename":"file5"},{"photo_id":"1391460823","filename":"file2"},{"photo_id":"1391460837","filename":"file4"},{"photo_id":"1391460820","filename":"file1"},{"photo_id":"1391460817","filename":"file0"},{"photo_id":"1391460826","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460837":["hashtag1","hashtag2"]},{"1391460844":["hashtag1","hashtag2"]},{"1391460826":["hashtag1","hashtag2"]},{"1391460820":["hashtag1","hashtag2"]},{"1391460823":["hashtag1","hashtag2"]},{"1391460817":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460837, 1391460844, 1391460826, 1391460820, 1391460823, 1391460817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16231346130371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:21:03.181729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_42_2873.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_45_3578.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_48_2660.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_50_2544.jpg', '/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_57_2619.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_02_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_42_2873.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_45_3578.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_48_2660.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_50_2544.jpg
/home/pi/Desktop/images/29102025/19/20/image_29102025_19_20_57_2619.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_02_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460882","1391460864","1391460878","1391460875","1391460871","1391460868"],"photo_ids_order":["1391460864","1391460868","1391460871","1391460875","1391460878","1391460882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/555f5ca1187c2c6ef6e998a54f9f6586.jpg","text":"TemporaryFile(/tmp/multipartBody4753018305568778248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_21_02_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79e485db0ca360a0a77140ba2152185b.jpg","text":"TemporaryFile(/tmp/multipartBody9067473812604134306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_20_42_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e24006caf193351bb5b5de4a11c1cb75.jpg","text":"TemporaryFile(/tmp/multipartBody5806339304780449840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_20_57_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dbc1cb3b4a35866948c4718307e406c.jpg","text":"TemporaryFile(/tmp/multipartBody1580252309827662009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_20_50_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/632148dad9f653331a05594126836ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7345610379202476101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_20_48_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef4b3dde40373a2f9a0871af1b207d25.jpg","text":"TemporaryFile(/tmp/multipartBody2036830267654194339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952925391,"filename":"image_29102025_19_20_45_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460871","file1":"1391460868","file0":"1391460864","file4":"1391460878","file5":"1391460882","file3":"1391460875"},"map_files_photo_id_array":[{"photo_id":"1391460882","filename":"file5"},{"photo_id":"1391460871","filename":"file2"},{"photo_id":"1391460878","filename":"file4"},{"photo_id":"1391460868","filename":"file1"},{"photo_id":"1391460864","filename":"file0"},{"photo_id":"1391460875","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460882":["hashtag1","hashtag2"]},{"1391460864":["hashtag1","hashtag2"]},{"1391460878":["hashtag1","hashtag2"]},{"1391460875":["hashtag1","hashtag2"]},{"1391460871":["hashtag1","hashtag2"]},{"1391460868":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460882, 1391460864, 1391460878, 1391460875, 1391460871, 1391460868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.778178453445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:22:03.286075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_06_3733.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_09_2637.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_11_2627.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_15_3607.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_18_2879.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_21_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_06_3733.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_09_2637.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_11_2627.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_15_3607.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_18_2879.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_21_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391460909","1391460900","1391460938","1391460905","1391460907","1391460922"],"photo_ids_order":["1391460900","1391460905","1391460907","1391460909","1391460922","1391460938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46e854bb176c678b664d5860558c414a.jpg","text":"TemporaryFile(/tmp/multipartBody4371164345600285583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_15_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bc3617e88e9581e94a3823fe20573da.jpg","text":"TemporaryFile(/tmp/multipartBody3130388684370976731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_06_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80ed405883b45641c1e94733bf5309a2.jpg","text":"TemporaryFile(/tmp/multipartBody9191991263139573908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_21_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c066ebc08d7121dfeb2980168be630e.jpg","text":"TemporaryFile(/tmp/multipartBody5648411469828942575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_09_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e7b5cc05fb8e1dbfe1d469bd6f67f13.jpg","text":"TemporaryFile(/tmp/multipartBody102208781171810292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_11_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2c1848efba66c5331812f385e375012.jpg","text":"TemporaryFile(/tmp/multipartBody769377716699027633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761952985440,"filename":"image_29102025_19_21_18_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391460907","file1":"1391460905","file0":"1391460900","file4":"1391460922","file5":"1391460938","file3":"1391460909"},"map_files_photo_id_array":[{"photo_id":"1391460938","filename":"file5"},{"photo_id":"1391460907","filename":"file2"},{"photo_id":"1391460922","filename":"file4"},{"photo_id":"1391460905","filename":"file1"},{"photo_id":"1391460900","filename":"file0"},{"photo_id":"1391460909","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391460909":["hashtag1","hashtag2"]},{"1391460900":["hashtag1","hashtag2"]},{"1391460938":["hashtag1","hashtag2"]},{"1391460905":["hashtag1","hashtag2"]},{"1391460907":["hashtag1","hashtag2"]},{"1391460922":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391460909, 1391460900, 1391460938, 1391460905, 1391460907, 1391460922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57771444320679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:22:42.748298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_26_2849.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_29_2956.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_33_3685.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_36_2642.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_38_2751.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_42_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_26_2849.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_29_2956.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_33_3685.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_36_2642.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_38_2751.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_42_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461029","1391461031","1391461036","1391460994","1391461024","1391461018"],"photo_ids_order":["1391460994","1391461018","1391461024","1391461029","1391461031","1391461036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ba92840862150fbb12201c135d3558d.jpg","text":"TemporaryFile(/tmp/multipartBody5304150433109946251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_36_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3a959cc7e20286689e06dd6d3769207.jpg","text":"TemporaryFile(/tmp/multipartBody939799870573652722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_38_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d7360d8cd596f438db679e0b2fc953b.jpg","text":"TemporaryFile(/tmp/multipartBody1392670531517008100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_42_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0492fca9f9cd1d81910b0fcaeeabce9b.jpg","text":"TemporaryFile(/tmp/multipartBody2357941321565389007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_26_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/183449be35698674010390d5534818b6.jpg","text":"TemporaryFile(/tmp/multipartBody9004193614229095767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_33_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19d818e376ee81f988d9ddd27d1d9c32.jpg","text":"TemporaryFile(/tmp/multipartBody1957736933763030176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953023957,"filename":"image_29102025_19_21_29_2956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461024","file1":"1391461018","file0":"1391460994","file4":"1391461031","file5":"1391461036","file3":"1391461029"},"map_files_photo_id_array":[{"photo_id":"1391461036","filename":"file5"},{"photo_id":"1391461024","filename":"file2"},{"photo_id":"1391461031","filename":"file4"},{"photo_id":"1391461018","filename":"file1"},{"photo_id":"1391460994","filename":"file0"},{"photo_id":"1391461029","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461029":["hashtag1","hashtag2"]},{"1391461031":["hashtag1","hashtag2"]},{"1391461036":["hashtag1","hashtag2"]},{"1391460994":["hashtag1","hashtag2"]},{"1391461024":["hashtag1","hashtag2"]},{"1391461018":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461029, 1391461031, 1391461036, 1391460994, 1391461024, 1391461018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.320109128952026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:23:21.964635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_45_2599.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_47_2652.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_51_3797.jpg', '/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_54_2576.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_03_2685.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_05_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_45_2599.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_47_2652.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_51_3797.jpg
/home/pi/Desktop/images/29102025/19/21/image_29102025_19_21_54_2576.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_03_2685.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_05_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461050","1391461060","1391461054","1391461078","1391461045","1391461048"],"photo_ids_order":["1391461045","1391461048","1391461050","1391461054","1391461060","1391461078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f4247ae63dc883f288e4c68a3a65a75.jpg","text":"TemporaryFile(/tmp/multipartBody2930378002246297390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_21_51_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d10c5e3edf52b43fb81ce06303d4c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5767929128476698063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_22_03_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01394fb57c58c967ec3cb1cddb1c495c.jpg","text":"TemporaryFile(/tmp/multipartBody6674899360119951238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_21_54_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67bbf8b580ebde1778eb9c5095f80037.jpg","text":"TemporaryFile(/tmp/multipartBody6915252343357134809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_22_05_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a84d02e3e4fa34d0c44bed7048b1328c.jpg","text":"TemporaryFile(/tmp/multipartBody2932531950846767082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_21_45_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d0fae49a7ca672c22ee65e2d8b5bad0.jpg","text":"TemporaryFile(/tmp/multipartBody6998968599504372645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953064681,"filename":"image_29102025_19_21_47_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461050","file1":"1391461048","file0":"1391461045","file4":"1391461060","file5":"1391461078","file3":"1391461054"},"map_files_photo_id_array":[{"photo_id":"1391461078","filename":"file5"},{"photo_id":"1391461050","filename":"file2"},{"photo_id":"1391461060","filename":"file4"},{"photo_id":"1391461048","filename":"file1"},{"photo_id":"1391461045","filename":"file0"},{"photo_id":"1391461054","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461050":["hashtag1","hashtag2"]},{"1391461060":["hashtag1","hashtag2"]},{"1391461054":["hashtag1","hashtag2"]},{"1391461078":["hashtag1","hashtag2"]},{"1391461045":["hashtag1","hashtag2"]},{"1391461048":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461050, 1391461060, 1391461054, 1391461078, 1391461045, 1391461048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48135256767273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:24:22.194159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_09_3680.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_12_2656.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_14_2733.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_17_2725.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_24_2734.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_27_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_09_3680.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_12_2656.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_14_2733.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_17_2725.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_24_2734.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_27_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461248","1391461250","1391461244","1391461293","1391461263","1391461245"],"photo_ids_order":["1391461244","1391461245","1391461248","1391461250","1391461263","1391461293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a6f721ba9c79ef94756d25373d32ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7727428423716482795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_14_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a279dabc325652c876bcfab8009abe9a.jpg","text":"TemporaryFile(/tmp/multipartBody5820195939311066496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_17_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8495cb5aa5931d8aa108bede88cb6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5981375865037075165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_09_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b6a1b8b3e6bbad25a5d365898de7cbd.jpg","text":"TemporaryFile(/tmp/multipartBody454703789868574210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_27_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e1967e7b6b295d580393941eb2a4f74.jpg","text":"TemporaryFile(/tmp/multipartBody267912659018732250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_24_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fac6d0d2099f00c91f6fc59c2b4f8090.jpg","text":"TemporaryFile(/tmp/multipartBody3357330277984835139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953124918,"filename":"image_29102025_19_22_12_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461248","file1":"1391461245","file0":"1391461244","file4":"1391461263","file5":"1391461293","file3":"1391461250"},"map_files_photo_id_array":[{"photo_id":"1391461293","filename":"file5"},{"photo_id":"1391461248","filename":"file2"},{"photo_id":"1391461263","filename":"file4"},{"photo_id":"1391461245","filename":"file1"},{"photo_id":"1391461244","filename":"file0"},{"photo_id":"1391461250","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461248":["hashtag1","hashtag2"]},{"1391461250":["hashtag1","hashtag2"]},{"1391461244":["hashtag1","hashtag2"]},{"1391461293":["hashtag1","hashtag2"]},{"1391461263":["hashtag1","hashtag2"]},{"1391461245":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461248, 1391461250, 1391461244, 1391461293, 1391461263, 1391461245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03413462638855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:25:02.847816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_44_17194.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_47_1765.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_49_1742.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_51_1708.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_54_1621.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_56_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_44_17194.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_47_1765.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_49_1742.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_51_1708.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_54_1621.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_56_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461341","1391461343","1391461351","1391461330","1391461362","1391461338"],"photo_ids_order":["1391461330","1391461338","1391461341","1391461343","1391461351","1391461362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a88d1fd332f40753c449b2ea0fca3da3.jpg","text":"TemporaryFile(/tmp/multipartBody7340475721595559204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_49_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/451ce381578eb69374b8c840ba6d5d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2994150531232858776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_51_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6842ee87f8aeacaad5ebf749fa4c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1665009960058875496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_54_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcc253fed72ce9ae919dbe9852f4b38a.jpg","text":"TemporaryFile(/tmp/multipartBody1242379533210662227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_44_17194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d0b35f7eb52256bd42196cd05763090.jpg","text":"TemporaryFile(/tmp/multipartBody2502492759459380221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_56_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/551679f663eed6d63504f36835b7d2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7171686332989030086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953165270,"filename":"image_29102025_19_22_47_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461341","file1":"1391461338","file0":"1391461330","file4":"1391461351","file5":"1391461362","file3":"1391461343"},"map_files_photo_id_array":[{"photo_id":"1391461362","filename":"file5"},{"photo_id":"1391461341","filename":"file2"},{"photo_id":"1391461351","filename":"file4"},{"photo_id":"1391461338","filename":"file1"},{"photo_id":"1391461330","filename":"file0"},{"photo_id":"1391461343","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461341":["hashtag1","hashtag2"]},{"1391461343":["hashtag1","hashtag2"]},{"1391461351":["hashtag1","hashtag2"]},{"1391461330":["hashtag1","hashtag2"]},{"1391461362":["hashtag1","hashtag2"]},{"1391461338":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461341, 1391461343, 1391461351, 1391461330, 1391461362, 1391461338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88272213935852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:26:02.787585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_57_1595.jpg', '/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_59_1621.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_01_1757.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_03_2673.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_05_1821.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_09_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_57_1595.jpg
/home/pi/Desktop/images/29102025/19/22/image_29102025_19_22_59_1621.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_01_1757.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_03_2673.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_05_1821.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_09_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461611","1391461658","1391461649","1391461616","1391461660","1391461656"],"photo_ids_order":["1391461611","1391461616","1391461649","1391461656","1391461658","1391461660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d17c6165b476960a58addfa49ee758bb.jpg","text":"TemporaryFile(/tmp/multipartBody972552341996787302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_22_57_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6bf59546978049032e46cbe449953b2.jpg","text":"TemporaryFile(/tmp/multipartBody1524827541839191562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_23_05_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7b2543e7f67d79181bcb106df09807f.jpg","text":"TemporaryFile(/tmp/multipartBody3969296331462314824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_23_01_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2e66dcb924d86f6600ae4cdbc698634.jpg","text":"TemporaryFile(/tmp/multipartBody6664579915278913377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_22_59_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a789be133a4744fed28340ce38d629.jpg","text":"TemporaryFile(/tmp/multipartBody5321502045136862993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_23_09_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52d20c73b906d31b42009c28049da599.jpg","text":"TemporaryFile(/tmp/multipartBody7276082496538457052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953225023,"filename":"image_29102025_19_23_03_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461649","file1":"1391461616","file0":"1391461611","file4":"1391461658","file5":"1391461660","file3":"1391461656"},"map_files_photo_id_array":[{"photo_id":"1391461660","filename":"file5"},{"photo_id":"1391461649","filename":"file2"},{"photo_id":"1391461658","filename":"file4"},{"photo_id":"1391461616","filename":"file1"},{"photo_id":"1391461611","filename":"file0"},{"photo_id":"1391461656","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461611":["hashtag1","hashtag2"]},{"1391461658":["hashtag1","hashtag2"]},{"1391461649":["hashtag1","hashtag2"]},{"1391461616":["hashtag1","hashtag2"]},{"1391461660":["hashtag1","hashtag2"]},{"1391461656":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461611, 1391461658, 1391461649, 1391461616, 1391461660, 1391461656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45573902130127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:27:03.240774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_12_2805.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_17_2737.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_26_2575.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_29_2687.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_34_5383.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_37_2967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_12_2805.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_17_2737.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_26_2575.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_29_2687.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_34_5383.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_37_2967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461830","1391461805","1391461732","1391461833","1391461827","1391461755"],"photo_ids_order":["1391461732","1391461755","1391461805","1391461827","1391461830","1391461833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536649dae4a8801c1f3e2c9b0eea7732.jpg","text":"TemporaryFile(/tmp/multipartBody2714080652284951909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_34_5383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21e7e1cd3f171cb36508cd461c7bd863.jpg","text":"TemporaryFile(/tmp/multipartBody1983196722469366859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_26_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42801c8de7e2db63776aa53d9d824ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1577404888003568141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_12_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd922fa65c61768243d37f1b2d12b45e.jpg","text":"TemporaryFile(/tmp/multipartBody7454352500590506221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_37_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4170e1e74e5809c4bbd1045a71d264c6.jpg","text":"TemporaryFile(/tmp/multipartBody6905943790371347977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_29_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/338ebe41a79191f591151dd01f8de8fe.jpg","text":"TemporaryFile(/tmp/multipartBody3568514814503879597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953285495,"filename":"image_29102025_19_23_17_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461805","file1":"1391461755","file0":"1391461732","file4":"1391461830","file5":"1391461833","file3":"1391461827"},"map_files_photo_id_array":[{"photo_id":"1391461833","filename":"file5"},{"photo_id":"1391461805","filename":"file2"},{"photo_id":"1391461830","filename":"file4"},{"photo_id":"1391461755","filename":"file1"},{"photo_id":"1391461732","filename":"file0"},{"photo_id":"1391461827","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461830":["hashtag1","hashtag2"]},{"1391461805":["hashtag1","hashtag2"]},{"1391461732":["hashtag1","hashtag2"]},{"1391461833":["hashtag1","hashtag2"]},{"1391461827":["hashtag1","hashtag2"]},{"1391461755":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461830, 1391461805, 1391461732, 1391461833, 1391461827, 1391461755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.121840715408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:28:03.076861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_45_6283.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_47_1686.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_49_1741.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_51_1813.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_53_2862.jpg', '/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_56_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_45_6283.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_47_1686.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_49_1741.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_51_1813.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_53_2862.jpg
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_23_56_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461892","1391461905","1391461916","1391461867","1391461933","1391461860"],"photo_ids_order":["1391461860","1391461867","1391461892","1391461905","1391461916","1391461933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/896acefa71850c4251dcba8cf45d6ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4036100701316103281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_49_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb35425f1c9973994f66b7317a9c7339.jpg","text":"TemporaryFile(/tmp/multipartBody1246074209313427735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_51_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0a37d812c901ff5b7581933d13525be.jpg","text":"TemporaryFile(/tmp/multipartBody6520618128952512794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_53_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73b87a75463a512961471e58dee3fcef.jpg","text":"TemporaryFile(/tmp/multipartBody7832700823219800328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_47_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98afb2b8a4b9bb0d91e1d3c4a8743592.jpg","text":"TemporaryFile(/tmp/multipartBody4023043743340191785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_56_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7d8019d5fbc100de45feb3b23398b54.jpg","text":"TemporaryFile(/tmp/multipartBody507672057941424302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953346163,"filename":"image_29102025_19_23_45_6283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461892","file1":"1391461867","file0":"1391461860","file4":"1391461916","file5":"1391461933","file3":"1391461905"},"map_files_photo_id_array":[{"photo_id":"1391461933","filename":"file5"},{"photo_id":"1391461892","filename":"file2"},{"photo_id":"1391461916","filename":"file4"},{"photo_id":"1391461867","filename":"file1"},{"photo_id":"1391461860","filename":"file0"},{"photo_id":"1391461905","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461892":["hashtag1","hashtag2"]},{"1391461905":["hashtag1","hashtag2"]},{"1391461916":["hashtag1","hashtag2"]},{"1391461867":["hashtag1","hashtag2"]},{"1391461933":["hashtag1","hashtag2"]},{"1391461860":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461892, 1391461905, 1391461916, 1391461867, 1391461933, 1391461860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4788715839386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:29:02.849945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/23/image_29102025_19_24_00_3661.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_03_2708.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_05_2691.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_08_2657.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_12_3699.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_14_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/23/image_29102025_19_24_00_3661.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_03_2708.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_05_2691.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_08_2657.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_12_3699.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_14_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391461991","1391461982","1391461999","1391461995","1391461989","1391461986"],"photo_ids_order":["1391461982","1391461986","1391461989","1391461991","1391461995","1391461999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c40ff228f2909ea3c8f70d020e928146.jpg","text":"TemporaryFile(/tmp/multipartBody3852845484708432565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_08_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a67d0cd16d99d20a7f35d965bc7fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody2933637206600270430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_00_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b004f2a67c82e2f018cd6ffb02b7fdde.jpg","text":"TemporaryFile(/tmp/multipartBody3521873221369417119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9c1a9e08b6d6c39fb7c376eb6b775ae.jpg","text":"TemporaryFile(/tmp/multipartBody6535632082031482343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_12_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6e6a7591de375af2e3c14cf9080d5be.jpg","text":"TemporaryFile(/tmp/multipartBody3812661065072292412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_05_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5c2874ffc31366c12f8cd813bc685f9.jpg","text":"TemporaryFile(/tmp/multipartBody6754220432512832429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953405343,"filename":"image_29102025_19_24_03_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391461989","file1":"1391461986","file0":"1391461982","file4":"1391461995","file5":"1391461999","file3":"1391461991"},"map_files_photo_id_array":[{"photo_id":"1391461999","filename":"file5"},{"photo_id":"1391461989","filename":"file2"},{"photo_id":"1391461995","filename":"file4"},{"photo_id":"1391461986","filename":"file1"},{"photo_id":"1391461982","filename":"file0"},{"photo_id":"1391461991","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391461991":["hashtag1","hashtag2"]},{"1391461982":["hashtag1","hashtag2"]},{"1391461999":["hashtag1","hashtag2"]},{"1391461995":["hashtag1","hashtag2"]},{"1391461989":["hashtag1","hashtag2"]},{"1391461986":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391461991, 1391461982, 1391461999, 1391461995, 1391461989, 1391461986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.234052419662476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:30:02.658795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_17_2697.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_21_3677.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_23_2545.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_27_3612.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_37_10333.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_39_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_17_2697.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_21_3677.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_23_2545.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_27_3612.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_37_10333.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_39_1661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462021","1391462029","1391462023","1391462032","1391462026","1391462031"],"photo_ids_order":["1391462021","1391462023","1391462026","1391462029","1391462031","1391462032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0351fe596c843064eaf8aa5eb58881a8.jpg","text":"TemporaryFile(/tmp/multipartBody3146773094366047616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_17_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0288e3fcf6f6669b02be547277bad1a3.jpg","text":"TemporaryFile(/tmp/multipartBody8995261826998061231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_27_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76185f87012aaab93e14b10de0f7c50a.jpg","text":"TemporaryFile(/tmp/multipartBody8410456815349301567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_21_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e67143b62e7a3f084553b96bb3006210.jpg","text":"TemporaryFile(/tmp/multipartBody8747414732127905541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_39_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac36a1ac1e2e1b1ff9d34dbc6537281a.jpg","text":"TemporaryFile(/tmp/multipartBody1021221060248090948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_23_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/caab7e20fc6e7cbad216f09ed01ac8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8995439577716481499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953464906,"filename":"image_29102025_19_24_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462026","file1":"1391462023","file0":"1391462021","file4":"1391462031","file5":"1391462032","file3":"1391462029"},"map_files_photo_id_array":[{"photo_id":"1391462032","filename":"file5"},{"photo_id":"1391462026","filename":"file2"},{"photo_id":"1391462031","filename":"file4"},{"photo_id":"1391462023","filename":"file1"},{"photo_id":"1391462021","filename":"file0"},{"photo_id":"1391462029","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462021":["hashtag1","hashtag2"]},{"1391462029":["hashtag1","hashtag2"]},{"1391462023":["hashtag1","hashtag2"]},{"1391462032":["hashtag1","hashtag2"]},{"1391462026":["hashtag1","hashtag2"]},{"1391462031":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462021, 1391462029, 1391462023, 1391462032, 1391462026, 1391462031)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.00928473472595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:31:03.142675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_41_1740.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_45_1800.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_47_1656.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_48_1771.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_50_1598.jpg', '/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_54_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_41_1740.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_45_1800.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_47_1656.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_48_1771.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_50_1598.jpg
/home/pi/Desktop/images/29102025/19/24/image_29102025_19_24_54_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462063","1391462065","1391462061","1391462070","1391462073","1391462067"],"photo_ids_order":["1391462061","1391462063","1391462065","1391462067","1391462070","1391462073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76df7dbea8228d60b13dcc885dfd102a.jpg","text":"TemporaryFile(/tmp/multipartBody244780063671566593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_45_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16a1415f65d3cffa0f74b22464ec0e60.jpg","text":"TemporaryFile(/tmp/multipartBody357459692862475089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_47_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69dffecd51fa8c6269bd320dc56b7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8234080963495197669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_41_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0be515ab9fe21a655dd44d9c97d207e.jpg","text":"TemporaryFile(/tmp/multipartBody2051768566001806898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_50_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ee52f85af7115d0d63df4a8a89cafab.jpg","text":"TemporaryFile(/tmp/multipartBody5276687894108538394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_54_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a09e2f15ef3d6fa265e0d9b4d57ebc5b.jpg","text":"TemporaryFile(/tmp/multipartBody3261786308509545462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953525368,"filename":"image_29102025_19_24_48_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462065","file1":"1391462063","file0":"1391462061","file4":"1391462070","file5":"1391462073","file3":"1391462067"},"map_files_photo_id_array":[{"photo_id":"1391462073","filename":"file5"},{"photo_id":"1391462065","filename":"file2"},{"photo_id":"1391462070","filename":"file4"},{"photo_id":"1391462063","filename":"file1"},{"photo_id":"1391462061","filename":"file0"},{"photo_id":"1391462067","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462063":["hashtag1","hashtag2"]},{"1391462065":["hashtag1","hashtag2"]},{"1391462061":["hashtag1","hashtag2"]},{"1391462070":["hashtag1","hashtag2"]},{"1391462073":["hashtag1","hashtag2"]},{"1391462067":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462063, 1391462065, 1391462061, 1391462070, 1391462073, 1391462067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82203269004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:32:03.137740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_08_2892.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_11_2757.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_18_3642.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_20_2770.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_23_2842.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_32_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_08_2892.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_11_2757.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_18_3642.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_20_2770.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_23_2842.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_32_2741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0557236671447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:32:22.541933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_08_2892.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_11_2757.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_18_3642.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_20_2770.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_23_2842.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_32_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_08_2892.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_11_2757.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_18_3642.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_20_2770.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_23_2842.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_32_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462117","1391462129","1391462125","1391462119","1391462113","1391462121"],"photo_ids_order":["1391462113","1391462117","1391462119","1391462121","1391462125","1391462129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1214a7001d9eea7950b45b2dccdf599.jpg","text":"TemporaryFile(/tmp/multipartBody7758634043748531062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_11_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88237db326cf1393dac78f7bbb4fcff4.jpg","text":"TemporaryFile(/tmp/multipartBody1120217308461524541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_32_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b007c7ae7229661cc60c15c1b6b4c697.jpg","text":"TemporaryFile(/tmp/multipartBody3437082811815359561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_23_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27f5be1c71dac231aa82b382815c90da.jpg","text":"TemporaryFile(/tmp/multipartBody8166949353393918570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_18_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d48bc2fa0c534e3b951aded648f144b7.jpg","text":"TemporaryFile(/tmp/multipartBody7514386094525552281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_08_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7dd78acd60498a4437e69f1596703f1.jpg","text":"TemporaryFile(/tmp/multipartBody4426404934683103784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953605128,"filename":"image_29102025_19_25_20_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462119","file1":"1391462117","file0":"1391462113","file4":"1391462125","file5":"1391462129","file3":"1391462121"},"map_files_photo_id_array":[{"photo_id":"1391462129","filename":"file5"},{"photo_id":"1391462119","filename":"file2"},{"photo_id":"1391462125","filename":"file4"},{"photo_id":"1391462117","filename":"file1"},{"photo_id":"1391462113","filename":"file0"},{"photo_id":"1391462121","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462117":["hashtag1","hashtag2"]},{"1391462129":["hashtag1","hashtag2"]},{"1391462125":["hashtag1","hashtag2"]},{"1391462119":["hashtag1","hashtag2"]},{"1391462113":["hashtag1","hashtag2"]},{"1391462121":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462117, 1391462129, 1391462125, 1391462119, 1391462113, 1391462121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58319902420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:33:03.349843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_35_2791.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_38_2697.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_42_3783.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_45_2893.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_47_2428.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_54_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_35_2791.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_38_2697.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_42_3783.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_45_2893.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_47_2428.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_54_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462153","1391462165","1391462144","1391462147","1391462161","1391462151"],"photo_ids_order":["1391462144","1391462147","1391462151","1391462153","1391462161","1391462165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc5e78a5aa32294190a8f9e14c3cb988.jpg","text":"TemporaryFile(/tmp/multipartBody7541800520527651109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_45_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0489cd937b6299379c76683eb5eba6f.jpg","text":"TemporaryFile(/tmp/multipartBody5863441613751537383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_54_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7d43488bffff9bac8fa793565b56cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1850432183476429520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_35_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08d191563bb4f4aa2c507d812091f822.jpg","text":"TemporaryFile(/tmp/multipartBody3324592316756891910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_38_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bba843736502db5d9145dcd928f66dfd.jpg","text":"TemporaryFile(/tmp/multipartBody2181232082815544194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_47_2428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7638bf8f41c8521165498ed3487239c3.jpg","text":"TemporaryFile(/tmp/multipartBody8496670229325318049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953645612,"filename":"image_29102025_19_25_42_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462151","file1":"1391462147","file0":"1391462144","file4":"1391462161","file5":"1391462165","file3":"1391462153"},"map_files_photo_id_array":[{"photo_id":"1391462165","filename":"file5"},{"photo_id":"1391462151","filename":"file2"},{"photo_id":"1391462161","filename":"file4"},{"photo_id":"1391462147","filename":"file1"},{"photo_id":"1391462144","filename":"file0"},{"photo_id":"1391462153","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462153":["hashtag1","hashtag2"]},{"1391462165":["hashtag1","hashtag2"]},{"1391462144":["hashtag1","hashtag2"]},{"1391462147":["hashtag1","hashtag2"]},{"1391462161":["hashtag1","hashtag2"]},{"1391462151":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462153, 1391462165, 1391462144, 1391462147, 1391462161, 1391462151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91326951980591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:34:02.866530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_56_2616.jpg', '/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_59_2619.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_02_3643.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_08_2632.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_11_3610.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_14_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_56_2616.jpg
/home/pi/Desktop/images/29102025/19/25/image_29102025_19_25_59_2619.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_02_3643.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_08_2632.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_11_3610.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_14_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462217","1391462225","1391462221","1391462232","1391462235","1391462229"],"photo_ids_order":["1391462217","1391462221","1391462225","1391462229","1391462232","1391462235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11a03e762c52e48bcf18ba0a5e42efd8.jpg","text":"TemporaryFile(/tmp/multipartBody8510638492439824145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_25_56_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4585cda064ac798f3fba6e4e507f6149.jpg","text":"TemporaryFile(/tmp/multipartBody4521696630366536863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_26_02_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d23056596c989cb6eef11890fcc9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6017037731455067485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_25_59_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa9c128c92f1b77ecd03ca8342f9d7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4013294717067896624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_26_11_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99c09e6c36af2c431e7d7bda5a100183.jpg","text":"TemporaryFile(/tmp/multipartBody7023074341201419079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_26_14_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc5389a2a9bf5efbd1b66e4578930b49.jpg","text":"TemporaryFile(/tmp/multipartBody6522596033676873657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953705033,"filename":"image_29102025_19_26_08_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462225","file1":"1391462221","file0":"1391462217","file4":"1391462232","file5":"1391462235","file3":"1391462229"},"map_files_photo_id_array":[{"photo_id":"1391462235","filename":"file5"},{"photo_id":"1391462225","filename":"file2"},{"photo_id":"1391462232","filename":"file4"},{"photo_id":"1391462221","filename":"file1"},{"photo_id":"1391462217","filename":"file0"},{"photo_id":"1391462229","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462217":["hashtag1","hashtag2"]},{"1391462225":["hashtag1","hashtag2"]},{"1391462221":["hashtag1","hashtag2"]},{"1391462232":["hashtag1","hashtag2"]},{"1391462235":["hashtag1","hashtag2"]},{"1391462229":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462217, 1391462225, 1391462221, 1391462232, 1391462235, 1391462229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.811612367630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:35:03.000491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_17_2746.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_20_3661.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_32_2693.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_35_2767.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_38_2786.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_42_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_17_2746.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_20_3661.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_32_2693.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_35_2767.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_38_2786.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_42_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462288","1391462296","1391462281","1391462300","1391462269","1391462319"],"photo_ids_order":["1391462269","1391462281","1391462288","1391462296","1391462300","1391462319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23d8e01c90aaecfe1641616db911e2cd.jpg","text":"TemporaryFile(/tmp/multipartBody540856661763509132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_32_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dce606b6ae6e172fa9262abce5cd5651.jpg","text":"TemporaryFile(/tmp/multipartBody8539980183424357592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_35_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/997d1d8a2e021a566fa5daa76ee2b5a1.jpg","text":"TemporaryFile(/tmp/multipartBody8801206912063551890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f789fec578797552a0c914fa2c2baf95.jpg","text":"TemporaryFile(/tmp/multipartBody8655789277242364887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_38_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c267d4463c7b6b005d088be4d5bb337.jpg","text":"TemporaryFile(/tmp/multipartBody3356392844215681044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_17_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2ecb3581a65abcb7572a1581ecbff45.jpg","text":"TemporaryFile(/tmp/multipartBody5002156428402118035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953765215,"filename":"image_29102025_19_26_42_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462288","file1":"1391462281","file0":"1391462269","file4":"1391462300","file5":"1391462319","file3":"1391462296"},"map_files_photo_id_array":[{"photo_id":"1391462319","filename":"file5"},{"photo_id":"1391462288","filename":"file2"},{"photo_id":"1391462300","filename":"file4"},{"photo_id":"1391462281","filename":"file1"},{"photo_id":"1391462269","filename":"file0"},{"photo_id":"1391462296","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462288":["hashtag1","hashtag2"]},{"1391462296":["hashtag1","hashtag2"]},{"1391462281":["hashtag1","hashtag2"]},{"1391462300":["hashtag1","hashtag2"]},{"1391462269":["hashtag1","hashtag2"]},{"1391462319":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462288, 1391462296, 1391462281, 1391462300, 1391462269, 1391462319)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.59166741371155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:36:02.822715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_44_2688.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_47_2778.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_51_3648.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_53_2682.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_56_2654.jpg', '/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_59_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_44_2688.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_47_2778.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_51_3648.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_53_2682.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_56_2654.jpg
/home/pi/Desktop/images/29102025/19/26/image_29102025_19_26_59_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462645","1391462600","1391462402","1391462519","1391462362","1391462344"],"photo_ids_order":["1391462344","1391462362","1391462402","1391462519","1391462600","1391462645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d76f14c53b86b1a6280efd576b709b5.jpg","text":"TemporaryFile(/tmp/multipartBody7929752503761944893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_59_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8b8d8d7cc78ffe9e23fdc5d65c48a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2263825497694961027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_56_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31f740d549094cb7eca1898ada2dde4c.jpg","text":"TemporaryFile(/tmp/multipartBody4431167113330653437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_51_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6144a325091781bdcfcb7ed3e30d2b35.jpg","text":"TemporaryFile(/tmp/multipartBody7169162264161540098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd515d9d69744c5eafe6d420a98695f1.jpg","text":"TemporaryFile(/tmp/multipartBody4743774447557816742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_47_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ad6b56467ea7f5176cf0cfd6bc1b92b.jpg","text":"TemporaryFile(/tmp/multipartBody2209755810539693463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953825021,"filename":"image_29102025_19_26_44_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462402","file1":"1391462362","file0":"1391462344","file4":"1391462600","file5":"1391462645","file3":"1391462519"},"map_files_photo_id_array":[{"photo_id":"1391462645","filename":"file5"},{"photo_id":"1391462402","filename":"file2"},{"photo_id":"1391462600","filename":"file4"},{"photo_id":"1391462362","filename":"file1"},{"photo_id":"1391462344","filename":"file0"},{"photo_id":"1391462519","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462645":["hashtag1","hashtag2"]},{"1391462600":["hashtag1","hashtag2"]},{"1391462402":["hashtag1","hashtag2"]},{"1391462519":["hashtag1","hashtag2"]},{"1391462362":["hashtag1","hashtag2"]},{"1391462344":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462645, 1391462600, 1391462402, 1391462519, 1391462362, 1391462344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.129207611083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:36:42.372687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_02_3661.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_05_2698.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_08_2706.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_11_3643.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_14_2627.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_17_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_02_3661.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_05_2698.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_08_2706.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_11_3643.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_14_2627.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_17_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391462987","1391462780","1391462819","1391462944","1391462860","1391462901"],"photo_ids_order":["1391462780","1391462819","1391462860","1391462901","1391462944","1391462987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c07febe50ab18bdae780003f38db8da7.jpg","text":"TemporaryFile(/tmp/multipartBody2112630455834918867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_17_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b473343ae972d43c9ff9ee02deb8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody353019161360030206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_02_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cf7a7686ac6e6bb0f337406bb964743.jpg","text":"TemporaryFile(/tmp/multipartBody1729142865405503163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_05_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faa7621ab45f78c1ed3113667ca1984a.jpg","text":"TemporaryFile(/tmp/multipartBody1505951214552735852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_14_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fad658edc6b97cbc6d7620be6955fca2.jpg","text":"TemporaryFile(/tmp/multipartBody4385463540313783329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_08_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d03aad2ade840e3edb0ab174682a6779.jpg","text":"TemporaryFile(/tmp/multipartBody1416053549472577784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953863536,"filename":"image_29102025_19_27_11_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391462860","file1":"1391462819","file0":"1391462780","file4":"1391462944","file5":"1391462987","file3":"1391462901"},"map_files_photo_id_array":[{"photo_id":"1391462987","filename":"file5"},{"photo_id":"1391462860","filename":"file2"},{"photo_id":"1391462944","filename":"file4"},{"photo_id":"1391462819","filename":"file1"},{"photo_id":"1391462780","filename":"file0"},{"photo_id":"1391462901","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391462987":["hashtag1","hashtag2"]},{"1391462780":["hashtag1","hashtag2"]},{"1391462819":["hashtag1","hashtag2"]},{"1391462944":["hashtag1","hashtag2"]},{"1391462860":["hashtag1","hashtag2"]},{"1391462901":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391462987, 1391462780, 1391462819, 1391462944, 1391462860, 1391462901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23651838302612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:37:22.534441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_20_3634.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_23_2597.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_26_2752.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_30_3691.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_32_2733.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_35_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_20_3634.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_23_2597.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_26_2752.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_30_3691.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_32_2733.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_35_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391463161","1391463209","1391463373","1391463289","1391463333","1391463249"],"photo_ids_order":["1391463161","1391463209","1391463249","1391463289","1391463333","1391463373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dfa0f5930f1b03fc4bcc3cbf99c68d4.jpg","text":"TemporaryFile(/tmp/multipartBody4845699024697896817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_20_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec90f12565c17b86470d44282f5bc0c8.jpg","text":"TemporaryFile(/tmp/multipartBody5854559636271436186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_23_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b73c802a37b1d69699cabb7d539195c.jpg","text":"TemporaryFile(/tmp/multipartBody8731776573554146881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_35_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eee844c38e18c917258606a0d995aa78.jpg","text":"TemporaryFile(/tmp/multipartBody3166420775776393603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_30_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8deb36462b5c4a2e0aea709bfc904f40.jpg","text":"TemporaryFile(/tmp/multipartBody7765037117606045353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_32_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c73e9225e35342b50c5da4e4f6aa840.jpg","text":"TemporaryFile(/tmp/multipartBody6455970870855655270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953905295,"filename":"image_29102025_19_27_26_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391463249","file1":"1391463209","file0":"1391463161","file4":"1391463333","file5":"1391463373","file3":"1391463289"},"map_files_photo_id_array":[{"photo_id":"1391463373","filename":"file5"},{"photo_id":"1391463249","filename":"file2"},{"photo_id":"1391463333","filename":"file4"},{"photo_id":"1391463209","filename":"file1"},{"photo_id":"1391463161","filename":"file0"},{"photo_id":"1391463289","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391463161":["hashtag1","hashtag2"]},{"1391463209":["hashtag1","hashtag2"]},{"1391463373":["hashtag1","hashtag2"]},{"1391463289":["hashtag1","hashtag2"]},{"1391463333":["hashtag1","hashtag2"]},{"1391463249":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391463161, 1391463209, 1391463373, 1391463289, 1391463333, 1391463249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96560502052307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:38:03.063147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_38_3625.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_41_2641.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_47_2614.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_53_2693.jpg', '/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_59_3732.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_02_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_38_3625.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_41_2641.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_47_2614.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_53_2693.jpg
/home/pi/Desktop/images/29102025/19/27/image_29102025_19_27_59_3732.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_02_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391463691","1391463736","1391463523","1391463648","1391463609","1391463569"],"photo_ids_order":["1391463523","1391463569","1391463609","1391463648","1391463691","1391463736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff0010c2566ffb6f211a728bcb847b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7500004011696342898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_27_59_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1501ecdb1ae41c59b3d567fa6e39a882.jpg","text":"TemporaryFile(/tmp/multipartBody7533917302962956365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_28_02_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96b08a17a052a2fe9b4a794075860e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6282784411456393237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_27_38_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddb55e2f9397ee26f19ec4d96f47879a.jpg","text":"TemporaryFile(/tmp/multipartBody514699967386298691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_27_53_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d2619006912e875f65903a96aabc4b1.jpg","text":"TemporaryFile(/tmp/multipartBody1481309452328003453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_27_47_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/215f58b7a722c7a39a2737607877d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2905773308220872610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953945229,"filename":"image_29102025_19_27_41_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391463609","file1":"1391463569","file0":"1391463523","file4":"1391463691","file5":"1391463736","file3":"1391463648"},"map_files_photo_id_array":[{"photo_id":"1391463736","filename":"file5"},{"photo_id":"1391463609","filename":"file2"},{"photo_id":"1391463691","filename":"file4"},{"photo_id":"1391463569","filename":"file1"},{"photo_id":"1391463523","filename":"file0"},{"photo_id":"1391463648","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391463691":["hashtag1","hashtag2"]},{"1391463736":["hashtag1","hashtag2"]},{"1391463523":["hashtag1","hashtag2"]},{"1391463648":["hashtag1","hashtag2"]},{"1391463609":["hashtag1","hashtag2"]},{"1391463569":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391463691, 1391463736, 1391463523, 1391463648, 1391463609, 1391463569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.230244159698486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:38:42.742969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_05_2564.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_08_2798.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_11_3597.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_14_2611.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_17_3714.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_20_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_05_2564.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_08_2798.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_11_3597.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_14_2611.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_17_3714.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_20_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391463908","1391463916","1391463904","1391463906","1391463909","1391463875"],"photo_ids_order":["1391463875","1391463904","1391463906","1391463908","1391463909","1391463916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3842a94a31590fc89590e4c294114fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4613687974784321357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_14_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7e4009f5b2b00fbbb3949eaf7bcf300.jpg","text":"TemporaryFile(/tmp/multipartBody1102991595894082499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_20_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d1bf55986dd2f681d1b8e739d45d355.jpg","text":"TemporaryFile(/tmp/multipartBody58895026304014456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_08_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f63adc14726bf65287ab7898d437586.jpg","text":"TemporaryFile(/tmp/multipartBody5428973115899977073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_11_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9df286f51764ebb519e394de64b1e527.jpg","text":"TemporaryFile(/tmp/multipartBody175822373157213292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_17_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3790558acb982ef649c9732d36bf59a6.jpg","text":"TemporaryFile(/tmp/multipartBody1243844343382366729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761953983898,"filename":"image_29102025_19_28_05_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391463906","file1":"1391463904","file0":"1391463875","file4":"1391463909","file5":"1391463916","file3":"1391463908"},"map_files_photo_id_array":[{"photo_id":"1391463916","filename":"file5"},{"photo_id":"1391463906","filename":"file2"},{"photo_id":"1391463909","filename":"file4"},{"photo_id":"1391463904","filename":"file1"},{"photo_id":"1391463875","filename":"file0"},{"photo_id":"1391463908","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391463908":["hashtag1","hashtag2"]},{"1391463916":["hashtag1","hashtag2"]},{"1391463904":["hashtag1","hashtag2"]},{"1391463906":["hashtag1","hashtag2"]},{"1391463909":["hashtag1","hashtag2"]},{"1391463875":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391463908, 1391463916, 1391463904, 1391463906, 1391463909, 1391463875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.210782051086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:39:41.819163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_23_2737.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_26_2669.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_29_3716.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_32_2834.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_35_2609.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_38_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_23_2737.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_26_2669.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_29_3716.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_32_2834.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_35_2609.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_38_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391463985","1391463978","1391463981","1391463975","1391463969","1391463971"],"photo_ids_order":["1391463969","1391463971","1391463975","1391463978","1391463981","1391463985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b603162cbd74a98d676ef5ee17c1ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8597922708699838918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_38_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b428f321ea5884c888552f427ac37225.jpg","text":"TemporaryFile(/tmp/multipartBody7826992604677430877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_32_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8244ed42eaaed374c7030ab50d1aaf86.jpg","text":"TemporaryFile(/tmp/multipartBody378449604654310812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_35_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0536ba33fa52fa7bd84dcaba11e8bd45.jpg","text":"TemporaryFile(/tmp/multipartBody8524748747569852305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_29_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a36c0491ea815e6bbcf466dd7808e054.jpg","text":"TemporaryFile(/tmp/multipartBody6063805945696429114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_23_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db14189f58da2e7d7e4b51eff20ec195.jpg","text":"TemporaryFile(/tmp/multipartBody8361066338291578128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954042980,"filename":"image_29102025_19_28_26_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391463975","file1":"1391463971","file0":"1391463969","file4":"1391463981","file5":"1391463985","file3":"1391463978"},"map_files_photo_id_array":[{"photo_id":"1391463985","filename":"file5"},{"photo_id":"1391463975","filename":"file2"},{"photo_id":"1391463981","filename":"file4"},{"photo_id":"1391463971","filename":"file1"},{"photo_id":"1391463969","filename":"file0"},{"photo_id":"1391463978","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391463985":["hashtag1","hashtag2"]},{"1391463978":["hashtag1","hashtag2"]},{"1391463981":["hashtag1","hashtag2"]},{"1391463975":["hashtag1","hashtag2"]},{"1391463969":["hashtag1","hashtag2"]},{"1391463971":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391463985, 1391463978, 1391463981, 1391463975, 1391463969, 1391463971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84226059913635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:40:22.012541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_41_3667.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_47_2635.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_53_2804.jpg', '/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_59_2713.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_02_2724.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_08_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_41_3667.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_47_2635.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_53_2804.jpg
/home/pi/Desktop/images/29102025/19/28/image_29102025_19_28_59_2713.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_02_2724.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_08_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464123","1391464303","1391464411","1391464395","1391464169","1391464463"],"photo_ids_order":["1391464123","1391464169","1391464303","1391464395","1391464411","1391464463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acda759163ec7001319a8755ef193d74.jpg","text":"TemporaryFile(/tmp/multipartBody322282662754465729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_28_41_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f0a9a39fb6ae86405f1ee5566e6c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5350959851956469117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_28_53_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a234b19b90b58d026d582d2d0cd87c7.jpg","text":"TemporaryFile(/tmp/multipartBody2233741344159429883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_29_02_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae10455ae1839be6ddf82bb78ce9f541.jpg","text":"TemporaryFile(/tmp/multipartBody3331134649428166104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_28_59_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b47cdc22944a5440b8fda6f3515d2a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4410150588915199752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_28_47_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bf7a65065f8aa326b2bed95dbca81e5.jpg","text":"TemporaryFile(/tmp/multipartBody120486769293149007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954084742,"filename":"image_29102025_19_29_08_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464303","file1":"1391464169","file0":"1391464123","file4":"1391464411","file5":"1391464463","file3":"1391464395"},"map_files_photo_id_array":[{"photo_id":"1391464463","filename":"file5"},{"photo_id":"1391464303","filename":"file2"},{"photo_id":"1391464411","filename":"file4"},{"photo_id":"1391464169","filename":"file1"},{"photo_id":"1391464123","filename":"file0"},{"photo_id":"1391464395","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464123":["hashtag1","hashtag2"]},{"1391464303":["hashtag1","hashtag2"]},{"1391464411":["hashtag1","hashtag2"]},{"1391464395":["hashtag1","hashtag2"]},{"1391464169":["hashtag1","hashtag2"]},{"1391464463":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464123, 1391464303, 1391464411, 1391464395, 1391464169, 1391464463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.15868973731995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:41:42.251796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_17_2598.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_20_2759.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_23_3649.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_26_2569.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_29_2961.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_31_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_17_2598.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_20_2759.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_23_3649.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_26_2569.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_29_2961.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_31_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464618","1391464540","1391464626","1391464577","1391464592","1391464574"],"photo_ids_order":["1391464540","1391464574","1391464577","1391464592","1391464618","1391464626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b6b0d6e036784338f4f5ab372252ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1225143678212899027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_29_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd704be41474b0f5897a87bf869e5f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6098484438718680174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_17_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e534f1e5d2cfdd508563dd192b45c16.jpg","text":"TemporaryFile(/tmp/multipartBody8628664364273095206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_31_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3751e8180190012f595bd462b36005d7.jpg","text":"TemporaryFile(/tmp/multipartBody6927684969545966407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_23_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78b8d8ff13065164d370b5a7dd8f7fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2445055240075717583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_26_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3a6e233a5bc8835ac32bccff2334cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5053882007629760320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954163423,"filename":"image_29102025_19_29_20_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464577","file1":"1391464574","file0":"1391464540","file4":"1391464618","file5":"1391464626","file3":"1391464592"},"map_files_photo_id_array":[{"photo_id":"1391464626","filename":"file5"},{"photo_id":"1391464577","filename":"file2"},{"photo_id":"1391464618","filename":"file4"},{"photo_id":"1391464574","filename":"file1"},{"photo_id":"1391464540","filename":"file0"},{"photo_id":"1391464592","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464618":["hashtag1","hashtag2"]},{"1391464540":["hashtag1","hashtag2"]},{"1391464626":["hashtag1","hashtag2"]},{"1391464577":["hashtag1","hashtag2"]},{"1391464592":["hashtag1","hashtag2"]},{"1391464574":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464618, 1391464540, 1391464626, 1391464577, 1391464592, 1391464574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59252572059631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:42:22.419154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_35_3808.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_38_2674.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_40_2542.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_44_3678.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_47_2664.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_49_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_35_3808.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_38_2674.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_40_2542.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_44_3678.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_47_2664.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_49_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464653","1391464656","1391464641","1391464644","1391464649","1391464637"],"photo_ids_order":["1391464637","1391464641","1391464644","1391464649","1391464653","1391464656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c30319f918fe72d8407cd28d3fe151de.jpg","text":"TemporaryFile(/tmp/multipartBody5987837166196567493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_47_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b54483a6a2143f6ac78a1da502f509d.jpg","text":"TemporaryFile(/tmp/multipartBody5382764134368824513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa1db1944cfc6d82af208b0a60b10edb.jpg","text":"TemporaryFile(/tmp/multipartBody2804137733089832909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_38_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cffaa95befd8eaba9b0afb626467754.jpg","text":"TemporaryFile(/tmp/multipartBody1590186576466120597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_40_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27645bd8bbbd435cb3ea92a77abbb13d.jpg","text":"TemporaryFile(/tmp/multipartBody7864211113295993249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_44_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b98a99f5cdfd0f4819e1aa401d3d9214.jpg","text":"TemporaryFile(/tmp/multipartBody8127166366767147558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954205159,"filename":"image_29102025_19_29_35_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464644","file1":"1391464641","file0":"1391464637","file4":"1391464653","file5":"1391464656","file3":"1391464649"},"map_files_photo_id_array":[{"photo_id":"1391464656","filename":"file5"},{"photo_id":"1391464644","filename":"file2"},{"photo_id":"1391464653","filename":"file4"},{"photo_id":"1391464641","filename":"file1"},{"photo_id":"1391464637","filename":"file0"},{"photo_id":"1391464649","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464653":["hashtag1","hashtag2"]},{"1391464656":["hashtag1","hashtag2"]},{"1391464641":["hashtag1","hashtag2"]},{"1391464644":["hashtag1","hashtag2"]},{"1391464649":["hashtag1","hashtag2"]},{"1391464637":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464653, 1391464656, 1391464641, 1391464644, 1391464649, 1391464637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1417977809906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:43:03.173417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_53_3712.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_56_2566.jpg', '/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_59_2860.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_07_3015.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_12_4994.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_16_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_53_3712.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_56_2566.jpg
/home/pi/Desktop/images/29102025/19/29/image_29102025_19_29_59_2860.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_07_3015.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_12_4994.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_16_2813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464677","1391464662","1391464682","1391464667","1391464687","1391464672"],"photo_ids_order":["1391464662","1391464667","1391464672","1391464677","1391464682","1391464687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cee75378008d76b9ccfd64fa94abd83.jpg","text":"TemporaryFile(/tmp/multipartBody8721725424971027695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_30_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c4c2c29055fe8b30659f1d90f090ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8059018146238719066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_29_53_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8ef73e58ab1ee5dd9feff1dfd5105c1.jpg","text":"TemporaryFile(/tmp/multipartBody719563562741725244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_30_12_4994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3f9ac16b717708d6ba9bd48a4590d71.jpg","text":"TemporaryFile(/tmp/multipartBody7467061893556751460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_29_56_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c67f53b11f1b8397e2412b1f8a284b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6780406942597939211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_30_16_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa4b04982bf34addcb92aef439204a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1149166280389579946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954245397,"filename":"image_29102025_19_29_59_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464672","file1":"1391464667","file0":"1391464662","file4":"1391464682","file5":"1391464687","file3":"1391464677"},"map_files_photo_id_array":[{"photo_id":"1391464687","filename":"file5"},{"photo_id":"1391464672","filename":"file2"},{"photo_id":"1391464682","filename":"file4"},{"photo_id":"1391464667","filename":"file1"},{"photo_id":"1391464662","filename":"file0"},{"photo_id":"1391464677","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464677":["hashtag1","hashtag2"]},{"1391464662":["hashtag1","hashtag2"]},{"1391464682":["hashtag1","hashtag2"]},{"1391464667":["hashtag1","hashtag2"]},{"1391464687":["hashtag1","hashtag2"]},{"1391464672":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464677, 1391464662, 1391464682, 1391464667, 1391464687, 1391464672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3255877494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:44:02.532625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_22_2649.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_26_3643.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_28_2715.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_31_2681.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_34_2858.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_37_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_22_2649.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_26_3643.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_28_2715.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_31_2681.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_34_2858.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_37_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464717","1391464705","1391464720","1391464714","1391464710","1391464724"],"photo_ids_order":["1391464705","1391464710","1391464714","1391464717","1391464720","1391464724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1902dcad3e458fe9518735f123932681.jpg","text":"TemporaryFile(/tmp/multipartBody1369539271037708470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_31_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1351d8163218d2aab3871633e738d167.jpg","text":"TemporaryFile(/tmp/multipartBody779051956889050227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_22_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3ff9c306f959e7e3716ec18b74ef662.jpg","text":"TemporaryFile(/tmp/multipartBody8632585286742093238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_34_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b2f48dbc8946ce09929f76187d635e0.jpg","text":"TemporaryFile(/tmp/multipartBody4491760330633381471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_28_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a7122a066a38db25954301ba6ac9c86.jpg","text":"TemporaryFile(/tmp/multipartBody1898771100032797648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_26_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37e964ae9abd0c9e8133f3a2cb59b29c.jpg","text":"TemporaryFile(/tmp/multipartBody8737844733758005077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954304736,"filename":"image_29102025_19_30_37_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464714","file1":"1391464710","file0":"1391464705","file4":"1391464720","file5":"1391464724","file3":"1391464717"},"map_files_photo_id_array":[{"photo_id":"1391464724","filename":"file5"},{"photo_id":"1391464714","filename":"file2"},{"photo_id":"1391464720","filename":"file4"},{"photo_id":"1391464710","filename":"file1"},{"photo_id":"1391464705","filename":"file0"},{"photo_id":"1391464717","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464717":["hashtag1","hashtag2"]},{"1391464705":["hashtag1","hashtag2"]},{"1391464720":["hashtag1","hashtag2"]},{"1391464714":["hashtag1","hashtag2"]},{"1391464710":["hashtag1","hashtag2"]},{"1391464724":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464717, 1391464705, 1391464720, 1391464714, 1391464710, 1391464724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66446232795715 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:45:02.690196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_40_2814.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_43_2691.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_46_3229.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_55_2752.jpg', '/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_58_2612.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_01_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_40_2814.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_43_2691.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_46_3229.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_55_2752.jpg
/home/pi/Desktop/images/29102025/19/30/image_29102025_19_30_58_2612.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_01_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464762","1391464755","1391464758","1391464766","1391464751","1391464745"],"photo_ids_order":["1391464745","1391464751","1391464755","1391464758","1391464762","1391464766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c34c517df3313625886945b610b8b6be.jpg","text":"TemporaryFile(/tmp/multipartBody38369230153001535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_30_58_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2d854df258c03a75673c7c485d1e54c.jpg","text":"TemporaryFile(/tmp/multipartBody4682605786655467388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_30_46_3229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ecb000a1d3792659b2c57a50c07ac84.jpg","text":"TemporaryFile(/tmp/multipartBody1548178613581128865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_30_55_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab28c72c37a25f2dcccd5b123edca19f.jpg","text":"TemporaryFile(/tmp/multipartBody8756148752053283866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_31_01_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4545d516b494b12c7dfc0d51c2b55b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4677301208566907512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_30_43_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/295ac4738a8f6efd82cae3b186a4619b.jpg","text":"TemporaryFile(/tmp/multipartBody5315145785134578362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954364947,"filename":"image_29102025_19_30_40_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464755","file1":"1391464751","file0":"1391464745","file4":"1391464762","file5":"1391464766","file3":"1391464758"},"map_files_photo_id_array":[{"photo_id":"1391464766","filename":"file5"},{"photo_id":"1391464755","filename":"file2"},{"photo_id":"1391464762","filename":"file4"},{"photo_id":"1391464751","filename":"file1"},{"photo_id":"1391464745","filename":"file0"},{"photo_id":"1391464758","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464762":["hashtag1","hashtag2"]},{"1391464755":["hashtag1","hashtag2"]},{"1391464758":["hashtag1","hashtag2"]},{"1391464766":["hashtag1","hashtag2"]},{"1391464751":["hashtag1","hashtag2"]},{"1391464745":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464762, 1391464755, 1391464758, 1391464766, 1391464751, 1391464745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.360734701156616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:46:02.756597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_04_3556.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_16_2714.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_19_2857.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_22_2834.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_25_3632.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_28_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_04_3556.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_16_2714.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_19_2857.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_22_2834.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_25_3632.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_28_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464783","1391464804","1391464791","1391464794","1391464787","1391464799"],"photo_ids_order":["1391464783","1391464787","1391464791","1391464794","1391464799","1391464804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f48c63e0509439bf769dbffc86f5034d.jpg","text":"TemporaryFile(/tmp/multipartBody5841972126220018383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_04_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dce61156cc815fc83e4751969a19db7.jpg","text":"TemporaryFile(/tmp/multipartBody8535512604188480935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_28_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4413c46ad6e819775dafcd79a0fe4436.jpg","text":"TemporaryFile(/tmp/multipartBody1848407527211802193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_19_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e03e8381984aeec358db55726a2904e.jpg","text":"TemporaryFile(/tmp/multipartBody7104601719639951461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_22_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b768cdd61569efb3f2a38cdb85adcfbf.jpg","text":"TemporaryFile(/tmp/multipartBody902338058293799863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60302278798b90f78745813da0684708.jpg","text":"TemporaryFile(/tmp/multipartBody5789211089292494617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954425025,"filename":"image_29102025_19_31_25_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464791","file1":"1391464787","file0":"1391464783","file4":"1391464799","file5":"1391464804","file3":"1391464794"},"map_files_photo_id_array":[{"photo_id":"1391464804","filename":"file5"},{"photo_id":"1391464791","filename":"file2"},{"photo_id":"1391464799","filename":"file4"},{"photo_id":"1391464787","filename":"file1"},{"photo_id":"1391464783","filename":"file0"},{"photo_id":"1391464794","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464783":["hashtag1","hashtag2"]},{"1391464804":["hashtag1","hashtag2"]},{"1391464791":["hashtag1","hashtag2"]},{"1391464794":["hashtag1","hashtag2"]},{"1391464787":["hashtag1","hashtag2"]},{"1391464799":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464783, 1391464804, 1391464791, 1391464794, 1391464787, 1391464799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.610804080963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:47:03.174528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_35_3660.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_37_2709.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_40_2576.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_43_3659.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_46_2220.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_49_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_35_3660.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_37_2709.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_40_2576.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_43_3659.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_46_2220.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_49_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464864","1391464828","1391464887","1391464872","1391464914","1391464868"],"photo_ids_order":["1391464828","1391464864","1391464868","1391464872","1391464887","1391464914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4138bc7b330db7768a2e3a3d57b6df33.jpg","text":"TemporaryFile(/tmp/multipartBody2574624577665931848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_37_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1322eec8c163b028f713f0b58dab1bc.jpg","text":"TemporaryFile(/tmp/multipartBody7029753259572959154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_35_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43cf1d54711ba1b8397d945a9db22e75.jpg","text":"TemporaryFile(/tmp/multipartBody5105607645519865488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_46_2220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11abda9d22d5daad0ecb7c6c41078527.jpg","text":"TemporaryFile(/tmp/multipartBody6322442189936250707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_43_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c70ec049e21f4d3f4b1c87c9d0011c8.jpg","text":"TemporaryFile(/tmp/multipartBody3434848086452222182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_49_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0793472e5280e24c85bf4c4db6b984ac.jpg","text":"TemporaryFile(/tmp/multipartBody1048148806576303240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954485408,"filename":"image_29102025_19_31_40_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464868","file1":"1391464864","file0":"1391464828","file4":"1391464887","file5":"1391464914","file3":"1391464872"},"map_files_photo_id_array":[{"photo_id":"1391464914","filename":"file5"},{"photo_id":"1391464868","filename":"file2"},{"photo_id":"1391464887","filename":"file4"},{"photo_id":"1391464864","filename":"file1"},{"photo_id":"1391464828","filename":"file0"},{"photo_id":"1391464872","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464864":["hashtag1","hashtag2"]},{"1391464828":["hashtag1","hashtag2"]},{"1391464887":["hashtag1","hashtag2"]},{"1391464872":["hashtag1","hashtag2"]},{"1391464914":["hashtag1","hashtag2"]},{"1391464868":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464864, 1391464828, 1391464887, 1391464872, 1391464914, 1391464868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.801318645477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:48:03.092131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_52_2811.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_55_2841.jpg', '/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_59_3662.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_01_2691.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_04_2627.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_10_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_52_2811.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_55_2841.jpg
/home/pi/Desktop/images/29102025/19/31/image_29102025_19_31_59_3662.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_01_2691.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_04_2627.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_10_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464942","1391464961","1391464955","1391464949","1391464958","1391464952"],"photo_ids_order":["1391464942","1391464949","1391464952","1391464955","1391464958","1391464961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef153d241f4b01b52e162500c97bbba9.jpg","text":"TemporaryFile(/tmp/multipartBody5267253945806379984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_31_52_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36c5dd44e4e9e70faeed647aac2919b6.jpg","text":"TemporaryFile(/tmp/multipartBody8648670777499428616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_32_10_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d21db5611adfabcb027b47506e6a9b6.jpg","text":"TemporaryFile(/tmp/multipartBody7204192666898360665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_32_01_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7ce29535e09e03b7b5911c94fb7552b.jpg","text":"TemporaryFile(/tmp/multipartBody6504272969870704781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_31_55_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c2c5c0d873c2501398b3f16004829bd.jpg","text":"TemporaryFile(/tmp/multipartBody988064286182229489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_32_04_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f84a0ddda62d42eb2d0a328bb501f74d.jpg","text":"TemporaryFile(/tmp/multipartBody1295665344957075947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954545308,"filename":"image_29102025_19_31_59_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391464952","file1":"1391464949","file0":"1391464942","file4":"1391464958","file5":"1391464961","file3":"1391464955"},"map_files_photo_id_array":[{"photo_id":"1391464961","filename":"file5"},{"photo_id":"1391464952","filename":"file2"},{"photo_id":"1391464958","filename":"file4"},{"photo_id":"1391464949","filename":"file1"},{"photo_id":"1391464942","filename":"file0"},{"photo_id":"1391464955","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464942":["hashtag1","hashtag2"]},{"1391464961":["hashtag1","hashtag2"]},{"1391464955":["hashtag1","hashtag2"]},{"1391464949":["hashtag1","hashtag2"]},{"1391464958":["hashtag1","hashtag2"]},{"1391464952":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464942, 1391464961, 1391464955, 1391464949, 1391464958, 1391464952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43260622024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:48:42.698758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_13_2723.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_17_3613.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_19_2664.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_25_3220.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_28_2616.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_31_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_13_2723.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_17_3613.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_19_2664.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_25_3220.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_28_2616.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_31_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391464969","1391465008","1391465043","1391465040","1391465048","1391465045"],"photo_ids_order":["1391464969","1391465008","1391465040","1391465043","1391465045","1391465048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5590913ae78a691d614058e7a7f16e1.jpg","text":"TemporaryFile(/tmp/multipartBody7481704833172731532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_13_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbcde5db2071c7cfe72993f65ead6cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1497252221338155883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_17_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edb7a13b5b714cfb85ddca7acd70517d.jpg","text":"TemporaryFile(/tmp/multipartBody77073388083864691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_25_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e8ee6c1fd4af82712698607c1b7b17e.jpg","text":"TemporaryFile(/tmp/multipartBody1914680387459131678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_19_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c53240e301a8fabd9d73398685960e70.jpg","text":"TemporaryFile(/tmp/multipartBody3367238456948540500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_31_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/706a3bc193a4ac673f65f0e4bd926d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1734478371171371722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954583944,"filename":"image_29102025_19_32_28_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391465040","file1":"1391465008","file0":"1391464969","file4":"1391465045","file5":"1391465048","file3":"1391465043"},"map_files_photo_id_array":[{"photo_id":"1391465048","filename":"file5"},{"photo_id":"1391465040","filename":"file2"},{"photo_id":"1391465045","filename":"file4"},{"photo_id":"1391465008","filename":"file1"},{"photo_id":"1391464969","filename":"file0"},{"photo_id":"1391465043","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391464969":["hashtag1","hashtag2"]},{"1391465008":["hashtag1","hashtag2"]},{"1391465043":["hashtag1","hashtag2"]},{"1391465040":["hashtag1","hashtag2"]},{"1391465048":["hashtag1","hashtag2"]},{"1391465045":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391464969, 1391465008, 1391465043, 1391465040, 1391465048, 1391465045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46619892120361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:49:21.904552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_34_2778.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_37_2670.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_40_3685.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_43_2579.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_46_2784.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_50_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_34_2778.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_37_2670.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_40_3685.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_43_2579.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_46_2784.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_50_3717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391465122","1391465116","1391465125","1391465058","1391465150","1391465108"],"photo_ids_order":["1391465058","1391465108","1391465116","1391465122","1391465125","1391465150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cad22a66d2362617be32fe7a61b9796e.jpg","text":"TemporaryFile(/tmp/multipartBody6414225668125051806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_43_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/003ff5df42abe8d171156ecbb84c0d69.jpg","text":"TemporaryFile(/tmp/multipartBody1554275478929744337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_40_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a33391bcf563275dcfaa724905c60a02.jpg","text":"TemporaryFile(/tmp/multipartBody1560444798886920130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_46_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae2d6f8c6821a71b736d525858e3d953.jpg","text":"TemporaryFile(/tmp/multipartBody1930347184829514159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_34_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c546ee893f8e4c34eeeb52eaa0360153.jpg","text":"TemporaryFile(/tmp/multipartBody3698369026755735421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_50_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fd60e0c0d85e980b29dbc24c1e9637d.jpg","text":"TemporaryFile(/tmp/multipartBody3272253004800131650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954624612,"filename":"image_29102025_19_32_37_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391465116","file1":"1391465108","file0":"1391465058","file4":"1391465125","file5":"1391465150","file3":"1391465122"},"map_files_photo_id_array":[{"photo_id":"1391465150","filename":"file5"},{"photo_id":"1391465116","filename":"file2"},{"photo_id":"1391465125","filename":"file4"},{"photo_id":"1391465108","filename":"file1"},{"photo_id":"1391465058","filename":"file0"},{"photo_id":"1391465122","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391465122":["hashtag1","hashtag2"]},{"1391465116":["hashtag1","hashtag2"]},{"1391465125":["hashtag1","hashtag2"]},{"1391465058":["hashtag1","hashtag2"]},{"1391465150":["hashtag1","hashtag2"]},{"1391465108":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391465122, 1391465116, 1391465125, 1391465058, 1391465150, 1391465108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78286385536194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:50:21.927497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_52_2810.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_55_2706.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_58_2631.jpg', '/home/pi/Desktop/images/29102025/19/32/image_29102025_19_33_02_3827.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_04_2783.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_07_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_52_2810.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_55_2706.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_32_58_2631.jpg
/home/pi/Desktop/images/29102025/19/32/image_29102025_19_33_02_3827.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_04_2783.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_07_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391465611","1391465457","1391465502","1391465412","1391465549","1391465359"],"photo_ids_order":["1391465359","1391465412","1391465457","1391465502","1391465549","1391465611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/213ae7f55739361c7327ab4bea50fa6a.jpg","text":"TemporaryFile(/tmp/multipartBody1750315631571216264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_33_07_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9389619007ae2e0466c42837394a9a6f.jpg","text":"TemporaryFile(/tmp/multipartBody831917573913659475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_32_58_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f6f72dda2d02daa7f4f487cfc93e611.jpg","text":"TemporaryFile(/tmp/multipartBody3177336640770393545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_33_02_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e60ffc0235d51a1c53872d4a1d28493b.jpg","text":"TemporaryFile(/tmp/multipartBody4067211797218050450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_32_55_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14a4a22addfecdbf81ae961b292e6c19.jpg","text":"TemporaryFile(/tmp/multipartBody8061645310575023549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_33_04_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d580cb8a2e321e2290745b1cc15ba998.jpg","text":"TemporaryFile(/tmp/multipartBody4363621312858158948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954684315,"filename":"image_29102025_19_32_52_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391465457","file1":"1391465412","file0":"1391465359","file4":"1391465549","file5":"1391465611","file3":"1391465502"},"map_files_photo_id_array":[{"photo_id":"1391465611","filename":"file5"},{"photo_id":"1391465457","filename":"file2"},{"photo_id":"1391465549","filename":"file4"},{"photo_id":"1391465412","filename":"file1"},{"photo_id":"1391465359","filename":"file0"},{"photo_id":"1391465502","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391465611":["hashtag1","hashtag2"]},{"1391465457":["hashtag1","hashtag2"]},{"1391465502":["hashtag1","hashtag2"]},{"1391465412":["hashtag1","hashtag2"]},{"1391465549":["hashtag1","hashtag2"]},{"1391465359":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391465611, 1391465457, 1391465502, 1391465412, 1391465549, 1391465359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29829287528992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:51:02.967564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_11_3601.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_16_2759.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_19_2594.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_22_3719.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_25_2725.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_28_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_11_3601.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_16_2759.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_19_2594.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_22_3719.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_25_2725.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_28_2534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391465856","1391465811","1391466023","1391465981","1391465765","1391465911"],"photo_ids_order":["1391465765","1391465811","1391465856","1391465911","1391465981","1391466023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb1b6139f6f438d0a9dd8bbe9e6c77e6.jpg","text":"TemporaryFile(/tmp/multipartBody216616342245119806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_19_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/579459abe9efc21f44e74ab1a71fee0d.jpg","text":"TemporaryFile(/tmp/multipartBody6556200149973995593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_16_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a41e9bcb78a113794cfe769ff1945ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3283135402626235823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_28_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af6e0a601c0955298ab5339c5d73e775.jpg","text":"TemporaryFile(/tmp/multipartBody3086958120249906463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_25_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fafa457aa90299a6bc5631ef80f2697.jpg","text":"TemporaryFile(/tmp/multipartBody5482494804961470376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_11_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b50f4546e7d3c93b514f4eeefbbf8b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5011564352078199736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954725265,"filename":"image_29102025_19_33_22_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391465856","file1":"1391465811","file0":"1391465765","file4":"1391465981","file5":"1391466023","file3":"1391465911"},"map_files_photo_id_array":[{"photo_id":"1391466023","filename":"file5"},{"photo_id":"1391465856","filename":"file2"},{"photo_id":"1391465981","filename":"file4"},{"photo_id":"1391465811","filename":"file1"},{"photo_id":"1391465765","filename":"file0"},{"photo_id":"1391465911","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391465856":["hashtag1","hashtag2"]},{"1391465811":["hashtag1","hashtag2"]},{"1391466023":["hashtag1","hashtag2"]},{"1391465981":["hashtag1","hashtag2"]},{"1391465765":["hashtag1","hashtag2"]},{"1391465911":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391465856, 1391465811, 1391466023, 1391465981, 1391465765, 1391465911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60845708847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:52:02.814905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_31_3649.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_37_2561.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_39_2818.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_43_3763.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_46_2723.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_49_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_31_3649.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_37_2561.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_39_2818.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_43_3763.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_46_2723.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_49_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391466293","1391466287","1391466284","1391466280","1391466297","1391466282"],"photo_ids_order":["1391466280","1391466282","1391466284","1391466287","1391466293","1391466297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1f4ba711d5e7888f81939587dbe30b0.jpg","text":"TemporaryFile(/tmp/multipartBody381763136683457153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_46_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d1efaad8ebceea5d8c6e223dfb0ed7f.jpg","text":"TemporaryFile(/tmp/multipartBody8348542444729069899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_43_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24a6900bfd092284e99d86091e5ada6e.jpg","text":"TemporaryFile(/tmp/multipartBody4623578996969026110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_39_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da896abe7dff693259a132576f3dd374.jpg","text":"TemporaryFile(/tmp/multipartBody7792320192315252154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_31_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65dd3875d50bfceb735c365f66beda71.jpg","text":"TemporaryFile(/tmp/multipartBody6394283916689659323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_49_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3168c4610f53d223b305d311fc8a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody6622628566809389526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954784783,"filename":"image_29102025_19_33_37_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391466284","file1":"1391466282","file0":"1391466280","file4":"1391466293","file5":"1391466297","file3":"1391466287"},"map_files_photo_id_array":[{"photo_id":"1391466297","filename":"file5"},{"photo_id":"1391466284","filename":"file2"},{"photo_id":"1391466293","filename":"file4"},{"photo_id":"1391466282","filename":"file1"},{"photo_id":"1391466280","filename":"file0"},{"photo_id":"1391466287","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391466293":["hashtag1","hashtag2"]},{"1391466287":["hashtag1","hashtag2"]},{"1391466284":["hashtag1","hashtag2"]},{"1391466280":["hashtag1","hashtag2"]},{"1391466297":["hashtag1","hashtag2"]},{"1391466282":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391466293, 1391466287, 1391466284, 1391466280, 1391466297, 1391466282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37700080871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 00:52:42.387329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_52_3183.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_55_3233.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_58_2685.jpg', '/home/pi/Desktop/images/29102025/19/33/image_29102025_19_34_01_2711.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_04_3669.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_07_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_52_3183.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_55_3233.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_33_58_2685.jpg
/home/pi/Desktop/images/29102025/19/33/image_29102025_19_34_01_2711.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_04_3669.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_07_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391466327","1391466321","1391466312","1391466322","1391466316","1391466319"],"photo_ids_order":["1391466312","1391466316","1391466319","1391466321","1391466322","1391466327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fe4bb83c6d14acc633ead8e9f8cd260.jpg","text":"TemporaryFile(/tmp/multipartBody5022208557876954427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_34_07_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1be8ade64efc34462a0c786e35dfe4f2.jpg","text":"TemporaryFile(/tmp/multipartBody7518500160703981737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_34_01_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2f022b1c599131e92a7629daedf1cc1.jpg","text":"TemporaryFile(/tmp/multipartBody574772990266608753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_33_52_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6fd75f611eada8eab9e675b8b318f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3189583738156617276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_34_04_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddd3cd6aaa59422d3ee8f0d8d63e17f6.jpg","text":"TemporaryFile(/tmp/multipartBody3874360068097202192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_33_55_3233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23ca32b44dec2a7491ce046b46672af2.jpg","text":"TemporaryFile(/tmp/multipartBody3105817532917023210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954823531,"filename":"image_29102025_19_33_58_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391466319","file1":"1391466316","file0":"1391466312","file4":"1391466322","file5":"1391466327","file3":"1391466321"},"map_files_photo_id_array":[{"photo_id":"1391466327","filename":"file5"},{"photo_id":"1391466319","filename":"file2"},{"photo_id":"1391466322","filename":"file4"},{"photo_id":"1391466316","filename":"file1"},{"photo_id":"1391466312","filename":"file0"},{"photo_id":"1391466321","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391466327":["hashtag1","hashtag2"]},{"1391466321":["hashtag1","hashtag2"]},{"1391466312":["hashtag1","hashtag2"]},{"1391466322":["hashtag1","hashtag2"]},{"1391466316":["hashtag1","hashtag2"]},{"1391466319":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391466327, 1391466321, 1391466312, 1391466322, 1391466316, 1391466319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.161471366882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 00:53:22.555093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_10_2697.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_13_3842.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_16_2558.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_19_2596.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_22_3653.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_25_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_10_2697.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_13_3842.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_16_2558.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_19_2596.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_22_3653.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_25_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391466564","1391466459","1391466519","1391466386","1391466653","1391466610"],"photo_ids_order":["1391466386","1391466459","1391466519","1391466564","1391466610","1391466653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b58f87aa46b71097d8795a628db4e2af.jpg","text":"TemporaryFile(/tmp/multipartBody724804314336702951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41f4ec00e8e17dcfe0c0425e3351c794.jpg","text":"TemporaryFile(/tmp/multipartBody7263589150354514527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_13_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8941b93a296001fe6e02c8298ea7543f.jpg","text":"TemporaryFile(/tmp/multipartBody4734916667965393225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_16_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7be45106013070970b6855ce3aa635df.jpg","text":"TemporaryFile(/tmp/multipartBody1137530455646894904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_10_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/395e73c7f0f3d7b28da5709e97d81d54.jpg","text":"TemporaryFile(/tmp/multipartBody3955163208832966641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_25_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8ad092a010e3313a3565ef31dea7242.jpg","text":"TemporaryFile(/tmp/multipartBody6537795872028532579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954865439,"filename":"image_29102025_19_34_22_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391466519","file1":"1391466459","file0":"1391466386","file4":"1391466610","file5":"1391466653","file3":"1391466564"},"map_files_photo_id_array":[{"photo_id":"1391466653","filename":"file5"},{"photo_id":"1391466519","filename":"file2"},{"photo_id":"1391466610","filename":"file4"},{"photo_id":"1391466459","filename":"file1"},{"photo_id":"1391466386","filename":"file0"},{"photo_id":"1391466564","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391466564":["hashtag1","hashtag2"]},{"1391466459":["hashtag1","hashtag2"]},{"1391466519":["hashtag1","hashtag2"]},{"1391466386":["hashtag1","hashtag2"]},{"1391466653":["hashtag1","hashtag2"]},{"1391466610":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391466564, 1391466459, 1391466519, 1391466386, 1391466653, 1391466610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92493653297424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:54:03.198037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_28_3163.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_31_2595.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_34_3808.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_37_2726.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_46_3578.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_49_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_28_3163.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_31_2595.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_34_3808.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_37_2726.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_46_3578.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_49_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391466968","1391466932","1391466803","1391466937","1391466847","1391466897"],"photo_ids_order":["1391466803","1391466847","1391466897","1391466932","1391466937","1391466968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e059b165b3567390ec7bd00468ba28a.jpg","text":"TemporaryFile(/tmp/multipartBody6312084058435686537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_49_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/918dd73f125613c757c0e34c12822779.jpg","text":"TemporaryFile(/tmp/multipartBody8057749121878869707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_37_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16e9aff5a6d0afb65d2a196599a541ed.jpg","text":"TemporaryFile(/tmp/multipartBody4393983995347036954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_28_3163.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/623e59a9b4ebfaa09a3446677863365a.jpg","text":"TemporaryFile(/tmp/multipartBody2921397075416817665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_46_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6785b4c4fce532d3aa5797c5734e87a4.jpg","text":"TemporaryFile(/tmp/multipartBody1876338577898099555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_31_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d2d6e345ba4e4b79199b37d0f88b92b.jpg","text":"TemporaryFile(/tmp/multipartBody4336733914268548099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954905455,"filename":"image_29102025_19_34_34_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391466897","file1":"1391466847","file0":"1391466803","file4":"1391466937","file5":"1391466968","file3":"1391466932"},"map_files_photo_id_array":[{"photo_id":"1391466968","filename":"file5"},{"photo_id":"1391466897","filename":"file2"},{"photo_id":"1391466937","filename":"file4"},{"photo_id":"1391466847","filename":"file1"},{"photo_id":"1391466803","filename":"file0"},{"photo_id":"1391466932","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391466968":["hashtag1","hashtag2"]},{"1391466932":["hashtag1","hashtag2"]},{"1391466803":["hashtag1","hashtag2"]},{"1391466937":["hashtag1","hashtag2"]},{"1391466847":["hashtag1","hashtag2"]},{"1391466897":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391466968, 1391466932, 1391466803, 1391466937, 1391466847, 1391466897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17226815223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:55:02.597066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_52_2741.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_55_2943.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_58_2837.jpg', '/home/pi/Desktop/images/29102025/19/34/image_29102025_19_35_01_3770.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_04_2628.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_07_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_52_2741.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_55_2943.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_34_58_2837.jpg
/home/pi/Desktop/images/29102025/19/34/image_29102025_19_35_01_3770.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_04_2628.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_07_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391467061","1391467067","1391467072","1391467081","1391467077","1391467065"],"photo_ids_order":["1391467061","1391467065","1391467067","1391467072","1391467077","1391467081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/948ea77b61bda909ae7fe1f7b7e6b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2294609449105347945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_34_52_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b100c0992c4fd4492cff11ce19434e35.jpg","text":"TemporaryFile(/tmp/multipartBody3907710732343976524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_34_58_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6d916e786349a94b8100519a13c53bc.jpg","text":"TemporaryFile(/tmp/multipartBody5995380318699822036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_35_01_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10a6762b1037043f16206213b2b12db8.jpg","text":"TemporaryFile(/tmp/multipartBody4805248741991322039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_35_07_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5d3c36d9950f7e2651a12c581cff227.jpg","text":"TemporaryFile(/tmp/multipartBody2707133807527527745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_35_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e23d1419027f1cd3181c3c2f6dc2c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8980824001093831800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761954965038,"filename":"image_29102025_19_34_55_2943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391467067","file1":"1391467065","file0":"1391467061","file4":"1391467077","file5":"1391467081","file3":"1391467072"},"map_files_photo_id_array":[{"photo_id":"1391467081","filename":"file5"},{"photo_id":"1391467067","filename":"file2"},{"photo_id":"1391467077","filename":"file4"},{"photo_id":"1391467065","filename":"file1"},{"photo_id":"1391467061","filename":"file0"},{"photo_id":"1391467072","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391467061":["hashtag1","hashtag2"]},{"1391467067":["hashtag1","hashtag2"]},{"1391467072":["hashtag1","hashtag2"]},{"1391467081":["hashtag1","hashtag2"]},{"1391467077":["hashtag1","hashtag2"]},{"1391467065":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391467061, 1391467067, 1391467072, 1391467081, 1391467077, 1391467065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5813193321228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:56:02.523833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_09_2762.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_13_3597.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_16_2620.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_18_2744.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_22_3784.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_25_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_09_2762.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_13_3597.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_16_2620.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_18_2744.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_22_3784.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_25_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391467385","1391467529","1391467573","1391467482","1391467437","1391467338"],"photo_ids_order":["1391467338","1391467385","1391467437","1391467482","1391467529","1391467573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dcfa487d47e4cce814596d9e9875a43.jpg","text":"TemporaryFile(/tmp/multipartBody914235543340595830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_13_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6136e1916f2b1975c9c25305d069039.jpg","text":"TemporaryFile(/tmp/multipartBody7006372206586566096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_22_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83ec43b23a9d71a7accacfc5fa09da9b.jpg","text":"TemporaryFile(/tmp/multipartBody6090447678410130897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/086335ff3c0a991489571350fb131cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2928252412153257154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_18_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff947c5f5822f5d89d5df749b51b7cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7749382526533186607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3c18b8ec433ecb28fb8981a75fa3b61.jpg","text":"TemporaryFile(/tmp/multipartBody4333089896656042921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955024480,"filename":"image_29102025_19_35_09_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391467437","file1":"1391467385","file0":"1391467338","file4":"1391467529","file5":"1391467573","file3":"1391467482"},"map_files_photo_id_array":[{"photo_id":"1391467573","filename":"file5"},{"photo_id":"1391467437","filename":"file2"},{"photo_id":"1391467529","filename":"file4"},{"photo_id":"1391467385","filename":"file1"},{"photo_id":"1391467338","filename":"file0"},{"photo_id":"1391467482","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391467385":["hashtag1","hashtag2"]},{"1391467529":["hashtag1","hashtag2"]},{"1391467573":["hashtag1","hashtag2"]},{"1391467482":["hashtag1","hashtag2"]},{"1391467437":["hashtag1","hashtag2"]},{"1391467338":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391467385, 1391467529, 1391467573, 1391467482, 1391467437, 1391467338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77306771278381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:57:02.855923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_28_2765.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_31_2843.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_34_3724.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_37_2665.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_40_2812.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_42_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_28_2765.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_31_2843.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_34_3724.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_37_2665.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_40_2812.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_42_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391468021","1391467922","1391468026","1391467987","1391468031","1391468034"],"photo_ids_order":["1391467922","1391467987","1391468021","1391468026","1391468031","1391468034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55d6538f7e4b870c54fdddfbcee912e1.jpg","text":"TemporaryFile(/tmp/multipartBody4724440846290269255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_34_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c57898731b6c9c17c730e47e3b501840.jpg","text":"TemporaryFile(/tmp/multipartBody8027499773670168532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_28_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c3a2c34610032f6331516b1a39053c.jpg","text":"TemporaryFile(/tmp/multipartBody1944920541384236107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_37_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a58ac786cf2e3498231a3d7a97d7bdde.jpg","text":"TemporaryFile(/tmp/multipartBody4965533574748860265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_31_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9b35557007db4166a3bcfba5f711a32.jpg","text":"TemporaryFile(/tmp/multipartBody8442917638369282690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_40_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abf243994d9768801ab4b70762b368b9.jpg","text":"TemporaryFile(/tmp/multipartBody7627462800441293626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955087084,"filename":"image_29102025_19_35_42_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391468021","file1":"1391467987","file0":"1391467922","file4":"1391468031","file5":"1391468034","file3":"1391468026"},"map_files_photo_id_array":[{"photo_id":"1391468034","filename":"file5"},{"photo_id":"1391468021","filename":"file2"},{"photo_id":"1391468031","filename":"file4"},{"photo_id":"1391467987","filename":"file1"},{"photo_id":"1391467922","filename":"file0"},{"photo_id":"1391468026","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391468021":["hashtag1","hashtag2"]},{"1391467922":["hashtag1","hashtag2"]},{"1391468026":["hashtag1","hashtag2"]},{"1391467987":["hashtag1","hashtag2"]},{"1391468031":["hashtag1","hashtag2"]},{"1391468034":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391468021, 1391467922, 1391468026, 1391467987, 1391468031, 1391468034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50295877456665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 00:59:03.489063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_46_3613.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_49_2621.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_52_2870.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_54_2733.jpg', '/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_58_3769.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_01_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_46_3613.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_49_2621.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_52_2870.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_54_2733.jpg
/home/pi/Desktop/images/29102025/19/35/image_29102025_19_35_58_3769.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_01_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391469155","1391469116","1391469061","1391469079","1391469052","1391469065"],"photo_ids_order":["1391469052","1391469061","1391469065","1391469079","1391469116","1391469155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0406c0258c2d8d134b4c936a692b7836.jpg","text":"TemporaryFile(/tmp/multipartBody4898993640602562604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_36_01_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc38d5d032fd76a0c39b81cf23ed7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody676545897980474095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_35_58_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cda36bed86d542d8fbf553af754a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6115381742236450725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_35_49_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b53d0cb02bf9c0f2cfcc95a7ecc4bca0.jpg","text":"TemporaryFile(/tmp/multipartBody8555086692601814581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_35_54_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6f0576270beb1ebfe8aac6d9c6d6cfa.jpg","text":"TemporaryFile(/tmp/multipartBody2761909495326275306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_35_46_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/631efd6952a9e17773d34d98f17bb206.jpg","text":"TemporaryFile(/tmp/multipartBody547554411948731944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955205657,"filename":"image_29102025_19_35_52_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391469065","file1":"1391469061","file0":"1391469052","file4":"1391469116","file5":"1391469155","file3":"1391469079"},"map_files_photo_id_array":[{"photo_id":"1391469155","filename":"file5"},{"photo_id":"1391469065","filename":"file2"},{"photo_id":"1391469116","filename":"file4"},{"photo_id":"1391469061","filename":"file1"},{"photo_id":"1391469052","filename":"file0"},{"photo_id":"1391469079","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391469155":["hashtag1","hashtag2"]},{"1391469116":["hashtag1","hashtag2"]},{"1391469061":["hashtag1","hashtag2"]},{"1391469079":["hashtag1","hashtag2"]},{"1391469052":["hashtag1","hashtag2"]},{"1391469065":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391469155, 1391469116, 1391469061, 1391469079, 1391469052, 1391469065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89618992805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:00:02.893856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_04_2807.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_06_2680.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_10_3846.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_13_2698.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_16_2683.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_18_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_04_2807.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_06_2680.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_10_3846.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_13_2698.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_16_2683.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_18_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391469592","1391469672","1391469549","1391469633","1391469507","1391469461"],"photo_ids_order":["1391469461","1391469507","1391469549","1391469592","1391469633","1391469672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfaa91b226ffe1503fdde84064d8c319.jpg","text":"TemporaryFile(/tmp/multipartBody4768106778401201491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/697d95a4d9787589cd1c4758473b5444.jpg","text":"TemporaryFile(/tmp/multipartBody7560454919295380062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_18_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a494e0250d5290b6acd260379b6c18a.jpg","text":"TemporaryFile(/tmp/multipartBody4600228988595416044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_10_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8492bd9faf52b1e97bb6fe35e0d693e1.jpg","text":"TemporaryFile(/tmp/multipartBody9206781537369484748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f2539c83490972cf1860d76d09c4f65.jpg","text":"TemporaryFile(/tmp/multipartBody8363414767519707893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_06_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae68f630e695c6586a3a82050fc2d131.jpg","text":"TemporaryFile(/tmp/multipartBody2496297364890902819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955265152,"filename":"image_29102025_19_36_04_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391469549","file1":"1391469507","file0":"1391469461","file4":"1391469633","file5":"1391469672","file3":"1391469592"},"map_files_photo_id_array":[{"photo_id":"1391469672","filename":"file5"},{"photo_id":"1391469549","filename":"file2"},{"photo_id":"1391469633","filename":"file4"},{"photo_id":"1391469507","filename":"file1"},{"photo_id":"1391469461","filename":"file0"},{"photo_id":"1391469592","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391469592":["hashtag1","hashtag2"]},{"1391469672":["hashtag1","hashtag2"]},{"1391469549":["hashtag1","hashtag2"]},{"1391469633":["hashtag1","hashtag2"]},{"1391469507":["hashtag1","hashtag2"]},{"1391469461":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391469592, 1391469672, 1391469549, 1391469633, 1391469507, 1391469461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99457573890686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:00:42.556154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_22_3739.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_25_2783.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_27_2695.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_34_3755.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_37_2639.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_40_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_22_3739.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_25_2783.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_27_2695.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_34_3755.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_37_2639.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_40_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391469719","1391469786","1391470065","1391469758","1391469932","1391469761"],"photo_ids_order":["1391469719","1391469758","1391469761","1391469786","1391469932","1391470065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0196e1492dad7a04cadb7b67dc38bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody2338153588910515688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_22_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbf7daa74670e3d1b1329f1a983f21af.jpg","text":"TemporaryFile(/tmp/multipartBody6969535630873404569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_34_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64f25469544025f0d89c5139a2411584.jpg","text":"TemporaryFile(/tmp/multipartBody7726408328825252227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_40_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dc6488326aa25161bf19d89dca56bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5531373662768736891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_25_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/062c2670ebe954c55cce3344f3ef9b71.jpg","text":"TemporaryFile(/tmp/multipartBody2722570131693366569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_37_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c414371df96f84253bb8cae5c59b11d.jpg","text":"TemporaryFile(/tmp/multipartBody4107583860755547554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955303729,"filename":"image_29102025_19_36_27_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391469761","file1":"1391469758","file0":"1391469719","file4":"1391469932","file5":"1391470065","file3":"1391469786"},"map_files_photo_id_array":[{"photo_id":"1391470065","filename":"file5"},{"photo_id":"1391469761","filename":"file2"},{"photo_id":"1391469932","filename":"file4"},{"photo_id":"1391469758","filename":"file1"},{"photo_id":"1391469719","filename":"file0"},{"photo_id":"1391469786","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391469719":["hashtag1","hashtag2"]},{"1391469786":["hashtag1","hashtag2"]},{"1391470065":["hashtag1","hashtag2"]},{"1391469758":["hashtag1","hashtag2"]},{"1391469932":["hashtag1","hashtag2"]},{"1391469761":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391469719, 1391469786, 1391470065, 1391469758, 1391469932, 1391469761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.231011629104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:01:42.966445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_42_2685.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_46_3608.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_49_2735.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_51_2642.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_55_3635.jpg', '/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_58_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_42_2685.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_46_3608.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_49_2735.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_51_2642.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_55_3635.jpg
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_36_58_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391471111","1391470802","1391470927","1391470705","1391471178","1391471021"],"photo_ids_order":["1391470705","1391470802","1391470927","1391471021","1391471111","1391471178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/786bff46438fcf007b0984cefd76e38f.jpg","text":"TemporaryFile(/tmp/multipartBody508052531134465220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_55_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/237ad95c524c9eb346915a4730a108a6.jpg","text":"TemporaryFile(/tmp/multipartBody7145890601001655283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_46_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37d5c7a6a51a934f4b6436dd0ac0bde8.jpg","text":"TemporaryFile(/tmp/multipartBody4654282661556277846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_49_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4131e9a1c076a42d1ad913abdd6cc43.jpg","text":"TemporaryFile(/tmp/multipartBody4685518392298733796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_42_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e924d8fb564c06c19c0e83f3b2566a6.jpg","text":"TemporaryFile(/tmp/multipartBody3731283759685909389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_58_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93963fdfdcd7962d99dc080add9a0845.jpg","text":"TemporaryFile(/tmp/multipartBody8805589147815186665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955364208,"filename":"image_29102025_19_36_51_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391470927","file1":"1391470802","file0":"1391470705","file4":"1391471111","file5":"1391471178","file3":"1391471021"},"map_files_photo_id_array":[{"photo_id":"1391471178","filename":"file5"},{"photo_id":"1391470927","filename":"file2"},{"photo_id":"1391471111","filename":"file4"},{"photo_id":"1391470802","filename":"file1"},{"photo_id":"1391470705","filename":"file0"},{"photo_id":"1391471021","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391471111":["hashtag1","hashtag2"]},{"1391470802":["hashtag1","hashtag2"]},{"1391470927":["hashtag1","hashtag2"]},{"1391470705":["hashtag1","hashtag2"]},{"1391471178":["hashtag1","hashtag2"]},{"1391471021":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391471111, 1391470802, 1391470927, 1391470705, 1391471178, 1391471021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20624351501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:02:21.900512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/36/image_29102025_19_37_00_2753.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_04_3507.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_07_2869.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_09_2722.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_13_3675.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_16_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/36/image_29102025_19_37_00_2753.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_04_3507.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_07_2869.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_09_2722.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_13_3675.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_16_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391472097","1391471662","1391471997","1391471811","1391471888","1391471525"],"photo_ids_order":["1391471525","1391471662","1391471811","1391471888","1391471997","1391472097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfbdd20e5f70453abf2417595811ea52.jpg","text":"TemporaryFile(/tmp/multipartBody1263353397254938521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d928d2c8a878c0d328fcb55a721cf242.jpg","text":"TemporaryFile(/tmp/multipartBody2177506741722865665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_04_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb551cc986baeeebf37a433ab7515866.jpg","text":"TemporaryFile(/tmp/multipartBody1887912363068524780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_13_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03a72548a93e8112a108862e222fb9c3.jpg","text":"TemporaryFile(/tmp/multipartBody6833502837376267985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_07_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a952072ffb56e3c6948c854cfc6bbf53.jpg","text":"TemporaryFile(/tmp/multipartBody2729897238161278746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_09_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfd0530f61fd4252d8a520f8aa390e70.jpg","text":"TemporaryFile(/tmp/multipartBody7342879780824992674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955404680,"filename":"image_29102025_19_37_00_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391471811","file1":"1391471662","file0":"1391471525","file4":"1391471997","file5":"1391472097","file3":"1391471888"},"map_files_photo_id_array":[{"photo_id":"1391472097","filename":"file5"},{"photo_id":"1391471811","filename":"file2"},{"photo_id":"1391471997","filename":"file4"},{"photo_id":"1391471662","filename":"file1"},{"photo_id":"1391471525","filename":"file0"},{"photo_id":"1391471888","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391472097":["hashtag1","hashtag2"]},{"1391471662":["hashtag1","hashtag2"]},{"1391471997":["hashtag1","hashtag2"]},{"1391471811":["hashtag1","hashtag2"]},{"1391471888":["hashtag1","hashtag2"]},{"1391471525":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391472097, 1391471662, 1391471997, 1391471811, 1391471888, 1391471525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14520454406738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:03:22.123516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_18_2652.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_22_3595.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_28_2857.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_30_2768.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_34_3669.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_37_2977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_18_2652.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_22_3595.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_28_2857.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_30_2768.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_34_3669.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_37_2977.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391472780","1391472960","1391472915","1391472732","1391472824","1391472868"],"photo_ids_order":["1391472732","1391472780","1391472824","1391472868","1391472915","1391472960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6687091ea9b1e5c8b6d2e8e994576747.jpg","text":"TemporaryFile(/tmp/multipartBody4237610814940790641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_22_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/632f6a554463bca25e3e366596f6c9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8286778641307419324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_37_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0c085d42624131ae09b5da8abbf347f.jpg","text":"TemporaryFile(/tmp/multipartBody5825758759373231469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_34_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85aac14aa3791cc9b402fb87b883346a.jpg","text":"TemporaryFile(/tmp/multipartBody6039912821813393993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_18_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/015e02f71deabe680f533e1a4768768a.jpg","text":"TemporaryFile(/tmp/multipartBody4531441522607161698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_28_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09d6e3b26ea504767e86eb08952af834.jpg","text":"TemporaryFile(/tmp/multipartBody1171792781246194360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955464526,"filename":"image_29102025_19_37_30_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391472824","file1":"1391472780","file0":"1391472732","file4":"1391472915","file5":"1391472960","file3":"1391472868"},"map_files_photo_id_array":[{"photo_id":"1391472960","filename":"file5"},{"photo_id":"1391472824","filename":"file2"},{"photo_id":"1391472915","filename":"file4"},{"photo_id":"1391472780","filename":"file1"},{"photo_id":"1391472732","filename":"file0"},{"photo_id":"1391472868","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391472780":["hashtag1","hashtag2"]},{"1391472960":["hashtag1","hashtag2"]},{"1391472915":["hashtag1","hashtag2"]},{"1391472732":["hashtag1","hashtag2"]},{"1391472824":["hashtag1","hashtag2"]},{"1391472868":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391472780, 1391472960, 1391472915, 1391472732, 1391472824, 1391472868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19562363624573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:04:03.058610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_40_2795.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_42_2741.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_45_2674.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_49_3693.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_52_2696.jpg', '/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_54_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_40_2795.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_42_2741.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_45_2674.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_49_3693.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_52_2696.jpg
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_54_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391473123","1391473113","1391473122","1391473121","1391473130","1391473127"],"photo_ids_order":["1391473113","1391473121","1391473122","1391473123","1391473127","1391473130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f000d493a33fe4c1be08f0839afe6f8.jpg","text":"TemporaryFile(/tmp/multipartBody7229621943146499963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_49_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2215817734ffd0469a0244a94766c071.jpg","text":"TemporaryFile(/tmp/multipartBody2641412106675418446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_40_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fe4802bccd034fd9a17841f4341381d.jpg","text":"TemporaryFile(/tmp/multipartBody4113115953552294902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_45_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fad2dc70e7f9756fb4fda77b8f5e0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8873250802410635966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_42_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87f8876ab5bb1d0dd359c88722985b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6911639093883011801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_54_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29ba453bf6e82cb4292f16bea0d18638.jpg","text":"TemporaryFile(/tmp/multipartBody6153189333309405409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955505231,"filename":"image_29102025_19_37_52_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391473122","file1":"1391473121","file0":"1391473113","file4":"1391473127","file5":"1391473130","file3":"1391473123"},"map_files_photo_id_array":[{"photo_id":"1391473130","filename":"file5"},{"photo_id":"1391473122","filename":"file2"},{"photo_id":"1391473127","filename":"file4"},{"photo_id":"1391473121","filename":"file1"},{"photo_id":"1391473113","filename":"file0"},{"photo_id":"1391473123","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391473123":["hashtag1","hashtag2"]},{"1391473113":["hashtag1","hashtag2"]},{"1391473122":["hashtag1","hashtag2"]},{"1391473121":["hashtag1","hashtag2"]},{"1391473130":["hashtag1","hashtag2"]},{"1391473127":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391473123, 1391473113, 1391473122, 1391473121, 1391473130, 1391473127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.948974609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:05:03.293160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_58_3663.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_01_2666.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_04_3208.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_07_3258.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_10_2754.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_15_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/37/image_29102025_19_37_58_3663.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_01_2666.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_04_3208.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_07_3258.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_10_2754.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_15_2893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391473804","1391473219","1391473443","1391473317","1391473571","1391473693"],"photo_ids_order":["1391473219","1391473317","1391473443","1391473571","1391473693","1391473804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/250665453277005250e3d178262c0ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1348745961020189294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_38_15_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f0a173143cf7fd0d2a2b045e4d149b2.jpg","text":"TemporaryFile(/tmp/multipartBody6153004264936464341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_37_58_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4d1b0d096a02c23a20a218ad5b0e046.jpg","text":"TemporaryFile(/tmp/multipartBody7742803365095675845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_38_04_3208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9956da93e7384e08fbf6f82a4f9a94c.jpg","text":"TemporaryFile(/tmp/multipartBody3994443217551712010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_38_01_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f2aff8f7fb6852f833eacdf6a0683c9.jpg","text":"TemporaryFile(/tmp/multipartBody8581506841272232229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_38_07_3258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00cef2ff812f666609be35684856e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6265133343817430441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955565547,"filename":"image_29102025_19_38_10_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391473443","file1":"1391473317","file0":"1391473219","file4":"1391473693","file5":"1391473804","file3":"1391473571"},"map_files_photo_id_array":[{"photo_id":"1391473804","filename":"file5"},{"photo_id":"1391473443","filename":"file2"},{"photo_id":"1391473693","filename":"file4"},{"photo_id":"1391473317","filename":"file1"},{"photo_id":"1391473219","filename":"file0"},{"photo_id":"1391473571","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391473804":["hashtag1","hashtag2"]},{"1391473219":["hashtag1","hashtag2"]},{"1391473443":["hashtag1","hashtag2"]},{"1391473317":["hashtag1","hashtag2"]},{"1391473571":["hashtag1","hashtag2"]},{"1391473693":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391473804, 1391473219, 1391473443, 1391473317, 1391473571, 1391473693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25908041000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:06:03.164672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_18_2734.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_22_3704.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_24_2566.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_27_2750.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_31_3713.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_33_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_18_2734.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_22_3704.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_24_2566.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_27_2750.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_31_3713.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_33_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391474664","1391474726","1391474606","1391474528","1391474770","1391474818"],"photo_ids_order":["1391474528","1391474606","1391474664","1391474726","1391474770","1391474818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42c331b3d739da9da28578f6fe93df4e.jpg","text":"TemporaryFile(/tmp/multipartBody6894854328336524877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_24_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/100bc01a50a2b3fc14bc1f893319c455.jpg","text":"TemporaryFile(/tmp/multipartBody8633633294552643398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_27_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79de6cf51b3873c15f5cd9d87567a595.jpg","text":"TemporaryFile(/tmp/multipartBody1686341504441188003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_22_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/323ccf8fec68c3d6a7a7ef71e4612846.jpg","text":"TemporaryFile(/tmp/multipartBody1477949160348190444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_18_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc0a68b2790bc45572fe0314473116a9.jpg","text":"TemporaryFile(/tmp/multipartBody1140639013145445015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_31_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e787331ba1cb9660e3f6c9f318dc1f15.jpg","text":"TemporaryFile(/tmp/multipartBody2409682733792975952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955625323,"filename":"image_29102025_19_38_33_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391474664","file1":"1391474606","file0":"1391474528","file4":"1391474770","file5":"1391474818","file3":"1391474726"},"map_files_photo_id_array":[{"photo_id":"1391474818","filename":"file5"},{"photo_id":"1391474664","filename":"file2"},{"photo_id":"1391474770","filename":"file4"},{"photo_id":"1391474606","filename":"file1"},{"photo_id":"1391474528","filename":"file0"},{"photo_id":"1391474726","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391474664":["hashtag1","hashtag2"]},{"1391474726":["hashtag1","hashtag2"]},{"1391474606":["hashtag1","hashtag2"]},{"1391474528":["hashtag1","hashtag2"]},{"1391474770":["hashtag1","hashtag2"]},{"1391474818":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391474664, 1391474726, 1391474606, 1391474528, 1391474770, 1391474818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57623481750488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:06:42.701117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_36_2915.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_39_2838.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_43_3742.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_46_2699.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_48_2806.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_51_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_36_2915.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_39_2838.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_43_3742.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_46_2699.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_48_2806.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_51_2801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0821518898010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:07:02.597681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_36_2915.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_39_2838.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_43_3742.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_46_2699.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_48_2806.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_51_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_36_2915.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_39_2838.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_43_3742.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_46_2699.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_48_2806.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_51_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391475516","1391475292","1391475360","1391475477","1391475525","1391475405"],"photo_ids_order":["1391475292","1391475360","1391475405","1391475477","1391475516","1391475525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7afb652e09d356c3c5b1d21d0f2b9381.jpg","text":"TemporaryFile(/tmp/multipartBody3025040173992078248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_48_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49ae83bb83b6e78c074bcf8734ef1f77.jpg","text":"TemporaryFile(/tmp/multipartBody2588218002162843444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_36_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/271fd555b85102bd7b4d724c7f2b6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8642811990449052980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_39_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58b835a0a14e13d21dfa5fb804bb1b41.jpg","text":"TemporaryFile(/tmp/multipartBody4165867630481040213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_46_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f424077c5814ce796faa0d14f2e864f1.jpg","text":"TemporaryFile(/tmp/multipartBody6225841285574707519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_51_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17208f7e20cd516230a2151869d43a55.jpg","text":"TemporaryFile(/tmp/multipartBody9008107208280293801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955684697,"filename":"image_29102025_19_38_43_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391475405","file1":"1391475360","file0":"1391475292","file4":"1391475516","file5":"1391475525","file3":"1391475477"},"map_files_photo_id_array":[{"photo_id":"1391475525","filename":"file5"},{"photo_id":"1391475405","filename":"file2"},{"photo_id":"1391475516","filename":"file4"},{"photo_id":"1391475360","filename":"file1"},{"photo_id":"1391475292","filename":"file0"},{"photo_id":"1391475477","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391475516":["hashtag1","hashtag2"]},{"1391475292":["hashtag1","hashtag2"]},{"1391475360":["hashtag1","hashtag2"]},{"1391475477":["hashtag1","hashtag2"]},{"1391475525":["hashtag1","hashtag2"]},{"1391475405":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391475516, 1391475292, 1391475360, 1391475477, 1391475525, 1391475405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.270641565322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:08:02.598912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_54_2790.jpg', '/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_58_3918.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_01_2676.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_03_2654.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_07_3562.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_10_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_54_2790.jpg
/home/pi/Desktop/images/29102025/19/38/image_29102025_19_38_58_3918.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_01_2676.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_03_2654.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_07_3562.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_10_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391475827","1391475787","1391475655","1391475619","1391475741","1391475702"],"photo_ids_order":["1391475619","1391475655","1391475702","1391475741","1391475787","1391475827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7be52671953bd153fec65790d09a73ea.jpg","text":"TemporaryFile(/tmp/multipartBody1738299659308769287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_39_10_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29eb017bed28a5714cf22be596f5cda5.jpg","text":"TemporaryFile(/tmp/multipartBody6905815138436946122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_39_07_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4539b7cd42cb539e4f007312aac16153.jpg","text":"TemporaryFile(/tmp/multipartBody7445376998742560719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_38_58_3918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8fec158cd77368a0670b7413e4d9f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6320949403968401952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_38_54_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b18d707ec462872360511939d23a218e.jpg","text":"TemporaryFile(/tmp/multipartBody8569271185560294386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_39_03_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa0eab5c93dbfdf1a2ff5b0636127c94.jpg","text":"TemporaryFile(/tmp/multipartBody3203809871502821641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955744757,"filename":"image_29102025_19_39_01_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391475702","file1":"1391475655","file0":"1391475619","file4":"1391475787","file5":"1391475827","file3":"1391475741"},"map_files_photo_id_array":[{"photo_id":"1391475827","filename":"file5"},{"photo_id":"1391475702","filename":"file2"},{"photo_id":"1391475787","filename":"file4"},{"photo_id":"1391475655","filename":"file1"},{"photo_id":"1391475619","filename":"file0"},{"photo_id":"1391475741","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391475827":["hashtag1","hashtag2"]},{"1391475787":["hashtag1","hashtag2"]},{"1391475655":["hashtag1","hashtag2"]},{"1391475619":["hashtag1","hashtag2"]},{"1391475741":["hashtag1","hashtag2"]},{"1391475702":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391475827, 1391475787, 1391475655, 1391475619, 1391475741, 1391475702)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.129369258880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:09:03.466952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_12_2738.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_16_3582.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_19_2666.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_21_2699.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_24_2756.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_28_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_12_2738.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_16_3582.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_19_2666.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_21_2699.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_24_2756.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_28_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391476136","1391476139","1391476177","1391476141","1391476143","1391476086"],"photo_ids_order":["1391476086","1391476136","1391476139","1391476141","1391476143","1391476177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70281cbc65d742f797a6ffbf32a2d898.jpg","text":"TemporaryFile(/tmp/multipartBody382242871217645125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_16_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12ad69d13e6e5a96db0a524df2766950.jpg","text":"TemporaryFile(/tmp/multipartBody4699993191329868538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_19_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c472689e3ec79fb5521d904226912a1.jpg","text":"TemporaryFile(/tmp/multipartBody7721704955826329607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_28_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4856ae7a445ec2e99be863d38d17cec2.jpg","text":"TemporaryFile(/tmp/multipartBody3114485264124801513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_21_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c2edf20d445f05411813e5581b208aa.jpg","text":"TemporaryFile(/tmp/multipartBody2315355485582243595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_24_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff54caa93e9fdb272609d9cf2277bf68.jpg","text":"TemporaryFile(/tmp/multipartBody6553214020988246686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955805726,"filename":"image_29102025_19_39_12_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391476139","file1":"1391476136","file0":"1391476086","file4":"1391476143","file5":"1391476177","file3":"1391476141"},"map_files_photo_id_array":[{"photo_id":"1391476177","filename":"file5"},{"photo_id":"1391476139","filename":"file2"},{"photo_id":"1391476143","filename":"file4"},{"photo_id":"1391476136","filename":"file1"},{"photo_id":"1391476086","filename":"file0"},{"photo_id":"1391476141","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391476136":["hashtag1","hashtag2"]},{"1391476139":["hashtag1","hashtag2"]},{"1391476177":["hashtag1","hashtag2"]},{"1391476141":["hashtag1","hashtag2"]},{"1391476143":["hashtag1","hashtag2"]},{"1391476086":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391476136, 1391476139, 1391476177, 1391476141, 1391476143, 1391476086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00822186470032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:10:03.042652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_33_2699.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_37_3725.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_39_2608.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_43_3267.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_45_2729.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_48_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_33_2699.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_37_3725.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_39_2608.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_43_3267.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_45_2729.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_48_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391476268","1391476241","1391476316","1391476342","1391476243","1391476239"],"photo_ids_order":["1391476239","1391476241","1391476243","1391476268","1391476316","1391476342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6855af7993633e2effe94e3b9497b888.jpg","text":"TemporaryFile(/tmp/multipartBody6311172055179670437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_43_3267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39ed74c3ae6d4ba0441feff4478dae45.jpg","text":"TemporaryFile(/tmp/multipartBody8836818391671813225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_37_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2289d74dc4fd4d90cb9c2d8d616f691.jpg","text":"TemporaryFile(/tmp/multipartBody3388966960358367845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_45_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/317f60431ef964251b182543af50fdf7.jpg","text":"TemporaryFile(/tmp/multipartBody1100575404217868835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_48_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa6597589539da5d02432de98989f900.jpg","text":"TemporaryFile(/tmp/multipartBody3083870678461205914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_39_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e436e1fdf3a9edd2e3fff84e03d71fa.jpg","text":"TemporaryFile(/tmp/multipartBody4376133388514768695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955865248,"filename":"image_29102025_19_39_33_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391476243","file1":"1391476241","file0":"1391476239","file4":"1391476316","file5":"1391476342","file3":"1391476268"},"map_files_photo_id_array":[{"photo_id":"1391476342","filename":"file5"},{"photo_id":"1391476243","filename":"file2"},{"photo_id":"1391476316","filename":"file4"},{"photo_id":"1391476241","filename":"file1"},{"photo_id":"1391476239","filename":"file0"},{"photo_id":"1391476268","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391476268":["hashtag1","hashtag2"]},{"1391476241":["hashtag1","hashtag2"]},{"1391476316":["hashtag1","hashtag2"]},{"1391476342":["hashtag1","hashtag2"]},{"1391476243":["hashtag1","hashtag2"]},{"1391476239":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391476268, 1391476241, 1391476316, 1391476342, 1391476243, 1391476239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.493497133255005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:11:03.412396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_51_2651.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_55_3682.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_57_2804.jpg', '/home/pi/Desktop/images/29102025/19/39/image_29102025_19_40_00_2750.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_03_3060.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_06_3152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_51_2651.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_55_3682.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_39_57_2804.jpg
/home/pi/Desktop/images/29102025/19/39/image_29102025_19_40_00_2750.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_03_3060.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_06_3152.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391476567","1391476525","1391476612","1391476488","1391476440","1391476661"],"photo_ids_order":["1391476440","1391476488","1391476525","1391476567","1391476612","1391476661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6838bf2e52a6d7e8c98d1e6d470a9d64.jpg","text":"TemporaryFile(/tmp/multipartBody5095584857099027181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_40_00_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e90e39c8da07c91b684e31d8331340d.jpg","text":"TemporaryFile(/tmp/multipartBody5784099343073727535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_39_57_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db6a65488b4e422b5b6fb43d46beef8c.jpg","text":"TemporaryFile(/tmp/multipartBody4331627119892515655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_40_03_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab75b309ea26b535fa99bb63e89a254d.jpg","text":"TemporaryFile(/tmp/multipartBody8211363745360717418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_39_55_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98adca9014db8aa1a7d45df3ea4674d2.jpg","text":"TemporaryFile(/tmp/multipartBody7971218672586821228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_39_51_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b52e11aeaf0ab89ba157b4937bbedd9f.jpg","text":"TemporaryFile(/tmp/multipartBody5817183600328288351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955925731,"filename":"image_29102025_19_40_06_3152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391476525","file1":"1391476488","file0":"1391476440","file4":"1391476612","file5":"1391476661","file3":"1391476567"},"map_files_photo_id_array":[{"photo_id":"1391476661","filename":"file5"},{"photo_id":"1391476525","filename":"file2"},{"photo_id":"1391476612","filename":"file4"},{"photo_id":"1391476488","filename":"file1"},{"photo_id":"1391476440","filename":"file0"},{"photo_id":"1391476567","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391476567":["hashtag1","hashtag2"]},{"1391476525":["hashtag1","hashtag2"]},{"1391476612":["hashtag1","hashtag2"]},{"1391476488":["hashtag1","hashtag2"]},{"1391476440":["hashtag1","hashtag2"]},{"1391476661":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391476567, 1391476525, 1391476612, 1391476488, 1391476440, 1391476661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10050582885742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:12:02.461082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_09_2916.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_12_2781.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_15_2780.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_19_3916.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_21_2648.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_24_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_09_2916.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_12_2781.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_15_2780.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_19_3916.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_21_2648.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_24_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391477032","1391477140","1391477271","1391477187","1391476989","1391477081"],"photo_ids_order":["1391476989","1391477032","1391477081","1391477140","1391477187","1391477271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa15353d29b21d028eb5cffdf860915f.jpg","text":"TemporaryFile(/tmp/multipartBody2366178730633105634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_12_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/744cc016c0c3d2b9f75ce56919f3ed94.jpg","text":"TemporaryFile(/tmp/multipartBody3231522648050712127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_19_3916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4fd1faa39d8d207d8a95a2d81aa3ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2089657609887458815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_24_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91b88bd0212160960e90a36c430e418b.jpg","text":"TemporaryFile(/tmp/multipartBody7926843891620166392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_21_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d70c32a6156ed5e7b6ad145241e4630.jpg","text":"TemporaryFile(/tmp/multipartBody5514070591809671967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_09_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e0bb817a903ebaa5a0ebb70d7041c19.jpg","text":"TemporaryFile(/tmp/multipartBody1385546944988377969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761955984649,"filename":"image_29102025_19_40_15_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391477081","file1":"1391477032","file0":"1391476989","file4":"1391477187","file5":"1391477271","file3":"1391477140"},"map_files_photo_id_array":[{"photo_id":"1391477271","filename":"file5"},{"photo_id":"1391477081","filename":"file2"},{"photo_id":"1391477187","filename":"file4"},{"photo_id":"1391477032","filename":"file1"},{"photo_id":"1391476989","filename":"file0"},{"photo_id":"1391477140","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391477032":["hashtag1","hashtag2"]},{"1391477140":["hashtag1","hashtag2"]},{"1391477271":["hashtag1","hashtag2"]},{"1391477187":["hashtag1","hashtag2"]},{"1391476989":["hashtag1","hashtag2"]},{"1391477081":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391477032, 1391477140, 1391477271, 1391477187, 1391476989, 1391477081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.94970917701721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:13:02.834497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_28_3581.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_30_2729.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_33_2624.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_37_3675.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_39_2677.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_42_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_28_3581.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_30_2729.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_33_2624.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_37_3675.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_39_2677.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_42_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391477309","1391477295","1391477298","1391477292","1391477289","1391477313"],"photo_ids_order":["1391477289","1391477292","1391477295","1391477298","1391477309","1391477313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46ddcc8ded312a6a6dac0d06fc38364f.jpg","text":"TemporaryFile(/tmp/multipartBody6390960190601199928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_39_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52996c9180dd1ddd407183b52257257c.jpg","text":"TemporaryFile(/tmp/multipartBody2393859719361611116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_33_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/491f4a80afbe865894cc67c4e421c1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4853255376611240768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_37_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25c13a8c3ce4c4697838bffd36d7c3b7.jpg","text":"TemporaryFile(/tmp/multipartBody5027784135192600375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_30_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c34ff49cdd45f297371df7c082965f3.jpg","text":"TemporaryFile(/tmp/multipartBody2110090419097876859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_28_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b1589bd7b714a1726b75030674345e6.jpg","text":"TemporaryFile(/tmp/multipartBody3435705423783443757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956045071,"filename":"image_29102025_19_40_42_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391477295","file1":"1391477292","file0":"1391477289","file4":"1391477309","file5":"1391477313","file3":"1391477298"},"map_files_photo_id_array":[{"photo_id":"1391477313","filename":"file5"},{"photo_id":"1391477295","filename":"file2"},{"photo_id":"1391477309","filename":"file4"},{"photo_id":"1391477292","filename":"file1"},{"photo_id":"1391477289","filename":"file0"},{"photo_id":"1391477298","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391477309":["hashtag1","hashtag2"]},{"1391477295":["hashtag1","hashtag2"]},{"1391477298":["hashtag1","hashtag2"]},{"1391477292":["hashtag1","hashtag2"]},{"1391477289":["hashtag1","hashtag2"]},{"1391477313":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391477309, 1391477295, 1391477298, 1391477292, 1391477289, 1391477313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.425251722335815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:14:02.831620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_46_3734.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_48_2737.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_51_2628.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_55_3564.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_57_2758.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_41_00_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_46_3734.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_48_2737.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_51_2628.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_55_3564.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_57_2758.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_41_00_2802.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.820051431655884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:14:22.151961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_46_3734.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_48_2737.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_51_2628.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_55_3564.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_57_2758.jpg', '/home/pi/Desktop/images/29102025/19/40/image_29102025_19_41_00_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_46_3734.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_48_2737.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_51_2628.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_55_3564.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_40_57_2758.jpg
/home/pi/Desktop/images/29102025/19/40/image_29102025_19_41_00_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391477785","1391477748","1391477724","1391477814","1391477720","1391477801"],"photo_ids_order":["1391477720","1391477724","1391477748","1391477785","1391477801","1391477814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60de2e0fb49c746923e302223f3a27a8.jpg","text":"TemporaryFile(/tmp/multipartBody7531864151217201598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_40_55_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e621afcd5139b831aa0ea765b70a4c4.jpg","text":"TemporaryFile(/tmp/multipartBody7282658449988810488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_40_51_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83b10ff582512344a5618d633caa9e39.jpg","text":"TemporaryFile(/tmp/multipartBody2821501537083017453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_40_48_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dd32592f8f5edd14157bb82a7162b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5501329163946030379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_41_00_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/367ba549f7d1450c80c0a347a7c9fe80.jpg","text":"TemporaryFile(/tmp/multipartBody615642258268256731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_40_46_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ceb56fea69860c0009bbc733b53f586d.jpg","text":"TemporaryFile(/tmp/multipartBody802518145422069263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956127436,"filename":"image_29102025_19_40_57_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391477748","file1":"1391477724","file0":"1391477720","file4":"1391477801","file5":"1391477814","file3":"1391477785"},"map_files_photo_id_array":[{"photo_id":"1391477814","filename":"file5"},{"photo_id":"1391477748","filename":"file2"},{"photo_id":"1391477801","filename":"file4"},{"photo_id":"1391477724","filename":"file1"},{"photo_id":"1391477720","filename":"file0"},{"photo_id":"1391477785","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391477785":["hashtag1","hashtag2"]},{"1391477748":["hashtag1","hashtag2"]},{"1391477724":["hashtag1","hashtag2"]},{"1391477814":["hashtag1","hashtag2"]},{"1391477720":["hashtag1","hashtag2"]},{"1391477801":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391477785, 1391477748, 1391477724, 1391477814, 1391477720, 1391477801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.468300342559814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:15:22.392080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_03_2703.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_07_3711.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_09_2655.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_12_2578.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_16_3752.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_18_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_03_2703.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_07_3711.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_09_2655.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_12_2578.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_16_3752.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_18_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478034","1391477992","1391477902","1391477907","1391477945","1391477900"],"photo_ids_order":["1391477900","1391477902","1391477907","1391477945","1391477992","1391478034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f22cb2733ef41278135551c2a92d57d2.jpg","text":"TemporaryFile(/tmp/multipartBody708213079907938637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_18_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51779181babd9d54c6f4910223a57437.jpg","text":"TemporaryFile(/tmp/multipartBody2980371578913627977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_16_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64853c5d6721e5a620950caa666e57ac.jpg","text":"TemporaryFile(/tmp/multipartBody9126808193504096948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_07_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db618dda94c0087ee8e0604ed72e7127.jpg","text":"TemporaryFile(/tmp/multipartBody6657813498911210539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_09_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55655a2614e596536052b7d54ee89b70.jpg","text":"TemporaryFile(/tmp/multipartBody1617098027208221154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_12_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7f3e870c98febcd37e32adead8132bb.jpg","text":"TemporaryFile(/tmp/multipartBody6347448588645216581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956185341,"filename":"image_29102025_19_41_03_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391477907","file1":"1391477902","file0":"1391477900","file4":"1391477992","file5":"1391478034","file3":"1391477945"},"map_files_photo_id_array":[{"photo_id":"1391478034","filename":"file5"},{"photo_id":"1391477907","filename":"file2"},{"photo_id":"1391477992","filename":"file4"},{"photo_id":"1391477902","filename":"file1"},{"photo_id":"1391477900","filename":"file0"},{"photo_id":"1391477945","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478034":["hashtag1","hashtag2"]},{"1391477992":["hashtag1","hashtag2"]},{"1391477902":["hashtag1","hashtag2"]},{"1391477907":["hashtag1","hashtag2"]},{"1391477945":["hashtag1","hashtag2"]},{"1391477900":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478034, 1391477992, 1391477902, 1391477907, 1391477945, 1391477900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.899006366729736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:16:22.683050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_21_2807.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_25_3695.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_27_2780.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_30_2697.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_33_2748.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_37_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_21_2807.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_25_3695.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_27_2780.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_30_2697.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_33_2748.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_37_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478427","1391478244","1391478424","1391478432","1391478306","1391478248"],"photo_ids_order":["1391478244","1391478248","1391478306","1391478424","1391478427","1391478432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa21a29a004ca924854d9db9f8b106f2.jpg","text":"TemporaryFile(/tmp/multipartBody4960359881999630988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_33_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e74dba54af417c28ac9ca715a8a3286d.jpg","text":"TemporaryFile(/tmp/multipartBody586186907717369720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_21_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d15e0ce67a1605beec912abe1df747d5.jpg","text":"TemporaryFile(/tmp/multipartBody8476433650735450859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e8aac56d8ddd11ea07aff778536c0db.jpg","text":"TemporaryFile(/tmp/multipartBody4003516944190584691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_37_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/732618181e97697266cc049807e5965c.jpg","text":"TemporaryFile(/tmp/multipartBody7144853962925515657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_27_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30dc39bd799940d3858d7fe219ff092b.jpg","text":"TemporaryFile(/tmp/multipartBody8155122359876178849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956245411,"filename":"image_29102025_19_41_25_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478306","file1":"1391478248","file0":"1391478244","file4":"1391478427","file5":"1391478432","file3":"1391478424"},"map_files_photo_id_array":[{"photo_id":"1391478432","filename":"file5"},{"photo_id":"1391478306","filename":"file2"},{"photo_id":"1391478427","filename":"file4"},{"photo_id":"1391478248","filename":"file1"},{"photo_id":"1391478244","filename":"file0"},{"photo_id":"1391478424","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478427":["hashtag1","hashtag2"]},{"1391478244":["hashtag1","hashtag2"]},{"1391478424":["hashtag1","hashtag2"]},{"1391478432":["hashtag1","hashtag2"]},{"1391478306":["hashtag1","hashtag2"]},{"1391478248":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478427, 1391478244, 1391478424, 1391478432, 1391478306, 1391478248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20592737197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:17:03.535724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_39_2688.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_45_2990.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_48_2967.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_52_3576.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_54_2782.jpg', '/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_57_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_39_2688.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_45_2990.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_48_2967.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_52_3576.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_54_2782.jpg
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_41_57_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478472","1391478480","1391478477","1391478516","1391478512","1391478475"],"photo_ids_order":["1391478472","1391478475","1391478477","1391478480","1391478512","1391478516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/504ba4bba773f708a42fd8e890905c57.jpg","text":"TemporaryFile(/tmp/multipartBody2811837708295133252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_39_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5222dedb984c206d65e6bc35a6a241a6.jpg","text":"TemporaryFile(/tmp/multipartBody2875011890765972039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_52_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e7bec95e1a8639e7dbfd5a0e6ce684a.jpg","text":"TemporaryFile(/tmp/multipartBody1242446914654093519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_48_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b5297c69b111f3ba0047080a426c9da.jpg","text":"TemporaryFile(/tmp/multipartBody7054354745114504237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_57_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0cdad21ac7241652d91474aae3b80f3.jpg","text":"TemporaryFile(/tmp/multipartBody7265723592302181759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_54_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f6df73b444f6aa32b09e4180b61dab1.jpg","text":"TemporaryFile(/tmp/multipartBody2470995020280612449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956285736,"filename":"image_29102025_19_41_45_2990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478477","file1":"1391478475","file0":"1391478472","file4":"1391478512","file5":"1391478516","file3":"1391478480"},"map_files_photo_id_array":[{"photo_id":"1391478516","filename":"file5"},{"photo_id":"1391478477","filename":"file2"},{"photo_id":"1391478512","filename":"file4"},{"photo_id":"1391478475","filename":"file1"},{"photo_id":"1391478472","filename":"file0"},{"photo_id":"1391478480","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478472":["hashtag1","hashtag2"]},{"1391478480":["hashtag1","hashtag2"]},{"1391478477":["hashtag1","hashtag2"]},{"1391478516":["hashtag1","hashtag2"]},{"1391478512":["hashtag1","hashtag2"]},{"1391478475":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478472, 1391478480, 1391478477, 1391478516, 1391478512, 1391478475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.675079584121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:17:42.834612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/41/image_29102025_19_42_00_2612.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_03_3804.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_06_2683.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_09_2626.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_12_2871.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_15_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/41/image_29102025_19_42_00_2612.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_03_3804.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_06_2683.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_09_2626.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_12_2871.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_15_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478547","1391478540","1391478537","1391478528","1391478533","1391478524"],"photo_ids_order":["1391478524","1391478528","1391478533","1391478537","1391478540","1391478547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a53daf61b13fad7f938878b8dfa7fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody3794027735483179927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_15_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ab8a7968f5da34f21d9265179ed51ce.jpg","text":"TemporaryFile(/tmp/multipartBody4814276816313561741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_12_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95214f87525b19271f529eae77e2a39f.jpg","text":"TemporaryFile(/tmp/multipartBody1673283091727720031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_09_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da4406eef204836ff332be37d87eb90f.jpg","text":"TemporaryFile(/tmp/multipartBody3797541515370589644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_03_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d23bf26945bf662a0aacd01ee6160eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8193489443264859904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_06_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22a2bb102cba42b51f10c18141ed1f20.jpg","text":"TemporaryFile(/tmp/multipartBody9170197524945998025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956324043,"filename":"image_29102025_19_42_00_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478533","file1":"1391478528","file0":"1391478524","file4":"1391478540","file5":"1391478547","file3":"1391478537"},"map_files_photo_id_array":[{"photo_id":"1391478547","filename":"file5"},{"photo_id":"1391478533","filename":"file2"},{"photo_id":"1391478540","filename":"file4"},{"photo_id":"1391478528","filename":"file1"},{"photo_id":"1391478524","filename":"file0"},{"photo_id":"1391478537","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478547":["hashtag1","hashtag2"]},{"1391478540":["hashtag1","hashtag2"]},{"1391478537":["hashtag1","hashtag2"]},{"1391478528":["hashtag1","hashtag2"]},{"1391478533":["hashtag1","hashtag2"]},{"1391478524":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478547, 1391478540, 1391478537, 1391478528, 1391478533, 1391478524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14320158958435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:18:21.986270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_19_3275.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_21_2778.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_24_2712.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_27_2768.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_31_3739.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_33_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_19_3275.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_21_2778.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_24_2712.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_27_2768.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_31_3739.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_33_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478712","1391478675","1391478689","1391478683","1391478677","1391478673"],"photo_ids_order":["1391478673","1391478675","1391478677","1391478683","1391478689","1391478712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b57e52098f8a1befcee51862550ca82.jpg","text":"TemporaryFile(/tmp/multipartBody4508281229930036804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_33_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab4f308c4f264e062505d23f74ffe3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6366384768234912155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_21_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b14238dbf094bfc407d0ab9e64dc34d.jpg","text":"TemporaryFile(/tmp/multipartBody2890986783138547128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_31_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0337cd15c142adfa3158fa1044c8c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody3226009181440247474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_27_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/389090e3dc7ea4bb72b0bf80ed756037.jpg","text":"TemporaryFile(/tmp/multipartBody4339370545178263792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_24_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b72cb6d2a7c613aa57eefb4393b993e1.jpg","text":"TemporaryFile(/tmp/multipartBody1908353100883302591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956364742,"filename":"image_29102025_19_42_19_3275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478677","file1":"1391478675","file0":"1391478673","file4":"1391478689","file5":"1391478712","file3":"1391478683"},"map_files_photo_id_array":[{"photo_id":"1391478712","filename":"file5"},{"photo_id":"1391478677","filename":"file2"},{"photo_id":"1391478689","filename":"file4"},{"photo_id":"1391478675","filename":"file1"},{"photo_id":"1391478673","filename":"file0"},{"photo_id":"1391478683","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478712":["hashtag1","hashtag2"]},{"1391478675":["hashtag1","hashtag2"]},{"1391478689":["hashtag1","hashtag2"]},{"1391478683":["hashtag1","hashtag2"]},{"1391478677":["hashtag1","hashtag2"]},{"1391478673":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478712, 1391478675, 1391478689, 1391478683, 1391478677, 1391478673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95227885246277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:19:03.231538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_36_2615.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_39_2743.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_42_3648.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_45_2771.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_48_3082.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_51_2997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_36_2615.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_39_2743.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_42_3648.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_45_2771.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_48_3082.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_51_2997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478742","1391478732","1391478735","1391478738","1391478746","1391478749"],"photo_ids_order":["1391478732","1391478735","1391478738","1391478742","1391478746","1391478749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4592dde2573a2c56ebcfa6f9627c8f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8412110694179413702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_45_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f997039c82e783ced489d227f099122.jpg","text":"TemporaryFile(/tmp/multipartBody2221358334774377538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_36_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39c202e67f22f3d7542fd7e29cb79ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5761627583097388396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_39_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c2fa9f86d4528d4c15faca141e82491.jpg","text":"TemporaryFile(/tmp/multipartBody6267629137415703254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1e76504ba5c8b6fdb012eaa5e732458.jpg","text":"TemporaryFile(/tmp/multipartBody5573314777673280818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_48_3082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cc3d928dca38150455161738facddda.jpg","text":"TemporaryFile(/tmp/multipartBody1016167016826701242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956405536,"filename":"image_29102025_19_42_51_2997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478738","file1":"1391478735","file0":"1391478732","file4":"1391478746","file5":"1391478749","file3":"1391478742"},"map_files_photo_id_array":[{"photo_id":"1391478749","filename":"file5"},{"photo_id":"1391478738","filename":"file2"},{"photo_id":"1391478746","filename":"file4"},{"photo_id":"1391478735","filename":"file1"},{"photo_id":"1391478732","filename":"file0"},{"photo_id":"1391478742","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478742":["hashtag1","hashtag2"]},{"1391478732":["hashtag1","hashtag2"]},{"1391478735":["hashtag1","hashtag2"]},{"1391478738":["hashtag1","hashtag2"]},{"1391478746":["hashtag1","hashtag2"]},{"1391478749":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478742, 1391478732, 1391478735, 1391478738, 1391478746, 1391478749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43472695350647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:19:42.184778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_54_2759.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_57_2827.jpg', '/home/pi/Desktop/images/29102025/19/42/image_29102025_19_43_00_2916.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_06_2730.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_09_2983.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_12_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_54_2759.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_42_57_2827.jpg
/home/pi/Desktop/images/29102025/19/42/image_29102025_19_43_00_2916.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_06_2730.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_09_2983.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_12_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478757","1391478762","1391478779","1391478767","1391478772","1391478775"],"photo_ids_order":["1391478757","1391478762","1391478767","1391478772","1391478775","1391478779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40f0d78923b5028a13d40c344a1809d8.jpg","text":"TemporaryFile(/tmp/multipartBody6640685870372986482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_42_54_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26a5711922947a9f934cace6022e2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6514288511995889162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_42_57_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/874c3d3562f201d08e78b81685043475.jpg","text":"TemporaryFile(/tmp/multipartBody7751055915253543106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_43_12_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/971fe907c625e906e5e03a2a39854689.jpg","text":"TemporaryFile(/tmp/multipartBody4384901994604248324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_43_00_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acc5f7ee8377a54eb1734ef0311949ea.jpg","text":"TemporaryFile(/tmp/multipartBody513061646809459628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_43_06_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76d95c5289b6302017ae522037a4f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody5474980349824521368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956443360,"filename":"image_29102025_19_43_09_2983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478767","file1":"1391478762","file0":"1391478757","file4":"1391478775","file5":"1391478779","file3":"1391478772"},"map_files_photo_id_array":[{"photo_id":"1391478779","filename":"file5"},{"photo_id":"1391478767","filename":"file2"},{"photo_id":"1391478775","filename":"file4"},{"photo_id":"1391478762","filename":"file1"},{"photo_id":"1391478757","filename":"file0"},{"photo_id":"1391478772","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478757":["hashtag1","hashtag2"]},{"1391478762":["hashtag1","hashtag2"]},{"1391478779":["hashtag1","hashtag2"]},{"1391478767":["hashtag1","hashtag2"]},{"1391478772":["hashtag1","hashtag2"]},{"1391478775":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478757, 1391478762, 1391478779, 1391478767, 1391478772, 1391478775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77227306365967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:20:22.863265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_15_2591.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_18_3681.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_21_2713.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_24_2745.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_27_3574.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_30_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_15_2591.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_18_3681.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_21_2713.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_24_2745.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_27_3574.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_30_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478798","1391478810","1391478788","1391478790","1391478803","1391478793"],"photo_ids_order":["1391478788","1391478790","1391478793","1391478798","1391478803","1391478810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6221e4a15ad0b59e5612614874438163.jpg","text":"TemporaryFile(/tmp/multipartBody6942398882222028966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_24_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c0f32c34a2754b1efe7614c790997c0.jpg","text":"TemporaryFile(/tmp/multipartBody2017487043200681617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_30_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3352b9e4f8d632472b09922b467a4938.jpg","text":"TemporaryFile(/tmp/multipartBody3925420508805969024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_15_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ec46112280a7764af0734a7ff163d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7626557627524026280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_18_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adca5260da3e13c4d700b258e550b087.jpg","text":"TemporaryFile(/tmp/multipartBody5898771080265585039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_27_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e663145797d73367bfe7f19c58c62c0.jpg","text":"TemporaryFile(/tmp/multipartBody8213724061814487327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956485655,"filename":"image_29102025_19_43_21_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478793","file1":"1391478790","file0":"1391478788","file4":"1391478803","file5":"1391478810","file3":"1391478798"},"map_files_photo_id_array":[{"photo_id":"1391478810","filename":"file5"},{"photo_id":"1391478793","filename":"file2"},{"photo_id":"1391478803","filename":"file4"},{"photo_id":"1391478790","filename":"file1"},{"photo_id":"1391478788","filename":"file0"},{"photo_id":"1391478798","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478798":["hashtag1","hashtag2"]},{"1391478810":["hashtag1","hashtag2"]},{"1391478788":["hashtag1","hashtag2"]},{"1391478790":["hashtag1","hashtag2"]},{"1391478803":["hashtag1","hashtag2"]},{"1391478793":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478798, 1391478810, 1391478788, 1391478790, 1391478803, 1391478793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.177613735198975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:21:03.070176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_33_2816.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_36_3576.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_39_2628.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_42_2696.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_45_2795.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_51_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_33_2816.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_36_3576.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_39_2628.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_42_2696.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_45_2795.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_51_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391478885","1391478972","1391478842","1391478926","1391479060","1391479015"],"photo_ids_order":["1391478842","1391478885","1391478926","1391478972","1391479015","1391479060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc788c00ddf4154949195cfab7b2d14b.jpg","text":"TemporaryFile(/tmp/multipartBody5080263730972664814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_36_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf7f3b78ea07dac58a257e12d4772cce.jpg","text":"TemporaryFile(/tmp/multipartBody7182943362862766499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_42_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42a0261347b747daa3f7aa00b31f0615.jpg","text":"TemporaryFile(/tmp/multipartBody3270858311305655226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_33_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4de2e55d7448a5cc2a5b8aa0cca53b8.jpg","text":"TemporaryFile(/tmp/multipartBody3566343081341155993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_39_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbabc546ed7a27c5fd3e701b4cffe74f.jpg","text":"TemporaryFile(/tmp/multipartBody6925075000892684547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_51_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e6cc7054ed42f5fe81470113e89a74a.jpg","text":"TemporaryFile(/tmp/multipartBody1548618141429542775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956525377,"filename":"image_29102025_19_43_45_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391478926","file1":"1391478885","file0":"1391478842","file4":"1391479015","file5":"1391479060","file3":"1391478972"},"map_files_photo_id_array":[{"photo_id":"1391479060","filename":"file5"},{"photo_id":"1391478926","filename":"file2"},{"photo_id":"1391479015","filename":"file4"},{"photo_id":"1391478885","filename":"file1"},{"photo_id":"1391478842","filename":"file0"},{"photo_id":"1391478972","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391478885":["hashtag1","hashtag2"]},{"1391478972":["hashtag1","hashtag2"]},{"1391478842":["hashtag1","hashtag2"]},{"1391478926":["hashtag1","hashtag2"]},{"1391479060":["hashtag1","hashtag2"]},{"1391479015":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391478885, 1391478972, 1391478842, 1391478926, 1391479060, 1391479015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.217440128326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:21:42.652320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_53_2731.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_57_3767.jpg', '/home/pi/Desktop/images/29102025/19/43/image_29102025_19_44_00_2773.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_03_2654.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_06_3546.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_09_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_53_2731.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_43_57_3767.jpg
/home/pi/Desktop/images/29102025/19/43/image_29102025_19_44_00_2773.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_03_2654.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_06_3546.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_09_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391479290","1391479203","1391479427","1391479337","1391479384","1391479246"],"photo_ids_order":["1391479203","1391479246","1391479290","1391479337","1391479384","1391479427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84773c13e8fc05b4d86fe0bb48399613.jpg","text":"TemporaryFile(/tmp/multipartBody6017048298851703177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_44_00_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53355c28929abf5b55d8e41cb6fed912.jpg","text":"TemporaryFile(/tmp/multipartBody6065373778184058980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_43_53_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce6ec341cd807cb16137aabc9fc5abe1.jpg","text":"TemporaryFile(/tmp/multipartBody2147908661270816713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_44_09_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2334ea919ec77b59ca517c29040c0261.jpg","text":"TemporaryFile(/tmp/multipartBody671582100837296223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_44_03_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8219c8bdecdbe274e85bed8592de1510.jpg","text":"TemporaryFile(/tmp/multipartBody2900258381830966260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_44_06_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0edb6f2975139ad918a1501f320496d.jpg","text":"TemporaryFile(/tmp/multipartBody6485509063805435584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956563827,"filename":"image_29102025_19_43_57_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391479290","file1":"1391479246","file0":"1391479203","file4":"1391479384","file5":"1391479427","file3":"1391479337"},"map_files_photo_id_array":[{"photo_id":"1391479427","filename":"file5"},{"photo_id":"1391479290","filename":"file2"},{"photo_id":"1391479384","filename":"file4"},{"photo_id":"1391479246","filename":"file1"},{"photo_id":"1391479203","filename":"file0"},{"photo_id":"1391479337","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391479290":["hashtag1","hashtag2"]},{"1391479203":["hashtag1","hashtag2"]},{"1391479427":["hashtag1","hashtag2"]},{"1391479337":["hashtag1","hashtag2"]},{"1391479384":["hashtag1","hashtag2"]},{"1391479246":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391479290, 1391479203, 1391479427, 1391479337, 1391479384, 1391479246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.005481481552124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:22:22.807926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_12_2698.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_15_3646.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_18_2838.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_21_2598.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_23_2715.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_27_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_12_2698.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_15_3646.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_18_2838.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_21_2598.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_23_2715.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_27_3549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391479788","1391479695","1391479830","1391479643","1391479597","1391479741"],"photo_ids_order":["1391479597","1391479643","1391479695","1391479741","1391479788","1391479830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/335b493fd9f30d51b045abf092029786.jpg","text":"TemporaryFile(/tmp/multipartBody5691321387602874713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_23_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34d204111abf73702be06f1c0b5e29e7.jpg","text":"TemporaryFile(/tmp/multipartBody4466716881098362598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_18_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/203c5f14197d4ba617ef411f50e6fd63.jpg","text":"TemporaryFile(/tmp/multipartBody669774685760375481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_27_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c376977915736c702261c456292ce4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8187093330538898650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_15_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39732fcbc48b5fd74ef7203b2fdd6f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4045439525911540214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_12_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a97140e40220e769c31af91037b1f91.jpg","text":"TemporaryFile(/tmp/multipartBody1465092350095158752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956605564,"filename":"image_29102025_19_44_21_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391479695","file1":"1391479643","file0":"1391479597","file4":"1391479788","file5":"1391479830","file3":"1391479741"},"map_files_photo_id_array":[{"photo_id":"1391479830","filename":"file5"},{"photo_id":"1391479695","filename":"file2"},{"photo_id":"1391479788","filename":"file4"},{"photo_id":"1391479643","filename":"file1"},{"photo_id":"1391479597","filename":"file0"},{"photo_id":"1391479741","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391479788":["hashtag1","hashtag2"]},{"1391479695":["hashtag1","hashtag2"]},{"1391479830":["hashtag1","hashtag2"]},{"1391479643":["hashtag1","hashtag2"]},{"1391479597":["hashtag1","hashtag2"]},{"1391479741":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391479788, 1391479695, 1391479830, 1391479643, 1391479597, 1391479741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34739327430725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:23:22.021975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_30_2638.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_32_2791.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_36_3791.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_39_2779.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_42_2578.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_45_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_30_2638.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_32_2791.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_36_3791.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_39_2779.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_42_2578.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_45_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480196","1391480200","1391480203","1391480213","1391480207","1391480219"],"photo_ids_order":["1391480196","1391480200","1391480203","1391480207","1391480213","1391480219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0019363e15baebfcbfe213b84ff927a3.jpg","text":"TemporaryFile(/tmp/multipartBody7184474673124144715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_30_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fa1a8804e2c533a7034829378f3a081.jpg","text":"TemporaryFile(/tmp/multipartBody6696914564279045384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_32_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/981ba026e0190153b1c6518034fa2afe.jpg","text":"TemporaryFile(/tmp/multipartBody1348820151570624812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_36_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c94bc25f44a2d49c4706d3f5132d5566.jpg","text":"TemporaryFile(/tmp/multipartBody3789956722763355270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_42_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/986f354a8e786fab712525878c374efe.jpg","text":"TemporaryFile(/tmp/multipartBody6438136494148074806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_39_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e41c11c246b8046e81d590c10e55f90.jpg","text":"TemporaryFile(/tmp/multipartBody2916068757163024708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956664430,"filename":"image_29102025_19_44_45_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480203","file1":"1391480200","file0":"1391480196","file4":"1391480213","file5":"1391480219","file3":"1391480207"},"map_files_photo_id_array":[{"photo_id":"1391480219","filename":"file5"},{"photo_id":"1391480203","filename":"file2"},{"photo_id":"1391480213","filename":"file4"},{"photo_id":"1391480200","filename":"file1"},{"photo_id":"1391480196","filename":"file0"},{"photo_id":"1391480207","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480196":["hashtag1","hashtag2"]},{"1391480200":["hashtag1","hashtag2"]},{"1391480203":["hashtag1","hashtag2"]},{"1391480213":["hashtag1","hashtag2"]},{"1391480207":["hashtag1","hashtag2"]},{"1391480219":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480196, 1391480200, 1391480203, 1391480213, 1391480207, 1391480219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37882423400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:24:02.921156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_48_2614.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_51_2737.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_53_2849.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_57_3745.jpg', '/home/pi/Desktop/images/29102025/19/44/image_29102025_19_45_00_2848.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_03_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_48_2614.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_51_2737.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_53_2849.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_44_57_3745.jpg
/home/pi/Desktop/images/29102025/19/44/image_29102025_19_45_00_2848.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_03_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480242","1391480236","1391480238","1391480231","1391480240","1391480237"],"photo_ids_order":["1391480231","1391480236","1391480237","1391480238","1391480240","1391480242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3e688f9af9ec8736a01daadc286cb25.jpg","text":"TemporaryFile(/tmp/multipartBody4758321263895940253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_45_03_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06d24a5db39bd4b08b9bfd93d5fab5d6.jpg","text":"TemporaryFile(/tmp/multipartBody8355311560380390192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_44_51_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4ebc66cc32e80f44163a295c74618e9.jpg","text":"TemporaryFile(/tmp/multipartBody8424342080063752163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_44_57_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e70843ca7d662ef71342f34ce41f4920.jpg","text":"TemporaryFile(/tmp/multipartBody2093072826303111767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_44_48_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ac39de6239b4c6730494db9cf006b41.jpg","text":"TemporaryFile(/tmp/multipartBody5702245593950241826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_45_00_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dff21f2519bf2a479fef7d4a71e4d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4292854711525176960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956705131,"filename":"image_29102025_19_44_53_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480237","file1":"1391480236","file0":"1391480231","file4":"1391480240","file5":"1391480242","file3":"1391480238"},"map_files_photo_id_array":[{"photo_id":"1391480242","filename":"file5"},{"photo_id":"1391480237","filename":"file2"},{"photo_id":"1391480240","filename":"file4"},{"photo_id":"1391480236","filename":"file1"},{"photo_id":"1391480231","filename":"file0"},{"photo_id":"1391480238","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480242":["hashtag1","hashtag2"]},{"1391480236":["hashtag1","hashtag2"]},{"1391480238":["hashtag1","hashtag2"]},{"1391480231":["hashtag1","hashtag2"]},{"1391480240":["hashtag1","hashtag2"]},{"1391480237":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480242, 1391480236, 1391480238, 1391480231, 1391480240, 1391480237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94108772277832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:24:42.246167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_06_3178.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_09_2758.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_11_2593.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_15_3750.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_18_2683.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_20_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_06_3178.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_09_2758.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_11_2593.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_15_3750.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_18_2683.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_20_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480265","1391480253","1391480261","1391480264","1391480258","1391480312"],"photo_ids_order":["1391480253","1391480258","1391480261","1391480264","1391480265","1391480312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21b70655c7facba32ac7c09c012579a0.jpg","text":"TemporaryFile(/tmp/multipartBody3915155850944553582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_18_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5f22437dee4d96c2b7623ef3a66e01a.jpg","text":"TemporaryFile(/tmp/multipartBody4730702269043387954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_06_3178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56d7f17531510dede9fa5ef8507297e5.jpg","text":"TemporaryFile(/tmp/multipartBody3451119001125436063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_11_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db50a71041ffd0c3411f526fef015666.jpg","text":"TemporaryFile(/tmp/multipartBody1989245973786487626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_15_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00967c5b655e444149fd6218280489c8.jpg","text":"TemporaryFile(/tmp/multipartBody1346998596326835515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_09_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbe95726a2f4bf20573a0fa1b6384c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6357957776189965284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956743421,"filename":"image_29102025_19_45_20_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480261","file1":"1391480258","file0":"1391480253","file4":"1391480265","file5":"1391480312","file3":"1391480264"},"map_files_photo_id_array":[{"photo_id":"1391480312","filename":"file5"},{"photo_id":"1391480261","filename":"file2"},{"photo_id":"1391480265","filename":"file4"},{"photo_id":"1391480258","filename":"file1"},{"photo_id":"1391480253","filename":"file0"},{"photo_id":"1391480264","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480265":["hashtag1","hashtag2"]},{"1391480253":["hashtag1","hashtag2"]},{"1391480261":["hashtag1","hashtag2"]},{"1391480264":["hashtag1","hashtag2"]},{"1391480258":["hashtag1","hashtag2"]},{"1391480312":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480265, 1391480253, 1391480261, 1391480264, 1391480258, 1391480312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.856717109680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:25:42.446099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_27_3042.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_30_3107.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_33_2827.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_36_2937.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_39_2766.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_41_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_27_3042.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_30_3107.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_33_2827.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_36_2937.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_39_2766.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_41_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480751","1391480774","1391480735","1391480636","1391480770","1391480686"],"photo_ids_order":["1391480636","1391480686","1391480735","1391480751","1391480770","1391480774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/683728a2adac2243b6bd60c805842462.jpg","text":"TemporaryFile(/tmp/multipartBody6436072419689902515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_36_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6917b735bd2c4ba29542ff2d31bb794.jpg","text":"TemporaryFile(/tmp/multipartBody3118408176135213114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_41_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d031c8de40e382fc10b811be5acad622.jpg","text":"TemporaryFile(/tmp/multipartBody8096882352479977715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_33_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/698ca096b8638ec5b8c9641872244217.jpg","text":"TemporaryFile(/tmp/multipartBody1211951610796610027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_27_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2bb4c27e2ccdde9ae0e13fd64011fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2224197044334922904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_39_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3e647288e18bab72675c77387a29345.jpg","text":"TemporaryFile(/tmp/multipartBody1272864292435940292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956803633,"filename":"image_29102025_19_45_30_3107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480735","file1":"1391480686","file0":"1391480636","file4":"1391480770","file5":"1391480774","file3":"1391480751"},"map_files_photo_id_array":[{"photo_id":"1391480774","filename":"file5"},{"photo_id":"1391480735","filename":"file2"},{"photo_id":"1391480770","filename":"file4"},{"photo_id":"1391480686","filename":"file1"},{"photo_id":"1391480636","filename":"file0"},{"photo_id":"1391480751","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480751":["hashtag1","hashtag2"]},{"1391480774":["hashtag1","hashtag2"]},{"1391480735":["hashtag1","hashtag2"]},{"1391480636":["hashtag1","hashtag2"]},{"1391480770":["hashtag1","hashtag2"]},{"1391480686":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480751, 1391480774, 1391480735, 1391480636, 1391480770, 1391480686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7264609336853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:26:22.695008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_45_3777.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_48_2679.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_51_2835.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_54_3064.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_57_2925.jpg', '/home/pi/Desktop/images/29102025/19/45/image_29102025_19_46_00_2984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_45_3777.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_48_2679.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_51_2835.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_54_3064.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_45_57_2925.jpg
/home/pi/Desktop/images/29102025/19/45/image_29102025_19_46_00_2984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480928","1391480838","1391480891","1391480912","1391480840","1391480872"],"photo_ids_order":["1391480838","1391480840","1391480872","1391480891","1391480912","1391480928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d6e58f0b097e480cd99119d41c5f39b.jpg","text":"TemporaryFile(/tmp/multipartBody2520256147284083298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_46_00_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd8cd999151648961fd36256796cc7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5656381355365147071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_45_45_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6493a130a5f0e72b384a8a1331711867.jpg","text":"TemporaryFile(/tmp/multipartBody3117828074804563998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_45_54_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2c1f4f6414893c651a67f5bcbb6858d.jpg","text":"TemporaryFile(/tmp/multipartBody7465418398714445371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_45_57_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfc9e82329e936e3cb96c9171ec1d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody3014098811563384396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_45_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a383c36026bf69dc8e731ae07836541b.jpg","text":"TemporaryFile(/tmp/multipartBody1682464621755979574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956845425,"filename":"image_29102025_19_45_51_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480872","file1":"1391480840","file0":"1391480838","file4":"1391480912","file5":"1391480928","file3":"1391480891"},"map_files_photo_id_array":[{"photo_id":"1391480928","filename":"file5"},{"photo_id":"1391480872","filename":"file2"},{"photo_id":"1391480912","filename":"file4"},{"photo_id":"1391480840","filename":"file1"},{"photo_id":"1391480838","filename":"file0"},{"photo_id":"1391480891","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480928":["hashtag1","hashtag2"]},{"1391480838":["hashtag1","hashtag2"]},{"1391480891":["hashtag1","hashtag2"]},{"1391480912":["hashtag1","hashtag2"]},{"1391480840":["hashtag1","hashtag2"]},{"1391480872":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480928, 1391480838, 1391480891, 1391480912, 1391480840, 1391480872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.834108114242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:27:03.437277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_02_2644.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_06_3582.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_09_2798.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_11_2523.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_15_3660.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_18_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_02_2644.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_06_3582.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_09_2798.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_11_2523.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_15_3660.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_18_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480950","1391480944","1391480947","1391480940","1391480942","1391480936"],"photo_ids_order":["1391480936","1391480940","1391480942","1391480944","1391480947","1391480950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/059782dd11a4836f4151328fd8d3dc39.jpg","text":"TemporaryFile(/tmp/multipartBody6029092268010900619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_18_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cdf8a161392be66c14f2f81cb206a58.jpg","text":"TemporaryFile(/tmp/multipartBody8589949465013322586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_11_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f04fc63ce9b9b7d3c6e9ed5837ff228d.jpg","text":"TemporaryFile(/tmp/multipartBody5986657737849911913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_15_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf9bbf0fe56a366fea211215aaa6615e.jpg","text":"TemporaryFile(/tmp/multipartBody2490816981575632925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_06_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23d553b32f773f06462e39cb4f32cf70.jpg","text":"TemporaryFile(/tmp/multipartBody6872249159939073299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_09_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e9a249914e4237f54e7fe0174e058cc.jpg","text":"TemporaryFile(/tmp/multipartBody8760836558644140414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956885736,"filename":"image_29102025_19_46_02_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480942","file1":"1391480940","file0":"1391480936","file4":"1391480947","file5":"1391480950","file3":"1391480944"},"map_files_photo_id_array":[{"photo_id":"1391480950","filename":"file5"},{"photo_id":"1391480942","filename":"file2"},{"photo_id":"1391480947","filename":"file4"},{"photo_id":"1391480940","filename":"file1"},{"photo_id":"1391480936","filename":"file0"},{"photo_id":"1391480944","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480950":["hashtag1","hashtag2"]},{"1391480944":["hashtag1","hashtag2"]},{"1391480947":["hashtag1","hashtag2"]},{"1391480940":["hashtag1","hashtag2"]},{"1391480942":["hashtag1","hashtag2"]},{"1391480936":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480950, 1391480944, 1391480947, 1391480940, 1391480942, 1391480936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.799062728881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:28:02.468816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_24_2663.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_26_2626.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_29_2721.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_33_3868.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_36_2629.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_38_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_24_2663.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_26_2626.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_29_2721.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_33_3868.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_36_2629.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_38_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391480982","1391480985","1391480987","1391480978","1391480989","1391480974"],"photo_ids_order":["1391480974","1391480978","1391480982","1391480985","1391480987","1391480989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cc85d40b56ba252a095f6ac4a331a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2089311926203363631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_29_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/503b5fda9d167246f006ce79815ba0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7256304776359726698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_33_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcf86001070502b6d16e0502fbb4628c.jpg","text":"TemporaryFile(/tmp/multipartBody1253743361237758168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_36_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce84fe21332cfd5dd8fc2629bebc7408.jpg","text":"TemporaryFile(/tmp/multipartBody9171864073609495353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_26_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/490f72f5193165eee20185243c37e561.jpg","text":"TemporaryFile(/tmp/multipartBody6405551519880352809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_38_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95fcb088cdf0dbcfa54b1cdf2f80d40a.jpg","text":"TemporaryFile(/tmp/multipartBody7933635187053102480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761956944645,"filename":"image_29102025_19_46_24_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391480982","file1":"1391480978","file0":"1391480974","file4":"1391480987","file5":"1391480989","file3":"1391480985"},"map_files_photo_id_array":[{"photo_id":"1391480989","filename":"file5"},{"photo_id":"1391480982","filename":"file2"},{"photo_id":"1391480987","filename":"file4"},{"photo_id":"1391480978","filename":"file1"},{"photo_id":"1391480974","filename":"file0"},{"photo_id":"1391480985","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391480982":["hashtag1","hashtag2"]},{"1391480985":["hashtag1","hashtag2"]},{"1391480987":["hashtag1","hashtag2"]},{"1391480978":["hashtag1","hashtag2"]},{"1391480989":["hashtag1","hashtag2"]},{"1391480974":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391480982, 1391480985, 1391480987, 1391480978, 1391480989, 1391480974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.358811140060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:28:42.042585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_42_3546.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_48_2729.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_50_2702.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_54_3734.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_57_2618.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_59_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_42_3546.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_48_2729.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_50_2702.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_54_3734.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_57_2618.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_59_2793.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0227854251861572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:29:03.470195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_42_3546.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_48_2729.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_50_2702.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_54_3734.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_57_2618.jpg', '/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_59_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_42_3546.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_48_2729.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_50_2702.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_54_3734.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_57_2618.jpg
/home/pi/Desktop/images/29102025/19/46/image_29102025_19_46_59_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391481027","1391481021","1391481018","1391481029","1391481023","1391481025"],"photo_ids_order":["1391481018","1391481021","1391481023","1391481025","1391481027","1391481029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dab44a6d7dc6ffbc582044cba3ecc124.jpg","text":"TemporaryFile(/tmp/multipartBody6704947171993554679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_57_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c8b4122ccf69c632bf23c1a10f8e786.jpg","text":"TemporaryFile(/tmp/multipartBody4646622972586949035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_48_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9109e41a4420ed3ccacad0b7e806ee9a.jpg","text":"TemporaryFile(/tmp/multipartBody132565089766286286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_42_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba92e24da87a86278b4213790f4cb9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5204426842696191051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_59_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afbd94e4786162f1a4436f5d3dee350b.jpg","text":"TemporaryFile(/tmp/multipartBody3217417649357468625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_50_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/802f601aeccafd09b922c909f2d528d0.jpg","text":"TemporaryFile(/tmp/multipartBody6589784777468421244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957005645,"filename":"image_29102025_19_46_54_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391481023","file1":"1391481021","file0":"1391481018","file4":"1391481027","file5":"1391481029","file3":"1391481025"},"map_files_photo_id_array":[{"photo_id":"1391481029","filename":"file5"},{"photo_id":"1391481023","filename":"file2"},{"photo_id":"1391481027","filename":"file4"},{"photo_id":"1391481021","filename":"file1"},{"photo_id":"1391481018","filename":"file0"},{"photo_id":"1391481025","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391481027":["hashtag1","hashtag2"]},{"1391481021":["hashtag1","hashtag2"]},{"1391481018":["hashtag1","hashtag2"]},{"1391481029":["hashtag1","hashtag2"]},{"1391481023":["hashtag1","hashtag2"]},{"1391481025":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391481027, 1391481021, 1391481018, 1391481029, 1391481023, 1391481025)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.2353880405426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:30:03.048512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_02_2886.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_06_3777.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_11_2707.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_14_2784.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_18_3625.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_21_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_02_2886.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_06_3777.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_11_2707.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_14_2784.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_18_3625.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_21_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391481069","1391481054","1391481056","1391481065","1391481067","1391481058"],"photo_ids_order":["1391481054","1391481056","1391481058","1391481065","1391481067","1391481069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2505dfa812200dc7eb2c46a70001a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2003263584088603140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_21_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6c8db6b4007ae48eda65543f1544dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2082063043543108365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_02_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/457aabccc3e974d2e1623ded600c1fc7.jpg","text":"TemporaryFile(/tmp/multipartBody964531738967250677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_06_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53dc2932395d70047e644ec13920993c.jpg","text":"TemporaryFile(/tmp/multipartBody2285389665220556828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_14_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48979de9d5aba77156a4cd5a2ec66938.jpg","text":"TemporaryFile(/tmp/multipartBody7719333639902191447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_18_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d765427c880f5a72dd56aafd5b219e7.jpg","text":"TemporaryFile(/tmp/multipartBody2020879245823301937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957065257,"filename":"image_29102025_19_47_11_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391481058","file1":"1391481056","file0":"1391481054","file4":"1391481067","file5":"1391481069","file3":"1391481065"},"map_files_photo_id_array":[{"photo_id":"1391481069","filename":"file5"},{"photo_id":"1391481058","filename":"file2"},{"photo_id":"1391481067","filename":"file4"},{"photo_id":"1391481056","filename":"file1"},{"photo_id":"1391481054","filename":"file0"},{"photo_id":"1391481065","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391481069":["hashtag1","hashtag2"]},{"1391481054":["hashtag1","hashtag2"]},{"1391481056":["hashtag1","hashtag2"]},{"1391481065":["hashtag1","hashtag2"]},{"1391481067":["hashtag1","hashtag2"]},{"1391481058":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391481069, 1391481054, 1391481056, 1391481065, 1391481067, 1391481058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97489285469055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:31:03.320305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_23_2772.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_26_2804.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_30_3666.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_33_2865.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_35_2658.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_38_2932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_23_2772.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_26_2804.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_30_3666.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_33_2865.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_35_2658.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_38_2932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391481264","1391481353","1391481224","1391481397","1391481308","1391481439"],"photo_ids_order":["1391481224","1391481264","1391481308","1391481353","1391481397","1391481439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4ddfb3b16db2f8e8e426530e573b657.jpg","text":"TemporaryFile(/tmp/multipartBody2244691861863121033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_26_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b6239a05c7280fa7d4de9885b773675.jpg","text":"TemporaryFile(/tmp/multipartBody5422653435256140981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_33_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43907a2a28570c233016de8be2cf11cb.jpg","text":"TemporaryFile(/tmp/multipartBody8047460931975151525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_23_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54da4f9fb74096519b9e5cf47a2df2f5.jpg","text":"TemporaryFile(/tmp/multipartBody1467066378386706912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_35_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf2ca8654d0adcbb6e1107a26da2e234.jpg","text":"TemporaryFile(/tmp/multipartBody3691079641482216885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_30_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02a7d1aed66a09e5a21708243893dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody3789524664847064779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957125594,"filename":"image_29102025_19_47_38_2932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391481308","file1":"1391481264","file0":"1391481224","file4":"1391481397","file5":"1391481439","file3":"1391481353"},"map_files_photo_id_array":[{"photo_id":"1391481439","filename":"file5"},{"photo_id":"1391481308","filename":"file2"},{"photo_id":"1391481397","filename":"file4"},{"photo_id":"1391481264","filename":"file1"},{"photo_id":"1391481224","filename":"file0"},{"photo_id":"1391481353","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391481264":["hashtag1","hashtag2"]},{"1391481353":["hashtag1","hashtag2"]},{"1391481224":["hashtag1","hashtag2"]},{"1391481397":["hashtag1","hashtag2"]},{"1391481308":["hashtag1","hashtag2"]},{"1391481439":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391481264, 1391481353, 1391481224, 1391481397, 1391481308, 1391481439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.069140672683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:32:02.361197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_42_3693.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_45_2622.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_47_2669.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_51_3678.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_54_2853.jpg', '/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_56_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_42_3693.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_45_2622.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_47_2669.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_51_3678.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_54_2853.jpg
/home/pi/Desktop/images/29102025/19/47/image_29102025_19_47_56_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391481616","1391481651","1391481618","1391481614","1391481655","1391481604"],"photo_ids_order":["1391481604","1391481614","1391481616","1391481618","1391481651","1391481655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fad28dc4802af20fd7fb08e4e38a767.jpg","text":"TemporaryFile(/tmp/multipartBody3238811545194654660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_47_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a997e5e48d0ea41135550a5056e4cd13.jpg","text":"TemporaryFile(/tmp/multipartBody8238440711726326132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_54_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d67beda5f99986a04cc907635c99c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2966366097017418380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_51_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/227d7de385c518aec90200d0aba1c521.jpg","text":"TemporaryFile(/tmp/multipartBody5061152819527292453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/024830c83842fcf1e7692d2cb8533a21.jpg","text":"TemporaryFile(/tmp/multipartBody3002031666349683679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff9a783aeae8b886fe027c61320a33e5.jpg","text":"TemporaryFile(/tmp/multipartBody7307982707923179805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957187447,"filename":"image_29102025_19_47_42_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391481616","file1":"1391481614","file0":"1391481604","file4":"1391481651","file5":"1391481655","file3":"1391481618"},"map_files_photo_id_array":[{"photo_id":"1391481655","filename":"file5"},{"photo_id":"1391481616","filename":"file2"},{"photo_id":"1391481651","filename":"file4"},{"photo_id":"1391481614","filename":"file1"},{"photo_id":"1391481604","filename":"file0"},{"photo_id":"1391481618","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391481616":["hashtag1","hashtag2"]},{"1391481651":["hashtag1","hashtag2"]},{"1391481618":["hashtag1","hashtag2"]},{"1391481614":["hashtag1","hashtag2"]},{"1391481655":["hashtag1","hashtag2"]},{"1391481604":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391481616, 1391481651, 1391481618, 1391481614, 1391481655, 1391481604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97498345375061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:33:02.705527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_03_3789.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_06_2752.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_08_2711.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_11_2669.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_15_3788.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_18_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_03_3789.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_06_2752.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_08_2711.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_11_2669.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_15_3788.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_18_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391481836","1391481799","1391481886","1391481793","1391481889","1391481796"],"photo_ids_order":["1391481793","1391481796","1391481799","1391481836","1391481886","1391481889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cf5d76448c337edceddb309db7b33db.jpg","text":"TemporaryFile(/tmp/multipartBody6892752414155310364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_11_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50b86f2d80b922d42d38c48d8cc94d77.jpg","text":"TemporaryFile(/tmp/multipartBody5175216314669489989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_08_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e0b094c40f10c0fda8c72c4ce4b5436.jpg","text":"TemporaryFile(/tmp/multipartBody8180969190072890299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_15_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19806d83ad63f72f53331ebcac37266e.jpg","text":"TemporaryFile(/tmp/multipartBody5700206112738426719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_03_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e8c27d6a5272da8b405d11fd63203b0.jpg","text":"TemporaryFile(/tmp/multipartBody1512529086603259912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_18_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e035184878d3d091494e98988403acf9.jpg","text":"TemporaryFile(/tmp/multipartBody2619232939407692147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957246825,"filename":"image_29102025_19_48_06_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391481799","file1":"1391481796","file0":"1391481793","file4":"1391481886","file5":"1391481889","file3":"1391481836"},"map_files_photo_id_array":[{"photo_id":"1391481889","filename":"file5"},{"photo_id":"1391481799","filename":"file2"},{"photo_id":"1391481886","filename":"file4"},{"photo_id":"1391481796","filename":"file1"},{"photo_id":"1391481793","filename":"file0"},{"photo_id":"1391481836","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391481836":["hashtag1","hashtag2"]},{"1391481799":["hashtag1","hashtag2"]},{"1391481886":["hashtag1","hashtag2"]},{"1391481793":["hashtag1","hashtag2"]},{"1391481889":["hashtag1","hashtag2"]},{"1391481796":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391481836, 1391481799, 1391481886, 1391481793, 1391481889, 1391481796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.353875160217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:34:02.896669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_20_2653.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_24_3672.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_27_2814.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_29_2690.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_32_2757.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_36_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_20_2653.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_24_3672.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_27_2814.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_29_2690.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_32_2757.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_36_3682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.133392572402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:34:22.266766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_20_2653.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_24_3672.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_27_2814.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_29_2690.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_32_2757.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_36_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_20_2653.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_24_3672.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_27_2814.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_29_2690.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_32_2757.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_36_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391482053","1391481966","1391482151","1391482004","1391481962","1391482102"],"photo_ids_order":["1391481962","1391481966","1391482004","1391482053","1391482102","1391482151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df27e28d9b469fc424b1285d2ba0154d.jpg","text":"TemporaryFile(/tmp/multipartBody4748827404270906489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_29_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e4d880bdcfa9f5404f31c85fbcc1c00.jpg","text":"TemporaryFile(/tmp/multipartBody8169993513977969312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_24_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1de4071504aa70f902a6aeda0a296240.jpg","text":"TemporaryFile(/tmp/multipartBody2489785563695968093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_36_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0c60f72684321d8d0056c965be8712c.jpg","text":"TemporaryFile(/tmp/multipartBody1289995541956554171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_27_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f02d50a21f22eba5eb9238513301d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody622572334579705994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_20_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e035541d930f429a9b30bb386a6bc226.jpg","text":"TemporaryFile(/tmp/multipartBody5012941869524614146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957324836,"filename":"image_29102025_19_48_32_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391482004","file1":"1391481966","file0":"1391481962","file4":"1391482102","file5":"1391482151","file3":"1391482053"},"map_files_photo_id_array":[{"photo_id":"1391482151","filename":"file5"},{"photo_id":"1391482004","filename":"file2"},{"photo_id":"1391482102","filename":"file4"},{"photo_id":"1391481966","filename":"file1"},{"photo_id":"1391481962","filename":"file0"},{"photo_id":"1391482053","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391482053":["hashtag1","hashtag2"]},{"1391481966":["hashtag1","hashtag2"]},{"1391482151":["hashtag1","hashtag2"]},{"1391482004":["hashtag1","hashtag2"]},{"1391481962":["hashtag1","hashtag2"]},{"1391482102":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391482053, 1391481966, 1391482151, 1391482004, 1391481962, 1391482102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73890495300293 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:35:22.459632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_39_2709.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_41_2805.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_44_2713.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_48_3819.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_53_2738.jpg', '/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_56_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_39_2709.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_41_2805.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_44_2713.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_48_3819.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_53_2738.jpg
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_48_56_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391482512","1391482664","1391482502","1391482726","1391482590","1391482491"],"photo_ids_order":["1391482491","1391482502","1391482512","1391482590","1391482664","1391482726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64e16dd68d25a9b9f26f879ce5b3ca99.jpg","text":"TemporaryFile(/tmp/multipartBody2765357212525224420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_44_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98352daef09341bc538e66e928dc0a05.jpg","text":"TemporaryFile(/tmp/multipartBody10253864606849749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_53_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27dba1a87c496b7d642bbf1b3850e7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6849879810496910518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_41_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aac2471882c0ee3e3d31945e7cec30e.jpg","text":"TemporaryFile(/tmp/multipartBody5497687284254524127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_56_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a79755fc6b5886013b659227928f3889.jpg","text":"TemporaryFile(/tmp/multipartBody4043720755149600361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_48_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18bbde20a86be35e44650b94eefa590a.jpg","text":"TemporaryFile(/tmp/multipartBody3150221353217903889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957385199,"filename":"image_29102025_19_48_39_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391482512","file1":"1391482502","file0":"1391482491","file4":"1391482664","file5":"1391482726","file3":"1391482590"},"map_files_photo_id_array":[{"photo_id":"1391482726","filename":"file5"},{"photo_id":"1391482512","filename":"file2"},{"photo_id":"1391482664","filename":"file4"},{"photo_id":"1391482502","filename":"file1"},{"photo_id":"1391482491","filename":"file0"},{"photo_id":"1391482590","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391482512":["hashtag1","hashtag2"]},{"1391482664":["hashtag1","hashtag2"]},{"1391482502":["hashtag1","hashtag2"]},{"1391482726":["hashtag1","hashtag2"]},{"1391482590":["hashtag1","hashtag2"]},{"1391482491":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391482512, 1391482664, 1391482502, 1391482726, 1391482590, 1391482491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.374804973602295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:36:03.181774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/48/image_29102025_19_49_00_3581.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_05_2760.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_09_3606.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_18_3795.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_23_2710.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_27_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/48/image_29102025_19_49_00_3581.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_05_2760.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_09_3606.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_18_3795.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_23_2710.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_27_3559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391483198","1391483039","1391483108","1391483155","1391482966","1391482884"],"photo_ids_order":["1391482884","1391482966","1391483039","1391483108","1391483155","1391483198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c0e2aeae3665eae06c925f1b72e333e.jpg","text":"TemporaryFile(/tmp/multipartBody5472096108473934716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_27_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c32fdbf198c59138d47feb6fa2a158d9.jpg","text":"TemporaryFile(/tmp/multipartBody3446109235696707245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_09_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2db1b716796909005c60ed40d59c672.jpg","text":"TemporaryFile(/tmp/multipartBody2722340066975884626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_18_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27eb9b954fc8db01a06b4c3e30855ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7715464777548615087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_23_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d9df79ffedfc6814e2b833491af6f44.jpg","text":"TemporaryFile(/tmp/multipartBody1018982697404749264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_05_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34a6aeb1199743403bacacb597add569.jpg","text":"TemporaryFile(/tmp/multipartBody2934264002937106573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957425360,"filename":"image_29102025_19_49_00_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391483039","file1":"1391482966","file0":"1391482884","file4":"1391483155","file5":"1391483198","file3":"1391483108"},"map_files_photo_id_array":[{"photo_id":"1391483198","filename":"file5"},{"photo_id":"1391483039","filename":"file2"},{"photo_id":"1391483155","filename":"file4"},{"photo_id":"1391482966","filename":"file1"},{"photo_id":"1391482884","filename":"file0"},{"photo_id":"1391483108","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391483198":["hashtag1","hashtag2"]},{"1391483039":["hashtag1","hashtag2"]},{"1391483108":["hashtag1","hashtag2"]},{"1391483155":["hashtag1","hashtag2"]},{"1391482966":["hashtag1","hashtag2"]},{"1391482884":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391483198, 1391483039, 1391483108, 1391483155, 1391482966, 1391482884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.818785429000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:36:42.683460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_30_2675.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_32_2809.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_35_2699.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_39_3681.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_44_2682.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_49_4820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_30_2675.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_32_2809.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_35_2699.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_39_3681.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_44_2682.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_49_4820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391483480","1391483522","1391483563","1391483434","1391483388","1391483346"],"photo_ids_order":["1391483346","1391483388","1391483434","1391483480","1391483522","1391483563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66995e624976561cb5a81a28eea96905.jpg","text":"TemporaryFile(/tmp/multipartBody4632189271562987483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_39_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/761cabed1d0a2303ed58760daa50cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody645547564516591230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_44_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9565073f78838d8fbfd097325f6ee50e.jpg","text":"TemporaryFile(/tmp/multipartBody2935447655904652790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_49_4820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/651b0ecc40cd9faa19edda5a938e54a8.jpg","text":"TemporaryFile(/tmp/multipartBody3101749046079849331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_35_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd94bb753011664ac3fe7ad45c4ab885.jpg","text":"TemporaryFile(/tmp/multipartBody3326570996421805160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_32_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d2b45bc9afa07931636654fa185ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody3060032255981571624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957463860,"filename":"image_29102025_19_49_30_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391483434","file1":"1391483388","file0":"1391483346","file4":"1391483522","file5":"1391483563","file3":"1391483480"},"map_files_photo_id_array":[{"photo_id":"1391483563","filename":"file5"},{"photo_id":"1391483434","filename":"file2"},{"photo_id":"1391483522","filename":"file4"},{"photo_id":"1391483388","filename":"file1"},{"photo_id":"1391483346","filename":"file0"},{"photo_id":"1391483480","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391483480":["hashtag1","hashtag2"]},{"1391483522":["hashtag1","hashtag2"]},{"1391483563":["hashtag1","hashtag2"]},{"1391483434":["hashtag1","hashtag2"]},{"1391483388":["hashtag1","hashtag2"]},{"1391483346":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391483480, 1391483522, 1391483563, 1391483434, 1391483388, 1391483346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57401895523071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:37:21.766095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_51_1916.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_53_1797.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_57_3583.jpg', '/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_59_2693.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_02_2665.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_06_3844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_51_1916.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_53_1797.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_57_3583.jpg
/home/pi/Desktop/images/29102025/19/49/image_29102025_19_49_59_2693.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_02_2665.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_06_3844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391483942","1391483771","1391483903","1391483860","1391483815","1391483724"],"photo_ids_order":["1391483724","1391483771","1391483815","1391483860","1391483903","1391483942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8458f93fcd637a9eb7da82b88b2cbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody4294112796173571031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_50_06_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff43a04cb898916ff7e378c5c3744b43.jpg","text":"TemporaryFile(/tmp/multipartBody9127444518390995892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_49_53_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/963588fa5694016e8f483506bccbccf0.jpg","text":"TemporaryFile(/tmp/multipartBody6878800421691981723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_50_02_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b94ad0dc830c5ff2e48ed3135fb9d640.jpg","text":"TemporaryFile(/tmp/multipartBody7972345690586452706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_49_59_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13032d95fa2e70ecbb05972efdf02188.jpg","text":"TemporaryFile(/tmp/multipartBody8936569505628627960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_49_57_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d25efe629a9248307e1ae05a00fdc9d.jpg","text":"TemporaryFile(/tmp/multipartBody916246922907419286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957504494,"filename":"image_29102025_19_49_51_1916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391483815","file1":"1391483771","file0":"1391483724","file4":"1391483903","file5":"1391483942","file3":"1391483860"},"map_files_photo_id_array":[{"photo_id":"1391483942","filename":"file5"},{"photo_id":"1391483815","filename":"file2"},{"photo_id":"1391483903","filename":"file4"},{"photo_id":"1391483771","filename":"file1"},{"photo_id":"1391483724","filename":"file0"},{"photo_id":"1391483860","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391483942":["hashtag1","hashtag2"]},{"1391483771":["hashtag1","hashtag2"]},{"1391483903":["hashtag1","hashtag2"]},{"1391483860":["hashtag1","hashtag2"]},{"1391483815":["hashtag1","hashtag2"]},{"1391483724":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391483942, 1391483771, 1391483903, 1391483860, 1391483815, 1391483724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05644726753235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:38:02.528415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_09_3003.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_11_2722.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_17_6042.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_19_1697.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_26_5245.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_28_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_09_3003.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_11_2722.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_17_6042.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_19_1697.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_26_5245.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_28_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484005","1391484002","1391483998","1391483995","1391484012","1391484009"],"photo_ids_order":["1391483995","1391483998","1391484002","1391484005","1391484009","1391484012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae7c3d0632524ba42199d8e6634e6c9f.jpg","text":"TemporaryFile(/tmp/multipartBody89390201471248120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_19_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccfe242bdcabd4d93f4538d968eeb5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5838308163213008851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_17_6042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eba175bd408211e245b3eb733b934f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2387564570670066078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_11_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbe44f619f6ec024ed5cdc369afe8a50.jpg","text":"TemporaryFile(/tmp/multipartBody6235299077796715435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_09_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80a784fb513e93ae1344e609fba834b0.jpg","text":"TemporaryFile(/tmp/multipartBody1225468555063254614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_28_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be369571f472f15ebd79a801d06d9dfd.jpg","text":"TemporaryFile(/tmp/multipartBody931631399103161096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957544692,"filename":"image_29102025_19_50_26_5245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484002","file1":"1391483998","file0":"1391483995","file4":"1391484009","file5":"1391484012","file3":"1391484005"},"map_files_photo_id_array":[{"photo_id":"1391484012","filename":"file5"},{"photo_id":"1391484002","filename":"file2"},{"photo_id":"1391484009","filename":"file4"},{"photo_id":"1391483998","filename":"file1"},{"photo_id":"1391483995","filename":"file0"},{"photo_id":"1391484005","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484005":["hashtag1","hashtag2"]},{"1391484002":["hashtag1","hashtag2"]},{"1391483998":["hashtag1","hashtag2"]},{"1391483995":["hashtag1","hashtag2"]},{"1391484012":["hashtag1","hashtag2"]},{"1391484009":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484005, 1391484002, 1391483998, 1391483995, 1391484012, 1391484009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13454794883728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:39:02.927883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_29_1673.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_32_2706.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_35_2681.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_39_3719.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_42_2988.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_44_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_29_1673.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_32_2706.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_35_2681.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_39_3719.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_42_2988.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_44_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484047","1391484181","1391484035","1391484133","1391484090","1391484228"],"photo_ids_order":["1391484035","1391484047","1391484090","1391484133","1391484181","1391484228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac1b09df31e0971cf06aede4c2d7b959.jpg","text":"TemporaryFile(/tmp/multipartBody6329136553434571744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_32_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fddc24992917404e338e8f5ce1a5bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody8796154454047216597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_42_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69d42664d15c0789411eb33ac67bf13d.jpg","text":"TemporaryFile(/tmp/multipartBody2026667959512577345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_29_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db58a28ead0bed5e85cb4ad4aef4a146.jpg","text":"TemporaryFile(/tmp/multipartBody2028342278968099131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_39_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9578d17623354b39ea91341d4bd1011.jpg","text":"TemporaryFile(/tmp/multipartBody2953768030342610658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_35_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7c5707b8152df7f7cd3433f1e409c61.jpg","text":"TemporaryFile(/tmp/multipartBody8874585130711014225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957606771,"filename":"image_29102025_19_50_44_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484090","file1":"1391484047","file0":"1391484035","file4":"1391484181","file5":"1391484228","file3":"1391484133"},"map_files_photo_id_array":[{"photo_id":"1391484228","filename":"file5"},{"photo_id":"1391484090","filename":"file2"},{"photo_id":"1391484181","filename":"file4"},{"photo_id":"1391484047","filename":"file1"},{"photo_id":"1391484035","filename":"file0"},{"photo_id":"1391484133","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484047":["hashtag1","hashtag2"]},{"1391484181":["hashtag1","hashtag2"]},{"1391484035":["hashtag1","hashtag2"]},{"1391484133":["hashtag1","hashtag2"]},{"1391484090":["hashtag1","hashtag2"]},{"1391484228":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484047, 1391484181, 1391484035, 1391484133, 1391484090, 1391484228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3061249256134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:40:03.090312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_47_2597.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_51_3668.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_53_2691.jpg', '/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_58_4264.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_01_3897.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_03_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_47_2597.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_51_3668.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_53_2691.jpg
/home/pi/Desktop/images/29102025/19/50/image_29102025_19_50_58_4264.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_01_3897.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_03_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484569","1391484527","1391484580","1391484583","1391484499","1391484576"],"photo_ids_order":["1391484499","1391484527","1391484569","1391484576","1391484580","1391484583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d5084f809199d293c52ed2f5d8d234e.jpg","text":"TemporaryFile(/tmp/multipartBody8282268277039087969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_50_53_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55d86b3b8d7f17402967b0a0279daebf.jpg","text":"TemporaryFile(/tmp/multipartBody6342852046237859133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_50_51_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7f65d3a3463850686eaa4812f85a7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3738012740650936074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_51_01_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/707b9fb3123f7fb911c0dfd7b79ce68b.jpg","text":"TemporaryFile(/tmp/multipartBody3415319126322003243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_51_03_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8b080d6e362d86c50df73b53cd12453.jpg","text":"TemporaryFile(/tmp/multipartBody5261486160812538346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_50_47_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8194963fc38bf58f1bb87f3e2b8c9e8a.jpg","text":"TemporaryFile(/tmp/multipartBody713878734723353920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957665248,"filename":"image_29102025_19_50_58_4264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484569","file1":"1391484527","file0":"1391484499","file4":"1391484580","file5":"1391484583","file3":"1391484576"},"map_files_photo_id_array":[{"photo_id":"1391484583","filename":"file5"},{"photo_id":"1391484569","filename":"file2"},{"photo_id":"1391484580","filename":"file4"},{"photo_id":"1391484527","filename":"file1"},{"photo_id":"1391484499","filename":"file0"},{"photo_id":"1391484576","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484569":["hashtag1","hashtag2"]},{"1391484527":["hashtag1","hashtag2"]},{"1391484580":["hashtag1","hashtag2"]},{"1391484583":["hashtag1","hashtag2"]},{"1391484499":["hashtag1","hashtag2"]},{"1391484576":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484569, 1391484527, 1391484580, 1391484583, 1391484499, 1391484576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53050708770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:41:03.397838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_06_2463.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_08_2949.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_12_3062.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_14_2955.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_17_2633.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_21_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_06_2463.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_08_2949.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_12_3062.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_14_2955.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_17_2633.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_21_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484796","1391484734","1391484780","1391484777","1391484762","1391484801"],"photo_ids_order":["1391484734","1391484762","1391484777","1391484780","1391484796","1391484801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb9c59fb6c6c713a616162e84e2f24ca.jpg","text":"TemporaryFile(/tmp/multipartBody4277748398413496536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_17_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/647711499b58aec049dd8b5ed64ddb69.jpg","text":"TemporaryFile(/tmp/multipartBody3750497079835134895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_06_2463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bde47e5d06d99f60e15385665225ba7.jpg","text":"TemporaryFile(/tmp/multipartBody781329794866652395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_14_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8469477a39626b48c5e997acad0da8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3812955122362095017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_12_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7f9b94547cc9ead85c45b97e9e573f9.jpg","text":"TemporaryFile(/tmp/multipartBody3311301807894952948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_08_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8db68ae2b6dcec3c5ccc7b0b6dc062a1.jpg","text":"TemporaryFile(/tmp/multipartBody7446181776425899429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957725630,"filename":"image_29102025_19_51_21_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484777","file1":"1391484762","file0":"1391484734","file4":"1391484796","file5":"1391484801","file3":"1391484780"},"map_files_photo_id_array":[{"photo_id":"1391484801","filename":"file5"},{"photo_id":"1391484777","filename":"file2"},{"photo_id":"1391484796","filename":"file4"},{"photo_id":"1391484762","filename":"file1"},{"photo_id":"1391484734","filename":"file0"},{"photo_id":"1391484780","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484796":["hashtag1","hashtag2"]},{"1391484734":["hashtag1","hashtag2"]},{"1391484780":["hashtag1","hashtag2"]},{"1391484777":["hashtag1","hashtag2"]},{"1391484762":["hashtag1","hashtag2"]},{"1391484801":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484796, 1391484734, 1391484780, 1391484777, 1391484762, 1391484801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.670451164245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:42:02.374545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_23_2616.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_29_3084.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_37_8178.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_43_4237.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_45_1649.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_47_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_23_2616.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_29_3084.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_37_8178.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_43_4237.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_45_1649.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_47_1641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484830","1391484833","1391484841","1391484838","1391484826","1391484834"],"photo_ids_order":["1391484826","1391484830","1391484833","1391484834","1391484838","1391484841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f56410bc90cf02baa6a0d8071491825.jpg","text":"TemporaryFile(/tmp/multipartBody8831195715738239883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_29_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e988b99a65540107767edd7cff7efa99.jpg","text":"TemporaryFile(/tmp/multipartBody9094853566055124665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_37_8178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f112c15d0fc12e6f9d73c3f63a2ccc0.jpg","text":"TemporaryFile(/tmp/multipartBody8296283540461574835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_47_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b35a13f1e55addd081e6a800510f4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2958938306499332230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_45_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/688f98b9871b0a5baac3c32535ca2c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3755816393765011489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_23_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e3ea5713d67891ef463fa4a4979e558.jpg","text":"TemporaryFile(/tmp/multipartBody1430777009028177877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957784530,"filename":"image_29102025_19_51_43_4237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484833","file1":"1391484830","file0":"1391484826","file4":"1391484838","file5":"1391484841","file3":"1391484834"},"map_files_photo_id_array":[{"photo_id":"1391484841","filename":"file5"},{"photo_id":"1391484833","filename":"file2"},{"photo_id":"1391484838","filename":"file4"},{"photo_id":"1391484830","filename":"file1"},{"photo_id":"1391484826","filename":"file0"},{"photo_id":"1391484834","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484830":["hashtag1","hashtag2"]},{"1391484833":["hashtag1","hashtag2"]},{"1391484841":["hashtag1","hashtag2"]},{"1391484838":["hashtag1","hashtag2"]},{"1391484826":["hashtag1","hashtag2"]},{"1391484834":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484830, 1391484833, 1391484841, 1391484838, 1391484826, 1391484834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.278247594833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:42:41.906862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_48_1552.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_50_1790.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_53_2773.jpg', '/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_56_3593.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_01_4785.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_03_1926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_48_1552.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_50_1790.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_53_2773.jpg
/home/pi/Desktop/images/29102025/19/51/image_29102025_19_51_56_3593.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_01_4785.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_03_1926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484916","1391484912","1391484906","1391484855","1391484881","1391484875"],"photo_ids_order":["1391484855","1391484875","1391484881","1391484906","1391484912","1391484916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63137dba0a8360b26cb4aeb19ec3d675.jpg","text":"TemporaryFile(/tmp/multipartBody8053594624221010295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_52_03_1926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd017f1c23b874d4aac714b00d81f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4290440439246239209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_52_01_4785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ead40b4542e37ecf00bcad8c01548c69.jpg","text":"TemporaryFile(/tmp/multipartBody6597946014937348138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_51_56_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7f3c2a43f299a4196a64cab57a13007.jpg","text":"TemporaryFile(/tmp/multipartBody2184741901398003896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_51_48_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d43bbc600ecf5a441e601063ac714ff.jpg","text":"TemporaryFile(/tmp/multipartBody4701568907254634662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_51_53_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e44d2e8ece0d2296adfb4b0639661b88.jpg","text":"TemporaryFile(/tmp/multipartBody5130747077058570512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957823203,"filename":"image_29102025_19_51_50_1790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484881","file1":"1391484875","file0":"1391484855","file4":"1391484912","file5":"1391484916","file3":"1391484906"},"map_files_photo_id_array":[{"photo_id":"1391484916","filename":"file5"},{"photo_id":"1391484881","filename":"file2"},{"photo_id":"1391484912","filename":"file4"},{"photo_id":"1391484875","filename":"file1"},{"photo_id":"1391484855","filename":"file0"},{"photo_id":"1391484906","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484916":["hashtag1","hashtag2"]},{"1391484912":["hashtag1","hashtag2"]},{"1391484906":["hashtag1","hashtag2"]},{"1391484855":["hashtag1","hashtag2"]},{"1391484881":["hashtag1","hashtag2"]},{"1391484875":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484916, 1391484912, 1391484906, 1391484855, 1391484881, 1391484875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.011924028396606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:43:22.114194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_05_1705.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_09_3812.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_13_4472.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_19_5967.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_21_1660.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_22_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_05_1705.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_09_3812.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_13_4472.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_19_5967.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_21_1660.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_22_1753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391484944","1391484938","1391484926","1391484948","1391484933","1391484929"],"photo_ids_order":["1391484926","1391484929","1391484933","1391484938","1391484944","1391484948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4847a5af99bae89ebfd175a5134ad07a.jpg","text":"TemporaryFile(/tmp/multipartBody4119006040009316428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_21_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77f5694b975b7a5385d2b61d6e07ac5c.jpg","text":"TemporaryFile(/tmp/multipartBody982938613169821623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_19_5967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c0c82fc30cbc987718f6ec2f5982579.jpg","text":"TemporaryFile(/tmp/multipartBody5839501063186542807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_05_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ef74e0d44c08da2834251e7767533f0.jpg","text":"TemporaryFile(/tmp/multipartBody1656559029742333493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_22_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/135c964ff782c60f2593c4f2aea82a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4693301839647689452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_13_4472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d03c362a1c25f12d2e68387a4a2211e4.jpg","text":"TemporaryFile(/tmp/multipartBody1867039613585101068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957865210,"filename":"image_29102025_19_52_09_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391484933","file1":"1391484929","file0":"1391484926","file4":"1391484944","file5":"1391484948","file3":"1391484938"},"map_files_photo_id_array":[{"photo_id":"1391484948","filename":"file5"},{"photo_id":"1391484933","filename":"file2"},{"photo_id":"1391484944","filename":"file4"},{"photo_id":"1391484929","filename":"file1"},{"photo_id":"1391484926","filename":"file0"},{"photo_id":"1391484938","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391484944":["hashtag1","hashtag2"]},{"1391484938":["hashtag1","hashtag2"]},{"1391484926":["hashtag1","hashtag2"]},{"1391484948":["hashtag1","hashtag2"]},{"1391484933":["hashtag1","hashtag2"]},{"1391484929":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391484944, 1391484938, 1391484926, 1391484948, 1391484933, 1391484929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96656394004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:44:22.279069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_24_1579.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_26_1679.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_29_3538.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_32_2770.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_35_2627.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_38_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_24_1579.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_26_1679.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_29_3538.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_32_2770.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_35_2627.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_38_3789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485186","1391485135","1391485201","1391485191","1391485181","1391485160"],"photo_ids_order":["1391485135","1391485160","1391485181","1391485186","1391485191","1391485201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18ed0a31dcfc118c6a0c98cf403ff3fa.jpg","text":"TemporaryFile(/tmp/multipartBody1255441334433187135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_32_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e78584338b16ec0a619c5b9af570d99.jpg","text":"TemporaryFile(/tmp/multipartBody2286988146640339726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_24_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2119aeb80747afa774e6796868fed0d.jpg","text":"TemporaryFile(/tmp/multipartBody491390567692587344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_38_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/566512788d6e3fc8d5670149ad24a39a.jpg","text":"TemporaryFile(/tmp/multipartBody1198203488253090116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_35_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cd4bfb7e211ee72021aa329a2b0e564.jpg","text":"TemporaryFile(/tmp/multipartBody998259894772443978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_29_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c624456e0139aefcdbf58b81433f0904.jpg","text":"TemporaryFile(/tmp/multipartBody1047804609714442939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957925749,"filename":"image_29102025_19_52_26_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485181","file1":"1391485160","file0":"1391485135","file4":"1391485191","file5":"1391485201","file3":"1391485186"},"map_files_photo_id_array":[{"photo_id":"1391485201","filename":"file5"},{"photo_id":"1391485181","filename":"file2"},{"photo_id":"1391485191","filename":"file4"},{"photo_id":"1391485160","filename":"file1"},{"photo_id":"1391485135","filename":"file0"},{"photo_id":"1391485186","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485186":["hashtag1","hashtag2"]},{"1391485135":["hashtag1","hashtag2"]},{"1391485201":["hashtag1","hashtag2"]},{"1391485191":["hashtag1","hashtag2"]},{"1391485181":["hashtag1","hashtag2"]},{"1391485160":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485186, 1391485135, 1391485201, 1391485191, 1391485181, 1391485160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01759958267212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:45:22.465149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_41_2737.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_44_2734.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_48_3649.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_50_2654.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_56_2634.jpg', '/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_59_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_41_2737.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_44_2734.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_48_3649.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_50_2654.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_56_2634.jpg
/home/pi/Desktop/images/29102025/19/52/image_29102025_19_52_59_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485320","1391485314","1391485326","1391485331","1391485334","1391485316"],"photo_ids_order":["1391485314","1391485316","1391485320","1391485326","1391485331","1391485334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca4ac6abc687557a6c4b06154553c8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8421655544717073286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_48_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/625e12b35579fcd221d1bd88660866db.jpg","text":"TemporaryFile(/tmp/multipartBody2980710943835910163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_41_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9913813552a8997ac552581cc21ca09d.jpg","text":"TemporaryFile(/tmp/multipartBody239309366924012809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_50_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc21bed1497b6a2515ed75ed3eaea75d.jpg","text":"TemporaryFile(/tmp/multipartBody55393283890132570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_56_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1a752a2b7acaa989dd158db0f9b648a.jpg","text":"TemporaryFile(/tmp/multipartBody1560717437826870294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_59_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e87f9cadd5945dad9f447d475458a5.jpg","text":"TemporaryFile(/tmp/multipartBody1916309762473696303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761957985586,"filename":"image_29102025_19_52_44_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485320","file1":"1391485316","file0":"1391485314","file4":"1391485331","file5":"1391485334","file3":"1391485326"},"map_files_photo_id_array":[{"photo_id":"1391485334","filename":"file5"},{"photo_id":"1391485320","filename":"file2"},{"photo_id":"1391485331","filename":"file4"},{"photo_id":"1391485316","filename":"file1"},{"photo_id":"1391485314","filename":"file0"},{"photo_id":"1391485326","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485320":["hashtag1","hashtag2"]},{"1391485314":["hashtag1","hashtag2"]},{"1391485326":["hashtag1","hashtag2"]},{"1391485331":["hashtag1","hashtag2"]},{"1391485334":["hashtag1","hashtag2"]},{"1391485316":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485320, 1391485314, 1391485326, 1391485331, 1391485334, 1391485316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59605622291565 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:46:22.689229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_02_2662.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_05_2667.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_08_3597.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_11_2551.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_15_3757.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_17_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_02_2662.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_05_2667.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_08_3597.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_11_2551.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_15_3757.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_17_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485366","1391485369","1391485363","1391485359","1391485379","1391485373"],"photo_ids_order":["1391485359","1391485363","1391485366","1391485369","1391485373","1391485379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d73a5625ce02b1100fbf688cf230fac6.jpg","text":"TemporaryFile(/tmp/multipartBody3241255833117961368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_08_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87dd1b653443ce8c9f42d57bd0a1d0fa.jpg","text":"TemporaryFile(/tmp/multipartBody823038709646242247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_11_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c45f56abe4a2aae506979a188b861dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3702880988716378900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_05_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e70f14533808f2aed8d534d1d196772e.jpg","text":"TemporaryFile(/tmp/multipartBody5346299529100091139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_02_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e96682d3bb3736f642ecf8910ab43e13.jpg","text":"TemporaryFile(/tmp/multipartBody998078757367374988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_17_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f1c5d021c8028719c4c894e8e24c28f.jpg","text":"TemporaryFile(/tmp/multipartBody7888390104296338554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958045458,"filename":"image_29102025_19_53_15_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485366","file1":"1391485363","file0":"1391485359","file4":"1391485373","file5":"1391485379","file3":"1391485369"},"map_files_photo_id_array":[{"photo_id":"1391485379","filename":"file5"},{"photo_id":"1391485366","filename":"file2"},{"photo_id":"1391485373","filename":"file4"},{"photo_id":"1391485363","filename":"file1"},{"photo_id":"1391485359","filename":"file0"},{"photo_id":"1391485369","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485366":["hashtag1","hashtag2"]},{"1391485369":["hashtag1","hashtag2"]},{"1391485363":["hashtag1","hashtag2"]},{"1391485359":["hashtag1","hashtag2"]},{"1391485379":["hashtag1","hashtag2"]},{"1391485373":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485366, 1391485369, 1391485363, 1391485359, 1391485379, 1391485373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50102734565735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:47:02.727092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_20_2569.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_23_3690.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_26_2697.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_29_2819.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_32_2741.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_35_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_20_2569.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_23_3690.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_26_2697.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_29_2819.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_32_2741.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_35_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485465","1391485435","1391485402","1391485461","1391485449","1391485442"],"photo_ids_order":["1391485402","1391485435","1391485442","1391485449","1391485461","1391485465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b74ead693b81d1b4b63be9a65d0c550.jpg","text":"TemporaryFile(/tmp/multipartBody751748714924465284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_35_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8fe4ed513d873ccb7ec1bdb54b34ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1423886088642763858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_23_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a2910cf98cfa9ee8d724ce61f1012aa.jpg","text":"TemporaryFile(/tmp/multipartBody530818485236389813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_20_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/866bdfb8584fa5348d213d954f1f24af.jpg","text":"TemporaryFile(/tmp/multipartBody6031772474715962891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_32_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26772ed5a36d135091cdfae5c571862b.jpg","text":"TemporaryFile(/tmp/multipartBody895368662165401066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_29_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d684adb5f254fac3c8a7b05766fe8b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1353305987420313083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958085012,"filename":"image_29102025_19_53_26_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485442","file1":"1391485435","file0":"1391485402","file4":"1391485461","file5":"1391485465","file3":"1391485449"},"map_files_photo_id_array":[{"photo_id":"1391485465","filename":"file5"},{"photo_id":"1391485442","filename":"file2"},{"photo_id":"1391485461","filename":"file4"},{"photo_id":"1391485435","filename":"file1"},{"photo_id":"1391485402","filename":"file0"},{"photo_id":"1391485449","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485465":["hashtag1","hashtag2"]},{"1391485435":["hashtag1","hashtag2"]},{"1391485402":["hashtag1","hashtag2"]},{"1391485461":["hashtag1","hashtag2"]},{"1391485449":["hashtag1","hashtag2"]},{"1391485442":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485465, 1391485435, 1391485402, 1391485461, 1391485449, 1391485442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35897207260132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:48:02.588726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_38_2911.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_41_2661.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_47_3628.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_50_2634.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_53_2665.jpg', '/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_56_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_38_2911.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_41_2661.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_47_3628.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_50_2634.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_53_2665.jpg
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_56_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485492","1391485494","1391485500","1391485503","1391485496","1391485490"],"photo_ids_order":["1391485490","1391485492","1391485494","1391485496","1391485500","1391485503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2d992790a95c23f74a7f53843cc27c5.jpg","text":"TemporaryFile(/tmp/multipartBody4925343197006814356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_41_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e08f9c2b7ab5fb5f0b525de63c4a85.jpg","text":"TemporaryFile(/tmp/multipartBody1055692024162413356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_47_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a4c35c1a117d40634f3e6464ed1b952.jpg","text":"TemporaryFile(/tmp/multipartBody7079642846667328350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_53_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7347daa63441613db9d963976817e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4028077514439173293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_56_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92185d3e4ea995ba3c2a7d453df600ac.jpg","text":"TemporaryFile(/tmp/multipartBody7803253294695833035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_50_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97eb69b72616f7d034bc8eb54b063899.jpg","text":"TemporaryFile(/tmp/multipartBody6271900308364333210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958144815,"filename":"image_29102025_19_53_38_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485494","file1":"1391485492","file0":"1391485490","file4":"1391485500","file5":"1391485503","file3":"1391485496"},"map_files_photo_id_array":[{"photo_id":"1391485503","filename":"file5"},{"photo_id":"1391485494","filename":"file2"},{"photo_id":"1391485500","filename":"file4"},{"photo_id":"1391485492","filename":"file1"},{"photo_id":"1391485490","filename":"file0"},{"photo_id":"1391485496","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485492":["hashtag1","hashtag2"]},{"1391485494":["hashtag1","hashtag2"]},{"1391485500":["hashtag1","hashtag2"]},{"1391485503":["hashtag1","hashtag2"]},{"1391485496":["hashtag1","hashtag2"]},{"1391485490":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485492, 1391485494, 1391485500, 1391485503, 1391485496, 1391485490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6738920211792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:48:42.308109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_59_2641.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_02_2559.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_05_3631.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_08_2653.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_14_3851.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_17_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/53/image_29102025_19_53_59_2641.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_02_2559.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_05_3631.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_08_2653.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_14_3851.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_17_2534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485517","1391485534","1391485531","1391485525","1391485521","1391485529"],"photo_ids_order":["1391485517","1391485521","1391485525","1391485529","1391485531","1391485534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0f315d9898c7d94177cd42e93b91f54.jpg","text":"TemporaryFile(/tmp/multipartBody2304826830314584641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_53_59_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0d86b934b9d3efef6db8ea4a27fd973.jpg","text":"TemporaryFile(/tmp/multipartBody8851625921891971094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_54_17_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f5d654e5db129468c75935a1b31f36e.jpg","text":"TemporaryFile(/tmp/multipartBody5479680789803895663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_54_14_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/247093d8bc4eeb18d1e4b6e27f05302d.jpg","text":"TemporaryFile(/tmp/multipartBody1894616583118277584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_54_05_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f2c99632707bdc410200de36b8e1cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2514512268509183530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_54_02_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ac39150dc4de81f82effac780103b42.jpg","text":"TemporaryFile(/tmp/multipartBody5275262040851419209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958183469,"filename":"image_29102025_19_54_08_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485525","file1":"1391485521","file0":"1391485517","file4":"1391485531","file5":"1391485534","file3":"1391485529"},"map_files_photo_id_array":[{"photo_id":"1391485534","filename":"file5"},{"photo_id":"1391485525","filename":"file2"},{"photo_id":"1391485531","filename":"file4"},{"photo_id":"1391485521","filename":"file1"},{"photo_id":"1391485517","filename":"file0"},{"photo_id":"1391485529","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485517":["hashtag1","hashtag2"]},{"1391485534":["hashtag1","hashtag2"]},{"1391485531":["hashtag1","hashtag2"]},{"1391485525":["hashtag1","hashtag2"]},{"1391485521":["hashtag1","hashtag2"]},{"1391485529":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485517, 1391485534, 1391485531, 1391485525, 1391485521, 1391485529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4439651966095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:49:22.537771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_19_2577.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_23_3900.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_26_2619.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_29_2737.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_31_2750.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_35_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_19_2577.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_23_3900.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_26_2619.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_29_2737.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_31_2750.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_35_3785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485546","1391485543","1391485560","1391485556","1391485541","1391485550"],"photo_ids_order":["1391485541","1391485543","1391485546","1391485550","1391485556","1391485560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4762315a2595b9b2f0883710ee9c6006.jpg","text":"TemporaryFile(/tmp/multipartBody3657745918830784243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_26_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edd4f425bf0615263966326dde9bc492.jpg","text":"TemporaryFile(/tmp/multipartBody5734670039992920841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_23_3900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6684265bb569a853e4f83ae247375f7.jpg","text":"TemporaryFile(/tmp/multipartBody5655966324575907507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_35_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bf6825f9839ed8976d1c3cf30ff202e.jpg","text":"TemporaryFile(/tmp/multipartBody2489695921384285105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8f44f3f76c1959f61698891d518327e.jpg","text":"TemporaryFile(/tmp/multipartBody1797166036356561245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_19_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78ce23172030adda22ad187dd284edd4.jpg","text":"TemporaryFile(/tmp/multipartBody1921129241286355350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958225253,"filename":"image_29102025_19_54_29_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485546","file1":"1391485543","file0":"1391485541","file4":"1391485556","file5":"1391485560","file3":"1391485550"},"map_files_photo_id_array":[{"photo_id":"1391485560","filename":"file5"},{"photo_id":"1391485546","filename":"file2"},{"photo_id":"1391485556","filename":"file4"},{"photo_id":"1391485543","filename":"file1"},{"photo_id":"1391485541","filename":"file0"},{"photo_id":"1391485550","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485546":["hashtag1","hashtag2"]},{"1391485543":["hashtag1","hashtag2"]},{"1391485560":["hashtag1","hashtag2"]},{"1391485556":["hashtag1","hashtag2"]},{"1391485541":["hashtag1","hashtag2"]},{"1391485550":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485546, 1391485543, 1391485560, 1391485556, 1391485541, 1391485550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.331806898117065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:50:03.070425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_38_2558.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_40_2666.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_44_3715.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_47_2819.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_50_2675.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_53_3205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_38_2558.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_40_2666.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_44_3715.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_47_2819.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_50_2675.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_53_3205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485573","1391485576","1391485609","1391485603","1391485606","1391485592"],"photo_ids_order":["1391485573","1391485576","1391485592","1391485603","1391485606","1391485609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5169ea3d7042fabcde650930b8c2d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody9015419356160893003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_38_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ce514cb39aea490c032e1220c1ead15.jpg","text":"TemporaryFile(/tmp/multipartBody5790693385280649371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_40_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70496a06e34f83044509dc14331639f9.jpg","text":"TemporaryFile(/tmp/multipartBody9099737457817248540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_53_3205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d813c20daf02f5df2fea68bb7aac5ef.jpg","text":"TemporaryFile(/tmp/multipartBody8348984782272546938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_47_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa4509d0a0f79e7f73a89db82432b27d.jpg","text":"TemporaryFile(/tmp/multipartBody3327533495376709055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/111c3eb64b2df3289a624266c1b261c6.jpg","text":"TemporaryFile(/tmp/multipartBody4240365571776967969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958265344,"filename":"image_29102025_19_54_44_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485592","file1":"1391485576","file0":"1391485573","file4":"1391485606","file5":"1391485609","file3":"1391485603"},"map_files_photo_id_array":[{"photo_id":"1391485609","filename":"file5"},{"photo_id":"1391485592","filename":"file2"},{"photo_id":"1391485606","filename":"file4"},{"photo_id":"1391485576","filename":"file1"},{"photo_id":"1391485573","filename":"file0"},{"photo_id":"1391485603","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485573":["hashtag1","hashtag2"]},{"1391485576":["hashtag1","hashtag2"]},{"1391485609":["hashtag1","hashtag2"]},{"1391485603":["hashtag1","hashtag2"]},{"1391485606":["hashtag1","hashtag2"]},{"1391485592":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485573, 1391485576, 1391485609, 1391485603, 1391485606, 1391485592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72717571258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:50:42.732152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_56_2715.jpg', '/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_59_3767.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_02_2698.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_05_2959.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_10_2719.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_14_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_56_2715.jpg
/home/pi/Desktop/images/29102025/19/54/image_29102025_19_54_59_3767.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_02_2698.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_05_2959.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_10_2719.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_14_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485699","1391485653","1391485713","1391485676","1391485727","1391485696"],"photo_ids_order":["1391485653","1391485676","1391485696","1391485699","1391485713","1391485727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dc2a27f5081c4569031b3b7383268ad.jpg","text":"TemporaryFile(/tmp/multipartBody4114196900771394391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_55_05_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6900d74481ed077954f27d72559d3614.jpg","text":"TemporaryFile(/tmp/multipartBody5217042342622380714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_54_56_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14e3a70d0cd58da2911f137fae73b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody1008482714895449657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_55_10_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ad90f2e0bbc2915d73bc309425c226c.jpg","text":"TemporaryFile(/tmp/multipartBody6579573664336528499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_54_59_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/225483a2f7b6dfd98e9476a8cf088097.jpg","text":"TemporaryFile(/tmp/multipartBody1377498340265937654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_55_14_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6972df27729ca8698d0c578950363b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8501402119871861812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958303936,"filename":"image_29102025_19_55_02_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485696","file1":"1391485676","file0":"1391485653","file4":"1391485713","file5":"1391485727","file3":"1391485699"},"map_files_photo_id_array":[{"photo_id":"1391485727","filename":"file5"},{"photo_id":"1391485696","filename":"file2"},{"photo_id":"1391485713","filename":"file4"},{"photo_id":"1391485676","filename":"file1"},{"photo_id":"1391485653","filename":"file0"},{"photo_id":"1391485699","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485699":["hashtag1","hashtag2"]},{"1391485653":["hashtag1","hashtag2"]},{"1391485713":["hashtag1","hashtag2"]},{"1391485676":["hashtag1","hashtag2"]},{"1391485727":["hashtag1","hashtag2"]},{"1391485696":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485699, 1391485653, 1391485713, 1391485676, 1391485727, 1391485696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.364293575286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:51:21.812560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_20_2772.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_22_2691.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_26_3723.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_29_3030.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_32_2672.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_35_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_20_2772.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_22_2691.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_26_3723.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_29_3030.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_32_2672.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_35_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485753","1391485747","1391485741","1391485738","1391485742","1391485745"],"photo_ids_order":["1391485738","1391485741","1391485742","1391485745","1391485747","1391485753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a01f8cf233c63e084376c561aff9918.jpg","text":"TemporaryFile(/tmp/multipartBody3255399384144123256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_35_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dbecba6775cc47e2de8e67b20a59a08.jpg","text":"TemporaryFile(/tmp/multipartBody4965535185634263635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_32_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d820f596e8ec13884abc4d3dc6bab5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8236152715477689232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_22_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a30ce57312f3b76e99653d4e424899ec.jpg","text":"TemporaryFile(/tmp/multipartBody848768353610054999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_20_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57002829c863656fc642ef94485b42cb.jpg","text":"TemporaryFile(/tmp/multipartBody6345303352208626445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_26_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b75ba4685b3e919cfb1784eeb9c16cde.jpg","text":"TemporaryFile(/tmp/multipartBody4058335684437792016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958344565,"filename":"image_29102025_19_55_29_3030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485742","file1":"1391485741","file0":"1391485738","file4":"1391485747","file5":"1391485753","file3":"1391485745"},"map_files_photo_id_array":[{"photo_id":"1391485753","filename":"file5"},{"photo_id":"1391485742","filename":"file2"},{"photo_id":"1391485747","filename":"file4"},{"photo_id":"1391485741","filename":"file1"},{"photo_id":"1391485738","filename":"file0"},{"photo_id":"1391485745","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485753":["hashtag1","hashtag2"]},{"1391485747":["hashtag1","hashtag2"]},{"1391485741":["hashtag1","hashtag2"]},{"1391485738":["hashtag1","hashtag2"]},{"1391485742":["hashtag1","hashtag2"]},{"1391485745":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485753, 1391485747, 1391485741, 1391485738, 1391485742, 1391485745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22451710700989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:52:02.605107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_38_2984.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_40_2758.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_44_3642.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_47_2688.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_49_2747.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_53_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_38_2984.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_40_2758.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_44_3642.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_47_2688.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_49_2747.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_53_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485777","1391485768","1391485779","1391485772","1391485781","1391485775"],"photo_ids_order":["1391485768","1391485772","1391485775","1391485777","1391485779","1391485781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb947ea5a59555d9db74558cd008822f.jpg","text":"TemporaryFile(/tmp/multipartBody825402475283079926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_47_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a51595b678b2aa5ff4632d6ce216a432.jpg","text":"TemporaryFile(/tmp/multipartBody6309976873244919043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_38_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/261ab5eac85df1f93b3e6f62483fb619.jpg","text":"TemporaryFile(/tmp/multipartBody1397457318445952859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_49_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/896ec7b82c38bd4c0cd23bdb56f0c470.jpg","text":"TemporaryFile(/tmp/multipartBody4812914386334961104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_40_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9103994bc1918ac2683bd2dda6bd3a59.jpg","text":"TemporaryFile(/tmp/multipartBody2718053642848797341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_53_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8e68f862724a486d532afce07787f36.jpg","text":"TemporaryFile(/tmp/multipartBody1548400678188910381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958384865,"filename":"image_29102025_19_55_44_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485775","file1":"1391485772","file0":"1391485768","file4":"1391485779","file5":"1391485781","file3":"1391485777"},"map_files_photo_id_array":[{"photo_id":"1391485781","filename":"file5"},{"photo_id":"1391485775","filename":"file2"},{"photo_id":"1391485779","filename":"file4"},{"photo_id":"1391485772","filename":"file1"},{"photo_id":"1391485768","filename":"file0"},{"photo_id":"1391485777","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485777":["hashtag1","hashtag2"]},{"1391485768":["hashtag1","hashtag2"]},{"1391485779":["hashtag1","hashtag2"]},{"1391485772":["hashtag1","hashtag2"]},{"1391485781":["hashtag1","hashtag2"]},{"1391485775":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485777, 1391485768, 1391485779, 1391485772, 1391485781, 1391485775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50703048706055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 01:52:42.146433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_56_2689.jpg', '/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_59_3010.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_01_2723.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_14_3618.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_33_19370.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_35_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_56_2689.jpg
/home/pi/Desktop/images/29102025/19/55/image_29102025_19_55_59_3010.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_01_2723.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_14_3618.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_33_19370.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_35_1742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391485864","1391485813","1391485801","1391485819","1391485821","1391485795"],"photo_ids_order":["1391485795","1391485801","1391485813","1391485819","1391485821","1391485864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b85935e9a009c82655b4b6ad874ef28.jpg","text":"TemporaryFile(/tmp/multipartBody3470758747301072930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_56_35_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e54f381a04926f58f43a0c3f6a5502d7.jpg","text":"TemporaryFile(/tmp/multipartBody874938544127941283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_56_01_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d5b7b0d7e0aa47a15e59904551b78c.jpg","text":"TemporaryFile(/tmp/multipartBody7424997078805958095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_55_59_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1754650b151d0730cbf3e541334620b3.jpg","text":"TemporaryFile(/tmp/multipartBody5452606974640090914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_56_14_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d282ec438795384b2e91e6abecbc682.jpg","text":"TemporaryFile(/tmp/multipartBody4581485464556246318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_56_33_19370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b492f6713df3130539107b2680472f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8836105017495074974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958423311,"filename":"image_29102025_19_55_56_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391485813","file1":"1391485801","file0":"1391485795","file4":"1391485821","file5":"1391485864","file3":"1391485819"},"map_files_photo_id_array":[{"photo_id":"1391485864","filename":"file5"},{"photo_id":"1391485813","filename":"file2"},{"photo_id":"1391485821","filename":"file4"},{"photo_id":"1391485801","filename":"file1"},{"photo_id":"1391485795","filename":"file0"},{"photo_id":"1391485819","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391485864":["hashtag1","hashtag2"]},{"1391485813":["hashtag1","hashtag2"]},{"1391485801":["hashtag1","hashtag2"]},{"1391485819":["hashtag1","hashtag2"]},{"1391485821":["hashtag1","hashtag2"]},{"1391485795":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391485864, 1391485813, 1391485801, 1391485819, 1391485821, 1391485795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.046672105789185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 01:53:22.893791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_37_1673.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_40_1659.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_43_1655.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_45_1540.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_47_1810.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_48_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_37_1673.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_40_1659.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_43_1655.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_45_1540.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_47_1810.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_48_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391486050","1391486148","1391486106","1391486156","1391486153","1391486161"],"photo_ids_order":["1391486050","1391486106","1391486148","1391486153","1391486156","1391486161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/081403b0dc6acfeda6db8d79023f3040.jpg","text":"TemporaryFile(/tmp/multipartBody6553001994559184957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_37_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc76a5b2d8324a1acd4fb6bb5298a9a3.jpg","text":"TemporaryFile(/tmp/multipartBody1467699676754398317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_43_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37101619d49d3b43b2716b9f26cce80d.jpg","text":"TemporaryFile(/tmp/multipartBody6448262568564968440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_40_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0c3b6ecd693b31eeaa6441f992edb68.jpg","text":"TemporaryFile(/tmp/multipartBody2422741093827390428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_47_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae9d8e736e71a0b6aed90165b5883074.jpg","text":"TemporaryFile(/tmp/multipartBody2576660544107884481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_45_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1c02e923d1620fd098a8e77f3cea525.jpg","text":"TemporaryFile(/tmp/multipartBody6875418779712876701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958465307,"filename":"image_29102025_19_56_48_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391486148","file1":"1391486106","file0":"1391486050","file4":"1391486156","file5":"1391486161","file3":"1391486153"},"map_files_photo_id_array":[{"photo_id":"1391486161","filename":"file5"},{"photo_id":"1391486148","filename":"file2"},{"photo_id":"1391486156","filename":"file4"},{"photo_id":"1391486106","filename":"file1"},{"photo_id":"1391486050","filename":"file0"},{"photo_id":"1391486153","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391486050":["hashtag1","hashtag2"]},{"1391486148":["hashtag1","hashtag2"]},{"1391486106":["hashtag1","hashtag2"]},{"1391486156":["hashtag1","hashtag2"]},{"1391486153":["hashtag1","hashtag2"]},{"1391486161":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391486050, 1391486148, 1391486106, 1391486156, 1391486153, 1391486161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95760202407837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:54:02.945671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_50_1623.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_52_1804.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_53_1555.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_56_2642.jpg', '/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_59_2763.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_02_2968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_50_1623.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_52_1804.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_53_1555.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_56_2642.jpg
/home/pi/Desktop/images/29102025/19/56/image_29102025_19_56_59_2763.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_02_2968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391486184","1391486316","1391486174","1391486336","1391486225","1391486269"],"photo_ids_order":["1391486174","1391486184","1391486225","1391486269","1391486316","1391486336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5abc5e5b7b52e37e1cde9045156bfc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7776958216662049106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_56_52_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49ce3ecc35d5776627d2c683dd09c597.jpg","text":"TemporaryFile(/tmp/multipartBody3813295029958182459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_56_59_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8260850ec8505a8f90e098b8fc77e311.jpg","text":"TemporaryFile(/tmp/multipartBody2851848666350074319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_56_50_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a7a5d673db1717f5d02fe547ec0c3ce.jpg","text":"TemporaryFile(/tmp/multipartBody2187666933491066589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_57_02_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb392664e1349b57540fe6f6da9609e3.jpg","text":"TemporaryFile(/tmp/multipartBody5370399511750441600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_56_53_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95e19073bda7a44574e0970e491aa914.jpg","text":"TemporaryFile(/tmp/multipartBody1097039624525925153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958505139,"filename":"image_29102025_19_56_56_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391486225","file1":"1391486184","file0":"1391486174","file4":"1391486316","file5":"1391486336","file3":"1391486269"},"map_files_photo_id_array":[{"photo_id":"1391486336","filename":"file5"},{"photo_id":"1391486225","filename":"file2"},{"photo_id":"1391486316","filename":"file4"},{"photo_id":"1391486184","filename":"file1"},{"photo_id":"1391486174","filename":"file0"},{"photo_id":"1391486269","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391486184":["hashtag1","hashtag2"]},{"1391486316":["hashtag1","hashtag2"]},{"1391486174":["hashtag1","hashtag2"]},{"1391486336":["hashtag1","hashtag2"]},{"1391486225":["hashtag1","hashtag2"]},{"1391486269":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391486184, 1391486316, 1391486174, 1391486336, 1391486225, 1391486269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.811487913131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:55:03.087223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_04_2675.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_08_3626.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_11_2688.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_13_2576.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_17_3650.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_20_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_04_2675.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_08_3626.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_11_2688.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_13_2576.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_17_3650.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_20_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391486512","1391486515","1391486475","1391486478","1391486519","1391486479"],"photo_ids_order":["1391486475","1391486478","1391486479","1391486512","1391486515","1391486519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6ba5ffb006dbb734a229e710ba2704f.jpg","text":"TemporaryFile(/tmp/multipartBody3277069490045756362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_13_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79b4db3aac26f119d8041b68a1da0628.jpg","text":"TemporaryFile(/tmp/multipartBody8495071207901583838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_17_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4d8f87dfa1f9c9051ac5847d6884a99.jpg","text":"TemporaryFile(/tmp/multipartBody6051252262234401613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_04_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68f886d9325c74a44bad0125e1c0a173.jpg","text":"TemporaryFile(/tmp/multipartBody5024207997110023214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_08_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c17bff6c7356277c71cdb4bf6a88b09.jpg","text":"TemporaryFile(/tmp/multipartBody5828612172136753289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_20_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d846ebccdbe0366c8f88b186dd6f859.jpg","text":"TemporaryFile(/tmp/multipartBody7272237861612399108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958565317,"filename":"image_29102025_19_57_11_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391486479","file1":"1391486478","file0":"1391486475","file4":"1391486515","file5":"1391486519","file3":"1391486512"},"map_files_photo_id_array":[{"photo_id":"1391486519","filename":"file5"},{"photo_id":"1391486479","filename":"file2"},{"photo_id":"1391486515","filename":"file4"},{"photo_id":"1391486478","filename":"file1"},{"photo_id":"1391486475","filename":"file0"},{"photo_id":"1391486512","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391486512":["hashtag1","hashtag2"]},{"1391486515":["hashtag1","hashtag2"]},{"1391486475":["hashtag1","hashtag2"]},{"1391486478":["hashtag1","hashtag2"]},{"1391486519":["hashtag1","hashtag2"]},{"1391486479":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391486512, 1391486515, 1391486475, 1391486478, 1391486519, 1391486479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13646125793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:56:02.960075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_25_5135.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_27_1784.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_28_1620.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_32_4365.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_34_1747.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_46_1882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_25_5135.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_27_1784.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_28_1620.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_32_4365.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_34_1747.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_46_1882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391486536","1391486541","1391486570","1391486576","1391486549","1391486545"],"photo_ids_order":["1391486536","1391486541","1391486545","1391486549","1391486570","1391486576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1949cfaf6121dae9a2a1ba84db6acfca.jpg","text":"TemporaryFile(/tmp/multipartBody8690179243656954639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_25_5135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/893ab33118887e023a819b0f06a72eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5648977052134542434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_27_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb7f2128b8c524e27493e3d836991318.jpg","text":"TemporaryFile(/tmp/multipartBody7912804193932797699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_34_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8d87c69d8e90d68e5f7d07f02befcce.jpg","text":"TemporaryFile(/tmp/multipartBody3938891011139638796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_46_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4683cb951c58412ae631119ab668abb1.jpg","text":"TemporaryFile(/tmp/multipartBody981474716526846628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_32_4365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/080b094fa6a22e794d84faf474f38160.jpg","text":"TemporaryFile(/tmp/multipartBody9076672042065547454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958625114,"filename":"image_29102025_19_57_28_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391486545","file1":"1391486541","file0":"1391486536","file4":"1391486570","file5":"1391486576","file3":"1391486549"},"map_files_photo_id_array":[{"photo_id":"1391486576","filename":"file5"},{"photo_id":"1391486545","filename":"file2"},{"photo_id":"1391486570","filename":"file4"},{"photo_id":"1391486541","filename":"file1"},{"photo_id":"1391486536","filename":"file0"},{"photo_id":"1391486549","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391486536":["hashtag1","hashtag2"]},{"1391486541":["hashtag1","hashtag2"]},{"1391486570":["hashtag1","hashtag2"]},{"1391486576":["hashtag1","hashtag2"]},{"1391486549":["hashtag1","hashtag2"]},{"1391486545":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391486536, 1391486541, 1391486570, 1391486576, 1391486549, 1391486545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.288037061691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:57:03.503539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_50_3186.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_51_1784.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_55_3213.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_56_1696.jpg', '/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_58_1631.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_01_3479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_50_3186.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_51_1784.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_55_3213.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_56_1696.jpg
/home/pi/Desktop/images/29102025/19/57/image_29102025_19_57_58_1631.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_01_3479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391486647","1391486632","1391486635","1391486643","1391486639","1391486630"],"photo_ids_order":["1391486630","1391486632","1391486635","1391486639","1391486643","1391486647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6a945598ec2bc4cd16716e0580c06c2.jpg","text":"TemporaryFile(/tmp/multipartBody9055188377160521285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_58_01_3479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/852ee40f10fd46a38c38f696dd7bc6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3222173548593198184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_57_51_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e791b895ee2ba8b34b3144a91fff8c7.jpg","text":"TemporaryFile(/tmp/multipartBody6122500109179937302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_57_55_3213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f35caafd5ae5b44b786a1e7d41c72e1.jpg","text":"TemporaryFile(/tmp/multipartBody2574382851312654789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_57_58_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1494288da7863e81f51892271790a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2144903164924377076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_57_56_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d816798c4de80086d1317d0f449da72d.jpg","text":"TemporaryFile(/tmp/multipartBody4161157290047091461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958685736,"filename":"image_29102025_19_57_50_3186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391486635","file1":"1391486632","file0":"1391486630","file4":"1391486643","file5":"1391486647","file3":"1391486639"},"map_files_photo_id_array":[{"photo_id":"1391486647","filename":"file5"},{"photo_id":"1391486635","filename":"file2"},{"photo_id":"1391486643","filename":"file4"},{"photo_id":"1391486632","filename":"file1"},{"photo_id":"1391486630","filename":"file0"},{"photo_id":"1391486639","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391486647":["hashtag1","hashtag2"]},{"1391486632":["hashtag1","hashtag2"]},{"1391486635":["hashtag1","hashtag2"]},{"1391486643":["hashtag1","hashtag2"]},{"1391486639":["hashtag1","hashtag2"]},{"1391486630":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391486647, 1391486632, 1391486635, 1391486643, 1391486639, 1391486630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53342366218567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 01:59:02.945238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_03_1864.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_05_1801.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_08_2700.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_10_2581.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_13_2865.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_17_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_03_1864.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_05_1801.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_08_2700.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_10_2581.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_13_2865.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_17_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391487030","1391487036","1391487041","1391487050","1391487044","1391487025"],"photo_ids_order":["1391487025","1391487030","1391487036","1391487041","1391487044","1391487050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cac58fce419575d81613cda53743108e.jpg","text":"TemporaryFile(/tmp/multipartBody1304954964279168691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_05_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/788750631706b2b52ad747daf89179ca.jpg","text":"TemporaryFile(/tmp/multipartBody6041038186659771063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_08_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5f4acefacbf7eff2677ff2297c376e5.jpg","text":"TemporaryFile(/tmp/multipartBody3184974579893714396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_10_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90dbe1b173d6728bdb70ba9375f156d8.jpg","text":"TemporaryFile(/tmp/multipartBody4956918258133740993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_17_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa871bfd850c27b136c6b86d6aab7ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4537485610024903929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_13_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60dcac9912e4f73117df08bdf480bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3248004254368699311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958805507,"filename":"image_29102025_19_58_03_1864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391487036","file1":"1391487030","file0":"1391487025","file4":"1391487044","file5":"1391487050","file3":"1391487041"},"map_files_photo_id_array":[{"photo_id":"1391487050","filename":"file5"},{"photo_id":"1391487036","filename":"file2"},{"photo_id":"1391487044","filename":"file4"},{"photo_id":"1391487030","filename":"file1"},{"photo_id":"1391487025","filename":"file0"},{"photo_id":"1391487041","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391487030":["hashtag1","hashtag2"]},{"1391487036":["hashtag1","hashtag2"]},{"1391487041":["hashtag1","hashtag2"]},{"1391487050":["hashtag1","hashtag2"]},{"1391487044":["hashtag1","hashtag2"]},{"1391487025":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391487030, 1391487036, 1391487041, 1391487050, 1391487044, 1391487025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36386728286743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:00:02.710932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_19_2628.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_23_3528.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_29_1551.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_32_2638.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_34_2827.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_37_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_19_2628.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_23_3528.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_29_1551.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_32_2638.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_34_2827.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_37_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391487258","1391487074","1391487122","1391487079","1391487172","1391487217"],"photo_ids_order":["1391487074","1391487079","1391487122","1391487172","1391487217","1391487258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a032b8c061ec050d8ec1af0f8c2e5a2.jpg","text":"TemporaryFile(/tmp/multipartBody157877551601270685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_37_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5c80c5a1203d43f36996367ce4924b7.jpg","text":"TemporaryFile(/tmp/multipartBody8587665053594165167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_19_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85047fb2b767b692ff9ba4ff7ccd3d34.jpg","text":"TemporaryFile(/tmp/multipartBody5142214344879624975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_29_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01a7864cf654a7afb193d347d20b009c.jpg","text":"TemporaryFile(/tmp/multipartBody6350793966449930936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_23_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48ad22d4bcc8c1c94beccfbb55d87736.jpg","text":"TemporaryFile(/tmp/multipartBody602195545237866532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_32_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1fdb7eb2d584092364c79d7d29c384f.jpg","text":"TemporaryFile(/tmp/multipartBody7143431386028117979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958865365,"filename":"image_29102025_19_58_34_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391487122","file1":"1391487079","file0":"1391487074","file4":"1391487217","file5":"1391487258","file3":"1391487172"},"map_files_photo_id_array":[{"photo_id":"1391487258","filename":"file5"},{"photo_id":"1391487122","filename":"file2"},{"photo_id":"1391487217","filename":"file4"},{"photo_id":"1391487079","filename":"file1"},{"photo_id":"1391487074","filename":"file0"},{"photo_id":"1391487172","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391487258":["hashtag1","hashtag2"]},{"1391487074":["hashtag1","hashtag2"]},{"1391487122":["hashtag1","hashtag2"]},{"1391487079":["hashtag1","hashtag2"]},{"1391487172":["hashtag1","hashtag2"]},{"1391487217":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391487258, 1391487074, 1391487122, 1391487079, 1391487172, 1391487217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.942221879959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:01:03.105086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_41_3642.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_43_2610.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_46_2606.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_49_3422.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_52_2828.jpg', '/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_55_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_41_3642.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_43_2610.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_46_2606.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_49_3422.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_52_2828.jpg
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_55_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391487666","1391487708","1391487749","1391487625","1391487795","1391487582"],"photo_ids_order":["1391487582","1391487625","1391487666","1391487708","1391487749","1391487795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26df6a7e0ab9b873a9576f9b87826d16.jpg","text":"TemporaryFile(/tmp/multipartBody6207135190697211319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_46_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f6ad8d15269d55c6b2e4a656c34a1a8.jpg","text":"TemporaryFile(/tmp/multipartBody4960680183677978418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_49_3422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbcc513fec81a48f7d508dfef2e1193d.jpg","text":"TemporaryFile(/tmp/multipartBody1848481929524667635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_52_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e428ab946d272b6ea1c7d23772fe227f.jpg","text":"TemporaryFile(/tmp/multipartBody1401978533110812163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_43_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58bfcf3cab7ed6917d497c5df7cac837.jpg","text":"TemporaryFile(/tmp/multipartBody6312417993605263249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_55_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9087ceb701d104aecd37a79b487a74e.jpg","text":"TemporaryFile(/tmp/multipartBody955179224506396268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958926564,"filename":"image_29102025_19_58_41_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391487666","file1":"1391487625","file0":"1391487582","file4":"1391487749","file5":"1391487795","file3":"1391487708"},"map_files_photo_id_array":[{"photo_id":"1391487795","filename":"file5"},{"photo_id":"1391487666","filename":"file2"},{"photo_id":"1391487749","filename":"file4"},{"photo_id":"1391487625","filename":"file1"},{"photo_id":"1391487582","filename":"file0"},{"photo_id":"1391487708","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391487666":["hashtag1","hashtag2"]},{"1391487708":["hashtag1","hashtag2"]},{"1391487749":["hashtag1","hashtag2"]},{"1391487625":["hashtag1","hashtag2"]},{"1391487795":["hashtag1","hashtag2"]},{"1391487582":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391487666, 1391487708, 1391487749, 1391487625, 1391487795, 1391487582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48614025115967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:02:02.997175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_59_3583.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_05_6937.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_07_1682.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_14_3011.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_16_1641.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_18_1777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/58/image_29102025_19_58_59_3583.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_05_6937.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_07_1682.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_14_3011.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_16_1641.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_18_1777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391488475","1391488523","1391488334","1391488564","1391488609","1391488417"],"photo_ids_order":["1391488334","1391488417","1391488475","1391488523","1391488564","1391488609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8cdded770c00fe637a886f14d0ea6e61.jpg","text":"TemporaryFile(/tmp/multipartBody6342058640614097203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_59_07_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8694fa64a55f3e715a07ab421ed37b0.jpg","text":"TemporaryFile(/tmp/multipartBody2568018065555291731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_59_14_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f893d69ca0697e2590d4782118121730.jpg","text":"TemporaryFile(/tmp/multipartBody2599233499351681099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_58_59_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3709edba338a3aa86e8fa2a9f2502c27.jpg","text":"TemporaryFile(/tmp/multipartBody1132440511101502643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_59_16_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc9643d58c337bafafe23a5e154301ad.jpg","text":"TemporaryFile(/tmp/multipartBody2760894225080979714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_59_18_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1639a11f7fe8c3d12d9e6b856b56b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3423783787856633075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761958986900,"filename":"image_29102025_19_59_05_6937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391488475","file1":"1391488417","file0":"1391488334","file4":"1391488564","file5":"1391488609","file3":"1391488523"},"map_files_photo_id_array":[{"photo_id":"1391488609","filename":"file5"},{"photo_id":"1391488475","filename":"file2"},{"photo_id":"1391488564","filename":"file4"},{"photo_id":"1391488417","filename":"file1"},{"photo_id":"1391488334","filename":"file0"},{"photo_id":"1391488523","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391488475":["hashtag1","hashtag2"]},{"1391488523":["hashtag1","hashtag2"]},{"1391488334":["hashtag1","hashtag2"]},{"1391488564":["hashtag1","hashtag2"]},{"1391488609":["hashtag1","hashtag2"]},{"1391488417":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391488475, 1391488523, 1391488334, 1391488564, 1391488609, 1391488417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64953851699829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:03:02.537337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_22_4355.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_24_1685.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_30_1827.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_32_1738.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_35_2710.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_37_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_22_4355.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_24_1685.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_30_1827.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_32_1738.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_35_2710.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_37_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391489267","1391489072","1391488993","1391489440","1391489178","1391489352"],"photo_ids_order":["1391488993","1391489072","1391489178","1391489267","1391489352","1391489440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe04d1b518252f95233dcc97ee28555c.jpg","text":"TemporaryFile(/tmp/multipartBody722199215879239541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_32_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41367afd2efaa683d9dfc8f7d818ff29.jpg","text":"TemporaryFile(/tmp/multipartBody7094227051708751985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_24_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43f71e8b0a68b5778e3857c4f20f652c.jpg","text":"TemporaryFile(/tmp/multipartBody5676525187413926296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_22_4355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ebbd800cfd6fe25de571495ff147ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8004848306949640391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_37_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c332d8e209f775e3ecc77008aae95934.jpg","text":"TemporaryFile(/tmp/multipartBody2493587077812005412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_30_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b92412dc5d2a3a3b31a5490bb5b4c2b.jpg","text":"TemporaryFile(/tmp/multipartBody566442935324608330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959044788,"filename":"image_29102025_19_59_35_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391489178","file1":"1391489072","file0":"1391488993","file4":"1391489352","file5":"1391489440","file3":"1391489267"},"map_files_photo_id_array":[{"photo_id":"1391489440","filename":"file5"},{"photo_id":"1391489178","filename":"file2"},{"photo_id":"1391489352","filename":"file4"},{"photo_id":"1391489072","filename":"file1"},{"photo_id":"1391488993","filename":"file0"},{"photo_id":"1391489267","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391489267":["hashtag1","hashtag2"]},{"1391489072":["hashtag1","hashtag2"]},{"1391488993":["hashtag1","hashtag2"]},{"1391489440":["hashtag1","hashtag2"]},{"1391489178":["hashtag1","hashtag2"]},{"1391489352":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391489267, 1391489072, 1391488993, 1391489440, 1391489178, 1391489352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71256136894226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:03:41.826294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_40_2772.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_43_2682.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_47_3604.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_49_2761.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_53_3535.jpg', '/home/pi/Desktop/images/29102025/19/59/image_29102025_20_00_01_7864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_40_2772.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_43_2682.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_47_3604.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_49_2761.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_19_59_53_3535.jpg
/home/pi/Desktop/images/29102025/19/59/image_29102025_20_00_01_7864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391489930","1391489974","1391489793","1391490139","1391489856","1391490030"],"photo_ids_order":["1391489793","1391489856","1391489930","1391489974","1391490030","1391490139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99301c68ebbf6c57a28b20fd8e44ee7a.jpg","text":"TemporaryFile(/tmp/multipartBody5736614676169087130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_19_59_47_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69bdd0c87d12d7e9c82e961391ec763c.jpg","text":"TemporaryFile(/tmp/multipartBody6225223726593627998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_19_59_49_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19cb10b11b62582f933a4fbc11247a99.jpg","text":"TemporaryFile(/tmp/multipartBody8021111289285712768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_19_59_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba09fd1075e0a022bb4fd7a5c000dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody8448111062822005188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_20_00_01_7864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/174e49bb79f18e8e87537397aa0d68ea.jpg","text":"TemporaryFile(/tmp/multipartBody1797296839674779747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_19_59_43_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1476fd71578fc9b84491ddc852013c25.jpg","text":"TemporaryFile(/tmp/multipartBody7356636966131544843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959082983,"filename":"image_29102025_19_59_53_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391489930","file1":"1391489856","file0":"1391489793","file4":"1391490030","file5":"1391490139","file3":"1391489974"},"map_files_photo_id_array":[{"photo_id":"1391490139","filename":"file5"},{"photo_id":"1391489930","filename":"file2"},{"photo_id":"1391490030","filename":"file4"},{"photo_id":"1391489856","filename":"file1"},{"photo_id":"1391489793","filename":"file0"},{"photo_id":"1391489974","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391489930":["hashtag1","hashtag2"]},{"1391489974":["hashtag1","hashtag2"]},{"1391489793":["hashtag1","hashtag2"]},{"1391490139":["hashtag1","hashtag2"]},{"1391489856":["hashtag1","hashtag2"]},{"1391490030":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391489930, 1391489974, 1391489793, 1391490139, 1391489856, 1391490030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9643657207489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:04:21.984440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_06_1606.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_08_2222.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_17_2756.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_28_2675.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_31_2659.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_35_3798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_06_1606.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_08_2222.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_17_2756.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_28_2675.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_31_2659.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_35_3798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391490216","1391490173","1391490206","1391490209","1391490202","1391490198"],"photo_ids_order":["1391490173","1391490198","1391490202","1391490206","1391490209","1391490216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e840623c85c9c63e2aa9e75de8e0aac7.jpg","text":"TemporaryFile(/tmp/multipartBody3762372130857666847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_35_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1e91ae996c38f9c985422456d261f44.jpg","text":"TemporaryFile(/tmp/multipartBody5930990074676246335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_06_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/201f612555d442f0ce7cae30d99ecd68.jpg","text":"TemporaryFile(/tmp/multipartBody3888718404662428212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_28_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07e836b5ae5d210e2fab25ecfdf152d1.jpg","text":"TemporaryFile(/tmp/multipartBody2114307683154672247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_31_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3535c3bb691bcdf77fa0273803da600.jpg","text":"TemporaryFile(/tmp/multipartBody5541916971484716944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_17_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83ddbeaaa05fb4ebd054425f200808ee.jpg","text":"TemporaryFile(/tmp/multipartBody504703188668663694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959124707,"filename":"image_29102025_20_00_08_2222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391490202","file1":"1391490198","file0":"1391490173","file4":"1391490209","file5":"1391490216","file3":"1391490206"},"map_files_photo_id_array":[{"photo_id":"1391490216","filename":"file5"},{"photo_id":"1391490202","filename":"file2"},{"photo_id":"1391490209","filename":"file4"},{"photo_id":"1391490198","filename":"file1"},{"photo_id":"1391490173","filename":"file0"},{"photo_id":"1391490206","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391490216":["hashtag1","hashtag2"]},{"1391490173":["hashtag1","hashtag2"]},{"1391490206":["hashtag1","hashtag2"]},{"1391490209":["hashtag1","hashtag2"]},{"1391490202":["hashtag1","hashtag2"]},{"1391490198":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391490216, 1391490173, 1391490206, 1391490209, 1391490202, 1391490198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62209987640381 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:05:22.112639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_37_2579.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_40_2688.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_43_2772.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_47_3757.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_51_4339.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_53_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_37_2579.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_40_2688.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_43_2772.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_47_3757.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_51_4339.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_53_1733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391490791","1391490584","1391490676","1391490835","1391490631","1391490879"],"photo_ids_order":["1391490584","1391490631","1391490676","1391490791","1391490835","1391490879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d3834f76ff9eb0182483b340d89cb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4851435031545557818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_47_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fc7ed325d6be334ec6c4bfeb1d9b736.jpg","text":"TemporaryFile(/tmp/multipartBody916180997686565401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_37_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39d2df1c783148300ce0d97dc910747b.jpg","text":"TemporaryFile(/tmp/multipartBody3091064854636264560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_43_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5144f088a75372da5d6d9afc9f54654a.jpg","text":"TemporaryFile(/tmp/multipartBody6745240444457579669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_51_4339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5991a8cb259767bfac64e87c43dcdd03.jpg","text":"TemporaryFile(/tmp/multipartBody6809642454948624213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_40_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/335b77d4d31633b606b732e3f68cb528.jpg","text":"TemporaryFile(/tmp/multipartBody7274120983956033475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959184836,"filename":"image_29102025_20_00_53_1733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391490676","file1":"1391490631","file0":"1391490584","file4":"1391490835","file5":"1391490879","file3":"1391490791"},"map_files_photo_id_array":[{"photo_id":"1391490879","filename":"file5"},{"photo_id":"1391490676","filename":"file2"},{"photo_id":"1391490835","filename":"file4"},{"photo_id":"1391490631","filename":"file1"},{"photo_id":"1391490584","filename":"file0"},{"photo_id":"1391490791","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391490791":["hashtag1","hashtag2"]},{"1391490584":["hashtag1","hashtag2"]},{"1391490676":["hashtag1","hashtag2"]},{"1391490835":["hashtag1","hashtag2"]},{"1391490631":["hashtag1","hashtag2"]},{"1391490879":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391490791, 1391490584, 1391490676, 1391490835, 1391490631, 1391490879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.012813568115234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:06:22.281980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_56_3047.jpg', '/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_58_2613.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_06_8197.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_11_1703.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_13_1677.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_19_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_56_3047.jpg
/home/pi/Desktop/images/29102025/20/00/image_29102025_20_00_58_2613.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_06_8197.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_11_1703.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_13_1677.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_19_1772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391491498","1391491387","1391491222","1391491543","1391491306","1391491434"],"photo_ids_order":["1391491222","1391491306","1391491387","1391491434","1391491498","1391491543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71d29c0789a69a0c64abe92bb705f146.jpg","text":"TemporaryFile(/tmp/multipartBody9093119567554405577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_01_13_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cab1121d11b24df7baee969db113d4bd.jpg","text":"TemporaryFile(/tmp/multipartBody9052385826031296939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_01_06_8197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72d39557aa5a74747c89f2f5303199ef.jpg","text":"TemporaryFile(/tmp/multipartBody2310615762673561032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_00_56_3047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb705fc729929b2ca31d5e727e1f49bb.jpg","text":"TemporaryFile(/tmp/multipartBody8427225298534077152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_01_19_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a52ba8dcc8d4990f5b140c31ee3e402.jpg","text":"TemporaryFile(/tmp/multipartBody2136911479725901623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_00_58_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65bcde6d1d23814850dc34b1b96ca09a.jpg","text":"TemporaryFile(/tmp/multipartBody6134735979726969728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959244754,"filename":"image_29102025_20_01_11_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391491387","file1":"1391491306","file0":"1391491222","file4":"1391491498","file5":"1391491543","file3":"1391491434"},"map_files_photo_id_array":[{"photo_id":"1391491543","filename":"file5"},{"photo_id":"1391491387","filename":"file2"},{"photo_id":"1391491498","filename":"file4"},{"photo_id":"1391491306","filename":"file1"},{"photo_id":"1391491222","filename":"file0"},{"photo_id":"1391491434","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391491498":["hashtag1","hashtag2"]},{"1391491387":["hashtag1","hashtag2"]},{"1391491222":["hashtag1","hashtag2"]},{"1391491543":["hashtag1","hashtag2"]},{"1391491306":["hashtag1","hashtag2"]},{"1391491434":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391491498, 1391491387, 1391491222, 1391491543, 1391491306, 1391491434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.144716024398804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:07:03.036056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_21_1589.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_22_1586.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_25_2618.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_29_3878.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_31_2656.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_40_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_21_1589.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_22_1586.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_25_2618.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_29_3878.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_31_2656.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_40_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391491942","1391491705","1391491851","1391491746","1391491806","1391491898"],"photo_ids_order":["1391491705","1391491746","1391491806","1391491851","1391491898","1391491942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd3b6ee8dd12d58aafbb0212a2fbe44f.jpg","text":"TemporaryFile(/tmp/multipartBody5230163850362230381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_40_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e0a062101e3a0bd40c59547d1e72454.jpg","text":"TemporaryFile(/tmp/multipartBody6351945722837494764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_21_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aeef17a3bc0c56676ed9e9398b655f60.jpg","text":"TemporaryFile(/tmp/multipartBody2217933632592701753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_29_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43498401bbf943f22a7abf48a5194aba.jpg","text":"TemporaryFile(/tmp/multipartBody8992491125399198970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_22_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4f26dda2db8b97fbf5a478bd5b73765.jpg","text":"TemporaryFile(/tmp/multipartBody2073102751405729821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_25_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f587441d92fb9d47fbb2b65cba75236d.jpg","text":"TemporaryFile(/tmp/multipartBody3106754198917153983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959285306,"filename":"image_29102025_20_01_31_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391491806","file1":"1391491746","file0":"1391491705","file4":"1391491898","file5":"1391491942","file3":"1391491851"},"map_files_photo_id_array":[{"photo_id":"1391491942","filename":"file5"},{"photo_id":"1391491806","filename":"file2"},{"photo_id":"1391491898","filename":"file4"},{"photo_id":"1391491746","filename":"file1"},{"photo_id":"1391491705","filename":"file0"},{"photo_id":"1391491851","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391491942":["hashtag1","hashtag2"]},{"1391491705":["hashtag1","hashtag2"]},{"1391491851":["hashtag1","hashtag2"]},{"1391491746":["hashtag1","hashtag2"]},{"1391491806":["hashtag1","hashtag2"]},{"1391491898":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391491942, 1391491705, 1391491851, 1391491746, 1391491806, 1391491898)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.214675426483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:08:03.188156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_43_2784.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_55_2697.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_58_2618.jpg', '/home/pi/Desktop/images/29102025/20/01/image_29102025_20_02_01_3605.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_04_2741.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_13_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_43_2784.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_55_2697.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_01_58_2618.jpg
/home/pi/Desktop/images/29102025/20/01/image_29102025_20_02_01_3605.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_04_2741.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_13_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391492210","1391492234","1391492207","1391492236","1391492193","1391492202"],"photo_ids_order":["1391492193","1391492202","1391492207","1391492210","1391492234","1391492236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c942743864bce3e4a6ba16bb80e2bb6f.jpg","text":"TemporaryFile(/tmp/multipartBody5431107957837865547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_02_01_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a00f38d36fc47536abce0bbc638cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody8639334908738580728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_02_04_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16fcefc3293456e5fbd7a2931c26a0d2.jpg","text":"TemporaryFile(/tmp/multipartBody2992803378580405776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_01_58_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6f2ea7c8b3031b16e6a2096cf91f807.jpg","text":"TemporaryFile(/tmp/multipartBody9175406906435620830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_02_13_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aeb6c5f38aee1d90b8bbd82070d24b49.jpg","text":"TemporaryFile(/tmp/multipartBody3533678304154708330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_01_43_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/811102218592e627c717394ffeb290fe.jpg","text":"TemporaryFile(/tmp/multipartBody1414272754736543295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959345340,"filename":"image_29102025_20_01_55_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391492207","file1":"1391492202","file0":"1391492193","file4":"1391492234","file5":"1391492236","file3":"1391492210"},"map_files_photo_id_array":[{"photo_id":"1391492236","filename":"file5"},{"photo_id":"1391492207","filename":"file2"},{"photo_id":"1391492234","filename":"file4"},{"photo_id":"1391492202","filename":"file1"},{"photo_id":"1391492193","filename":"file0"},{"photo_id":"1391492210","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391492210":["hashtag1","hashtag2"]},{"1391492234":["hashtag1","hashtag2"]},{"1391492207":["hashtag1","hashtag2"]},{"1391492236":["hashtag1","hashtag2"]},{"1391492193":["hashtag1","hashtag2"]},{"1391492202":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391492210, 1391492234, 1391492207, 1391492236, 1391492193, 1391492202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.770429849624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:09:21.897306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_16_2679.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_19_3625.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_22_2627.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_25_2706.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_28_2851.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_31_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_16_2679.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_19_3625.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_22_2627.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_25_2706.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_28_2851.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_31_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391492290","1391492275","1391492338","1391492285","1391492282","1391492279"],"photo_ids_order":["1391492275","1391492279","1391492282","1391492285","1391492290","1391492338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff365d4fe03745d38b8dbd9ae8a8655f.jpg","text":"TemporaryFile(/tmp/multipartBody1836446332715976480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_28_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db5586254db6e0458fb6802950c83098.jpg","text":"TemporaryFile(/tmp/multipartBody6010012615300232847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83685bc9ad26dae810b7ede93975d912.jpg","text":"TemporaryFile(/tmp/multipartBody79316040356164810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_31_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02954d1e71fee230ed500a7718c595f5.jpg","text":"TemporaryFile(/tmp/multipartBody6414450889297917265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_25_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd2f05ac4944d08769842d5371a6c802.jpg","text":"TemporaryFile(/tmp/multipartBody5292814598683157968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_22_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f862899a11fbee121906bdd2104839ac.jpg","text":"TemporaryFile(/tmp/multipartBody8969245572259143891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959424292,"filename":"image_29102025_20_02_19_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391492282","file1":"1391492279","file0":"1391492275","file4":"1391492290","file5":"1391492338","file3":"1391492285"},"map_files_photo_id_array":[{"photo_id":"1391492338","filename":"file5"},{"photo_id":"1391492282","filename":"file2"},{"photo_id":"1391492290","filename":"file4"},{"photo_id":"1391492279","filename":"file1"},{"photo_id":"1391492275","filename":"file0"},{"photo_id":"1391492285","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391492290":["hashtag1","hashtag2"]},{"1391492275":["hashtag1","hashtag2"]},{"1391492338":["hashtag1","hashtag2"]},{"1391492285":["hashtag1","hashtag2"]},{"1391492282":["hashtag1","hashtag2"]},{"1391492279":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391492290, 1391492275, 1391492338, 1391492285, 1391492282, 1391492279)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.42937684059143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:10:23.864092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_37_2675.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_41_3753.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_43_2774.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_46_2836.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_49_2820.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_52_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_37_2675.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_41_3753.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_43_2774.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_46_2836.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_49_2820.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_52_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391492735","1391492878","1391492830","1391492778","1391492690","1391492870"],"photo_ids_order":["1391492690","1391492735","1391492778","1391492830","1391492870","1391492878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f0db25350ec14e8ee79d107c90b324f.jpg","text":"TemporaryFile(/tmp/multipartBody1747176923010509376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_41_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/868ef5c9db69d2287858ac2174b74f30.jpg","text":"TemporaryFile(/tmp/multipartBody6518631762677787193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_52_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/828aa270488a18c7ce0ec09e07c717e0.jpg","text":"TemporaryFile(/tmp/multipartBody4056050008154908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_46_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9e2f039ac07d567c5c66bd659f519c0.jpg","text":"TemporaryFile(/tmp/multipartBody8694874526601713026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_43_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b50253c1e9c75cbe6dfbc189d35ed63c.jpg","text":"TemporaryFile(/tmp/multipartBody4023518075228536022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61ed2d377b72c1715219a8d59f17fe78.jpg","text":"TemporaryFile(/tmp/multipartBody5478319385849668789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959486822,"filename":"image_29102025_20_02_49_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391492778","file1":"1391492735","file0":"1391492690","file4":"1391492870","file5":"1391492878","file3":"1391492830"},"map_files_photo_id_array":[{"photo_id":"1391492878","filename":"file5"},{"photo_id":"1391492778","filename":"file2"},{"photo_id":"1391492870","filename":"file4"},{"photo_id":"1391492735","filename":"file1"},{"photo_id":"1391492690","filename":"file0"},{"photo_id":"1391492830","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391492735":["hashtag1","hashtag2"]},{"1391492878":["hashtag1","hashtag2"]},{"1391492830":["hashtag1","hashtag2"]},{"1391492778":["hashtag1","hashtag2"]},{"1391492690":["hashtag1","hashtag2"]},{"1391492870":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391492735, 1391492878, 1391492830, 1391492778, 1391492690, 1391492870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.595942974090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:11:22.571539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:11:41.953740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_55_3643.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_58_2714.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_01_2649.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_10_2681.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_13_2683.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_16_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_55_3643.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_58_2714.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_01_2649.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_10_2681.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_13_2683.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_16_3627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.58754825592041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:12:02.487138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:12:22.274752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_55_3643.jpg', '/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_58_2714.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_01_2649.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_10_2681.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_13_2683.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_16_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_55_3643.jpg
/home/pi/Desktop/images/29102025/20/02/image_29102025_20_02_58_2714.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_01_2649.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_10_2681.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_13_2683.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_16_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493226","1391493241","1391493222","1391493231","1391493245","1391493236"],"photo_ids_order":["1391493222","1391493226","1391493231","1391493236","1391493241","1391493245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd7f75a35a9c9461ec6e87451de89492.jpg","text":"TemporaryFile(/tmp/multipartBody3147789744229622073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_02_58_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15e0495230784ba3173d273880a202c1.jpg","text":"TemporaryFile(/tmp/multipartBody864099381215087424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_03_13_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b733d8f33589006ba0b209db4dafda2.jpg","text":"TemporaryFile(/tmp/multipartBody1347448370727955088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_02_55_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b3777f04530457e6e4d8ca9373463a6.jpg","text":"TemporaryFile(/tmp/multipartBody185725172707135305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_03_01_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94013cf50ff52f86b2ac0fa50fe76ece.jpg","text":"TemporaryFile(/tmp/multipartBody5461707020232608800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_03_16_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a4f1e2a0de4f5938735b84df2ce4253.jpg","text":"TemporaryFile(/tmp/multipartBody3538010001685421852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959607693,"filename":"image_29102025_20_03_10_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493231","file1":"1391493226","file0":"1391493222","file4":"1391493241","file5":"1391493245","file3":"1391493236"},"map_files_photo_id_array":[{"photo_id":"1391493245","filename":"file5"},{"photo_id":"1391493231","filename":"file2"},{"photo_id":"1391493241","filename":"file4"},{"photo_id":"1391493226","filename":"file1"},{"photo_id":"1391493222","filename":"file0"},{"photo_id":"1391493236","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493226":["hashtag1","hashtag2"]},{"1391493241":["hashtag1","hashtag2"]},{"1391493222":["hashtag1","hashtag2"]},{"1391493231":["hashtag1","hashtag2"]},{"1391493245":["hashtag1","hashtag2"]},{"1391493236":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493226, 1391493241, 1391493222, 1391493231, 1391493245, 1391493236)","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 = 1391493231 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_01_2649.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.9723801612854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:13:42.952531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_19_2569.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_22_3024.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_25_2823.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_28_3731.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_31_2615.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_34_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_19_2569.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_22_3024.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_25_2823.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_28_3731.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_31_2615.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_34_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493298","1391493276","1391493290","1391493284","1391493295","1391493280"],"photo_ids_order":["1391493276","1391493280","1391493284","1391493290","1391493295","1391493298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad9a93404ed2dad1c42d9381046e29f1.jpg","text":"TemporaryFile(/tmp/multipartBody3527770388434438144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_34_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2530fe5dbbfca4a0df96aafbe908fc70.jpg","text":"TemporaryFile(/tmp/multipartBody4587743507272317545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_19_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/249e403ef15ab8dc13a2ab944c80990a.jpg","text":"TemporaryFile(/tmp/multipartBody8610399024248836667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_28_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9250208d44cb32638e1049196774980.jpg","text":"TemporaryFile(/tmp/multipartBody1784845490406587639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_25_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/138a25cd02de2380f4d3376af45c10ab.jpg","text":"TemporaryFile(/tmp/multipartBody7261004297472381140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d00f5fa681b67abfcd5cd40748891c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8838867512674641596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959684336,"filename":"image_29102025_20_03_22_3024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493284","file1":"1391493280","file0":"1391493276","file4":"1391493295","file5":"1391493298","file3":"1391493290"},"map_files_photo_id_array":[{"photo_id":"1391493298","filename":"file5"},{"photo_id":"1391493284","filename":"file2"},{"photo_id":"1391493295","filename":"file4"},{"photo_id":"1391493280","filename":"file1"},{"photo_id":"1391493276","filename":"file0"},{"photo_id":"1391493290","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493298":["hashtag1","hashtag2"]},{"1391493276":["hashtag1","hashtag2"]},{"1391493290":["hashtag1","hashtag2"]},{"1391493284":["hashtag1","hashtag2"]},{"1391493295":["hashtag1","hashtag2"]},{"1391493280":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493298, 1391493276, 1391493290, 1391493284, 1391493295, 1391493280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5400333404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:14:42.147951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_37_3699.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_40_2590.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_43_2619.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_46_3691.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_54_7580.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_56_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_37_3699.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_40_2590.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_43_2619.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_46_3691.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_54_7580.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_56_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493321","1391493324","1391493318","1391493327","1391493332","1391493335"],"photo_ids_order":["1391493318","1391493321","1391493324","1391493327","1391493332","1391493335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7efdefbeec075743a0e46155b351a457.jpg","text":"TemporaryFile(/tmp/multipartBody690974488800978217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_40_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8131cb807f0070eece5987240f548dff.jpg","text":"TemporaryFile(/tmp/multipartBody2576215152717402973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/330bf00e2a4af7e80ae4a89d94cb5824.jpg","text":"TemporaryFile(/tmp/multipartBody7971567307086237286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_37_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89237eb0db80206f812a9107e671f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody230677396052982340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_46_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d66fdfa8670ebbb74d877989f7685c0.jpg","text":"TemporaryFile(/tmp/multipartBody7302191611041744204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_54_7580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c996ec00c8bcc1f9924c0bdbeb5bf240.jpg","text":"TemporaryFile(/tmp/multipartBody1456832830814080132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959745987,"filename":"image_29102025_20_03_56_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493324","file1":"1391493321","file0":"1391493318","file4":"1391493332","file5":"1391493335","file3":"1391493327"},"map_files_photo_id_array":[{"photo_id":"1391493335","filename":"file5"},{"photo_id":"1391493324","filename":"file2"},{"photo_id":"1391493332","filename":"file4"},{"photo_id":"1391493321","filename":"file1"},{"photo_id":"1391493318","filename":"file0"},{"photo_id":"1391493327","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493321":["hashtag1","hashtag2"]},{"1391493324":["hashtag1","hashtag2"]},{"1391493318":["hashtag1","hashtag2"]},{"1391493327":["hashtag1","hashtag2"]},{"1391493332":["hashtag1","hashtag2"]},{"1391493335":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493321, 1391493324, 1391493318, 1391493327, 1391493332, 1391493335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59700345993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:15:42.305093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_57_1656.jpg', '/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_59_1847.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_01_1673.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_11_1767.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_18_6893.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_19_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_57_1656.jpg
/home/pi/Desktop/images/29102025/20/03/image_29102025_20_03_59_1847.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_01_1673.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_11_1767.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_18_6893.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_19_1784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493361","1391493354","1391493357","1391493371","1391493365","1391493368"],"photo_ids_order":["1391493354","1391493357","1391493361","1391493365","1391493368","1391493371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31fa7d2c267c944f090dbf25e4fb5802.jpg","text":"TemporaryFile(/tmp/multipartBody4731378802264946981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_04_01_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a70883398b751cf576e7c38a682a3e22.jpg","text":"TemporaryFile(/tmp/multipartBody2363853434787878530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_03_57_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d19d15599ff82d17a4c0d57a3d12c729.jpg","text":"TemporaryFile(/tmp/multipartBody3276853100789596329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_03_59_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2893ce72a2e7746f43c08a0c28fbaa76.jpg","text":"TemporaryFile(/tmp/multipartBody5725720828355991852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_04_19_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f6e068713a31a0945291c61b63e71e8.jpg","text":"TemporaryFile(/tmp/multipartBody6729036528494867720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_04_11_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/116a070cf614abc6121872f9216f3a30.jpg","text":"TemporaryFile(/tmp/multipartBody6139201783981146937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959803644,"filename":"image_29102025_20_04_18_6893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493361","file1":"1391493357","file0":"1391493354","file4":"1391493368","file5":"1391493371","file3":"1391493365"},"map_files_photo_id_array":[{"photo_id":"1391493371","filename":"file5"},{"photo_id":"1391493361","filename":"file2"},{"photo_id":"1391493368","filename":"file4"},{"photo_id":"1391493357","filename":"file1"},{"photo_id":"1391493354","filename":"file0"},{"photo_id":"1391493365","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493361":["hashtag1","hashtag2"]},{"1391493354":["hashtag1","hashtag2"]},{"1391493357":["hashtag1","hashtag2"]},{"1391493371":["hashtag1","hashtag2"]},{"1391493365":["hashtag1","hashtag2"]},{"1391493368":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493361, 1391493354, 1391493357, 1391493371, 1391493365, 1391493368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.961488008499146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:16:26.009268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_23_2151.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_25_1765.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_28_2784.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_31_2745.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_34_3640.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_37_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_23_2151.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_25_1765.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_28_2784.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_31_2745.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_34_3640.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_37_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493445","1391493400","1391493429","1391493380","1391493440","1391493404"],"photo_ids_order":["1391493380","1391493400","1391493404","1391493429","1391493440","1391493445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c9ba4e5bb3233b016ba7307155bc3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5805505151224949009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4373275b0c32ea7077f21cc201fe1ef.jpg","text":"TemporaryFile(/tmp/multipartBody3759191720863310712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_25_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f51a06822bffb297a558306fade5fe68.jpg","text":"TemporaryFile(/tmp/multipartBody4384415009102829461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5678d5b53ddfdf78773c3db879fd1a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5784224033419597776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_23_2151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bad29a04af3882c575a3db8d5190e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8486514060273403886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_34_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d89e0636fea4b72270a5e78aa3530e80.jpg","text":"TemporaryFile(/tmp/multipartBody8803760974653557486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959848570,"filename":"image_29102025_20_04_28_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493404","file1":"1391493400","file0":"1391493380","file4":"1391493440","file5":"1391493445","file3":"1391493429"},"map_files_photo_id_array":[{"photo_id":"1391493445","filename":"file5"},{"photo_id":"1391493404","filename":"file2"},{"photo_id":"1391493440","filename":"file4"},{"photo_id":"1391493400","filename":"file1"},{"photo_id":"1391493380","filename":"file0"},{"photo_id":"1391493429","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493445":["hashtag1","hashtag2"]},{"1391493400":["hashtag1","hashtag2"]},{"1391493429":["hashtag1","hashtag2"]},{"1391493380":["hashtag1","hashtag2"]},{"1391493440":["hashtag1","hashtag2"]},{"1391493404":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493445, 1391493400, 1391493429, 1391493380, 1391493440, 1391493404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54369235038757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:17:22.196896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_40_2665.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_43_3660.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_46_2651.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_49_2951.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_51_2652.jpg', '/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_55_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_40_2665.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_43_3660.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_46_2651.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_49_2951.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_51_2652.jpg
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_55_3816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493597","1391493552","1391493468","1391493461","1391493458","1391493509"],"photo_ids_order":["1391493458","1391493461","1391493468","1391493509","1391493552","1391493597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4950003799dc22dc1dea76a1139ebb43.jpg","text":"TemporaryFile(/tmp/multipartBody4491532866437786680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_55_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d98c4b51044a86d953d819dd38fd4ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4557306456872444407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_51_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82e3fbfe5d5e9efe5c189d6c581a28ac.jpg","text":"TemporaryFile(/tmp/multipartBody5473210212883072178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_46_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2a917223dccffa1b01ba4427c78ea75.jpg","text":"TemporaryFile(/tmp/multipartBody8543441657251477141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_43_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/898e07dd7f14245ef91ae69ba1963750.jpg","text":"TemporaryFile(/tmp/multipartBody2318936252720501892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_40_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57e45c6eb4ce3b10d1de748783f58e99.jpg","text":"TemporaryFile(/tmp/multipartBody7467778964634740395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959904586,"filename":"image_29102025_20_04_49_2951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493468","file1":"1391493461","file0":"1391493458","file4":"1391493552","file5":"1391493597","file3":"1391493509"},"map_files_photo_id_array":[{"photo_id":"1391493597","filename":"file5"},{"photo_id":"1391493468","filename":"file2"},{"photo_id":"1391493552","filename":"file4"},{"photo_id":"1391493461","filename":"file1"},{"photo_id":"1391493458","filename":"file0"},{"photo_id":"1391493509","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493597":["hashtag1","hashtag2"]},{"1391493552":["hashtag1","hashtag2"]},{"1391493468":["hashtag1","hashtag2"]},{"1391493461":["hashtag1","hashtag2"]},{"1391493458":["hashtag1","hashtag2"]},{"1391493509":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493597, 1391493552, 1391493468, 1391493461, 1391493458, 1391493509)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.08904242515564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:18:29.244953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:18:46.200768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_58_2929.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_03_4517.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_17_12675.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_20_3111.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_22_1865.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_24_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/04/image_29102025_20_04_58_2929.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_03_4517.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_17_12675.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_20_3111.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_22_1865.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_24_1609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391493751","1391493888","1391493861","1391493741","1391493816","1391493746"],"photo_ids_order":["1391493741","1391493746","1391493751","1391493816","1391493861","1391493888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f8f94fed2b496f41b8c4c70b2ff04de.jpg","text":"TemporaryFile(/tmp/multipartBody7771183691034548034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_05_17_12675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39f03c689b457b5ab333b7bda3975a28.jpg","text":"TemporaryFile(/tmp/multipartBody7179010492219341302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_05_24_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a910d94d7d2bebc652e5f16702da0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6012313184201974451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_05_22_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fee145a662a73d47ad712e8803093fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3555401725957108147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_04_58_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e4a9b7c6fa8ccb60adff76c4cb84ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1311972464579248293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_05_20_3111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcc510c425abe791faafa40766c8f004.jpg","text":"TemporaryFile(/tmp/multipartBody6079745153933402396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761959987265,"filename":"image_29102025_20_05_03_4517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391493751","file1":"1391493746","file0":"1391493741","file4":"1391493861","file5":"1391493888","file3":"1391493816"},"map_files_photo_id_array":[{"photo_id":"1391493888","filename":"file5"},{"photo_id":"1391493751","filename":"file2"},{"photo_id":"1391493861","filename":"file4"},{"photo_id":"1391493746","filename":"file1"},{"photo_id":"1391493741","filename":"file0"},{"photo_id":"1391493816","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391493751":["hashtag1","hashtag2"]},{"1391493888":["hashtag1","hashtag2"]},{"1391493861":["hashtag1","hashtag2"]},{"1391493741":["hashtag1","hashtag2"]},{"1391493816":["hashtag1","hashtag2"]},{"1391493746":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391493751, 1391493888, 1391493861, 1391493741, 1391493816, 1391493746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92879939079285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:19:29.435594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_27_1574.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_29_1654.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_31_1898.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_32_1649.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_34_1571.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_37_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_27_1574.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_29_1654.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_31_1898.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_32_1649.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_34_1571.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_37_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391494197","1391494155","1391494379","1391494238","1391494288","1391494333"],"photo_ids_order":["1391494155","1391494197","1391494238","1391494288","1391494333","1391494379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad21db9b60e64a953fc70fda1f0149a4.jpg","text":"TemporaryFile(/tmp/multipartBody722539747923134694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_29_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08f81792050d659903b1fc2c6d1680a7.jpg","text":"TemporaryFile(/tmp/multipartBody573838747673607597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_27_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c15edd59fcbc94d959869bebcd1d5ccd.jpg","text":"TemporaryFile(/tmp/multipartBody773042592192792183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_37_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c67fd99ff399153d7ba86a59555bbc6.jpg","text":"TemporaryFile(/tmp/multipartBody6573658522164932496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_31_1898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1115af02700be63fbeb963ff7237946b.jpg","text":"TemporaryFile(/tmp/multipartBody5749935907582958620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_32_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91d0f1a7281ab96f3c731e4e0b33c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7812902689784658447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960040195,"filename":"image_29102025_20_05_34_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391494238","file1":"1391494197","file0":"1391494155","file4":"1391494333","file5":"1391494379","file3":"1391494288"},"map_files_photo_id_array":[{"photo_id":"1391494379","filename":"file5"},{"photo_id":"1391494238","filename":"file2"},{"photo_id":"1391494333","filename":"file4"},{"photo_id":"1391494197","filename":"file1"},{"photo_id":"1391494155","filename":"file0"},{"photo_id":"1391494288","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391494197":["hashtag1","hashtag2"]},{"1391494155":["hashtag1","hashtag2"]},{"1391494379":["hashtag1","hashtag2"]},{"1391494238":["hashtag1","hashtag2"]},{"1391494288":["hashtag1","hashtag2"]},{"1391494333":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391494197, 1391494155, 1391494379, 1391494238, 1391494288, 1391494333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.954259634017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:20:22.581657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_39_2862.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_48_2929.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_52_3716.jpg', '/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_54_2092.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_03_5038.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_05_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_39_2862.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_48_2929.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_52_3716.jpg
/home/pi/Desktop/images/29102025/20/05/image_29102025_20_05_54_2092.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_03_5038.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_05_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391494896","1391494623","1391494908","1391494913","1391494814","1391494570"],"photo_ids_order":["1391494570","1391494623","1391494814","1391494896","1391494908","1391494913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49f9086deab1197f1d98438ed197a1ce.jpg","text":"TemporaryFile(/tmp/multipartBody784513156538541544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_05_54_2092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5fad01332211c864af382d01bcf46e6.jpg","text":"TemporaryFile(/tmp/multipartBody8380363584540693452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_05_48_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6797ac9fbb0edaceb9085b7562f2958b.jpg","text":"TemporaryFile(/tmp/multipartBody3221865570918277564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_06_03_5038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d62bc2b8eb86032b96ce68eabeb08572.jpg","text":"TemporaryFile(/tmp/multipartBody5254938185327747935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_06_05_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2a556a75690fb794a3a54595cf75433.jpg","text":"TemporaryFile(/tmp/multipartBody722665362056224417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_05_52_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11d5d1e98b28a34cf29a1a63253454e4.jpg","text":"TemporaryFile(/tmp/multipartBody8263625721483917455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960085314,"filename":"image_29102025_20_05_39_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391494814","file1":"1391494623","file0":"1391494570","file4":"1391494908","file5":"1391494913","file3":"1391494896"},"map_files_photo_id_array":[{"photo_id":"1391494913","filename":"file5"},{"photo_id":"1391494814","filename":"file2"},{"photo_id":"1391494908","filename":"file4"},{"photo_id":"1391494623","filename":"file1"},{"photo_id":"1391494570","filename":"file0"},{"photo_id":"1391494896","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391494896":["hashtag1","hashtag2"]},{"1391494623":["hashtag1","hashtag2"]},{"1391494908":["hashtag1","hashtag2"]},{"1391494913":["hashtag1","hashtag2"]},{"1391494814":["hashtag1","hashtag2"]},{"1391494570":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391494896, 1391494623, 1391494908, 1391494913, 1391494814, 1391494570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04132437705994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:21:22.573246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_06_1711.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_10_3919.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_13_2814.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_18_4532.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_19_1766.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_22_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_06_1711.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_10_3919.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_13_2814.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_18_4532.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_19_1766.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_22_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391494989","1391495031","1391495043","1391494968","1391495039","1391495035"],"photo_ids_order":["1391494968","1391494989","1391495031","1391495035","1391495039","1391495043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d4a191c31a4d73c1bf533b6c9d12f72.jpg","text":"TemporaryFile(/tmp/multipartBody8607529664490824575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_10_3919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5488a46994fc3104010efdbff4e539c.jpg","text":"TemporaryFile(/tmp/multipartBody4781543573658580940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_13_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6f8eff3f544719bac491b778028ec86.jpg","text":"TemporaryFile(/tmp/multipartBody6237264494955042298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_22_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d20d5afbf6e7387feba36cac58d7103f.jpg","text":"TemporaryFile(/tmp/multipartBody3985011624137837760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_06_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bfe7f5073cdee451beea39c4e5278a4.jpg","text":"TemporaryFile(/tmp/multipartBody6607693292270343941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_19_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c3b65a5e220d51d87df7bd225870c51.jpg","text":"TemporaryFile(/tmp/multipartBody6085739506424221492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960144963,"filename":"image_29102025_20_06_18_4532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495031","file1":"1391494989","file0":"1391494968","file4":"1391495039","file5":"1391495043","file3":"1391495035"},"map_files_photo_id_array":[{"photo_id":"1391495043","filename":"file5"},{"photo_id":"1391495031","filename":"file2"},{"photo_id":"1391495039","filename":"file4"},{"photo_id":"1391494989","filename":"file1"},{"photo_id":"1391494968","filename":"file0"},{"photo_id":"1391495035","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391494989":["hashtag1","hashtag2"]},{"1391495031":["hashtag1","hashtag2"]},{"1391495043":["hashtag1","hashtag2"]},{"1391494968":["hashtag1","hashtag2"]},{"1391495039":["hashtag1","hashtag2"]},{"1391495035":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391494989, 1391495031, 1391495043, 1391494968, 1391495039, 1391495035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99776363372803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:22:03.294297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_25_2647.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_28_3521.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_33_2658.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_37_3626.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_54_10848.jpg', '/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_56_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_25_2647.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_28_3521.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_33_2658.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_37_3626.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_54_10848.jpg
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_56_1751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495121","1391495270","1391495081","1391495164","1391495053","1391495335"],"photo_ids_order":["1391495053","1391495081","1391495121","1391495164","1391495270","1391495335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbaadc993ae5b78d0fd8417b838174ff.jpg","text":"TemporaryFile(/tmp/multipartBody2089002139092576919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_33_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8650021e314a77105698660d1a695120.jpg","text":"TemporaryFile(/tmp/multipartBody4059059240631021806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_54_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9dfac761ea32427d65fd230b0ba387d.jpg","text":"TemporaryFile(/tmp/multipartBody413247726751233903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_28_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c1c993f75130b401e0ecf2f8941e6ba.jpg","text":"TemporaryFile(/tmp/multipartBody7253682988498237876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_37_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f666fcfdd385f07b0e3d174c8d3d95a3.jpg","text":"TemporaryFile(/tmp/multipartBody1294758916173770040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4eb996cbc5a18bf6d23d16b79244221e.jpg","text":"TemporaryFile(/tmp/multipartBody2926322318606829479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960185421,"filename":"image_29102025_20_06_56_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495121","file1":"1391495081","file0":"1391495053","file4":"1391495270","file5":"1391495335","file3":"1391495164"},"map_files_photo_id_array":[{"photo_id":"1391495335","filename":"file5"},{"photo_id":"1391495121","filename":"file2"},{"photo_id":"1391495270","filename":"file4"},{"photo_id":"1391495081","filename":"file1"},{"photo_id":"1391495053","filename":"file0"},{"photo_id":"1391495164","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495121":["hashtag1","hashtag2"]},{"1391495270":["hashtag1","hashtag2"]},{"1391495081":["hashtag1","hashtag2"]},{"1391495164":["hashtag1","hashtag2"]},{"1391495053":["hashtag1","hashtag2"]},{"1391495335":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495121, 1391495270, 1391495081, 1391495164, 1391495053, 1391495335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.294251918792725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:22:42.783613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_59_1731.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_01_1709.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_05_4091.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_07_1636.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_08_1681.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_10_1818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/06/image_29102025_20_06_59_1731.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_01_1709.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_05_4091.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_07_1636.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_08_1681.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_10_1818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495580","1391495587","1391495563","1391495527","1391495583","1391495484"],"photo_ids_order":["1391495484","1391495527","1391495563","1391495580","1391495583","1391495587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be35324dc5aa050e058f0fdcc90d587a.jpg","text":"TemporaryFile(/tmp/multipartBody1213761218379487585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_07_07_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d15aa4cedc6038507720acd8f54149f2.jpg","text":"TemporaryFile(/tmp/multipartBody4075646614224238886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_07_10_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6feb2e2244639ed03d9888106f55dc77.jpg","text":"TemporaryFile(/tmp/multipartBody8400572766102656921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_07_05_4091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a7e8c934f5b47184eae5c44b40959f1.jpg","text":"TemporaryFile(/tmp/multipartBody4931463716213796886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_07_01_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b2f73bb4313632d5112b9f91e87cb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5055304758138988824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_07_08_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f116b5f798ebe04d9dfa6500a6224eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1691977672995428826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960223951,"filename":"image_29102025_20_06_59_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495563","file1":"1391495527","file0":"1391495484","file4":"1391495583","file5":"1391495587","file3":"1391495580"},"map_files_photo_id_array":[{"photo_id":"1391495587","filename":"file5"},{"photo_id":"1391495563","filename":"file2"},{"photo_id":"1391495583","filename":"file4"},{"photo_id":"1391495527","filename":"file1"},{"photo_id":"1391495484","filename":"file0"},{"photo_id":"1391495580","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495580":["hashtag1","hashtag2"]},{"1391495587":["hashtag1","hashtag2"]},{"1391495563":["hashtag1","hashtag2"]},{"1391495527":["hashtag1","hashtag2"]},{"1391495583":["hashtag1","hashtag2"]},{"1391495484":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495580, 1391495587, 1391495563, 1391495527, 1391495583, 1391495484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.626853704452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:23:21.917771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_13_2653.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_16_2867.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_19_2735.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_21_2693.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_25_3806.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_28_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_13_2653.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_16_2867.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_19_2735.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_21_2693.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_25_3806.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_28_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495766","1391495688","1391495652","1391495696","1391495719","1391495691"],"photo_ids_order":["1391495652","1391495688","1391495691","1391495696","1391495719","1391495766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df45af549d7c5e768d22038dbbcdc23e.jpg","text":"TemporaryFile(/tmp/multipartBody8016495210188724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_28_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efb4cfe5a379909699eb42117c64697f.jpg","text":"TemporaryFile(/tmp/multipartBody936332865368954243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_16_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea6fa3f9546b350508886e9e7617af2d.jpg","text":"TemporaryFile(/tmp/multipartBody6717369712258310220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95130012a27f3634a1ae9e8f6e4b78a8.jpg","text":"TemporaryFile(/tmp/multipartBody603057807010214372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_21_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3baf6d10efa85bb5c51c3c5227a2f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2816195152302074039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_25_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9619937ffba7f311bd3615664cf108a4.jpg","text":"TemporaryFile(/tmp/multipartBody8458997115709377822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960264687,"filename":"image_29102025_20_07_19_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495691","file1":"1391495688","file0":"1391495652","file4":"1391495719","file5":"1391495766","file3":"1391495696"},"map_files_photo_id_array":[{"photo_id":"1391495766","filename":"file5"},{"photo_id":"1391495691","filename":"file2"},{"photo_id":"1391495719","filename":"file4"},{"photo_id":"1391495688","filename":"file1"},{"photo_id":"1391495652","filename":"file0"},{"photo_id":"1391495696","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495766":["hashtag1","hashtag2"]},{"1391495688":["hashtag1","hashtag2"]},{"1391495652":["hashtag1","hashtag2"]},{"1391495696":["hashtag1","hashtag2"]},{"1391495719":["hashtag1","hashtag2"]},{"1391495691":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495766, 1391495688, 1391495652, 1391495696, 1391495719, 1391495691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.201661586761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:24:02.711449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_30_2665.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_34_3575.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_37_2711.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_39_2755.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_42_2750.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_46_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_30_2665.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_34_3575.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_37_2711.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_39_2755.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_42_2750.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_46_3761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495805","1391495801","1391495788","1391495793","1391495796","1391495790"],"photo_ids_order":["1391495788","1391495790","1391495793","1391495796","1391495801","1391495805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d4d50c2d43c308d9307498bfcd9f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6611848652781345489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_46_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c94adf980044ad390c1f99e0f6d3d59.jpg","text":"TemporaryFile(/tmp/multipartBody8850809143639786671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_42_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3115ef521f8eb113b89a9a56f84b5559.jpg","text":"TemporaryFile(/tmp/multipartBody7359314214415000883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_30_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48c6bdba79e003c43d4606fccdc13366.jpg","text":"TemporaryFile(/tmp/multipartBody1036675017443259945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_37_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29d033d5fe223e66873baa242681aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody7356850509427284429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_39_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/764f90f2b69dfa19106eb6ed5bca993c.jpg","text":"TemporaryFile(/tmp/multipartBody1582816913213363380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960304935,"filename":"image_29102025_20_07_34_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495793","file1":"1391495790","file0":"1391495788","file4":"1391495801","file5":"1391495805","file3":"1391495796"},"map_files_photo_id_array":[{"photo_id":"1391495805","filename":"file5"},{"photo_id":"1391495793","filename":"file2"},{"photo_id":"1391495801","filename":"file4"},{"photo_id":"1391495790","filename":"file1"},{"photo_id":"1391495788","filename":"file0"},{"photo_id":"1391495796","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495805":["hashtag1","hashtag2"]},{"1391495801":["hashtag1","hashtag2"]},{"1391495788":["hashtag1","hashtag2"]},{"1391495793":["hashtag1","hashtag2"]},{"1391495796":["hashtag1","hashtag2"]},{"1391495790":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495805, 1391495801, 1391495788, 1391495793, 1391495796, 1391495790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58907747268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:24:42.022512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_51_2840.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_54_2768.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_58_3671.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_08_00_2654.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_03_2665.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_07_3822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_51_2840.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_54_2768.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_58_3671.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_08_00_2654.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_03_2665.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_07_3822.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0740013122558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:25:02.803322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_51_2840.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_54_2768.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_58_3671.jpg', '/home/pi/Desktop/images/29102025/20/07/image_29102025_20_08_00_2654.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_03_2665.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_07_3822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_51_2840.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_54_2768.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_07_58_3671.jpg
/home/pi/Desktop/images/29102025/20/07/image_29102025_20_08_00_2654.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_03_2665.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_07_3822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495838","1391495840","1391495833","1391495842","1391495836","1391495830"],"photo_ids_order":["1391495830","1391495833","1391495836","1391495838","1391495840","1391495842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff80ff5387772e083a1ed9a0d162f12b.jpg","text":"TemporaryFile(/tmp/multipartBody7432005032581483417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_08_00_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5b4503788b2085c8fe637a0cc9fc89f.jpg","text":"TemporaryFile(/tmp/multipartBody3226518138847683729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_08_03_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8263112b4b7a5ee0e38b0813b7b44cd.jpg","text":"TemporaryFile(/tmp/multipartBody4166907509302586788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_07_54_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8592def6a659b5955df81468eca19aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1908021902949760374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_08_07_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bd2fd78621edea2f8661fd0c213d037.jpg","text":"TemporaryFile(/tmp/multipartBody1685101106496658063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_07_58_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09525251058149eaa02b99f617b198a1.jpg","text":"TemporaryFile(/tmp/multipartBody7350070993508026732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960364923,"filename":"image_29102025_20_07_51_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495836","file1":"1391495833","file0":"1391495830","file4":"1391495840","file5":"1391495842","file3":"1391495838"},"map_files_photo_id_array":[{"photo_id":"1391495842","filename":"file5"},{"photo_id":"1391495836","filename":"file2"},{"photo_id":"1391495840","filename":"file4"},{"photo_id":"1391495833","filename":"file1"},{"photo_id":"1391495830","filename":"file0"},{"photo_id":"1391495838","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495838":["hashtag1","hashtag2"]},{"1391495840":["hashtag1","hashtag2"]},{"1391495833":["hashtag1","hashtag2"]},{"1391495842":["hashtag1","hashtag2"]},{"1391495836":["hashtag1","hashtag2"]},{"1391495830":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495838, 1391495840, 1391495833, 1391495842, 1391495836, 1391495830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89088535308838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:26:02.777767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_10_2593.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_19_2799.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_21_2545.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_25_3752.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_28_2683.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_30_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_10_2593.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_19_2799.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_21_2545.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_25_3752.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_28_2683.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_30_2800.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1081039905548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:26:22.393449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_10_2593.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_19_2799.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_21_2545.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_25_3752.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_28_2683.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_30_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_10_2593.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_19_2799.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_21_2545.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_25_3752.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_28_2683.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_30_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391495928","1391495922","1391495918","1391495915","1391495909","1391495932"],"photo_ids_order":["1391495909","1391495915","1391495918","1391495922","1391495928","1391495932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/215f5a17431e38df8877bbf862caad1f.jpg","text":"TemporaryFile(/tmp/multipartBody584359139822104367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_28_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e536fea533744491796b97cdf38d5d7.jpg","text":"TemporaryFile(/tmp/multipartBody2930328785600375680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_25_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5362409592780cdc268478b511987ee.jpg","text":"TemporaryFile(/tmp/multipartBody7297432081589151893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_21_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70491075119879413841ee5acff888f9.jpg","text":"TemporaryFile(/tmp/multipartBody6757863899366320487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_19_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f8855a431652d474cf7ab337e7ef6bb.jpg","text":"TemporaryFile(/tmp/multipartBody3828521669182029337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_10_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71dff5c8520b4388409ea138e3e61dee.jpg","text":"TemporaryFile(/tmp/multipartBody466911375458718115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960445042,"filename":"image_29102025_20_08_30_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391495918","file1":"1391495915","file0":"1391495909","file4":"1391495928","file5":"1391495932","file3":"1391495922"},"map_files_photo_id_array":[{"photo_id":"1391495932","filename":"file5"},{"photo_id":"1391495918","filename":"file2"},{"photo_id":"1391495928","filename":"file4"},{"photo_id":"1391495915","filename":"file1"},{"photo_id":"1391495909","filename":"file0"},{"photo_id":"1391495922","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391495928":["hashtag1","hashtag2"]},{"1391495922":["hashtag1","hashtag2"]},{"1391495918":["hashtag1","hashtag2"]},{"1391495915":["hashtag1","hashtag2"]},{"1391495909":["hashtag1","hashtag2"]},{"1391495932":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391495928, 1391495922, 1391495918, 1391495915, 1391495909, 1391495932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67385649681091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:27:03.305727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_33_2777.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_37_3688.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_42_2610.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_46_3773.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_49_2861.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_51_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_33_2777.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_37_3688.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_42_2610.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_46_3773.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_49_2861.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_51_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496126","1391496170","1391496212","1391496084","1391496036","1391496258"],"photo_ids_order":["1391496036","1391496084","1391496126","1391496170","1391496212","1391496258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a80d276312e2e26c4c2eb2f7632b7d41.jpg","text":"TemporaryFile(/tmp/multipartBody6302214231788959897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_42_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cb5d48147d6db9a0b7b368e2ddcd075.jpg","text":"TemporaryFile(/tmp/multipartBody3432127800921119671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_46_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bb15abcf18c17c2e3c80c6a49e72a23.jpg","text":"TemporaryFile(/tmp/multipartBody1016063969779220579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_49_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff9691cfb34732ae9f05d148afc3a214.jpg","text":"TemporaryFile(/tmp/multipartBody2223239340602534038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_37_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19ecd3164469bd5cf105a5b33e31c832.jpg","text":"TemporaryFile(/tmp/multipartBody4000119692135348744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_33_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd1c5456e6ae5ed3ef67a0c41c03114c.jpg","text":"TemporaryFile(/tmp/multipartBody865395773814394261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960485535,"filename":"image_29102025_20_08_51_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496126","file1":"1391496084","file0":"1391496036","file4":"1391496212","file5":"1391496258","file3":"1391496170"},"map_files_photo_id_array":[{"photo_id":"1391496258","filename":"file5"},{"photo_id":"1391496126","filename":"file2"},{"photo_id":"1391496212","filename":"file4"},{"photo_id":"1391496084","filename":"file1"},{"photo_id":"1391496036","filename":"file0"},{"photo_id":"1391496170","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496126":["hashtag1","hashtag2"]},{"1391496170":["hashtag1","hashtag2"]},{"1391496212":["hashtag1","hashtag2"]},{"1391496084":["hashtag1","hashtag2"]},{"1391496036":["hashtag1","hashtag2"]},{"1391496258":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496126, 1391496170, 1391496212, 1391496084, 1391496036, 1391496258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.347569942474365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:28:03.125152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_54_2560.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_58_3618.jpg', '/home/pi/Desktop/images/29102025/20/08/image_29102025_20_09_00_2687.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_03_2729.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_07_3694.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_13_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_54_2560.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_08_58_3618.jpg
/home/pi/Desktop/images/29102025/20/08/image_29102025_20_09_00_2687.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_03_2729.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_07_3694.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_13_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496345","1391496335","1391496340","1391496343","1391496337","1391496348"],"photo_ids_order":["1391496335","1391496337","1391496340","1391496343","1391496345","1391496348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a64048e2aa5b3ed7b8d9da2f4a63e598.jpg","text":"TemporaryFile(/tmp/multipartBody2277616528079134478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_09_07_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eee377a9d286a32b0fcdb2362243cf60.jpg","text":"TemporaryFile(/tmp/multipartBody1163683057478770607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_08_54_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2546caa94a08c43d7ac828d457302522.jpg","text":"TemporaryFile(/tmp/multipartBody6740231690885131211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_09_00_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e55a8d3bed5e21415d58ceee8fa45f.jpg","text":"TemporaryFile(/tmp/multipartBody2631845019814754236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_09_03_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3d37641f491f2da61af32007f181810.jpg","text":"TemporaryFile(/tmp/multipartBody5912368304563666571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_08_58_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab266bd650939fd50b670c1768662588.jpg","text":"TemporaryFile(/tmp/multipartBody6452157209997357866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960545285,"filename":"image_29102025_20_09_13_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496340","file1":"1391496337","file0":"1391496335","file4":"1391496345","file5":"1391496348","file3":"1391496343"},"map_files_photo_id_array":[{"photo_id":"1391496348","filename":"file5"},{"photo_id":"1391496340","filename":"file2"},{"photo_id":"1391496345","filename":"file4"},{"photo_id":"1391496337","filename":"file1"},{"photo_id":"1391496335","filename":"file0"},{"photo_id":"1391496343","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496345":["hashtag1","hashtag2"]},{"1391496335":["hashtag1","hashtag2"]},{"1391496340":["hashtag1","hashtag2"]},{"1391496343":["hashtag1","hashtag2"]},{"1391496337":["hashtag1","hashtag2"]},{"1391496348":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496345, 1391496335, 1391496340, 1391496343, 1391496337, 1391496348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15095591545105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:28:42.773471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_15_2726.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_18_2686.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_22_3674.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_24_2858.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_27_2738.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_31_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_15_2726.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_18_2686.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_22_3674.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_24_2858.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_27_2738.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_31_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496423","1391496365","1391496391","1391496373","1391496421","1391496379"],"photo_ids_order":["1391496365","1391496373","1391496379","1391496391","1391496421","1391496423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b80ef1c46ddd2ef1efc73409bd3cdad3.jpg","text":"TemporaryFile(/tmp/multipartBody1526213706741445787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_31_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43280ce9e4ba331b423d7a461a64400c.jpg","text":"TemporaryFile(/tmp/multipartBody3115222452168726723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_15_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dfecc85c267b41058d9831579760a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5814000301562830373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_24_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/829a5a02fcc3c9c26f8c290f4f46be10.jpg","text":"TemporaryFile(/tmp/multipartBody7280824789226907495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_18_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eec01a883900cd5e3f8bd91630fb2393.jpg","text":"TemporaryFile(/tmp/multipartBody6902389218278083502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_27_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2302656a4e6603a92783c17052b392c4.jpg","text":"TemporaryFile(/tmp/multipartBody4539863548087239846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960583946,"filename":"image_29102025_20_09_22_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496379","file1":"1391496373","file0":"1391496365","file4":"1391496421","file5":"1391496423","file3":"1391496391"},"map_files_photo_id_array":[{"photo_id":"1391496423","filename":"file5"},{"photo_id":"1391496379","filename":"file2"},{"photo_id":"1391496421","filename":"file4"},{"photo_id":"1391496373","filename":"file1"},{"photo_id":"1391496365","filename":"file0"},{"photo_id":"1391496391","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496423":["hashtag1","hashtag2"]},{"1391496365":["hashtag1","hashtag2"]},{"1391496391":["hashtag1","hashtag2"]},{"1391496373":["hashtag1","hashtag2"]},{"1391496421":["hashtag1","hashtag2"]},{"1391496379":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496423, 1391496365, 1391496391, 1391496373, 1391496421, 1391496379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34937047958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:29:21.829175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_34_2668.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_36_2630.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_40_3711.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_43_2735.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_45_2650.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_48_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_34_2668.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_36_2630.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_40_3711.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_43_2735.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_45_2650.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_48_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496504","1391496494","1391496499","1391496489","1391496483","1391496462"],"photo_ids_order":["1391496462","1391496483","1391496489","1391496494","1391496499","1391496504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd5c9763a57527580055c06470a667a6.jpg","text":"TemporaryFile(/tmp/multipartBody3312172583853540937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_48_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2f9b685d69dea364809fb14f87c2fea.jpg","text":"TemporaryFile(/tmp/multipartBody3799506631914845410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_43_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f31bbaf5f7c1256fcb8989d59e32e66.jpg","text":"TemporaryFile(/tmp/multipartBody1025437226704902812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_45_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3211890650f01709a20ce3ccc89b0cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7529526235027458648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_40_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25d5e5c7b9d67fc8ad17c1350dc1b68f.jpg","text":"TemporaryFile(/tmp/multipartBody9132069799755422719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_36_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cd050303156c87c9d33d402c3ab7a55.jpg","text":"TemporaryFile(/tmp/multipartBody6001108098564259821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960624632,"filename":"image_29102025_20_09_34_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496489","file1":"1391496483","file0":"1391496462","file4":"1391496499","file5":"1391496504","file3":"1391496494"},"map_files_photo_id_array":[{"photo_id":"1391496504","filename":"file5"},{"photo_id":"1391496489","filename":"file2"},{"photo_id":"1391496499","filename":"file4"},{"photo_id":"1391496483","filename":"file1"},{"photo_id":"1391496462","filename":"file0"},{"photo_id":"1391496494","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496504":["hashtag1","hashtag2"]},{"1391496494":["hashtag1","hashtag2"]},{"1391496499":["hashtag1","hashtag2"]},{"1391496489":["hashtag1","hashtag2"]},{"1391496483":["hashtag1","hashtag2"]},{"1391496462":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496504, 1391496494, 1391496499, 1391496489, 1391496483, 1391496462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56934571266174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:30:22.085945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_52_3771.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_54_2302.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_58_3800.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_01_3121.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_07_3685.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_09_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_52_3771.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_54_2302.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_58_3800.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_01_3121.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_07_3685.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_09_2574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.309694766998291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:30:42.127273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_52_3771.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_54_2302.jpg', '/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_58_3800.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_01_3121.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_07_3685.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_09_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_52_3771.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_54_2302.jpg
/home/pi/Desktop/images/29102025/20/09/image_29102025_20_09_58_3800.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_01_3121.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_07_3685.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_09_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496615","1391496580","1391496574","1391496619","1391496585","1391496624"],"photo_ids_order":["1391496574","1391496580","1391496585","1391496615","1391496619","1391496624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49f4942fd2d7615f30ae6ba54c314ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8655715153456485235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_10_01_3121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0a352cd783c0365fe17a48c7b278659.jpg","text":"TemporaryFile(/tmp/multipartBody4503705021343274469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_09_54_2302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/675e48dedcf3190620bc26cf98e55544.jpg","text":"TemporaryFile(/tmp/multipartBody1517440533354715080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_09_52_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/827521f26973c5c10ad676136d8e95c4.jpg","text":"TemporaryFile(/tmp/multipartBody1220973175125159869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_10_07_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03cfec1475913c388fd13f96a49fd12e.jpg","text":"TemporaryFile(/tmp/multipartBody6464093473503903135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_09_58_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/837f3a60009221534e63fa0d83893d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1569619615506014648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960703155,"filename":"image_29102025_20_10_09_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496585","file1":"1391496580","file0":"1391496574","file4":"1391496619","file5":"1391496624","file3":"1391496615"},"map_files_photo_id_array":[{"photo_id":"1391496624","filename":"file5"},{"photo_id":"1391496585","filename":"file2"},{"photo_id":"1391496619","filename":"file4"},{"photo_id":"1391496580","filename":"file1"},{"photo_id":"1391496574","filename":"file0"},{"photo_id":"1391496615","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496615":["hashtag1","hashtag2"]},{"1391496580":["hashtag1","hashtag2"]},{"1391496574":["hashtag1","hashtag2"]},{"1391496619":["hashtag1","hashtag2"]},{"1391496585":["hashtag1","hashtag2"]},{"1391496624":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496615, 1391496580, 1391496574, 1391496619, 1391496585, 1391496624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74232792854309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:31:42.247330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_12_2702.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_18_2663.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_21_2632.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_25_3650.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_27_2743.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_30_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_12_2702.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_18_2663.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_21_2632.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_25_3650.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_27_2743.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_30_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496671","1391496674","1391496670","1391496660","1391496663","1391496666"],"photo_ids_order":["1391496660","1391496663","1391496666","1391496670","1391496671","1391496674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d50dfc1dc910e4a4ac4be916a342fda.jpg","text":"TemporaryFile(/tmp/multipartBody7072956043396877924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_27_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8270d74ef01c835869bdab1158cd7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody15777898082939555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_30_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ac823bd13cccdd650003bbab76af343.jpg","text":"TemporaryFile(/tmp/multipartBody3689415352886499078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_25_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80dfe1a93d896ed1b69e3af500ebef11.jpg","text":"TemporaryFile(/tmp/multipartBody4991620198458185987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_12_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0007120be0f4a5cea38cef9ce8e336e0.jpg","text":"TemporaryFile(/tmp/multipartBody2868677569924039367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_18_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8a8b936893b3b81a8829aea4f6f813d.jpg","text":"TemporaryFile(/tmp/multipartBody4102412352140397001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960763466,"filename":"image_29102025_20_10_21_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496666","file1":"1391496663","file0":"1391496660","file4":"1391496671","file5":"1391496674","file3":"1391496670"},"map_files_photo_id_array":[{"photo_id":"1391496674","filename":"file5"},{"photo_id":"1391496666","filename":"file2"},{"photo_id":"1391496671","filename":"file4"},{"photo_id":"1391496663","filename":"file1"},{"photo_id":"1391496660","filename":"file0"},{"photo_id":"1391496670","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496671":["hashtag1","hashtag2"]},{"1391496674":["hashtag1","hashtag2"]},{"1391496670":["hashtag1","hashtag2"]},{"1391496660":["hashtag1","hashtag2"]},{"1391496663":["hashtag1","hashtag2"]},{"1391496666":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496671, 1391496674, 1391496670, 1391496660, 1391496663, 1391496666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95363807678223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:32:22.452592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_33_2797.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_36_3592.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_39_2610.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_48_2659.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_52_3734.jpg', '/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_54_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_33_2797.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_36_3592.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_39_2610.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_48_2659.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_52_3734.jpg
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_54_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496720","1391496737","1391496700","1391496696","1391496741","1391496732"],"photo_ids_order":["1391496696","1391496700","1391496720","1391496732","1391496737","1391496741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/852fe8e806138014ca91593ad559fe59.jpg","text":"TemporaryFile(/tmp/multipartBody1914658720531045798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_39_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61f441ba5d43e79aa60b588670491dd7.jpg","text":"TemporaryFile(/tmp/multipartBody3331046652060515006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_52_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02ad74e2b144defa086644c736083363.jpg","text":"TemporaryFile(/tmp/multipartBody2044706555812266920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_36_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41cc163bba2c1d95e545f6e72c15fbf4.jpg","text":"TemporaryFile(/tmp/multipartBody7989758455456061972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_33_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c06e5d08b178807a680a5cf2548bc79.jpg","text":"TemporaryFile(/tmp/multipartBody7777670126850617531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_54_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c1f4957752401ecca924879a96bb04f.jpg","text":"TemporaryFile(/tmp/multipartBody8026869263098115336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960805162,"filename":"image_29102025_20_10_48_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496720","file1":"1391496700","file0":"1391496696","file4":"1391496737","file5":"1391496741","file3":"1391496732"},"map_files_photo_id_array":[{"photo_id":"1391496741","filename":"file5"},{"photo_id":"1391496720","filename":"file2"},{"photo_id":"1391496737","filename":"file4"},{"photo_id":"1391496700","filename":"file1"},{"photo_id":"1391496696","filename":"file0"},{"photo_id":"1391496732","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496720":["hashtag1","hashtag2"]},{"1391496737":["hashtag1","hashtag2"]},{"1391496700":["hashtag1","hashtag2"]},{"1391496696":["hashtag1","hashtag2"]},{"1391496741":["hashtag1","hashtag2"]},{"1391496732":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496720, 1391496737, 1391496700, 1391496696, 1391496741, 1391496732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.057883501052856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:33:03.107626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_57_2791.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_01_3275.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_03_2836.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_06_2827.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_09_2727.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_18_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/10/image_29102025_20_10_57_2791.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_01_3275.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_03_2836.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_06_2827.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_09_2727.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_18_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496749","1391496764","1391496757","1391496760","1391496754","1391496768"],"photo_ids_order":["1391496749","1391496754","1391496757","1391496760","1391496764","1391496768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5abb26f668534576de44f90a903785c2.jpg","text":"TemporaryFile(/tmp/multipartBody8645890384550045352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_10_57_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e900a32bb918dc4c82902f2978958c81.jpg","text":"TemporaryFile(/tmp/multipartBody6168216720825277087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_11_09_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bfdff287db6a5499448cc94db81caa7.jpg","text":"TemporaryFile(/tmp/multipartBody5742583264002757848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_11_03_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cc9628c717492282c4380965aed1f67.jpg","text":"TemporaryFile(/tmp/multipartBody4575258316819072365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_11_06_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fe307e4de10d0ff8b056a44ca8356f8.jpg","text":"TemporaryFile(/tmp/multipartBody1003026446194231374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_11_01_3275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab6ff5bcb9f225b51d8317fc3d4bba53.jpg","text":"TemporaryFile(/tmp/multipartBody656109722797433427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960845388,"filename":"image_29102025_20_11_18_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496757","file1":"1391496754","file0":"1391496749","file4":"1391496764","file5":"1391496768","file3":"1391496760"},"map_files_photo_id_array":[{"photo_id":"1391496768","filename":"file5"},{"photo_id":"1391496757","filename":"file2"},{"photo_id":"1391496764","filename":"file4"},{"photo_id":"1391496754","filename":"file1"},{"photo_id":"1391496749","filename":"file0"},{"photo_id":"1391496760","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496749":["hashtag1","hashtag2"]},{"1391496764":["hashtag1","hashtag2"]},{"1391496757":["hashtag1","hashtag2"]},{"1391496760":["hashtag1","hashtag2"]},{"1391496754":["hashtag1","hashtag2"]},{"1391496768":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496749, 1391496764, 1391496757, 1391496760, 1391496754, 1391496768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.248719692230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:34:03.403810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_21_2647.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_27_2673.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_37_3683.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_39_2917.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_42_2670.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_45_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_21_2647.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_27_2673.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_37_3683.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_39_2917.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_42_2670.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_45_2543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391496989","1391496983","1391496941","1391496979","1391496937","1391496934"],"photo_ids_order":["1391496934","1391496937","1391496941","1391496979","1391496983","1391496989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f33e19f3416f9488d151bf3833fddc67.jpg","text":"TemporaryFile(/tmp/multipartBody1296279008630131172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_45_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91eb07fd6c7efcf9e66723515a77a77b.jpg","text":"TemporaryFile(/tmp/multipartBody7533578276899679084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_42_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/704758b22e64db663d3d7b0427dee6ef.jpg","text":"TemporaryFile(/tmp/multipartBody63419778304920229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_37_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cec3d5363b3306f43f9662d60a7dafa2.jpg","text":"TemporaryFile(/tmp/multipartBody4750594747750508203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_39_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a1ae1ddcb6490a803b73c1225cb0693.jpg","text":"TemporaryFile(/tmp/multipartBody3800692111060200531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_27_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dc18e432b08d485bceea0ae64308df1.jpg","text":"TemporaryFile(/tmp/multipartBody5041367768191515907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960906275,"filename":"image_29102025_20_11_21_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391496941","file1":"1391496937","file0":"1391496934","file4":"1391496983","file5":"1391496989","file3":"1391496979"},"map_files_photo_id_array":[{"photo_id":"1391496989","filename":"file5"},{"photo_id":"1391496941","filename":"file2"},{"photo_id":"1391496983","filename":"file4"},{"photo_id":"1391496937","filename":"file1"},{"photo_id":"1391496934","filename":"file0"},{"photo_id":"1391496979","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391496989":["hashtag1","hashtag2"]},{"1391496983":["hashtag1","hashtag2"]},{"1391496941":["hashtag1","hashtag2"]},{"1391496979":["hashtag1","hashtag2"]},{"1391496937":["hashtag1","hashtag2"]},{"1391496934":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391496989, 1391496983, 1391496941, 1391496979, 1391496937, 1391496934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.204846143722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:35:02.741962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_48_3796.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_51_2573.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_58_3807.jpg', '/home/pi/Desktop/images/29102025/20/11/image_29102025_20_12_00_2558.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_03_2616.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_06_3177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_48_3796.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_51_2573.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_11_58_3807.jpg
/home/pi/Desktop/images/29102025/20/11/image_29102025_20_12_00_2558.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_03_2616.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_06_3177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497046","1391497055","1391497066","1391497048","1391497050","1391497044"],"photo_ids_order":["1391497044","1391497046","1391497048","1391497050","1391497055","1391497066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29aaf655788b6291215a2ce78b9bf0aa.jpg","text":"TemporaryFile(/tmp/multipartBody7856250540837133082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_11_51_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/471789025c82ac3e583bcd0eed021241.jpg","text":"TemporaryFile(/tmp/multipartBody4620271315694449673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_12_03_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d0c7b5758694a87258f827cdc45fc79.jpg","text":"TemporaryFile(/tmp/multipartBody5266449177495042131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_12_06_3177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7535463c558b0e416fcf52e1bcc6caa0.jpg","text":"TemporaryFile(/tmp/multipartBody2061484905913369591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_11_58_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb2e4b8b803b916083bc729e6262aee9.jpg","text":"TemporaryFile(/tmp/multipartBody5458382395703258328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_12_00_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e74ea74d5091fc4b0923e18dfca8a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6871939673134449130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761960965739,"filename":"image_29102025_20_11_48_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497048","file1":"1391497046","file0":"1391497044","file4":"1391497055","file5":"1391497066","file3":"1391497050"},"map_files_photo_id_array":[{"photo_id":"1391497066","filename":"file5"},{"photo_id":"1391497048","filename":"file2"},{"photo_id":"1391497055","filename":"file4"},{"photo_id":"1391497046","filename":"file1"},{"photo_id":"1391497044","filename":"file0"},{"photo_id":"1391497050","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497046":["hashtag1","hashtag2"]},{"1391497055":["hashtag1","hashtag2"]},{"1391497066":["hashtag1","hashtag2"]},{"1391497048":["hashtag1","hashtag2"]},{"1391497050":["hashtag1","hashtag2"]},{"1391497044":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497046, 1391497055, 1391497066, 1391497048, 1391497050, 1391497044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79401707649231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:36:02.676098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_10_3706.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_12_2663.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_15_2967.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_18_2723.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_21_2731.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_24_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_10_3706.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_12_2663.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_15_2967.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_18_2723.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_21_2731.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_24_3680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1155381202697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:36:22.213286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_10_3706.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_12_2663.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_15_2967.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_18_2723.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_21_2731.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_24_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_10_3706.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_12_2663.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_15_2967.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_18_2723.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_21_2731.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_24_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497307","1391497309","1391497318","1391497312","1391497329","1391497323"],"photo_ids_order":["1391497307","1391497309","1391497312","1391497318","1391497323","1391497329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1937f4af8790f8ce67822a94721c2df.jpg","text":"TemporaryFile(/tmp/multipartBody2849382026267823972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_10_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb6f0714b642913ef6f7b855d5e50373.jpg","text":"TemporaryFile(/tmp/multipartBody3236604076372010313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36d248a0b88b7d3ae8df1caaf2cee0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7752231807934050656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_18_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f38dd01536be7251e0a85295bc9a6d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7043189700182259294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_15_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48148a8e1b098063839cf9c033266e28.jpg","text":"TemporaryFile(/tmp/multipartBody9171357456083724030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_24_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08a57163a5558b31479df51bc2b9b759.jpg","text":"TemporaryFile(/tmp/multipartBody7768567013545564418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961044788,"filename":"image_29102025_20_12_21_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497312","file1":"1391497309","file0":"1391497307","file4":"1391497323","file5":"1391497329","file3":"1391497318"},"map_files_photo_id_array":[{"photo_id":"1391497329","filename":"file5"},{"photo_id":"1391497312","filename":"file2"},{"photo_id":"1391497323","filename":"file4"},{"photo_id":"1391497309","filename":"file1"},{"photo_id":"1391497307","filename":"file0"},{"photo_id":"1391497318","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497307":["hashtag1","hashtag2"]},{"1391497309":["hashtag1","hashtag2"]},{"1391497318":["hashtag1","hashtag2"]},{"1391497312":["hashtag1","hashtag2"]},{"1391497329":["hashtag1","hashtag2"]},{"1391497323":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497307, 1391497309, 1391497318, 1391497312, 1391497329, 1391497323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55008149147034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:37:03.002834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_27_2688.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_30_2728.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_33_3073.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_37_3759.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_42_2683.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_45_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_27_2688.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_30_2728.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_33_3073.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_37_3759.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_42_2683.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_45_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497382","1391497393","1391497377","1391497350","1391497347","1391497407"],"photo_ids_order":["1391497347","1391497350","1391497377","1391497382","1391497393","1391497407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7177b8b9c912b9e911dd788875830fbe.jpg","text":"TemporaryFile(/tmp/multipartBody447734170485596440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_37_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dae13bf323867dc553b60d1dfe1d8073.jpg","text":"TemporaryFile(/tmp/multipartBody8773695892591824162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_42_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd1229ebac229c00e10a31959ddac261.jpg","text":"TemporaryFile(/tmp/multipartBody1809615233576500905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_33_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28201677de52432cef39997dede16d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3238384125161924387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_30_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82cac207cf55004b197d379701643ada.jpg","text":"TemporaryFile(/tmp/multipartBody5482302140737462790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_27_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/525f3b4b90f5134e8e991342f9c5b1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4710814264997773086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961085253,"filename":"image_29102025_20_12_45_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497377","file1":"1391497350","file0":"1391497347","file4":"1391497393","file5":"1391497407","file3":"1391497382"},"map_files_photo_id_array":[{"photo_id":"1391497407","filename":"file5"},{"photo_id":"1391497377","filename":"file2"},{"photo_id":"1391497393","filename":"file4"},{"photo_id":"1391497350","filename":"file1"},{"photo_id":"1391497347","filename":"file0"},{"photo_id":"1391497382","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497382":["hashtag1","hashtag2"]},{"1391497393":["hashtag1","hashtag2"]},{"1391497377":["hashtag1","hashtag2"]},{"1391497350":["hashtag1","hashtag2"]},{"1391497347":["hashtag1","hashtag2"]},{"1391497407":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497382, 1391497393, 1391497377, 1391497350, 1391497347, 1391497407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6238214969635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:37:42.447373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_48_3610.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_51_2792.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_57_3561.jpg', '/home/pi/Desktop/images/29102025/20/12/image_29102025_20_13_00_2788.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_03_2673.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_09_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_48_3610.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_51_2792.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_12_57_3561.jpg
/home/pi/Desktop/images/29102025/20/12/image_29102025_20_13_00_2788.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_03_2673.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_09_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497421","1391497439","1391497433","1391497441","1391497437","1391497428"],"photo_ids_order":["1391497421","1391497428","1391497433","1391497437","1391497439","1391497441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/861fc87dda9d13fded27ff0a08e6397b.jpg","text":"TemporaryFile(/tmp/multipartBody4302616428204108493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_12_48_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c8ab3c1cf50c19abbd970a22f132918.jpg","text":"TemporaryFile(/tmp/multipartBody3616617589365599592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_13_03_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bd92b783db3cb075fd878a41300f640.jpg","text":"TemporaryFile(/tmp/multipartBody1214921791821877228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_12_57_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c11cd7cc18d8bd23adf4dcc29e1f7727.jpg","text":"TemporaryFile(/tmp/multipartBody1962646683469433387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_13_09_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83b2098dd7a4cf720e8614bcc8545ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4791153736788685670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_13_00_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06bdd9980cfb7267ffc6e494239eaeef.jpg","text":"TemporaryFile(/tmp/multipartBody4171522394846666795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961123610,"filename":"image_29102025_20_12_51_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497433","file1":"1391497428","file0":"1391497421","file4":"1391497439","file5":"1391497441","file3":"1391497437"},"map_files_photo_id_array":[{"photo_id":"1391497441","filename":"file5"},{"photo_id":"1391497433","filename":"file2"},{"photo_id":"1391497439","filename":"file4"},{"photo_id":"1391497428","filename":"file1"},{"photo_id":"1391497421","filename":"file0"},{"photo_id":"1391497437","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497421":["hashtag1","hashtag2"]},{"1391497439":["hashtag1","hashtag2"]},{"1391497433":["hashtag1","hashtag2"]},{"1391497441":["hashtag1","hashtag2"]},{"1391497437":["hashtag1","hashtag2"]},{"1391497428":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497421, 1391497439, 1391497433, 1391497441, 1391497437, 1391497428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.404335260391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:38:22.577407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_12_2724.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_21_2888.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_24_2712.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_27_2643.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_30_3700.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_33_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_12_2724.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_21_2888.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_24_2712.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_27_2643.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_30_3700.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_33_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497481","1391497475","1391497469","1391497454","1391497450","1391497464"],"photo_ids_order":["1391497450","1391497454","1391497464","1391497469","1391497475","1391497481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad27537b799498047d4a1ba154fe76f6.jpg","text":"TemporaryFile(/tmp/multipartBody564875078072165447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_33_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/217d1f164d966a4de76cfaa292b4b17c.jpg","text":"TemporaryFile(/tmp/multipartBody2974018916350277350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_30_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a320a23dec6efcc1e53606670b0ad26e.jpg","text":"TemporaryFile(/tmp/multipartBody3997153687235884021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_27_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2921ff1a263845d13a9116174b5b4d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8314862564679774296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_21_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3581d6661e09b6a113306af2394f0931.jpg","text":"TemporaryFile(/tmp/multipartBody4706859679397352132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_12_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a69d5990f12cbaa8a8e2ab049bcf5215.jpg","text":"TemporaryFile(/tmp/multipartBody6485815019295186520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961165451,"filename":"image_29102025_20_13_24_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497464","file1":"1391497454","file0":"1391497450","file4":"1391497475","file5":"1391497481","file3":"1391497469"},"map_files_photo_id_array":[{"photo_id":"1391497481","filename":"file5"},{"photo_id":"1391497464","filename":"file2"},{"photo_id":"1391497475","filename":"file4"},{"photo_id":"1391497454","filename":"file1"},{"photo_id":"1391497450","filename":"file0"},{"photo_id":"1391497469","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497481":["hashtag1","hashtag2"]},{"1391497475":["hashtag1","hashtag2"]},{"1391497469":["hashtag1","hashtag2"]},{"1391497454":["hashtag1","hashtag2"]},{"1391497450":["hashtag1","hashtag2"]},{"1391497464":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497481, 1391497475, 1391497469, 1391497454, 1391497450, 1391497464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51666188240051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:39:03.900800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_36_3042.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_40_3959.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_42_1708.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_45_2725.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_48_3669.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_51_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_36_3042.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_40_3959.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_42_1708.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_45_2725.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_48_3669.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_51_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497502","1391497491","1391497504","1391497494","1391497497","1391497499"],"photo_ids_order":["1391497491","1391497494","1391497497","1391497499","1391497502","1391497504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d83cc0fdb2686b2206ca2015ef8d693.jpg","text":"TemporaryFile(/tmp/multipartBody7754958099711099599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_48_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00e394d9180fa3c937c3ff944e58e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody7066149778793149506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_36_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb9adf7254647ede341c303e3bf2e189.jpg","text":"TemporaryFile(/tmp/multipartBody4505246069834392475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_51_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f86c12cd17ca07afcee311083166fea.jpg","text":"TemporaryFile(/tmp/multipartBody6037799462807914607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_40_3959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e453b3f91a6226e1fbcfa58b8634ceae.jpg","text":"TemporaryFile(/tmp/multipartBody6107535741390638344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_42_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e7dac14ef49e16a9abd29da8ffd20eb.jpg","text":"TemporaryFile(/tmp/multipartBody695547655861916857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961206181,"filename":"image_29102025_20_13_45_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497497","file1":"1391497494","file0":"1391497491","file4":"1391497502","file5":"1391497504","file3":"1391497499"},"map_files_photo_id_array":[{"photo_id":"1391497504","filename":"file5"},{"photo_id":"1391497497","filename":"file2"},{"photo_id":"1391497502","filename":"file4"},{"photo_id":"1391497494","filename":"file1"},{"photo_id":"1391497491","filename":"file0"},{"photo_id":"1391497499","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497502":["hashtag1","hashtag2"]},{"1391497491":["hashtag1","hashtag2"]},{"1391497504":["hashtag1","hashtag2"]},{"1391497494":["hashtag1","hashtag2"]},{"1391497497":["hashtag1","hashtag2"]},{"1391497499":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497502, 1391497491, 1391497504, 1391497494, 1391497497, 1391497499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.471487522125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:39:42.757004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_54_2896.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_56_2723.jpg', '/home/pi/Desktop/images/29102025/20/13/image_29102025_20_14_00_3694.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_03_2793.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_11_5365.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_13_1835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_54_2896.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_13_56_2723.jpg
/home/pi/Desktop/images/29102025/20/13/image_29102025_20_14_00_3694.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_03_2793.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_11_5365.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_13_1835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497523","1391497517","1391497532","1391497531","1391497533","1391497527"],"photo_ids_order":["1391497517","1391497523","1391497527","1391497531","1391497532","1391497533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91eab09b20ffd60d2926628a4731bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody3202433035599759185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_13_56_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1e94f0d9cd856be25bef9aa4d2d351f.jpg","text":"TemporaryFile(/tmp/multipartBody530592914267607162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_13_54_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da0119706a1c0efd7e588a2acad22316.jpg","text":"TemporaryFile(/tmp/multipartBody3102393074629088735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_14_11_5365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db560a1c63de0b844f03bec2e476d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6636311206294078853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_14_03_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9dafa62cd5865ae377f4ede5c79b4806.jpg","text":"TemporaryFile(/tmp/multipartBody6642726364450435493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_14_13_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83e22410e4da5283bf431d446bfb3bb6.jpg","text":"TemporaryFile(/tmp/multipartBody211110672802789457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961243930,"filename":"image_29102025_20_14_00_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497527","file1":"1391497523","file0":"1391497517","file4":"1391497532","file5":"1391497533","file3":"1391497531"},"map_files_photo_id_array":[{"photo_id":"1391497533","filename":"file5"},{"photo_id":"1391497527","filename":"file2"},{"photo_id":"1391497532","filename":"file4"},{"photo_id":"1391497523","filename":"file1"},{"photo_id":"1391497517","filename":"file0"},{"photo_id":"1391497531","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497523":["hashtag1","hashtag2"]},{"1391497517":["hashtag1","hashtag2"]},{"1391497532":["hashtag1","hashtag2"]},{"1391497531":["hashtag1","hashtag2"]},{"1391497533":["hashtag1","hashtag2"]},{"1391497527":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497523, 1391497517, 1391497532, 1391497531, 1391497533, 1391497527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5415518283844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:40:21.916811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_15_1707.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_17_2680.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_21_3779.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_24_2676.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_29_2736.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_33_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_15_1707.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_17_2680.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_21_3779.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_24_2676.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_29_2736.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_33_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497547","1391497555","1391497560","1391497542","1391497551","1391497539"],"photo_ids_order":["1391497539","1391497542","1391497547","1391497551","1391497555","1391497560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b80113d12a7e453e853b685cb9f0da0.jpg","text":"TemporaryFile(/tmp/multipartBody8069100292993253413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_21_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e6deab046848e1b448053cf47aa626c.jpg","text":"TemporaryFile(/tmp/multipartBody5960150570660858875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_29_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/781f197b1a316a941e5fbc38c326c62f.jpg","text":"TemporaryFile(/tmp/multipartBody3043801045777433174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_33_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8eb3bc751f0f83aa8dd66eb4b35e0960.jpg","text":"TemporaryFile(/tmp/multipartBody764404822352013046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_17_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/352ccfe12e26dad2b7cffcfc50e83583.jpg","text":"TemporaryFile(/tmp/multipartBody7602628720509295945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90f0878fb0c3a9c6f144f141ca9e6e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8823410118486908917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961284644,"filename":"image_29102025_20_14_15_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497547","file1":"1391497542","file0":"1391497539","file4":"1391497555","file5":"1391497560","file3":"1391497551"},"map_files_photo_id_array":[{"photo_id":"1391497560","filename":"file5"},{"photo_id":"1391497547","filename":"file2"},{"photo_id":"1391497555","filename":"file4"},{"photo_id":"1391497542","filename":"file1"},{"photo_id":"1391497539","filename":"file0"},{"photo_id":"1391497551","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497547":["hashtag1","hashtag2"]},{"1391497555":["hashtag1","hashtag2"]},{"1391497560":["hashtag1","hashtag2"]},{"1391497542":["hashtag1","hashtag2"]},{"1391497551":["hashtag1","hashtag2"]},{"1391497539":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497547, 1391497555, 1391497560, 1391497542, 1391497551, 1391497539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33736515045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:41:02.868187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_36_2911.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_39_2826.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_42_2747.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_45_3683.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_48_2723.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_53_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_36_2911.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_39_2826.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_42_2747.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_45_3683.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_48_2723.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_53_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497589","1391497574","1391497578","1391497583","1391497586","1391497571"],"photo_ids_order":["1391497571","1391497574","1391497578","1391497583","1391497586","1391497589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6eafc854dbe2e0ae643f8861d986380.jpg","text":"TemporaryFile(/tmp/multipartBody4634784473583874068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_53_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8eb5108e2ec68f0964f79fe4e01cede2.jpg","text":"TemporaryFile(/tmp/multipartBody5440157550815436876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_39_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b775e6aac8c059e1d9bd81dced8f57b2.jpg","text":"TemporaryFile(/tmp/multipartBody1431266121160111866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_42_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/151a7a0fceb44610dea813e304209821.jpg","text":"TemporaryFile(/tmp/multipartBody7941773237558186988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_45_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/453d46e9219682883117f37c284438c7.jpg","text":"TemporaryFile(/tmp/multipartBody4364839431289979310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_48_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d8d7970e4e917db056fa079026e5d18.jpg","text":"TemporaryFile(/tmp/multipartBody3831971225543988301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961328296,"filename":"image_29102025_20_14_36_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497578","file1":"1391497574","file0":"1391497571","file4":"1391497586","file5":"1391497589","file3":"1391497583"},"map_files_photo_id_array":[{"photo_id":"1391497589","filename":"file5"},{"photo_id":"1391497578","filename":"file2"},{"photo_id":"1391497586","filename":"file4"},{"photo_id":"1391497574","filename":"file1"},{"photo_id":"1391497571","filename":"file0"},{"photo_id":"1391497583","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497589":["hashtag1","hashtag2"]},{"1391497574":["hashtag1","hashtag2"]},{"1391497578":["hashtag1","hashtag2"]},{"1391497583":["hashtag1","hashtag2"]},{"1391497586":["hashtag1","hashtag2"]},{"1391497571":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497589, 1391497574, 1391497578, 1391497583, 1391497586, 1391497571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34396553039551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:42:02.736288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_57_3710.jpg', '/home/pi/Desktop/images/29102025/20/14/image_29102025_20_15_00_2711.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_03_2775.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_05_2758.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_08_3044.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_12_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_14_57_3710.jpg
/home/pi/Desktop/images/29102025/20/14/image_29102025_20_15_00_2711.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_03_2775.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_05_2758.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_08_3044.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_12_3767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497613","1391497619","1391497610","1391497607","1391497615","1391497617"],"photo_ids_order":["1391497607","1391497610","1391497613","1391497615","1391497617","1391497619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd54e6f562a1b00ffd7d351fb6af222f.jpg","text":"TemporaryFile(/tmp/multipartBody1232213730313673535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_15_03_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c6fcfa785c4d2075d6f02661c31f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7295569857074119925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_15_12_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0307132c111fb58a42a8b359fdd21d44.jpg","text":"TemporaryFile(/tmp/multipartBody1747172210083078709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_15_00_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28114ecfe32979023069db36fd8f4780.jpg","text":"TemporaryFile(/tmp/multipartBody6002180714989512427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_14_57_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f007c2678fca1ce6d1f011d8566b8bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2559969285234091317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_15_05_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08cc63627d3b660d5f71028860003a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4006383986987293935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961384882,"filename":"image_29102025_20_15_08_3044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497613","file1":"1391497610","file0":"1391497607","file4":"1391497617","file5":"1391497619","file3":"1391497615"},"map_files_photo_id_array":[{"photo_id":"1391497619","filename":"file5"},{"photo_id":"1391497613","filename":"file2"},{"photo_id":"1391497617","filename":"file4"},{"photo_id":"1391497610","filename":"file1"},{"photo_id":"1391497607","filename":"file0"},{"photo_id":"1391497615","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497613":["hashtag1","hashtag2"]},{"1391497619":["hashtag1","hashtag2"]},{"1391497610":["hashtag1","hashtag2"]},{"1391497607":["hashtag1","hashtag2"]},{"1391497615":["hashtag1","hashtag2"]},{"1391497617":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497613, 1391497619, 1391497610, 1391497607, 1391497615, 1391497617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70210814476013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:42:42.326891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_15_2865.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_18_2705.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_20_2674.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_24_3699.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_27_2835.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_30_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_15_2865.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_18_2705.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_20_2674.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_24_3699.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_27_2835.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_30_2558.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.081336498260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:43:03.079050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_15_2865.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_18_2705.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_20_2674.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_24_3699.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_27_2835.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_30_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_15_2865.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_18_2705.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_20_2674.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_24_3699.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_27_2835.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_30_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497703","1391497693","1391497705","1391497698","1391497689","1391497701"],"photo_ids_order":["1391497689","1391497693","1391497698","1391497701","1391497703","1391497705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dcdf1b0197f8145f0de1cfc57b54ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4875184022123328796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_27_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc4c62f458cfcd2a2a77235ab97505a2.jpg","text":"TemporaryFile(/tmp/multipartBody1496693028050895646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_18_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/955d3a6b0a60e872d52cff3633f4ee41.jpg","text":"TemporaryFile(/tmp/multipartBody3506905299719898948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_30_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4e0a0b856f39e1dca33fbc6803e36f5.jpg","text":"TemporaryFile(/tmp/multipartBody4141447562319654485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_20_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/556fd2d4ef9a3faf216904b25df08bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7217821704887139127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_15_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c4b6ff26bbd5ce72ee7941f8185637f.jpg","text":"TemporaryFile(/tmp/multipartBody5284931386817898365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961445230,"filename":"image_29102025_20_15_24_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497698","file1":"1391497693","file0":"1391497689","file4":"1391497703","file5":"1391497705","file3":"1391497701"},"map_files_photo_id_array":[{"photo_id":"1391497705","filename":"file5"},{"photo_id":"1391497698","filename":"file2"},{"photo_id":"1391497703","filename":"file4"},{"photo_id":"1391497693","filename":"file1"},{"photo_id":"1391497689","filename":"file0"},{"photo_id":"1391497701","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497703":["hashtag1","hashtag2"]},{"1391497693":["hashtag1","hashtag2"]},{"1391497705":["hashtag1","hashtag2"]},{"1391497698":["hashtag1","hashtag2"]},{"1391497689":["hashtag1","hashtag2"]},{"1391497701":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497703, 1391497693, 1391497705, 1391497698, 1391497689, 1391497701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89447784423828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:43:42.399495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_32_2809.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_35_2965.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_39_3774.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_42_2895.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_48_2814.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_50_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_32_2809.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_35_2965.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_39_3774.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_42_2895.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_48_2814.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_50_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497730","1391497733","1391497736","1391497724","1391497714","1391497719"],"photo_ids_order":["1391497714","1391497719","1391497724","1391497730","1391497733","1391497736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfac2ce1fd681dbbf8342d382ffce596.jpg","text":"TemporaryFile(/tmp/multipartBody2664957967826240306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_42_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abed0dcfb7f5111bd99bf968ac9ef8d9.jpg","text":"TemporaryFile(/tmp/multipartBody2382863911917221645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_48_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa3ca5353a2469999b4400deeb648faf.jpg","text":"TemporaryFile(/tmp/multipartBody2483444809936647706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_50_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d829be58e3b3792d591119f90657bb86.jpg","text":"TemporaryFile(/tmp/multipartBody8707210537920417355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_39_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45322844eeaac2939d9236acb747bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody2323987557414862695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_32_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b55845f311895ed0496481a8fc0be89b.jpg","text":"TemporaryFile(/tmp/multipartBody8261141546331521455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961483564,"filename":"image_29102025_20_15_35_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497724","file1":"1391497719","file0":"1391497714","file4":"1391497733","file5":"1391497736","file3":"1391497730"},"map_files_photo_id_array":[{"photo_id":"1391497736","filename":"file5"},{"photo_id":"1391497724","filename":"file2"},{"photo_id":"1391497733","filename":"file4"},{"photo_id":"1391497719","filename":"file1"},{"photo_id":"1391497714","filename":"file0"},{"photo_id":"1391497730","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497730":["hashtag1","hashtag2"]},{"1391497733":["hashtag1","hashtag2"]},{"1391497736":["hashtag1","hashtag2"]},{"1391497724":["hashtag1","hashtag2"]},{"1391497714":["hashtag1","hashtag2"]},{"1391497719":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497730, 1391497733, 1391497736, 1391497724, 1391497714, 1391497719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02335715293884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:44:22.592456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_54_3695.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_57_2847.jpg', '/home/pi/Desktop/images/29102025/20/15/image_29102025_20_16_00_2728.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_02_2711.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_06_3637.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_09_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_54_3695.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_15_57_2847.jpg
/home/pi/Desktop/images/29102025/20/15/image_29102025_20_16_00_2728.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_02_2711.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_06_3637.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_09_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497745","1391497748","1391497753","1391497773","1391497767","1391497761"],"photo_ids_order":["1391497745","1391497748","1391497753","1391497761","1391497767","1391497773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68728c3e6f12617601982038737b281e.jpg","text":"TemporaryFile(/tmp/multipartBody6856532095336820815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_15_54_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6046e9e7dd37387fc531fe7ac02c0917.jpg","text":"TemporaryFile(/tmp/multipartBody5567200343123538988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_15_57_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/765f1041df16e099aa1a44ce099bc4d7.jpg","text":"TemporaryFile(/tmp/multipartBody459801543211717052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_16_00_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c23ee46e3916428459db5ec2ac1912c.jpg","text":"TemporaryFile(/tmp/multipartBody6215422872932452586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_16_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66f71c05cbd30de04686326d83233fc7.jpg","text":"TemporaryFile(/tmp/multipartBody2099132550075298732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_16_06_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bfda4d7ad4138635d00fb47a4da4acf.jpg","text":"TemporaryFile(/tmp/multipartBody2864733435336334074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961525329,"filename":"image_29102025_20_16_02_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497753","file1":"1391497748","file0":"1391497745","file4":"1391497767","file5":"1391497773","file3":"1391497761"},"map_files_photo_id_array":[{"photo_id":"1391497773","filename":"file5"},{"photo_id":"1391497753","filename":"file2"},{"photo_id":"1391497767","filename":"file4"},{"photo_id":"1391497748","filename":"file1"},{"photo_id":"1391497745","filename":"file0"},{"photo_id":"1391497761","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497745":["hashtag1","hashtag2"]},{"1391497748":["hashtag1","hashtag2"]},{"1391497753":["hashtag1","hashtag2"]},{"1391497773":["hashtag1","hashtag2"]},{"1391497767":["hashtag1","hashtag2"]},{"1391497761":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497745, 1391497748, 1391497753, 1391497773, 1391497767, 1391497761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.091639280319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:45:22.800461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_11_2651.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_15_3452.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_18_3256.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_21_2727.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_23_2572.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_27_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_11_2651.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_15_3452.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_18_3256.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_21_2727.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_23_2572.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_27_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497811","1391497805","1391497797","1391497801","1391497793","1391497790"],"photo_ids_order":["1391497790","1391497793","1391497797","1391497801","1391497805","1391497811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc9f268b4172e83f959dafdcc8b45c93.jpg","text":"TemporaryFile(/tmp/multipartBody5012189863195652105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_27_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/336a159fe6e11bf892fa12283c99159f.jpg","text":"TemporaryFile(/tmp/multipartBody4955840187393361579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_23_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fcd02079fb75e863248f1212e66065d.jpg","text":"TemporaryFile(/tmp/multipartBody8397105105017705025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_18_3256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a2b61f6f59bdfd8b5aa0b7ce30f32ac.jpg","text":"TemporaryFile(/tmp/multipartBody6224698582326687951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_21_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ccf4b6bcb2714e82cbd590824c56f55.jpg","text":"TemporaryFile(/tmp/multipartBody2235177183810504022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_15_3452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a2b7a3a402c6e17d5496784cd5596c6.jpg","text":"TemporaryFile(/tmp/multipartBody89574050109177621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961585521,"filename":"image_29102025_20_16_11_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497797","file1":"1391497793","file0":"1391497790","file4":"1391497805","file5":"1391497811","file3":"1391497801"},"map_files_photo_id_array":[{"photo_id":"1391497811","filename":"file5"},{"photo_id":"1391497797","filename":"file2"},{"photo_id":"1391497805","filename":"file4"},{"photo_id":"1391497793","filename":"file1"},{"photo_id":"1391497790","filename":"file0"},{"photo_id":"1391497801","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497811":["hashtag1","hashtag2"]},{"1391497805":["hashtag1","hashtag2"]},{"1391497797":["hashtag1","hashtag2"]},{"1391497801":["hashtag1","hashtag2"]},{"1391497793":["hashtag1","hashtag2"]},{"1391497790":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497811, 1391497805, 1391497797, 1391497801, 1391497793, 1391497790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39276599884033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:46:21.909161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_30_2654.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_32_2680.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_36_3690.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_41_2609.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_45_3693.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_48_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_30_2654.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_32_2680.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_36_3690.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_41_2609.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_45_3693.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_48_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497853","1391497826","1391497829","1391497840","1391497846","1391497834"],"photo_ids_order":["1391497826","1391497829","1391497834","1391497840","1391497846","1391497853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adc10bdfd5ca283cce02e613a1816d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3948718425690764724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_48_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe73938ae174771dfe01a650de8a8399.jpg","text":"TemporaryFile(/tmp/multipartBody2136870157956987102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_30_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c251b35499261c40468f7b49bdd4122.jpg","text":"TemporaryFile(/tmp/multipartBody5855877399768848195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_32_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b30dd01cb1fcf57ed6e189006ac784f.jpg","text":"TemporaryFile(/tmp/multipartBody3105134032738661891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_41_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/286511e3d200d84c8518e7950e0904ec.jpg","text":"TemporaryFile(/tmp/multipartBody3186572153562487989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_45_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47f6f157a93da3901ee7b16a24b8d402.jpg","text":"TemporaryFile(/tmp/multipartBody5263693786056748188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961644302,"filename":"image_29102025_20_16_36_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497834","file1":"1391497829","file0":"1391497826","file4":"1391497846","file5":"1391497853","file3":"1391497840"},"map_files_photo_id_array":[{"photo_id":"1391497853","filename":"file5"},{"photo_id":"1391497834","filename":"file2"},{"photo_id":"1391497846","filename":"file4"},{"photo_id":"1391497829","filename":"file1"},{"photo_id":"1391497826","filename":"file0"},{"photo_id":"1391497840","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497853":["hashtag1","hashtag2"]},{"1391497826":["hashtag1","hashtag2"]},{"1391497829":["hashtag1","hashtag2"]},{"1391497840":["hashtag1","hashtag2"]},{"1391497846":["hashtag1","hashtag2"]},{"1391497834":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497853, 1391497826, 1391497829, 1391497840, 1391497846, 1391497834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80440068244934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:47:02.876663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_51_2904.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_53_2604.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_57_3858.jpg', '/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_59_1995.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_03_3583.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_05_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_51_2904.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_53_2604.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_57_3858.jpg
/home/pi/Desktop/images/29102025/20/16/image_29102025_20_16_59_1995.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_03_3583.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_05_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497868","1391497863","1391497872","1391497875","1391497860","1391497877"],"photo_ids_order":["1391497860","1391497863","1391497868","1391497872","1391497875","1391497877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c016c45d3e4afda868724abf7336458.jpg","text":"TemporaryFile(/tmp/multipartBody4824976216098163014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_16_57_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0c9ff4fb5024fbf9feb1774e4cf380a.jpg","text":"TemporaryFile(/tmp/multipartBody4754065870934876174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_16_53_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a47d4987eb804b85c77948ffd24c06e1.jpg","text":"TemporaryFile(/tmp/multipartBody1768293160303552789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_16_59_1995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b14647159e795a6d723fe02e86563f38.jpg","text":"TemporaryFile(/tmp/multipartBody8993887394210112289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_17_03_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed922fa20a959bde7af1eba108e8c115.jpg","text":"TemporaryFile(/tmp/multipartBody8298649527673836664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_16_51_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d879134d3f5c10796da8325d4bbe74f.jpg","text":"TemporaryFile(/tmp/multipartBody7410798383194366593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961686857,"filename":"image_29102025_20_17_05_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497868","file1":"1391497863","file0":"1391497860","file4":"1391497875","file5":"1391497877","file3":"1391497872"},"map_files_photo_id_array":[{"photo_id":"1391497877","filename":"file5"},{"photo_id":"1391497868","filename":"file2"},{"photo_id":"1391497875","filename":"file4"},{"photo_id":"1391497863","filename":"file1"},{"photo_id":"1391497860","filename":"file0"},{"photo_id":"1391497872","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497868":["hashtag1","hashtag2"]},{"1391497863":["hashtag1","hashtag2"]},{"1391497872":["hashtag1","hashtag2"]},{"1391497875":["hashtag1","hashtag2"]},{"1391497860":["hashtag1","hashtag2"]},{"1391497877":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497868, 1391497863, 1391497872, 1391497875, 1391497860, 1391497877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.623584270477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:48:02.818090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_09_3659.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_12_2568.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_14_2605.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_18_3807.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_21_2613.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_23_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_09_3659.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_12_2568.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_14_2605.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_18_3807.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_21_2613.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_23_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497897","1391497900","1391497899","1391497908","1391497902","1391497905"],"photo_ids_order":["1391497897","1391497899","1391497900","1391497902","1391497905","1391497908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8906d62855def6cd2c38b23f825b860.jpg","text":"TemporaryFile(/tmp/multipartBody3156132508898403619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_09_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53a9d54be859ba44826a0798f941ba05.jpg","text":"TemporaryFile(/tmp/multipartBody906049624987585217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_14_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d833410f766c047463a80d0649c94262.jpg","text":"TemporaryFile(/tmp/multipartBody7399781886681950199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_12_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18214e1c17f75fdc1d025ac82dfc23bf.jpg","text":"TemporaryFile(/tmp/multipartBody7255368699611672409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_23_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90e9d78d9a42132198c45e1b2ae091f6.jpg","text":"TemporaryFile(/tmp/multipartBody6077085778909648398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_18_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46bc16308b8d8f4c53d636075b3c09be.jpg","text":"TemporaryFile(/tmp/multipartBody8874142511454191735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961744973,"filename":"image_29102025_20_17_21_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497900","file1":"1391497899","file0":"1391497897","file4":"1391497905","file5":"1391497908","file3":"1391497902"},"map_files_photo_id_array":[{"photo_id":"1391497908","filename":"file5"},{"photo_id":"1391497900","filename":"file2"},{"photo_id":"1391497905","filename":"file4"},{"photo_id":"1391497899","filename":"file1"},{"photo_id":"1391497897","filename":"file0"},{"photo_id":"1391497902","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497897":["hashtag1","hashtag2"]},{"1391497900":["hashtag1","hashtag2"]},{"1391497899":["hashtag1","hashtag2"]},{"1391497908":["hashtag1","hashtag2"]},{"1391497902":["hashtag1","hashtag2"]},{"1391497905":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497897, 1391497900, 1391497899, 1391497908, 1391497902, 1391497905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89225101470947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:48:42.368362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_27_3747.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_30_2689.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_32_2709.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_35_2797.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_39_3864.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_42_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_27_3747.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_30_2689.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_32_2709.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_35_2797.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_39_3864.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_42_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497933","1391497924","1391497935","1391497929","1391497920","1391497938"],"photo_ids_order":["1391497920","1391497924","1391497929","1391497933","1391497935","1391497938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/776b154350eb317db36d7bc7c9c3bdb3.jpg","text":"TemporaryFile(/tmp/multipartBody8498045211658101956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_35_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bc9e45d0eaff4009a8261025896e3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1862159733840587996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_30_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/118b2ad6b40a68a6b1822dedcdf09a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7591373165518645047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_39_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e328275c5511ad87d46513b48fd77295.jpg","text":"TemporaryFile(/tmp/multipartBody4535799219062060208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_32_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/167eecd87a4a50c1ec431b289d253722.jpg","text":"TemporaryFile(/tmp/multipartBody178554135112616754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_27_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41136ad2e781989bf04b1cf99df4e435.jpg","text":"TemporaryFile(/tmp/multipartBody4147942489635820104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961783525,"filename":"image_29102025_20_17_42_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497929","file1":"1391497924","file0":"1391497920","file4":"1391497935","file5":"1391497938","file3":"1391497933"},"map_files_photo_id_array":[{"photo_id":"1391497938","filename":"file5"},{"photo_id":"1391497929","filename":"file2"},{"photo_id":"1391497935","filename":"file4"},{"photo_id":"1391497924","filename":"file1"},{"photo_id":"1391497920","filename":"file0"},{"photo_id":"1391497933","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497933":["hashtag1","hashtag2"]},{"1391497924":["hashtag1","hashtag2"]},{"1391497935":["hashtag1","hashtag2"]},{"1391497929":["hashtag1","hashtag2"]},{"1391497920":["hashtag1","hashtag2"]},{"1391497938":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497933, 1391497924, 1391497935, 1391497929, 1391497920, 1391497938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69311046600342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:49:22.629835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_44_2539.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_48_3535.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_50_2730.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_53_2745.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_57_3641.jpg', '/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_59_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_44_2539.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_48_3535.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_50_2730.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_53_2745.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_57_3641.jpg
/home/pi/Desktop/images/29102025/20/17/image_29102025_20_17_59_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391497987","1391497951","1391497948","1391497945","1391497980","1391497955"],"photo_ids_order":["1391497945","1391497948","1391497951","1391497955","1391497980","1391497987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87db2c7f3439b7037ff9351a092fd2df.jpg","text":"TemporaryFile(/tmp/multipartBody7542919867912224432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_59_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40c83fba85698efa5175e336e00c2db6.jpg","text":"TemporaryFile(/tmp/multipartBody1619191162501996496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_50_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54352149e2fd7d63b96fc8bc9ba4be84.jpg","text":"TemporaryFile(/tmp/multipartBody1418736120872604714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_48_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29b0ef942eeec2c922d15e0d0e9424f3.jpg","text":"TemporaryFile(/tmp/multipartBody1942861624670543315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_44_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c72c6f8c671f9dbc905b2a6c9189d26a.jpg","text":"TemporaryFile(/tmp/multipartBody7480673057576515952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_57_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24317d262e13a7eba3ad7369da9c3087.jpg","text":"TemporaryFile(/tmp/multipartBody2151241637486850487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961825568,"filename":"image_29102025_20_17_53_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391497951","file1":"1391497948","file0":"1391497945","file4":"1391497980","file5":"1391497987","file3":"1391497955"},"map_files_photo_id_array":[{"photo_id":"1391497987","filename":"file5"},{"photo_id":"1391497951","filename":"file2"},{"photo_id":"1391497980","filename":"file4"},{"photo_id":"1391497948","filename":"file1"},{"photo_id":"1391497945","filename":"file0"},{"photo_id":"1391497955","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391497987":["hashtag1","hashtag2"]},{"1391497951":["hashtag1","hashtag2"]},{"1391497948":["hashtag1","hashtag2"]},{"1391497945":["hashtag1","hashtag2"]},{"1391497980":["hashtag1","hashtag2"]},{"1391497955":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391497987, 1391497951, 1391497948, 1391497945, 1391497980, 1391497955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.264319896698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:50:02.240123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_03_3564.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_06_2673.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_11_2751.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_15_3543.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_17_2672.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_20_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_03_3564.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_06_2673.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_11_2751.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_15_3543.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_17_2672.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_20_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498003","1391498005","1391498043","1391498040","1391498001","1391498036"],"photo_ids_order":["1391498001","1391498003","1391498005","1391498036","1391498040","1391498043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8eac237420770280471be1477ef58b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5152862803764621572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88068ab1ed4c734c8bdc2a726d3e72e5.jpg","text":"TemporaryFile(/tmp/multipartBody8339438035751512329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_11_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34502392d337063a4a7f279db07599b0.jpg","text":"TemporaryFile(/tmp/multipartBody7119743265941402020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_20_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d330870d00ab083d7aa88d75dbfe0c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3981108284284025126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99d9a090d997e7d058a1863631d0dc10.jpg","text":"TemporaryFile(/tmp/multipartBody3074198351715040133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_03_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5575c10bb62cac7fc563148f9a10a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5635114703111117515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961864427,"filename":"image_29102025_20_18_15_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498005","file1":"1391498003","file0":"1391498001","file4":"1391498040","file5":"1391498043","file3":"1391498036"},"map_files_photo_id_array":[{"photo_id":"1391498043","filename":"file5"},{"photo_id":"1391498005","filename":"file2"},{"photo_id":"1391498040","filename":"file4"},{"photo_id":"1391498003","filename":"file1"},{"photo_id":"1391498001","filename":"file0"},{"photo_id":"1391498036","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498003":["hashtag1","hashtag2"]},{"1391498005":["hashtag1","hashtag2"]},{"1391498043":["hashtag1","hashtag2"]},{"1391498040":["hashtag1","hashtag2"]},{"1391498001":["hashtag1","hashtag2"]},{"1391498036":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498003, 1391498005, 1391498043, 1391498040, 1391498001, 1391498036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.763771295547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:50:41.848060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_24_3784.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_26_2583.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_29_2740.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_33_3608.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_35_2580.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_38_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_24_3784.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_26_2583.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_29_2740.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_33_3608.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_35_2580.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_38_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498071","1391498076","1391498073","1391498067","1391498063","1391498057"],"photo_ids_order":["1391498057","1391498063","1391498067","1391498071","1391498073","1391498076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a16175e8370048d6cb40435c63f25319.jpg","text":"TemporaryFile(/tmp/multipartBody6240747983704019998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_33_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8230f0cd3abd84a9ddd3436fdd6395da.jpg","text":"TemporaryFile(/tmp/multipartBody847348882024513403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_38_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d39ec372f8765d3dc3dbb1cf1b3a964.jpg","text":"TemporaryFile(/tmp/multipartBody7416506821812408936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_35_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8621bd8aa4894dcb6abca937e487371f.jpg","text":"TemporaryFile(/tmp/multipartBody7258980614535682341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_29_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a24044878c9fed96517f18c6bc828e69.jpg","text":"TemporaryFile(/tmp/multipartBody2692345186350485393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_26_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fec16e86d00b1d87c10ccae316d259dc.jpg","text":"TemporaryFile(/tmp/multipartBody9014311913747662780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961903054,"filename":"image_29102025_20_18_24_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498067","file1":"1391498063","file0":"1391498057","file4":"1391498073","file5":"1391498076","file3":"1391498071"},"map_files_photo_id_array":[{"photo_id":"1391498076","filename":"file5"},{"photo_id":"1391498067","filename":"file2"},{"photo_id":"1391498073","filename":"file4"},{"photo_id":"1391498063","filename":"file1"},{"photo_id":"1391498057","filename":"file0"},{"photo_id":"1391498071","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498071":["hashtag1","hashtag2"]},{"1391498076":["hashtag1","hashtag2"]},{"1391498073":["hashtag1","hashtag2"]},{"1391498067":["hashtag1","hashtag2"]},{"1391498063":["hashtag1","hashtag2"]},{"1391498057":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498071, 1391498076, 1391498073, 1391498067, 1391498063, 1391498057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43339729309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:51:21.967508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_42_3690.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_46_3945.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_47_1803.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_50_2694.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_54_3666.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_57_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_42_3690.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_46_3945.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_47_1803.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_50_2694.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_54_3666.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_57_2776.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6368422508239746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:51:41.977763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_42_3690.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_46_3945.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_47_1803.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_50_2694.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_54_3666.jpg', '/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_57_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_42_3690.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_46_3945.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_47_1803.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_50_2694.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_54_3666.jpg
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_57_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498105","1391498128","1391498130","1391498154","1391498121","1391498099"],"photo_ids_order":["1391498099","1391498105","1391498121","1391498128","1391498130","1391498154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d76d8459647028dc073c548d6507b90.jpg","text":"TemporaryFile(/tmp/multipartBody5378408430686082968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_46_3945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4c8da7498bb3f12d4f9abd0830ba071.jpg","text":"TemporaryFile(/tmp/multipartBody2343256236599273085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_50_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0ea99fc58b14565746e777780e89a07.jpg","text":"TemporaryFile(/tmp/multipartBody5942726224569441886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_54_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ef083e8aad0329e5e5a5ba1b33cc6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5127864561799051587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_57_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6f1a44b1f77b5f399f25266fdf235ae.jpg","text":"TemporaryFile(/tmp/multipartBody2868840006863705616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_47_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c21aa19efd062a42e15e1bc9113af61.jpg","text":"TemporaryFile(/tmp/multipartBody7221738346269703912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761961963014,"filename":"image_29102025_20_18_42_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498121","file1":"1391498105","file0":"1391498099","file4":"1391498130","file5":"1391498154","file3":"1391498128"},"map_files_photo_id_array":[{"photo_id":"1391498154","filename":"file5"},{"photo_id":"1391498121","filename":"file2"},{"photo_id":"1391498130","filename":"file4"},{"photo_id":"1391498105","filename":"file1"},{"photo_id":"1391498099","filename":"file0"},{"photo_id":"1391498128","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498105":["hashtag1","hashtag2"]},{"1391498128":["hashtag1","hashtag2"]},{"1391498130":["hashtag1","hashtag2"]},{"1391498154":["hashtag1","hashtag2"]},{"1391498121":["hashtag1","hashtag2"]},{"1391498099":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498105, 1391498128, 1391498130, 1391498154, 1391498121, 1391498099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59667754173279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:52:22.140707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_59_2841.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_02_2632.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_06_3618.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_08_2696.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_11_2605.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_15_3826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/18/image_29102025_20_18_59_2841.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_02_2632.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_06_3618.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_08_2696.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_11_2605.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_15_3826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498213","1391498227","1391498184","1391498180","1391498177","1391498222"],"photo_ids_order":["1391498177","1391498180","1391498184","1391498213","1391498222","1391498227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5dcb097bed4fa8caa9329b5daa2e2ad.jpg","text":"TemporaryFile(/tmp/multipartBody3068769407924610802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_19_08_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0793d9c4c7033ba6a4e73bd87e3d2199.jpg","text":"TemporaryFile(/tmp/multipartBody5711560533717194955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_19_15_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9354b35eb6ff7e3eb087f2bda65b7f7d.jpg","text":"TemporaryFile(/tmp/multipartBody355388524034284196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_19_06_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34e34692c7d26316ce92507ff1ec7730.jpg","text":"TemporaryFile(/tmp/multipartBody3083228839374683942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_19_02_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e5eb7cb1e0dfa954140e65244985a20.jpg","text":"TemporaryFile(/tmp/multipartBody6864619780503633900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_18_59_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b8045bf1f1119bceeceb40eb757a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody3492753275146674790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962005000,"filename":"image_29102025_20_19_11_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498184","file1":"1391498180","file0":"1391498177","file4":"1391498222","file5":"1391498227","file3":"1391498213"},"map_files_photo_id_array":[{"photo_id":"1391498227","filename":"file5"},{"photo_id":"1391498184","filename":"file2"},{"photo_id":"1391498222","filename":"file4"},{"photo_id":"1391498180","filename":"file1"},{"photo_id":"1391498177","filename":"file0"},{"photo_id":"1391498213","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498213":["hashtag1","hashtag2"]},{"1391498227":["hashtag1","hashtag2"]},{"1391498184":["hashtag1","hashtag2"]},{"1391498180":["hashtag1","hashtag2"]},{"1391498177":["hashtag1","hashtag2"]},{"1391498222":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498213, 1391498227, 1391498184, 1391498180, 1391498177, 1391498222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.920358657836914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:53:03.085088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_18_2719.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_20_2697.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_23_2688.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_27_3755.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_29_2673.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_32_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_18_2719.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_20_2697.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_23_2688.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_27_3755.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_29_2673.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_32_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498398","1391498401","1391498404","1391498364","1391498325","1391498426"],"photo_ids_order":["1391498325","1391498364","1391498398","1391498401","1391498404","1391498426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e59f5c20c773b3ae2d6afda9d956a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody338564398788496410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_23_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0c5a1915030160ad9eb968e175a980e.jpg","text":"TemporaryFile(/tmp/multipartBody786436283790525371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_27_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c269984629525ce0ba76594b4fe47ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6857259130264114477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_29_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31fb531ea4276f9e1452e042dcde8c37.jpg","text":"TemporaryFile(/tmp/multipartBody3675101101063499073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_20_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4350acf8279a03ee4e8b2dd171792b0.jpg","text":"TemporaryFile(/tmp/multipartBody102725946508432354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_18_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ee8f03efa96703c869387ebb8fa3389.jpg","text":"TemporaryFile(/tmp/multipartBody6426524948520651771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962045372,"filename":"image_29102025_20_19_32_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498398","file1":"1391498364","file0":"1391498325","file4":"1391498404","file5":"1391498426","file3":"1391498401"},"map_files_photo_id_array":[{"photo_id":"1391498426","filename":"file5"},{"photo_id":"1391498398","filename":"file2"},{"photo_id":"1391498404","filename":"file4"},{"photo_id":"1391498364","filename":"file1"},{"photo_id":"1391498325","filename":"file0"},{"photo_id":"1391498401","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498398":["hashtag1","hashtag2"]},{"1391498401":["hashtag1","hashtag2"]},{"1391498404":["hashtag1","hashtag2"]},{"1391498364":["hashtag1","hashtag2"]},{"1391498325":["hashtag1","hashtag2"]},{"1391498426":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498398, 1391498401, 1391498404, 1391498364, 1391498325, 1391498426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.790252447128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 02:53:42.397117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_36_3667.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_38_2608.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_41_2691.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_45_3696.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_50_2677.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_54_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_36_3667.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_38_2608.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_41_2691.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_45_3696.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_50_2677.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_54_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498446","1391498664","1391498619","1391498669","1391498483","1391498450"],"photo_ids_order":["1391498446","1391498450","1391498483","1391498619","1391498664","1391498669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e429c413a489c3899a480a5c738c9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6049813939660136509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_36_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be1a3040d65fafcebaa76b40fff03d25.jpg","text":"TemporaryFile(/tmp/multipartBody8753688024450595671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_50_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed71864852b41f19090df3974d8d80bb.jpg","text":"TemporaryFile(/tmp/multipartBody8700693134459544541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_45_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b0a11735ba5e27ef3811e891edb13c6.jpg","text":"TemporaryFile(/tmp/multipartBody9201850040976498858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_54_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84f6978ddff5480d9f602da1de0a9a54.jpg","text":"TemporaryFile(/tmp/multipartBody3002604687377846512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_41_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2ebba0718450404e9bbcef3595a2a22.jpg","text":"TemporaryFile(/tmp/multipartBody7915369544933886847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962083566,"filename":"image_29102025_20_19_38_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498483","file1":"1391498450","file0":"1391498446","file4":"1391498664","file5":"1391498669","file3":"1391498619"},"map_files_photo_id_array":[{"photo_id":"1391498669","filename":"file5"},{"photo_id":"1391498483","filename":"file2"},{"photo_id":"1391498664","filename":"file4"},{"photo_id":"1391498450","filename":"file1"},{"photo_id":"1391498446","filename":"file0"},{"photo_id":"1391498619","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498446":["hashtag1","hashtag2"]},{"1391498664":["hashtag1","hashtag2"]},{"1391498619":["hashtag1","hashtag2"]},{"1391498669":["hashtag1","hashtag2"]},{"1391498483":["hashtag1","hashtag2"]},{"1391498450":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498446, 1391498664, 1391498619, 1391498669, 1391498483, 1391498450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91421556472778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:54:22.546427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_56_2651.jpg', '/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_59_2796.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_03_3628.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_05_2705.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_08_2765.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_12_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_56_2651.jpg
/home/pi/Desktop/images/29102025/20/19/image_29102025_20_19_59_2796.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_03_3628.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_05_2705.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_08_2765.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_12_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498791","1391498803","1391498812","1391498808","1391498798","1391498750"],"photo_ids_order":["1391498750","1391498791","1391498798","1391498803","1391498808","1391498812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a6ee80a3a40997ac58582ef80523a66.jpg","text":"TemporaryFile(/tmp/multipartBody1325742710180117489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_19_59_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f7cb3161ecf36f4cabaf71fa3254158.jpg","text":"TemporaryFile(/tmp/multipartBody4773450759884426339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_20_05_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/678fa3089b3f53dade98e676ebf3154d.jpg","text":"TemporaryFile(/tmp/multipartBody8101870489711529416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_20_12_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/189728dde2ff215bdb4ee3a222bc1eec.jpg","text":"TemporaryFile(/tmp/multipartBody5396167396404862811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_20_08_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c50d3132798c26073e1a0826cab89de5.jpg","text":"TemporaryFile(/tmp/multipartBody2956559596533544540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_20_03_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60d472866409b8cdbd1b0095a01bab0c.jpg","text":"TemporaryFile(/tmp/multipartBody889587317136296679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962125277,"filename":"image_29102025_20_19_56_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498798","file1":"1391498791","file0":"1391498750","file4":"1391498808","file5":"1391498812","file3":"1391498803"},"map_files_photo_id_array":[{"photo_id":"1391498812","filename":"file5"},{"photo_id":"1391498798","filename":"file2"},{"photo_id":"1391498808","filename":"file4"},{"photo_id":"1391498791","filename":"file1"},{"photo_id":"1391498750","filename":"file0"},{"photo_id":"1391498803","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498791":["hashtag1","hashtag2"]},{"1391498803":["hashtag1","hashtag2"]},{"1391498812":["hashtag1","hashtag2"]},{"1391498808":["hashtag1","hashtag2"]},{"1391498798":["hashtag1","hashtag2"]},{"1391498750":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498791, 1391498803, 1391498812, 1391498808, 1391498798, 1391498750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.505149602890015 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:55:22.900365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_14_2663.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_17_2579.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_21_3794.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_24_2785.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_26_2664.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_29_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_14_2663.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_17_2579.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_21_3794.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_24_2785.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_26_2664.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_29_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391498998","1391498962","1391498966","1391498867","1391498957","1391498918"],"photo_ids_order":["1391498867","1391498918","1391498957","1391498962","1391498966","1391498998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5718f563b48c4b15d2aea72b19395fa2.jpg","text":"TemporaryFile(/tmp/multipartBody855957574896347372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_29_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a64cf5b67b50eb7c1d7e18bbf4be70c.jpg","text":"TemporaryFile(/tmp/multipartBody2074048125320796239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_24_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9b36edbfab9694599905fab5aec8c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8179954808959315954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_26_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68b4b667809fbe86aea589b94a46ee40.jpg","text":"TemporaryFile(/tmp/multipartBody9090473603582265512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_14_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c5ce09d16aa480d6c0b01e8ab81cf08.jpg","text":"TemporaryFile(/tmp/multipartBody77502774132695228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_21_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43e4bbef20a322638e7dd48ce021e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody8454243637995114637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962185618,"filename":"image_29102025_20_20_17_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391498957","file1":"1391498918","file0":"1391498867","file4":"1391498966","file5":"1391498998","file3":"1391498962"},"map_files_photo_id_array":[{"photo_id":"1391498998","filename":"file5"},{"photo_id":"1391498957","filename":"file2"},{"photo_id":"1391498966","filename":"file4"},{"photo_id":"1391498918","filename":"file1"},{"photo_id":"1391498867","filename":"file0"},{"photo_id":"1391498962","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391498998":["hashtag1","hashtag2"]},{"1391498962":["hashtag1","hashtag2"]},{"1391498966":["hashtag1","hashtag2"]},{"1391498867":["hashtag1","hashtag2"]},{"1391498957":["hashtag1","hashtag2"]},{"1391498918":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391498998, 1391498962, 1391498966, 1391498867, 1391498957, 1391498918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96820688247681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:56:22.079942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_33_3850.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_35_2785.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_38_2640.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_41_2645.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_44_3693.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_47_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_33_3850.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_35_2785.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_38_2640.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_41_2645.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_44_3693.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_47_2853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391499070","1391499084","1391499072","1391499075","1391499089","1391499080"],"photo_ids_order":["1391499070","1391499072","1391499075","1391499080","1391499084","1391499089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5076b20f1cf54632106e110e4aedb320.jpg","text":"TemporaryFile(/tmp/multipartBody3235648769236866570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_33_3850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8376a9b909cbfc0b2862096b1628735.jpg","text":"TemporaryFile(/tmp/multipartBody110695653439864852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_44_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87eeae1c8d1d2dfa1ec9e6f9e3f4813b.jpg","text":"TemporaryFile(/tmp/multipartBody123884719669432607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_35_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbaefde5c979bdabfddb52ebeca92a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4609616620392583771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_38_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65e42c4b1a64d4c0bf414e581ad95bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7390807035758943457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_47_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae509f5a5792d45ea9c973bf71632ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3157940247929355003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962244908,"filename":"image_29102025_20_20_41_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391499075","file1":"1391499072","file0":"1391499070","file4":"1391499084","file5":"1391499089","file3":"1391499080"},"map_files_photo_id_array":[{"photo_id":"1391499089","filename":"file5"},{"photo_id":"1391499075","filename":"file2"},{"photo_id":"1391499084","filename":"file4"},{"photo_id":"1391499072","filename":"file1"},{"photo_id":"1391499070","filename":"file0"},{"photo_id":"1391499080","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391499070":["hashtag1","hashtag2"]},{"1391499084":["hashtag1","hashtag2"]},{"1391499072":["hashtag1","hashtag2"]},{"1391499075":["hashtag1","hashtag2"]},{"1391499089":["hashtag1","hashtag2"]},{"1391499080":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391499070, 1391499084, 1391499072, 1391499075, 1391499089, 1391499080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55086040496826 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 02:57:22.196628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_50_2740.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_53_2707.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_56_3588.jpg', '/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_59_2588.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_05_2745.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_12_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_50_2740.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_53_2707.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_56_3588.jpg
/home/pi/Desktop/images/29102025/20/20/image_29102025_20_20_59_2588.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_05_2745.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_12_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391499115","1391499126","1391499111","1391499120","1391499108","1391499131"],"photo_ids_order":["1391499108","1391499111","1391499115","1391499120","1391499126","1391499131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab05bca352ad5f3e1b9ab929de07fce4.jpg","text":"TemporaryFile(/tmp/multipartBody9161690268812870974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_20_56_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20206978fc5e7b6c7ed036dc12687ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7151948463816199945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_21_05_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cb0e13c3b435c72460724f976322521.jpg","text":"TemporaryFile(/tmp/multipartBody488054173559723806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_20_53_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3f42dd08e83f2a29b26ae0af25071b5.jpg","text":"TemporaryFile(/tmp/multipartBody2452164909092252519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_20_59_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4114c12605a1241a91032dd18512360f.jpg","text":"TemporaryFile(/tmp/multipartBody815586095028774557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_20_50_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5350a63515307b37dbd2bb519155bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5131049938279362839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962304902,"filename":"image_29102025_20_21_12_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391499115","file1":"1391499111","file0":"1391499108","file4":"1391499126","file5":"1391499131","file3":"1391499120"},"map_files_photo_id_array":[{"photo_id":"1391499131","filename":"file5"},{"photo_id":"1391499115","filename":"file2"},{"photo_id":"1391499126","filename":"file4"},{"photo_id":"1391499111","filename":"file1"},{"photo_id":"1391499108","filename":"file0"},{"photo_id":"1391499120","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391499115":["hashtag1","hashtag2"]},{"1391499126":["hashtag1","hashtag2"]},{"1391499111":["hashtag1","hashtag2"]},{"1391499120":["hashtag1","hashtag2"]},{"1391499108":["hashtag1","hashtag2"]},{"1391499131":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391499115, 1391499126, 1391499111, 1391499120, 1391499108, 1391499131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.681451082229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 02:59:03.485841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_14_2727.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_17_2303.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_20_2994.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_24_3905.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_26_2802.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_29_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_14_2727.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_17_2303.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_20_2994.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_24_3905.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_26_2802.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_29_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391499412","1391499552","1391499504","1391499455","1391499314","1391499367"],"photo_ids_order":["1391499314","1391499367","1391499412","1391499455","1391499504","1391499552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80d7c0a9d091cbf5b8407f5214af9da9.jpg","text":"TemporaryFile(/tmp/multipartBody6152495852368767849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_20_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb4b9c2519762ef944eb60622453355b.jpg","text":"TemporaryFile(/tmp/multipartBody2425361175752180091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_29_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37d2a2177293111f31ac43ca4d04c8d2.jpg","text":"TemporaryFile(/tmp/multipartBody1149702099949812951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_26_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3284fe6bfc3cbfe2a51708fb8f8dac9.jpg","text":"TemporaryFile(/tmp/multipartBody2700149567484828791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_24_3905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bc95120b14eaa1a2c0e10ac8905a5f3.jpg","text":"TemporaryFile(/tmp/multipartBody601088256830208124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_14_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11298db4217c4b1000410c82a9d3eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody5067740163003723498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962406579,"filename":"image_29102025_20_21_17_2303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391499412","file1":"1391499367","file0":"1391499314","file4":"1391499504","file5":"1391499552","file3":"1391499455"},"map_files_photo_id_array":[{"photo_id":"1391499552","filename":"file5"},{"photo_id":"1391499412","filename":"file2"},{"photo_id":"1391499504","filename":"file4"},{"photo_id":"1391499367","filename":"file1"},{"photo_id":"1391499314","filename":"file0"},{"photo_id":"1391499455","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391499412":["hashtag1","hashtag2"]},{"1391499552":["hashtag1","hashtag2"]},{"1391499504":["hashtag1","hashtag2"]},{"1391499455":["hashtag1","hashtag2"]},{"1391499314":["hashtag1","hashtag2"]},{"1391499367":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391499412, 1391499552, 1391499504, 1391499455, 1391499314, 1391499367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11361312866211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:00:02.349059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_33_3637.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_35_2619.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_38_2690.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_41_2752.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_45_3904.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_47_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_33_3637.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_35_2619.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_38_2690.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_41_2752.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_45_3904.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_47_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391499667","1391499610","1391499624","1391499612","1391499729","1391499608"],"photo_ids_order":["1391499608","1391499610","1391499612","1391499624","1391499667","1391499729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25c4aff8b514ac13ae11057196d5848d.jpg","text":"TemporaryFile(/tmp/multipartBody5979617981386287691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_45_3904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/251196721becc08307ef5949387620a9.jpg","text":"TemporaryFile(/tmp/multipartBody3833059654259978521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_35_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14bc16d728d875d07e82a3be6cd53e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1310770067298821120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_41_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fcff2803bd04591cd2e539e8c17273c.jpg","text":"TemporaryFile(/tmp/multipartBody41355691914961758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b01fac0e8d3eeb335b674976fb6b66f.jpg","text":"TemporaryFile(/tmp/multipartBody3618493629246687202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_47_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd36088d1133afe8a771d12ce7053cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2299286143792247848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962464674,"filename":"image_29102025_20_21_33_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391499612","file1":"1391499610","file0":"1391499608","file4":"1391499667","file5":"1391499729","file3":"1391499624"},"map_files_photo_id_array":[{"photo_id":"1391499729","filename":"file5"},{"photo_id":"1391499612","filename":"file2"},{"photo_id":"1391499667","filename":"file4"},{"photo_id":"1391499610","filename":"file1"},{"photo_id":"1391499608","filename":"file0"},{"photo_id":"1391499624","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391499667":["hashtag1","hashtag2"]},{"1391499610":["hashtag1","hashtag2"]},{"1391499624":["hashtag1","hashtag2"]},{"1391499612":["hashtag1","hashtag2"]},{"1391499729":["hashtag1","hashtag2"]},{"1391499608":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391499667, 1391499610, 1391499624, 1391499612, 1391499729, 1391499608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.161763429641724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:00:41.821268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_50_2782.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_53_2644.jpg', '/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_57_3716.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_02_2583.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_05_3589.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_11_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_50_2782.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_53_2644.jpg
/home/pi/Desktop/images/29102025/20/21/image_29102025_20_21_57_3716.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_02_2583.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_05_3589.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_11_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391500005","1391500495","1391500297","1391500100","1391500399","1391500186"],"photo_ids_order":["1391500005","1391500100","1391500186","1391500297","1391500399","1391500495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7450911c56988aa0be60684b42b3dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2851383302408179539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_21_50_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00827e28a8e85e5913516d542d1acc10.jpg","text":"TemporaryFile(/tmp/multipartBody2505838711018196552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_22_11_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1da010a5d6f81e490b6ca698b87035d7.jpg","text":"TemporaryFile(/tmp/multipartBody244930140287366142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_22_02_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22a5ff3c857d2cc3431614f0d2317d00.jpg","text":"TemporaryFile(/tmp/multipartBody7090554707547604815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_21_53_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6236433d117feef8d951e2b02ea77a74.jpg","text":"TemporaryFile(/tmp/multipartBody103972347766826822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_22_05_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d146f729beb6541f81be890a5beffee6.jpg","text":"TemporaryFile(/tmp/multipartBody3521877980274336281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962502983,"filename":"image_29102025_20_21_57_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391500186","file1":"1391500100","file0":"1391500005","file4":"1391500399","file5":"1391500495","file3":"1391500297"},"map_files_photo_id_array":[{"photo_id":"1391500495","filename":"file5"},{"photo_id":"1391500186","filename":"file2"},{"photo_id":"1391500399","filename":"file4"},{"photo_id":"1391500100","filename":"file1"},{"photo_id":"1391500005","filename":"file0"},{"photo_id":"1391500297","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391500005":["hashtag1","hashtag2"]},{"1391500495":["hashtag1","hashtag2"]},{"1391500297":["hashtag1","hashtag2"]},{"1391500100":["hashtag1","hashtag2"]},{"1391500399":["hashtag1","hashtag2"]},{"1391500186":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391500005, 1391500495, 1391500297, 1391500100, 1391500399, 1391500186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18463730812073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:01:21.948804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_14_3741.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_17_2615.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_20_2768.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_24_3718.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_26_2725.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_29_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_14_3741.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_17_2615.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_20_2768.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_24_3718.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_26_2725.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_29_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391500912","1391500822","1391501253","1391501169","1391501082","1391500992"],"photo_ids_order":["1391500822","1391500912","1391500992","1391501082","1391501169","1391501253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de43ba0662b72855752d965ad68d0114.jpg","text":"TemporaryFile(/tmp/multipartBody9054572000083203058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_17_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9caa6abd08f7e17e62b7926274fcc28f.jpg","text":"TemporaryFile(/tmp/multipartBody6537446515772437106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_14_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/282ae28a00b2477fc0333bcb90265692.jpg","text":"TemporaryFile(/tmp/multipartBody6936639890699198423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_29_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c2d34a5a1266a781f7380cdf1e8c784.jpg","text":"TemporaryFile(/tmp/multipartBody3449803043897703745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_26_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e0a9349e2ac846a0745593b49e4d954.jpg","text":"TemporaryFile(/tmp/multipartBody5648458587921371209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_24_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6646b2462ba67ac7c7fbcc36b5935407.jpg","text":"TemporaryFile(/tmp/multipartBody7826014801110814938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962544645,"filename":"image_29102025_20_22_20_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391500992","file1":"1391500912","file0":"1391500822","file4":"1391501169","file5":"1391501253","file3":"1391501082"},"map_files_photo_id_array":[{"photo_id":"1391501253","filename":"file5"},{"photo_id":"1391500992","filename":"file2"},{"photo_id":"1391501169","filename":"file4"},{"photo_id":"1391500912","filename":"file1"},{"photo_id":"1391500822","filename":"file0"},{"photo_id":"1391501082","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391500912":["hashtag1","hashtag2"]},{"1391500822":["hashtag1","hashtag2"]},{"1391501253":["hashtag1","hashtag2"]},{"1391501169":["hashtag1","hashtag2"]},{"1391501082":["hashtag1","hashtag2"]},{"1391500992":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391500912, 1391500822, 1391501253, 1391501169, 1391501082, 1391500992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28819799423218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:02:02.684840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_32_3593.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_35_2635.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_38_2721.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_42_3696.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_44_2869.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_47_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_32_3593.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_35_2635.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_38_2721.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_42_3696.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_44_2869.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_47_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391501456","1391501563","1391501509","1391501605","1391501643","1391501646"],"photo_ids_order":["1391501456","1391501509","1391501563","1391501605","1391501643","1391501646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/216311cde996db523065778845b850ab.jpg","text":"TemporaryFile(/tmp/multipartBody8204280300376334557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_32_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e13fc9c033363b8168cc222eb101dca.jpg","text":"TemporaryFile(/tmp/multipartBody4420845369890795671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_38_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c283a3bb61b1519ba1fb46353274e88c.jpg","text":"TemporaryFile(/tmp/multipartBody392176969274681129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_35_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/264afd182403cb426fae578cfeae0dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7959703805470516741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_42_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a7cd5ced62839ad900b6f9d4ddf11a6.jpg","text":"TemporaryFile(/tmp/multipartBody7434220982796564547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_44_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7aa250b13de836a6baa90224a07493e.jpg","text":"TemporaryFile(/tmp/multipartBody7152033268563439310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962584832,"filename":"image_29102025_20_22_47_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391501563","file1":"1391501509","file0":"1391501456","file4":"1391501643","file5":"1391501646","file3":"1391501605"},"map_files_photo_id_array":[{"photo_id":"1391501646","filename":"file5"},{"photo_id":"1391501563","filename":"file2"},{"photo_id":"1391501643","filename":"file4"},{"photo_id":"1391501509","filename":"file1"},{"photo_id":"1391501456","filename":"file0"},{"photo_id":"1391501605","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391501456":["hashtag1","hashtag2"]},{"1391501563":["hashtag1","hashtag2"]},{"1391501509":["hashtag1","hashtag2"]},{"1391501605":["hashtag1","hashtag2"]},{"1391501643":["hashtag1","hashtag2"]},{"1391501646":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391501456, 1391501563, 1391501509, 1391501605, 1391501643, 1391501646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.292330741882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:02:42.239992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_53_2756.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_56_3706.jpg', '/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_59_2581.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_02_2633.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_05_3740.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_08_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_53_2756.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_56_3706.jpg
/home/pi/Desktop/images/29102025/20/22/image_29102025_20_22_59_2581.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_02_2633.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_05_3740.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_08_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391501811","1391501660","1391501741","1391501692","1391501851","1391501778"],"photo_ids_order":["1391501660","1391501692","1391501741","1391501778","1391501811","1391501851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0240ae7b836a2079234c9c888483a694.jpg","text":"TemporaryFile(/tmp/multipartBody5905183266246875635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_23_05_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1411f1c943c9191f90fef7965af2474d.jpg","text":"TemporaryFile(/tmp/multipartBody6568409846783041554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_22_53_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1db7737a1b2d06fb4c68b8ae16470f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8815418054005294562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_22_59_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16a2f28bd3b80be27b084003ac25803f.jpg","text":"TemporaryFile(/tmp/multipartBody321361766515353649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_22_56_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/816bd35d69d392f1953f9dacdbaaa253.jpg","text":"TemporaryFile(/tmp/multipartBody5234511170177968370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_23_08_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33d24429788be8ebb1e031fe50342710.jpg","text":"TemporaryFile(/tmp/multipartBody7830714506628714280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962623413,"filename":"image_29102025_20_23_02_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391501741","file1":"1391501692","file0":"1391501660","file4":"1391501811","file5":"1391501851","file3":"1391501778"},"map_files_photo_id_array":[{"photo_id":"1391501851","filename":"file5"},{"photo_id":"1391501741","filename":"file2"},{"photo_id":"1391501811","filename":"file4"},{"photo_id":"1391501692","filename":"file1"},{"photo_id":"1391501660","filename":"file0"},{"photo_id":"1391501778","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391501811":["hashtag1","hashtag2"]},{"1391501660":["hashtag1","hashtag2"]},{"1391501741":["hashtag1","hashtag2"]},{"1391501692":["hashtag1","hashtag2"]},{"1391501851":["hashtag1","hashtag2"]},{"1391501778":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391501811, 1391501660, 1391501741, 1391501692, 1391501851, 1391501778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2937650680542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:03:22.322377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_11_2806.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_14_2747.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_17_3723.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_20_2592.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_23_2672.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_26_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_11_2806.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_14_2747.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_17_3723.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_20_2592.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_23_2672.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_26_3785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502071","1391502221","1391502172","1391502307","1391502129","1391501994"],"photo_ids_order":["1391501994","1391502071","1391502129","1391502172","1391502221","1391502307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31287ff6c44c8ddc7b75740809082c56.jpg","text":"TemporaryFile(/tmp/multipartBody8786584513800035152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_14_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2fb67903f7e78a3338834181269f300.jpg","text":"TemporaryFile(/tmp/multipartBody1498575044374627069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_23_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ce1a2c3981ff29ae6dc3165c81cc84d.jpg","text":"TemporaryFile(/tmp/multipartBody1394767229981436981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_20_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4940257ace2a738a1f1e10c877f9d2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1548824187327336595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_26_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/284b3fb65274d0cb919f2503fee87e5d.jpg","text":"TemporaryFile(/tmp/multipartBody9158471600613574383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_17_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08b82b45d5f8f1f21f70b5afe5068924.jpg","text":"TemporaryFile(/tmp/multipartBody1522359348912442328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962665045,"filename":"image_29102025_20_23_11_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502129","file1":"1391502071","file0":"1391501994","file4":"1391502221","file5":"1391502307","file3":"1391502172"},"map_files_photo_id_array":[{"photo_id":"1391502307","filename":"file5"},{"photo_id":"1391502129","filename":"file2"},{"photo_id":"1391502221","filename":"file4"},{"photo_id":"1391502071","filename":"file1"},{"photo_id":"1391501994","filename":"file0"},{"photo_id":"1391502172","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502071":["hashtag1","hashtag2"]},{"1391502221":["hashtag1","hashtag2"]},{"1391502172":["hashtag1","hashtag2"]},{"1391502307":["hashtag1","hashtag2"]},{"1391502129":["hashtag1","hashtag2"]},{"1391501994":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502071, 1391502221, 1391502172, 1391502307, 1391502129, 1391501994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76473307609558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:04:03.147049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_29_2688.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_32_2684.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_34_2784.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_38_3747.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_41_2705.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_44_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_29_2688.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_32_2684.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_34_2784.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_38_3747.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_41_2705.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_44_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502380","1391502430","1391502433","1391502436","1391502384","1391502417"],"photo_ids_order":["1391502380","1391502384","1391502417","1391502430","1391502433","1391502436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64331f206fad76c57d2bcfa759cddb4f.jpg","text":"TemporaryFile(/tmp/multipartBody7989485306398450525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_29_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad10542d64b77274652ace65e5a051aa.jpg","text":"TemporaryFile(/tmp/multipartBody7405270104675291697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_38_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c17ebe2bd5db5b2ea67298efec66fab.jpg","text":"TemporaryFile(/tmp/multipartBody1704808156831063906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_41_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f0422eb986153fe9762580a247d6401.jpg","text":"TemporaryFile(/tmp/multipartBody4155627890073221877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_44_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1e3c197a0637172f69c31800a493903.jpg","text":"TemporaryFile(/tmp/multipartBody8242353605700697821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_32_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6efb70a78b3778208201ecf6acc97da9.jpg","text":"TemporaryFile(/tmp/multipartBody7212648179696723315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962705440,"filename":"image_29102025_20_23_34_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502417","file1":"1391502384","file0":"1391502380","file4":"1391502433","file5":"1391502436","file3":"1391502430"},"map_files_photo_id_array":[{"photo_id":"1391502436","filename":"file5"},{"photo_id":"1391502417","filename":"file2"},{"photo_id":"1391502433","filename":"file4"},{"photo_id":"1391502384","filename":"file1"},{"photo_id":"1391502380","filename":"file0"},{"photo_id":"1391502430","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502380":["hashtag1","hashtag2"]},{"1391502430":["hashtag1","hashtag2"]},{"1391502433":["hashtag1","hashtag2"]},{"1391502436":["hashtag1","hashtag2"]},{"1391502384":["hashtag1","hashtag2"]},{"1391502417":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502380, 1391502430, 1391502433, 1391502436, 1391502384, 1391502417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56385540962219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:04:42.445819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_47_3853.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_50_2137.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_53_3580.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_56_2760.jpg', '/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_59_2695.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_02_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_47_3853.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_50_2137.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_53_3580.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_56_2760.jpg
/home/pi/Desktop/images/29102025/20/23/image_29102025_20_23_59_2695.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_02_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502446","1391502461","1391502463","1391502466","1391502451","1391502456"],"photo_ids_order":["1391502446","1391502451","1391502456","1391502461","1391502463","1391502466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c81b50b6aad81d4def1835b572321101.jpg","text":"TemporaryFile(/tmp/multipartBody6848803866523321583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_23_47_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a812c61d6a615fd60e28c2f78a327e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2050917972642709999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_23_56_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b4a94602571f1f5827e7991d0d42aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2577800426656951724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_23_59_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/187eb1f5e87868d175080fa43595dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody8637135200057629664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_24_02_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8fa229777610ede4532c2204f81e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2567176079301951712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_23_50_2137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf0383a44f2584ff2dd74d203579dc21.jpg","text":"TemporaryFile(/tmp/multipartBody3820690380603712137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962743633,"filename":"image_29102025_20_23_53_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502456","file1":"1391502451","file0":"1391502446","file4":"1391502463","file5":"1391502466","file3":"1391502461"},"map_files_photo_id_array":[{"photo_id":"1391502466","filename":"file5"},{"photo_id":"1391502456","filename":"file2"},{"photo_id":"1391502463","filename":"file4"},{"photo_id":"1391502451","filename":"file1"},{"photo_id":"1391502446","filename":"file0"},{"photo_id":"1391502461","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502446":["hashtag1","hashtag2"]},{"1391502461":["hashtag1","hashtag2"]},{"1391502463":["hashtag1","hashtag2"]},{"1391502466":["hashtag1","hashtag2"]},{"1391502451":["hashtag1","hashtag2"]},{"1391502456":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502446, 1391502461, 1391502463, 1391502466, 1391502451, 1391502456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23259353637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:05:22.661695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_05_2853.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_08_2852.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_11_2920.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_14_2795.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_17_3577.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_20_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_05_2853.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_08_2852.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_11_2920.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_14_2795.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_17_3577.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_20_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502476","1391502493","1391502481","1391502475","1391502489","1391502485"],"photo_ids_order":["1391502475","1391502476","1391502481","1391502485","1391502489","1391502493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6baa7e895efd449d8e918a94f0699c0.jpg","text":"TemporaryFile(/tmp/multipartBody232555001942919287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_08_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e544fd6a6aad9f150d5667c91f2270b.jpg","text":"TemporaryFile(/tmp/multipartBody2631123419508403297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_20_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27a35a551ba5c9eb6c77e19c7d3a7aff.jpg","text":"TemporaryFile(/tmp/multipartBody2226743104536787450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_11_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10a45c020ad8c9ed7436b18b351b9ee6.jpg","text":"TemporaryFile(/tmp/multipartBody180920451944292224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_05_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0efc942e2cd6e4495ad47b793443b7c0.jpg","text":"TemporaryFile(/tmp/multipartBody892761865139170764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_17_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8390c2593841f6e81f4474504fabae35.jpg","text":"TemporaryFile(/tmp/multipartBody927778169481759068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962785374,"filename":"image_29102025_20_24_14_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502481","file1":"1391502476","file0":"1391502475","file4":"1391502489","file5":"1391502493","file3":"1391502485"},"map_files_photo_id_array":[{"photo_id":"1391502493","filename":"file5"},{"photo_id":"1391502481","filename":"file2"},{"photo_id":"1391502489","filename":"file4"},{"photo_id":"1391502476","filename":"file1"},{"photo_id":"1391502475","filename":"file0"},{"photo_id":"1391502485","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502476":["hashtag1","hashtag2"]},{"1391502493":["hashtag1","hashtag2"]},{"1391502481":["hashtag1","hashtag2"]},{"1391502475":["hashtag1","hashtag2"]},{"1391502489":["hashtag1","hashtag2"]},{"1391502485":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502476, 1391502493, 1391502481, 1391502475, 1391502489, 1391502485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.005236864089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:06:22.704961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_26_3748.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_29_2936.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_32_2621.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_35_2747.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_38_3710.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_41_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_26_3748.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_29_2936.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_32_2621.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_35_2747.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_38_3710.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_41_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502518","1391502523","1391502534","1391502516","1391502528","1391502513"],"photo_ids_order":["1391502513","1391502516","1391502518","1391502523","1391502528","1391502534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33a784a82ade61ac0be548fe0b837867.jpg","text":"TemporaryFile(/tmp/multipartBody4228672704568500000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_32_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f15c71f43584e1f3c9db73872bfe75eb.jpg","text":"TemporaryFile(/tmp/multipartBody7313835466583224617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_35_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d9c2b5a1bc26009260825cec1910496.jpg","text":"TemporaryFile(/tmp/multipartBody6837769065001635124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_41_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afe7769ed5178afaa6ce14c54783df6e.jpg","text":"TemporaryFile(/tmp/multipartBody3474675004940250109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_29_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/632b54f7df0bde1d087bbb22ff94431e.jpg","text":"TemporaryFile(/tmp/multipartBody3200993084985796656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_38_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dee616df25e5c8fab2412e526679a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1145038172458048817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962845168,"filename":"image_29102025_20_24_26_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502518","file1":"1391502516","file0":"1391502513","file4":"1391502528","file5":"1391502534","file3":"1391502523"},"map_files_photo_id_array":[{"photo_id":"1391502534","filename":"file5"},{"photo_id":"1391502518","filename":"file2"},{"photo_id":"1391502528","filename":"file4"},{"photo_id":"1391502516","filename":"file1"},{"photo_id":"1391502513","filename":"file0"},{"photo_id":"1391502523","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502518":["hashtag1","hashtag2"]},{"1391502523":["hashtag1","hashtag2"]},{"1391502534":["hashtag1","hashtag2"]},{"1391502516":["hashtag1","hashtag2"]},{"1391502528":["hashtag1","hashtag2"]},{"1391502513":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502518, 1391502523, 1391502534, 1391502516, 1391502528, 1391502513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23813247680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:07:21.940819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_44_2736.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_46_2826.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_50_3639.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_53_2713.jpg', '/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_56_2714.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_08_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_44_2736.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_46_2826.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_50_3639.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_53_2713.jpg
/home/pi/Desktop/images/29102025/20/24/image_29102025_20_24_56_2714.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_08_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502569","1391502552","1391502576","1391502549","1391502558","1391502563"],"photo_ids_order":["1391502549","1391502552","1391502558","1391502563","1391502569","1391502576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c7569a02c6a59730bbd8d573bb5ee13.jpg","text":"TemporaryFile(/tmp/multipartBody2097509875192002109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_24_56_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8af6742fe7da32972b5ad563277c754a.jpg","text":"TemporaryFile(/tmp/multipartBody1332435093444895734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_24_46_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bea23ca4506d8146514b6b875c0efb3.jpg","text":"TemporaryFile(/tmp/multipartBody5202234818110570069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_25_08_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48bea4f06a1da697ce5e659439f9d3e6.jpg","text":"TemporaryFile(/tmp/multipartBody1023077660410722227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_24_44_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e1891ad132a772fa787511042814e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8104483327745576155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_24_50_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0de030c28eaad5e7343efafa11e42991.jpg","text":"TemporaryFile(/tmp/multipartBody5479845035317756614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962904670,"filename":"image_29102025_20_24_53_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502558","file1":"1391502552","file0":"1391502549","file4":"1391502569","file5":"1391502576","file3":"1391502563"},"map_files_photo_id_array":[{"photo_id":"1391502576","filename":"file5"},{"photo_id":"1391502558","filename":"file2"},{"photo_id":"1391502569","filename":"file4"},{"photo_id":"1391502552","filename":"file1"},{"photo_id":"1391502549","filename":"file0"},{"photo_id":"1391502563","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502569":["hashtag1","hashtag2"]},{"1391502552":["hashtag1","hashtag2"]},{"1391502576":["hashtag1","hashtag2"]},{"1391502549":["hashtag1","hashtag2"]},{"1391502558":["hashtag1","hashtag2"]},{"1391502563":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502569, 1391502552, 1391502576, 1391502549, 1391502558, 1391502563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38759970664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:08:22.060962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_11_2697.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_14_3693.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_17_2925.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_20_2694.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_23_2625.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_25_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_11_2697.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_14_3693.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_17_2925.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_20_2694.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_23_2625.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_25_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502652","1391502628","1391502613","1391502622","1391502612","1391502606"],"photo_ids_order":["1391502606","1391502612","1391502613","1391502622","1391502628","1391502652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7590e7a5d9e00fed59c8e92ea462ca12.jpg","text":"TemporaryFile(/tmp/multipartBody9192061722295141356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_25_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9116854ed29695584a3037eb2beec8.jpg","text":"TemporaryFile(/tmp/multipartBody3366124149995153761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_23_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b59f5b364c36a3da596405bb546074f3.jpg","text":"TemporaryFile(/tmp/multipartBody3033477251809927569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_17_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed1c7b1c0f18c2fcb2deff6dceef90c0.jpg","text":"TemporaryFile(/tmp/multipartBody4153039306019125847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_20_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cb41aede5f963fc1a910f1f513a9f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8349659395159019300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_14_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/321495844a5a409368ec412eb875264f.jpg","text":"TemporaryFile(/tmp/multipartBody1194667522836094867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761962964788,"filename":"image_29102025_20_25_11_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502613","file1":"1391502612","file0":"1391502606","file4":"1391502628","file5":"1391502652","file3":"1391502622"},"map_files_photo_id_array":[{"photo_id":"1391502652","filename":"file5"},{"photo_id":"1391502613","filename":"file2"},{"photo_id":"1391502628","filename":"file4"},{"photo_id":"1391502612","filename":"file1"},{"photo_id":"1391502606","filename":"file0"},{"photo_id":"1391502622","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502652":["hashtag1","hashtag2"]},{"1391502628":["hashtag1","hashtag2"]},{"1391502613":["hashtag1","hashtag2"]},{"1391502622":["hashtag1","hashtag2"]},{"1391502612":["hashtag1","hashtag2"]},{"1391502606":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502652, 1391502628, 1391502613, 1391502622, 1391502612, 1391502606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59170126914978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:09:03.358378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_29_3785.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_32_2641.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_34_2591.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_41_2711.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_44_2642.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_47_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_29_3785.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_32_2641.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_34_2591.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_41_2711.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_44_2642.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_47_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502674","1391502673","1391502676","1391502670","1391502678","1391502672"],"photo_ids_order":["1391502670","1391502672","1391502673","1391502674","1391502676","1391502678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87565259522e8e7ea119b6b1ba84c3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4082475179609086920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_41_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f9e43cb0a30a9c2f73a6ed712fa1561.jpg","text":"TemporaryFile(/tmp/multipartBody1655914194826676355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_34_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47cf376ec216ac4537e2414500071325.jpg","text":"TemporaryFile(/tmp/multipartBody7862417938838894637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_44_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7886b3ef09c191faf136347581f50bf4.jpg","text":"TemporaryFile(/tmp/multipartBody301592534611705853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_29_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e60c95104f397dc1236feebc935bfd4.jpg","text":"TemporaryFile(/tmp/multipartBody3735395012025511867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_47_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb73763be802d6a7457a6aa4684b6635.jpg","text":"TemporaryFile(/tmp/multipartBody1256838984232750438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963005687,"filename":"image_29102025_20_25_32_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502673","file1":"1391502672","file0":"1391502670","file4":"1391502676","file5":"1391502678","file3":"1391502674"},"map_files_photo_id_array":[{"photo_id":"1391502678","filename":"file5"},{"photo_id":"1391502673","filename":"file2"},{"photo_id":"1391502676","filename":"file4"},{"photo_id":"1391502672","filename":"file1"},{"photo_id":"1391502670","filename":"file0"},{"photo_id":"1391502674","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502674":["hashtag1","hashtag2"]},{"1391502673":["hashtag1","hashtag2"]},{"1391502676":["hashtag1","hashtag2"]},{"1391502670":["hashtag1","hashtag2"]},{"1391502678":["hashtag1","hashtag2"]},{"1391502672":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502674, 1391502673, 1391502676, 1391502670, 1391502678, 1391502672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11261248588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:09:42.256177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_50_2771.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_53_3113.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_56_2794.jpg', '/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_59_2739.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_01_2730.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_05_3841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_50_2771.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_53_3113.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_56_2794.jpg
/home/pi/Desktop/images/29102025/20/25/image_29102025_20_25_59_2739.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_01_2730.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_05_3841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502824","1391502829","1391502820","1391502826","1391502814","1391502807"],"photo_ids_order":["1391502807","1391502814","1391502820","1391502824","1391502826","1391502829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3017a2f3549874fee5904d36d0360be7.jpg","text":"TemporaryFile(/tmp/multipartBody4702734405497023955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_25_59_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e56fbb1155b5c3db35ba05e507eddb6.jpg","text":"TemporaryFile(/tmp/multipartBody8844465925351394430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_26_05_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8f6ba3cfa5b68523b5d94f5123d2dec.jpg","text":"TemporaryFile(/tmp/multipartBody3268189009005193579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_25_56_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8abfd99ce1d280f3d209f02782459ac7.jpg","text":"TemporaryFile(/tmp/multipartBody552119102037149337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_26_01_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eae27b0475b1a1030c08200722547359.jpg","text":"TemporaryFile(/tmp/multipartBody4500537936137086359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_25_53_3113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf2a9fb984d2d08ba9714e942ae799d6.jpg","text":"TemporaryFile(/tmp/multipartBody5334316953210955291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963043428,"filename":"image_29102025_20_25_50_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502820","file1":"1391502814","file0":"1391502807","file4":"1391502826","file5":"1391502829","file3":"1391502824"},"map_files_photo_id_array":[{"photo_id":"1391502829","filename":"file5"},{"photo_id":"1391502820","filename":"file2"},{"photo_id":"1391502826","filename":"file4"},{"photo_id":"1391502814","filename":"file1"},{"photo_id":"1391502807","filename":"file0"},{"photo_id":"1391502824","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502824":["hashtag1","hashtag2"]},{"1391502829":["hashtag1","hashtag2"]},{"1391502820":["hashtag1","hashtag2"]},{"1391502826":["hashtag1","hashtag2"]},{"1391502814":["hashtag1","hashtag2"]},{"1391502807":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502824, 1391502829, 1391502820, 1391502826, 1391502814, 1391502807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48673963546753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:10:22.374430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_08_2672.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_11_2833.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_13_2589.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_17_3892.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_20_2983.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_23_2987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_08_2672.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_11_2833.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_13_2589.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_17_3892.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_20_2983.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_23_2987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502839","1391502853","1391502858","1391502846","1391502849","1391502843"],"photo_ids_order":["1391502839","1391502843","1391502846","1391502849","1391502853","1391502858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a9e3f1c0d1f6419c64986b465ded5a9.jpg","text":"TemporaryFile(/tmp/multipartBody7259756102355935111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_08_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84281e524bbb168916c01fa1b1837d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6201218758583665618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_20_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc776f2dd50904214c7784db3040dffc.jpg","text":"TemporaryFile(/tmp/multipartBody3179754383668237931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_23_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b004ac90b1cbab16cb9ddfd727284f45.jpg","text":"TemporaryFile(/tmp/multipartBody6497681676098222351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b7a521db08340d4c9da33611e9d81c8.jpg","text":"TemporaryFile(/tmp/multipartBody895130946564251421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_17_3892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c74623e79d1387a116ec755f66b5965.jpg","text":"TemporaryFile(/tmp/multipartBody3855303869179499406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963085097,"filename":"image_29102025_20_26_11_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502846","file1":"1391502843","file0":"1391502839","file4":"1391502853","file5":"1391502858","file3":"1391502849"},"map_files_photo_id_array":[{"photo_id":"1391502858","filename":"file5"},{"photo_id":"1391502846","filename":"file2"},{"photo_id":"1391502853","filename":"file4"},{"photo_id":"1391502843","filename":"file1"},{"photo_id":"1391502839","filename":"file0"},{"photo_id":"1391502849","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502839":["hashtag1","hashtag2"]},{"1391502853":["hashtag1","hashtag2"]},{"1391502858":["hashtag1","hashtag2"]},{"1391502846":["hashtag1","hashtag2"]},{"1391502849":["hashtag1","hashtag2"]},{"1391502843":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502839, 1391502853, 1391502858, 1391502846, 1391502849, 1391502843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.832462310791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:11:22.561992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_26_2650.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_28_2607.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_31_2774.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_35_3648.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_38_2798.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_26_2650.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_28_2607.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_31_2774.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_35_3648.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_38_2798.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_40_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391502914","1391502916","1391502972","1391502933","1391502927","1391502921"],"photo_ids_order":["1391502914","1391502916","1391502921","1391502927","1391502933","1391502972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7116ea638c622a80510c9fa2d3ef4b15.jpg","text":"TemporaryFile(/tmp/multipartBody2259855819966384685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_26_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e2a6ddd168fa946ef325cf5e8c5f11a.jpg","text":"TemporaryFile(/tmp/multipartBody3687957781858350258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_28_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25d582c9cecb08f4635142d5c943b6b1.jpg","text":"TemporaryFile(/tmp/multipartBody9078567373412143966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bfdd2866085ea0601cf33b6b1aaa943.jpg","text":"TemporaryFile(/tmp/multipartBody4130509472150727396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_38_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20b2b4cf9c2a32cf032dea50b3ffc3d1.jpg","text":"TemporaryFile(/tmp/multipartBody1786585973432470522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_35_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1087bc626acb29f0c054a7ae5eac4cee.jpg","text":"TemporaryFile(/tmp/multipartBody7231283731074711584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963145278,"filename":"image_29102025_20_26_31_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391502921","file1":"1391502916","file0":"1391502914","file4":"1391502933","file5":"1391502972","file3":"1391502927"},"map_files_photo_id_array":[{"photo_id":"1391502972","filename":"file5"},{"photo_id":"1391502921","filename":"file2"},{"photo_id":"1391502933","filename":"file4"},{"photo_id":"1391502916","filename":"file1"},{"photo_id":"1391502914","filename":"file0"},{"photo_id":"1391502927","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391502914":["hashtag1","hashtag2"]},{"1391502916":["hashtag1","hashtag2"]},{"1391502972":["hashtag1","hashtag2"]},{"1391502933":["hashtag1","hashtag2"]},{"1391502927":["hashtag1","hashtag2"]},{"1391502921":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391502914, 1391502916, 1391502972, 1391502933, 1391502927, 1391502921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.921066761016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:12:21.802349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_44_3550.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_47_2862.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_50_2980.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_53_2993.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_56_3253.jpg', '/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_59_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_44_3550.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_47_2862.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_50_2980.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_53_2993.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_56_3253.jpg
/home/pi/Desktop/images/29102025/20/26/image_29102025_20_26_59_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503015","1391503030","1391503026","1391503011","1391503020","1391503034"],"photo_ids_order":["1391503011","1391503015","1391503020","1391503026","1391503030","1391503034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f806800f6746b2a6ac95f7a861d981ff.jpg","text":"TemporaryFile(/tmp/multipartBody121436445973938254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_47_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/669a10988bb8df053439788133ab0206.jpg","text":"TemporaryFile(/tmp/multipartBody2885714115203112861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_56_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/020f95e122241459b7868c12504569db.jpg","text":"TemporaryFile(/tmp/multipartBody8884755099368626403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_53_2993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13a6f8cc89bfb9d4727a77f3dc7d3400.jpg","text":"TemporaryFile(/tmp/multipartBody1770842226034981724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_44_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fcb7297c12ec9d9f3d0db138679dec9.jpg","text":"TemporaryFile(/tmp/multipartBody658050829806569961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_50_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9bdd9ba7b3f2a65649a38e57e2cf227.jpg","text":"TemporaryFile(/tmp/multipartBody6271212199404930692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963204306,"filename":"image_29102025_20_26_59_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503020","file1":"1391503015","file0":"1391503011","file4":"1391503030","file5":"1391503034","file3":"1391503026"},"map_files_photo_id_array":[{"photo_id":"1391503034","filename":"file5"},{"photo_id":"1391503020","filename":"file2"},{"photo_id":"1391503030","filename":"file4"},{"photo_id":"1391503015","filename":"file1"},{"photo_id":"1391503011","filename":"file0"},{"photo_id":"1391503026","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503015":["hashtag1","hashtag2"]},{"1391503030":["hashtag1","hashtag2"]},{"1391503026":["hashtag1","hashtag2"]},{"1391503011":["hashtag1","hashtag2"]},{"1391503020":["hashtag1","hashtag2"]},{"1391503034":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503015, 1391503030, 1391503026, 1391503011, 1391503020, 1391503034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2856867313385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:13:22.009352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_01_2837.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_05_3588.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_11_2667.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_13_2619.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_17_3636.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_19_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_01_2837.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_05_3588.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_11_2667.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_13_2619.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_17_3636.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_19_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503069","1391503054","1391503077","1391503059","1391503073","1391503064"],"photo_ids_order":["1391503054","1391503059","1391503064","1391503069","1391503073","1391503077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d308f0396e9c61ce853717d110897e17.jpg","text":"TemporaryFile(/tmp/multipartBody2926212844957166017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_13_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e3d5ea631c3ddc4bd04669b26d7fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7528255655237489443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_01_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/397183a7353ccec1849e783a6d23a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody11035666400795188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_19_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac859a590e972c7cbe8d25a974472736.jpg","text":"TemporaryFile(/tmp/multipartBody2275623543333499579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_05_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/062c251998a4638aef475205fd74340f.jpg","text":"TemporaryFile(/tmp/multipartBody618013035798768377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adbc689824a87d34b8277f7f2d45871a.jpg","text":"TemporaryFile(/tmp/multipartBody5665686098639790728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963264588,"filename":"image_29102025_20_27_11_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503064","file1":"1391503059","file0":"1391503054","file4":"1391503073","file5":"1391503077","file3":"1391503069"},"map_files_photo_id_array":[{"photo_id":"1391503077","filename":"file5"},{"photo_id":"1391503064","filename":"file2"},{"photo_id":"1391503073","filename":"file4"},{"photo_id":"1391503059","filename":"file1"},{"photo_id":"1391503054","filename":"file0"},{"photo_id":"1391503069","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503069":["hashtag1","hashtag2"]},{"1391503054":["hashtag1","hashtag2"]},{"1391503077":["hashtag1","hashtag2"]},{"1391503059":["hashtag1","hashtag2"]},{"1391503073":["hashtag1","hashtag2"]},{"1391503064":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503069, 1391503054, 1391503077, 1391503059, 1391503073, 1391503064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.440250396728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:14:02.860604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_23_3254.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_25_2653.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_28_2962.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_31_2914.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_35_3666.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_44_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_23_3254.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_25_2653.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_28_2962.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_31_2914.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_35_3666.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_44_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503090","1391503092","1391503086","1391503095","1391503098","1391503101"],"photo_ids_order":["1391503086","1391503090","1391503092","1391503095","1391503098","1391503101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fee72440edda4bcc9c9486c7a6b02f1.jpg","text":"TemporaryFile(/tmp/multipartBody5407844580093362717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_25_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bba5140b179980b6501dd5c62fdbac80.jpg","text":"TemporaryFile(/tmp/multipartBody1371867475841763735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_28_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0ece44896efebfdd3a12d188db26314.jpg","text":"TemporaryFile(/tmp/multipartBody5572297738350558237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_23_3254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5ac85035d089bbf5981b1914a0b720c.jpg","text":"TemporaryFile(/tmp/multipartBody3905073715679307429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_31_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/020e7eed9cbf73eccd283d5c7215f829.jpg","text":"TemporaryFile(/tmp/multipartBody7432427821448356222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_35_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f26a00c3784aff2c7d1a7f8031051bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5052927533714495466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963305074,"filename":"image_29102025_20_27_44_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503092","file1":"1391503090","file0":"1391503086","file4":"1391503098","file5":"1391503101","file3":"1391503095"},"map_files_photo_id_array":[{"photo_id":"1391503101","filename":"file5"},{"photo_id":"1391503092","filename":"file2"},{"photo_id":"1391503098","filename":"file4"},{"photo_id":"1391503090","filename":"file1"},{"photo_id":"1391503086","filename":"file0"},{"photo_id":"1391503095","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503090":["hashtag1","hashtag2"]},{"1391503092":["hashtag1","hashtag2"]},{"1391503086":["hashtag1","hashtag2"]},{"1391503095":["hashtag1","hashtag2"]},{"1391503098":["hashtag1","hashtag2"]},{"1391503101":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503090, 1391503092, 1391503086, 1391503095, 1391503098, 1391503101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13052797317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:15:03.036613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_49_2660.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_53_3649.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_56_2686.jpg', '/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_58_2626.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_01_2878.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_05_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_49_2660.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_53_3649.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_56_2686.jpg
/home/pi/Desktop/images/29102025/20/27/image_29102025_20_27_58_2626.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_01_2878.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_05_3586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503130","1391503126","1391503123","1391503140","1391503137","1391503134"],"photo_ids_order":["1391503123","1391503126","1391503130","1391503134","1391503137","1391503140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/428d2a41cdb074082962d20a00567178.jpg","text":"TemporaryFile(/tmp/multipartBody23035708924830087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_27_56_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c730342bb873c67e735b44847ea860c0.jpg","text":"TemporaryFile(/tmp/multipartBody7483171165200421568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_27_53_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0874b90e9ef507cd32681c35be9bd76e.jpg","text":"TemporaryFile(/tmp/multipartBody2600870563941152591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_27_49_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6891d66813050728b05cec52e0927e26.jpg","text":"TemporaryFile(/tmp/multipartBody1704523110794582168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_28_05_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44e2a4356a3c425336809d45f7e0538c.jpg","text":"TemporaryFile(/tmp/multipartBody7734515813249770864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_28_01_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc95bb6dc75c31806f14db7ca8705648.jpg","text":"TemporaryFile(/tmp/multipartBody5456861086410066870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963365403,"filename":"image_29102025_20_27_58_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503130","file1":"1391503126","file0":"1391503123","file4":"1391503137","file5":"1391503140","file3":"1391503134"},"map_files_photo_id_array":[{"photo_id":"1391503140","filename":"file5"},{"photo_id":"1391503130","filename":"file2"},{"photo_id":"1391503137","filename":"file4"},{"photo_id":"1391503126","filename":"file1"},{"photo_id":"1391503123","filename":"file0"},{"photo_id":"1391503134","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503130":["hashtag1","hashtag2"]},{"1391503126":["hashtag1","hashtag2"]},{"1391503123":["hashtag1","hashtag2"]},{"1391503140":["hashtag1","hashtag2"]},{"1391503137":["hashtag1","hashtag2"]},{"1391503134":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503130, 1391503126, 1391503123, 1391503140, 1391503137, 1391503134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33508801460266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:16:03.073708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_07_2642.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_11_3646.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_14_2658.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_16_2585.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_19_2832.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_23_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_07_2642.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_11_3646.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_14_2658.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_16_2585.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_19_2832.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_23_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503208","1391503213","1391503216","1391503185","1391503164","1391503187"],"photo_ids_order":["1391503164","1391503185","1391503187","1391503208","1391503213","1391503216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18abb8143d9781620ad962afa69ca5c8.jpg","text":"TemporaryFile(/tmp/multipartBody3849517400797125125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_16_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0108952c99390a4f01303be2b354276b.jpg","text":"TemporaryFile(/tmp/multipartBody6460704914860254287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_19_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02b4bb17f2aabc5299eef12c97d1968f.jpg","text":"TemporaryFile(/tmp/multipartBody7944379507237418726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_23_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb8147da5d405a895259882cb36f9464.jpg","text":"TemporaryFile(/tmp/multipartBody2530317133455065260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_11_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3addcbb89aede7f0cf5a401a87422021.jpg","text":"TemporaryFile(/tmp/multipartBody6295028250052943790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_07_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60ebea2cd2fb0e06593a8c3425d4bf06.jpg","text":"TemporaryFile(/tmp/multipartBody5997886036469807985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963425244,"filename":"image_29102025_20_28_14_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503187","file1":"1391503185","file0":"1391503164","file4":"1391503213","file5":"1391503216","file3":"1391503208"},"map_files_photo_id_array":[{"photo_id":"1391503216","filename":"file5"},{"photo_id":"1391503187","filename":"file2"},{"photo_id":"1391503213","filename":"file4"},{"photo_id":"1391503185","filename":"file1"},{"photo_id":"1391503164","filename":"file0"},{"photo_id":"1391503208","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503208":["hashtag1","hashtag2"]},{"1391503213":["hashtag1","hashtag2"]},{"1391503216":["hashtag1","hashtag2"]},{"1391503185":["hashtag1","hashtag2"]},{"1391503164":["hashtag1","hashtag2"]},{"1391503187":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503208, 1391503213, 1391503216, 1391503185, 1391503164, 1391503187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.988221645355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:17:02.632250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_25_2739.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_28_2793.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_32_3645.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_35_2745.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_37_2702.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_44_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_25_2739.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_28_2793.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_32_3645.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_35_2745.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_37_2702.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_44_3780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503337","1391503491","1391503410","1391503283","1391503370","1391503448"],"photo_ids_order":["1391503283","1391503337","1391503370","1391503410","1391503448","1391503491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d19fb5c26ba1d5c8b554a9afd4015a1.jpg","text":"TemporaryFile(/tmp/multipartBody3904102465607286878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_28_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d75c394e938cc3eb7b43da30f96e015.jpg","text":"TemporaryFile(/tmp/multipartBody7709275718041345029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_44_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d144505b67815978481e5b55cba892f4.jpg","text":"TemporaryFile(/tmp/multipartBody3723607822851077362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_35_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3c5a4fa4f5a84de6012b302a398c28d.jpg","text":"TemporaryFile(/tmp/multipartBody4145876925386387224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_25_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf962264620fe58b2d08b93f505a1f41.jpg","text":"TemporaryFile(/tmp/multipartBody6308923494272794130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_32_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8a05d6d9214d23115ef2932812d36a1.jpg","text":"TemporaryFile(/tmp/multipartBody2112699988734388055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963486045,"filename":"image_29102025_20_28_37_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503370","file1":"1391503337","file0":"1391503283","file4":"1391503448","file5":"1391503491","file3":"1391503410"},"map_files_photo_id_array":[{"photo_id":"1391503491","filename":"file5"},{"photo_id":"1391503370","filename":"file2"},{"photo_id":"1391503448","filename":"file4"},{"photo_id":"1391503337","filename":"file1"},{"photo_id":"1391503283","filename":"file0"},{"photo_id":"1391503410","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503337":["hashtag1","hashtag2"]},{"1391503491":["hashtag1","hashtag2"]},{"1391503410":["hashtag1","hashtag2"]},{"1391503283":["hashtag1","hashtag2"]},{"1391503370":["hashtag1","hashtag2"]},{"1391503448":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503337, 1391503491, 1391503410, 1391503283, 1391503370, 1391503448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62231183052063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:18:02.574900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_47_2603.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_49_2827.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_52_2719.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_56_3664.jpg', '/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_59_2895.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_01_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_47_2603.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_49_2827.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_52_2719.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_56_3664.jpg
/home/pi/Desktop/images/29102025/20/28/image_29102025_20_28_59_2895.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_01_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503801","1391503804","1391503779","1391503799","1391503847","1391503748"],"photo_ids_order":["1391503748","1391503779","1391503799","1391503801","1391503804","1391503847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7abc69ae704d7ff4048b353b6d8a266e.jpg","text":"TemporaryFile(/tmp/multipartBody4280234216238394598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_28_56_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15b8a10ea69bc9f5b65dad00da2539ff.jpg","text":"TemporaryFile(/tmp/multipartBody3866392543902647776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_28_59_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c71acbfd35b16c01804979de165fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody9117090621795474939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_28_49_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a90e245567ea07ea6ea50404e9154a02.jpg","text":"TemporaryFile(/tmp/multipartBody6568095287309082124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_28_52_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05714e091d528345128388bf1146bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody4995780927285302845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_29_01_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9c0c1a7643f782ef38843d10c9bb69a.jpg","text":"TemporaryFile(/tmp/multipartBody1671597903992462602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963544810,"filename":"image_29102025_20_28_47_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391503799","file1":"1391503779","file0":"1391503748","file4":"1391503804","file5":"1391503847","file3":"1391503801"},"map_files_photo_id_array":[{"photo_id":"1391503847","filename":"file5"},{"photo_id":"1391503799","filename":"file2"},{"photo_id":"1391503804","filename":"file4"},{"photo_id":"1391503779","filename":"file1"},{"photo_id":"1391503748","filename":"file0"},{"photo_id":"1391503801","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503801":["hashtag1","hashtag2"]},{"1391503804":["hashtag1","hashtag2"]},{"1391503779":["hashtag1","hashtag2"]},{"1391503799":["hashtag1","hashtag2"]},{"1391503847":["hashtag1","hashtag2"]},{"1391503748":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503801, 1391503804, 1391503779, 1391503799, 1391503847, 1391503748)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.142993211746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:19:03.357022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_04_2695.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_08_3824.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_13_2829.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_16_2854.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_20_3639.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_22_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_04_2695.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_08_3824.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_13_2829.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_16_2854.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_20_3639.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_22_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391503993","1391503996","1391504010","1391504004","1391504007","1391504000"],"photo_ids_order":["1391503993","1391503996","1391504000","1391504004","1391504007","1391504010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e84a649c55b511d9c269ba9cfa255f6.jpg","text":"TemporaryFile(/tmp/multipartBody2824638902192105353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36f4ea01b9337b9ea9e4bb82779aff5a.jpg","text":"TemporaryFile(/tmp/multipartBody7298679748557998437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_08_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14c2df81d6db163430652269d1c1d347.jpg","text":"TemporaryFile(/tmp/multipartBody7891857801608156330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_22_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ae38560aed61e642d32de41b911f3d5.jpg","text":"TemporaryFile(/tmp/multipartBody9189415819236481033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_16_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60a7aefa3723416d6ef791fcba57acca.jpg","text":"TemporaryFile(/tmp/multipartBody1304850863831731741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_20_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0618c804e438e64d78ed2b5b7fb58f26.jpg","text":"TemporaryFile(/tmp/multipartBody8203511653183753588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963605836,"filename":"image_29102025_20_29_13_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504000","file1":"1391503996","file0":"1391503993","file4":"1391504007","file5":"1391504010","file3":"1391504004"},"map_files_photo_id_array":[{"photo_id":"1391504010","filename":"file5"},{"photo_id":"1391504000","filename":"file2"},{"photo_id":"1391504007","filename":"file4"},{"photo_id":"1391503996","filename":"file1"},{"photo_id":"1391503993","filename":"file0"},{"photo_id":"1391504004","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391503993":["hashtag1","hashtag2"]},{"1391503996":["hashtag1","hashtag2"]},{"1391504010":["hashtag1","hashtag2"]},{"1391504004":["hashtag1","hashtag2"]},{"1391504007":["hashtag1","hashtag2"]},{"1391504000":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391503993, 1391503996, 1391504010, 1391504004, 1391504007, 1391504000)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.53390884399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:20:03.113165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_25_2730.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_29_3601.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_31_2646.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_35_3591.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_40_2844.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_43_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_25_2730.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_29_3601.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_31_2646.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_35_3591.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_40_2844.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_43_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504137","1391504134","1391504130","1391504127","1391504132","1391504141"],"photo_ids_order":["1391504127","1391504130","1391504132","1391504134","1391504137","1391504141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b10173b61330279ef9f104e2f179d285.jpg","text":"TemporaryFile(/tmp/multipartBody4172120634040707643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_40_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2d324fa95584d32b0127766508b8dae.jpg","text":"TemporaryFile(/tmp/multipartBody5805596749195950226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_35_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b835014b09b1095a715d0cdd08c17a53.jpg","text":"TemporaryFile(/tmp/multipartBody4542690466494540089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_29_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7729e0221045969b75e8fa3e8880f803.jpg","text":"TemporaryFile(/tmp/multipartBody454936421538927119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5f19b427957bb4704dbfd7cd01ab989.jpg","text":"TemporaryFile(/tmp/multipartBody7330788210201381016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e231eb877a5990cc461abfd4a5e91589.jpg","text":"TemporaryFile(/tmp/multipartBody8621050676664736439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963665277,"filename":"image_29102025_20_29_43_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504132","file1":"1391504130","file0":"1391504127","file4":"1391504137","file5":"1391504141","file3":"1391504134"},"map_files_photo_id_array":[{"photo_id":"1391504141","filename":"file5"},{"photo_id":"1391504132","filename":"file2"},{"photo_id":"1391504137","filename":"file4"},{"photo_id":"1391504130","filename":"file1"},{"photo_id":"1391504127","filename":"file0"},{"photo_id":"1391504134","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504137":["hashtag1","hashtag2"]},{"1391504134":["hashtag1","hashtag2"]},{"1391504130":["hashtag1","hashtag2"]},{"1391504127":["hashtag1","hashtag2"]},{"1391504132":["hashtag1","hashtag2"]},{"1391504141":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504137, 1391504134, 1391504130, 1391504127, 1391504132, 1391504141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48027157783508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:21:02.557416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_47_3594.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_52_2565.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_56_3703.jpg', '/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_58_2808.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_04_2858.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_07_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_47_3594.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_52_2565.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_56_3703.jpg
/home/pi/Desktop/images/29102025/20/29/image_29102025_20_29_58_2808.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_04_2858.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_07_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504176","1391504179","1391504172","1391504181","1391504174","1391504168"],"photo_ids_order":["1391504168","1391504172","1391504174","1391504176","1391504179","1391504181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/504956e11229aa6a180d98eb9716c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3094868023693974577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_29_58_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e89ecdafcf7099949951fc08d0e09b.jpg","text":"TemporaryFile(/tmp/multipartBody3536254664298785242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_30_04_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0227dff95f5bf5c501664f30b0d1da15.jpg","text":"TemporaryFile(/tmp/multipartBody2674123868810675127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_29_52_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e34d31c929d44ffb87670a1ff4b548b3.jpg","text":"TemporaryFile(/tmp/multipartBody5497328495173164825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_30_07_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a82d1f06962ac6850b09e96351deecdb.jpg","text":"TemporaryFile(/tmp/multipartBody3041084843953134038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_29_56_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a16f4b0ccf0922f4c42ece69a663b22.jpg","text":"TemporaryFile(/tmp/multipartBody8409274477924305626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963724811,"filename":"image_29102025_20_29_47_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504174","file1":"1391504172","file0":"1391504168","file4":"1391504179","file5":"1391504181","file3":"1391504176"},"map_files_photo_id_array":[{"photo_id":"1391504181","filename":"file5"},{"photo_id":"1391504174","filename":"file2"},{"photo_id":"1391504179","filename":"file4"},{"photo_id":"1391504172","filename":"file1"},{"photo_id":"1391504168","filename":"file0"},{"photo_id":"1391504176","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504176":["hashtag1","hashtag2"]},{"1391504179":["hashtag1","hashtag2"]},{"1391504172":["hashtag1","hashtag2"]},{"1391504181":["hashtag1","hashtag2"]},{"1391504174":["hashtag1","hashtag2"]},{"1391504168":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504176, 1391504179, 1391504172, 1391504181, 1391504174, 1391504168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0036940574646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:22:02.406844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_13_2685.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_16_2653.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_23_3701.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_25_2567.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_29_3608.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_32_2932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_13_2685.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_16_2653.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_23_3701.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_25_2567.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_29_3608.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_32_2932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504242","1391504247","1391504244","1391504252","1391504299","1391504303"],"photo_ids_order":["1391504242","1391504244","1391504247","1391504252","1391504299","1391504303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e02764024543893a62c2744a4e85fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2362704779758764526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4b38c7dd8f4ca852a72161a888761cb.jpg","text":"TemporaryFile(/tmp/multipartBody3321648859096208852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_23_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/055e51b12573e409b90c1e2a7388fae0.jpg","text":"TemporaryFile(/tmp/multipartBody5234875128562941472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a6c1b2039ccfa9143e9696ee6eecc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1533221646741366136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_25_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99daae362262f0731c95bdf0545d76ec.jpg","text":"TemporaryFile(/tmp/multipartBody5250558355887791054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_29_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d99e97399fd10ca244a7bd67b72db6a.jpg","text":"TemporaryFile(/tmp/multipartBody6393707973745301397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963784558,"filename":"image_29102025_20_30_32_2932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504247","file1":"1391504244","file0":"1391504242","file4":"1391504299","file5":"1391504303","file3":"1391504252"},"map_files_photo_id_array":[{"photo_id":"1391504303","filename":"file5"},{"photo_id":"1391504247","filename":"file2"},{"photo_id":"1391504299","filename":"file4"},{"photo_id":"1391504244","filename":"file1"},{"photo_id":"1391504242","filename":"file0"},{"photo_id":"1391504252","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504242":["hashtag1","hashtag2"]},{"1391504247":["hashtag1","hashtag2"]},{"1391504244":["hashtag1","hashtag2"]},{"1391504252":["hashtag1","hashtag2"]},{"1391504299":["hashtag1","hashtag2"]},{"1391504303":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504242, 1391504247, 1391504244, 1391504252, 1391504299, 1391504303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.798224687576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:23:02.848540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_34_2744.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_37_2717.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_41_3561.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_44_2850.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_46_2839.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_49_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_34_2744.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_37_2717.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_41_3561.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_44_2850.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_46_2839.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_49_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504344","1391504332","1391504346","1391504342","1391504336","1391504339"],"photo_ids_order":["1391504332","1391504336","1391504339","1391504342","1391504344","1391504346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25b6cbc15d1ec56ef22efea70335082e.jpg","text":"TemporaryFile(/tmp/multipartBody4068269503977207528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_46_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ceaea93744b600d5727398af026c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody4464630783483038708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_34_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4908c959c258de32ba44f21fc4f535ff.jpg","text":"TemporaryFile(/tmp/multipartBody7316582476570955969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_49_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff77e6170e68964f9ef9f09920a61300.jpg","text":"TemporaryFile(/tmp/multipartBody1532529462541736516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_44_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aec57d5d39495188adff6b393f753554.jpg","text":"TemporaryFile(/tmp/multipartBody1573662606284596564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_37_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74d4bb8854b8c0d28d57d7728b6379c8.jpg","text":"TemporaryFile(/tmp/multipartBody1588320566346195918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963845480,"filename":"image_29102025_20_30_41_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504339","file1":"1391504336","file0":"1391504332","file4":"1391504344","file5":"1391504346","file3":"1391504342"},"map_files_photo_id_array":[{"photo_id":"1391504346","filename":"file5"},{"photo_id":"1391504339","filename":"file2"},{"photo_id":"1391504344","filename":"file4"},{"photo_id":"1391504336","filename":"file1"},{"photo_id":"1391504332","filename":"file0"},{"photo_id":"1391504342","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504344":["hashtag1","hashtag2"]},{"1391504332":["hashtag1","hashtag2"]},{"1391504346":["hashtag1","hashtag2"]},{"1391504342":["hashtag1","hashtag2"]},{"1391504336":["hashtag1","hashtag2"]},{"1391504339":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504344, 1391504332, 1391504346, 1391504342, 1391504336, 1391504339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.425384759902954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:23:42.286667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_53_3754.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_56_2808.jpg', '/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_58_2659.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_02_3557.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_04_2736.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_07_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_53_3754.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_56_2808.jpg
/home/pi/Desktop/images/29102025/20/30/image_29102025_20_30_58_2659.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_02_3557.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_04_2736.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_07_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504376","1391504361","1391504370","1391504373","1391504355","1391504366"],"photo_ids_order":["1391504355","1391504361","1391504366","1391504370","1391504373","1391504376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cd9c2ab49d14c53c149b2d7d61f4ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5509113576781672525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_31_07_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdaef418e67a8717547b79c966c9609c.jpg","text":"TemporaryFile(/tmp/multipartBody4422867893713031217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_30_56_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02ab106bdc1adff43b9afec62de5ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody6756977998708791252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_31_02_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb3ff48c57f4df41d7c458fbbac31d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5499080051907793316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_31_04_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5738b5a7d89608a58cd34452bd24136.jpg","text":"TemporaryFile(/tmp/multipartBody8820215721502302777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_30_53_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/468da19b7a886bd2e8496055af3c2215.jpg","text":"TemporaryFile(/tmp/multipartBody2670467306304739387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963883453,"filename":"image_29102025_20_30_58_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504366","file1":"1391504361","file0":"1391504355","file4":"1391504373","file5":"1391504376","file3":"1391504370"},"map_files_photo_id_array":[{"photo_id":"1391504376","filename":"file5"},{"photo_id":"1391504366","filename":"file2"},{"photo_id":"1391504373","filename":"file4"},{"photo_id":"1391504361","filename":"file1"},{"photo_id":"1391504355","filename":"file0"},{"photo_id":"1391504370","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504376":["hashtag1","hashtag2"]},{"1391504361":["hashtag1","hashtag2"]},{"1391504370":["hashtag1","hashtag2"]},{"1391504373":["hashtag1","hashtag2"]},{"1391504355":["hashtag1","hashtag2"]},{"1391504366":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504376, 1391504361, 1391504370, 1391504373, 1391504355, 1391504366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.557390213012695 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:24:42.526217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_10_2833.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_13_2964.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_16_3540.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_22_2701.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_25_3630.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_28_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_10_2833.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_13_2964.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_16_3540.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_22_2701.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_25_3630.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_28_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504440","1391504439","1391504430","1391504424","1391504435","1391504438"],"photo_ids_order":["1391504424","1391504430","1391504435","1391504438","1391504439","1391504440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fce7b57dac8792a75689b126607d6f57.jpg","text":"TemporaryFile(/tmp/multipartBody3646496109100970491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_28_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afdc5a45c11e8cbd854044ec85f131f0.jpg","text":"TemporaryFile(/tmp/multipartBody1280479766967149165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_25_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5eaf60fdc8dc8b2326247294ffc34d77.jpg","text":"TemporaryFile(/tmp/multipartBody6806254658103338101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_13_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10e127e78e0a75a390a2a77b4b0ade17.jpg","text":"TemporaryFile(/tmp/multipartBody180514103342246677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_10_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8937864d91f3abb38e9896c5a725577.jpg","text":"TemporaryFile(/tmp/multipartBody8428715649080325706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_16_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88351918434fbf26193a84a7a49e877a.jpg","text":"TemporaryFile(/tmp/multipartBody5687544832902935861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963944163,"filename":"image_29102025_20_31_22_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504435","file1":"1391504430","file0":"1391504424","file4":"1391504439","file5":"1391504440","file3":"1391504438"},"map_files_photo_id_array":[{"photo_id":"1391504440","filename":"file5"},{"photo_id":"1391504435","filename":"file2"},{"photo_id":"1391504439","filename":"file4"},{"photo_id":"1391504430","filename":"file1"},{"photo_id":"1391504424","filename":"file0"},{"photo_id":"1391504438","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504440":["hashtag1","hashtag2"]},{"1391504439":["hashtag1","hashtag2"]},{"1391504430":["hashtag1","hashtag2"]},{"1391504424":["hashtag1","hashtag2"]},{"1391504435":["hashtag1","hashtag2"]},{"1391504438":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504440, 1391504439, 1391504430, 1391504424, 1391504435, 1391504438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48413300514221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:25:22.680669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_31_2720.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_35_3557.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_40_2583.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_43_3659.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_46_2782.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_49_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_31_2720.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_35_3557.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_40_2583.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_43_3659.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_46_2782.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_49_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504503","1391504550","1391504618","1391504593","1391504447","1391504458"],"photo_ids_order":["1391504447","1391504458","1391504503","1391504550","1391504593","1391504618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15aa33c8d2de1193a71c19ce9fc589b2.jpg","text":"TemporaryFile(/tmp/multipartBody3843810121345890131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_40_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e3867b9d29e701e6c635fd5f68141c9.jpg","text":"TemporaryFile(/tmp/multipartBody5371544978449491483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_43_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e66b21c8373885b31d6aa6efbce0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody623888831753134791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_49_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c28540f4dbcab1d2f52325824664fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5446963452184794592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_46_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee78932a6526978dd2ea6d2320471edb.jpg","text":"TemporaryFile(/tmp/multipartBody4477088304287148251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_31_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06b36fe4f25c0893827c2c016a536d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5491200231332895822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761963985436,"filename":"image_29102025_20_31_35_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504503","file1":"1391504458","file0":"1391504447","file4":"1391504593","file5":"1391504618","file3":"1391504550"},"map_files_photo_id_array":[{"photo_id":"1391504618","filename":"file5"},{"photo_id":"1391504503","filename":"file2"},{"photo_id":"1391504593","filename":"file4"},{"photo_id":"1391504458","filename":"file1"},{"photo_id":"1391504447","filename":"file0"},{"photo_id":"1391504550","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504503":["hashtag1","hashtag2"]},{"1391504550":["hashtag1","hashtag2"]},{"1391504618":["hashtag1","hashtag2"]},{"1391504593":["hashtag1","hashtag2"]},{"1391504447":["hashtag1","hashtag2"]},{"1391504458":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504503, 1391504550, 1391504618, 1391504593, 1391504447, 1391504458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78524589538574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:26:21.797149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_52_3671.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_55_2690.jpg', '/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_58_2868.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_01_2698.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_04_3672.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_07_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_52_3671.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_55_2690.jpg
/home/pi/Desktop/images/29102025/20/31/image_29102025_20_31_58_2868.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_01_2698.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_04_3672.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_07_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504749","1391504688","1391504775","1391504684","1391504687","1391504705"],"photo_ids_order":["1391504684","1391504687","1391504688","1391504705","1391504749","1391504775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bcfd439b556e6150709a13fa25d14d8.jpg","text":"TemporaryFile(/tmp/multipartBody8472120475412894511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_32_04_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c78e897994ee08125c8c4e5727c78a8.jpg","text":"TemporaryFile(/tmp/multipartBody8337962643350176295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_31_58_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bf81382720ff5675212214e1d9853d9.jpg","text":"TemporaryFile(/tmp/multipartBody1655290419433532319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_32_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df227533964ccb48a50c41ad60f8756b.jpg","text":"TemporaryFile(/tmp/multipartBody8763724715129739227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_31_52_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ced2d0590560a0ba858f2207cb2ba3f.jpg","text":"TemporaryFile(/tmp/multipartBody3503967337071182522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_31_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cda19e411cdee7a4f09e89e823d1e45.jpg","text":"TemporaryFile(/tmp/multipartBody8074699765508413706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964044509,"filename":"image_29102025_20_32_01_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504688","file1":"1391504687","file0":"1391504684","file4":"1391504749","file5":"1391504775","file3":"1391504705"},"map_files_photo_id_array":[{"photo_id":"1391504775","filename":"file5"},{"photo_id":"1391504688","filename":"file2"},{"photo_id":"1391504749","filename":"file4"},{"photo_id":"1391504687","filename":"file1"},{"photo_id":"1391504684","filename":"file0"},{"photo_id":"1391504705","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504749":["hashtag1","hashtag2"]},{"1391504688":["hashtag1","hashtag2"]},{"1391504775":["hashtag1","hashtag2"]},{"1391504684":["hashtag1","hashtag2"]},{"1391504687":["hashtag1","hashtag2"]},{"1391504705":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504749, 1391504688, 1391504775, 1391504684, 1391504687, 1391504705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19458842277527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:27:02.680471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_10_2919.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_13_3582.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_16_2571.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_19_2658.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_22_3692.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_25_2917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_10_2919.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_13_3582.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_16_2571.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_19_2658.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_22_3692.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_25_2917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504796","1391504800","1391504790","1391504803","1391504793","1391504797"],"photo_ids_order":["1391504790","1391504793","1391504796","1391504797","1391504800","1391504803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96633fe17d6b2ec7faa4619240657984.jpg","text":"TemporaryFile(/tmp/multipartBody1964919471923138303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_16_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b2a6b6364c7c4d5f46a15fedb1392a5.jpg","text":"TemporaryFile(/tmp/multipartBody2003075183545567926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_22_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ce41af081bc53df2a8b11e8a0d1842.jpg","text":"TemporaryFile(/tmp/multipartBody7228377980820101319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_10_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f0de5d8cfc07cd8f780c0f78b158a48.jpg","text":"TemporaryFile(/tmp/multipartBody4824826129534156260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_25_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e210de499f670b475ea943550c08d4f5.jpg","text":"TemporaryFile(/tmp/multipartBody7485386852573901792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_13_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/073f6a7bfc8633735dac0a8d54c8b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6175668388356351926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964084921,"filename":"image_29102025_20_32_19_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504796","file1":"1391504793","file0":"1391504790","file4":"1391504800","file5":"1391504803","file3":"1391504797"},"map_files_photo_id_array":[{"photo_id":"1391504803","filename":"file5"},{"photo_id":"1391504796","filename":"file2"},{"photo_id":"1391504800","filename":"file4"},{"photo_id":"1391504793","filename":"file1"},{"photo_id":"1391504790","filename":"file0"},{"photo_id":"1391504797","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504796":["hashtag1","hashtag2"]},{"1391504800":["hashtag1","hashtag2"]},{"1391504790":["hashtag1","hashtag2"]},{"1391504803":["hashtag1","hashtag2"]},{"1391504793":["hashtag1","hashtag2"]},{"1391504797":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504796, 1391504800, 1391504790, 1391504803, 1391504793, 1391504797)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.96544623374939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:28:02.744574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_28_2670.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_32_3599.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_34_2764.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_37_2793.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_40_2599.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_43_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_28_2670.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_32_3599.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_34_2764.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_37_2793.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_40_2599.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_43_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504851","1391504833","1391504865","1391504841","1391504861","1391504837"],"photo_ids_order":["1391504833","1391504837","1391504841","1391504851","1391504861","1391504865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/473a667bb70d95a66f73de208a9896a7.jpg","text":"TemporaryFile(/tmp/multipartBody6936183442644384439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_37_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4a5114958f4d06e33d71d4679af4873.jpg","text":"TemporaryFile(/tmp/multipartBody6808262116042140642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_28_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/545192ae2f0c5f6ccf289d9680e52591.jpg","text":"TemporaryFile(/tmp/multipartBody7290648043465842423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_43_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71314582a6032f31314fcd5a2c58f2f5.jpg","text":"TemporaryFile(/tmp/multipartBody1486008844672785541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_34_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2c3cc1b2fb4e980e5906546a01cdd24.jpg","text":"TemporaryFile(/tmp/multipartBody3279778825310276758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ee7f54d2c13701ebdc11bc72ff8f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody5372394049536721519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964145034,"filename":"image_29102025_20_32_32_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504841","file1":"1391504837","file0":"1391504833","file4":"1391504861","file5":"1391504865","file3":"1391504851"},"map_files_photo_id_array":[{"photo_id":"1391504865","filename":"file5"},{"photo_id":"1391504841","filename":"file2"},{"photo_id":"1391504861","filename":"file4"},{"photo_id":"1391504837","filename":"file1"},{"photo_id":"1391504833","filename":"file0"},{"photo_id":"1391504851","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504851":["hashtag1","hashtag2"]},{"1391504833":["hashtag1","hashtag2"]},{"1391504865":["hashtag1","hashtag2"]},{"1391504841":["hashtag1","hashtag2"]},{"1391504861":["hashtag1","hashtag2"]},{"1391504837":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504851, 1391504833, 1391504865, 1391504841, 1391504861, 1391504837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.260329723358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:28:42.338928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_46_2566.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_50_3566.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_52_2626.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_55_2640.jpg', '/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_58_3674.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_01_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_46_2566.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_50_3566.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_52_2626.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_55_2640.jpg
/home/pi/Desktop/images/29102025/20/32/image_29102025_20_32_58_3674.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_01_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504938","1391504946","1391504928","1391504916","1391504942","1391504933"],"photo_ids_order":["1391504916","1391504928","1391504933","1391504938","1391504942","1391504946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47560ad492dd0256375c16c720a3c510.jpg","text":"TemporaryFile(/tmp/multipartBody4556964279879418106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_32_55_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb8fddaceb39fe6a3f7b1a3ddf47d46c.jpg","text":"TemporaryFile(/tmp/multipartBody7800034092168637885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_33_01_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c37322b67499de505fa054e758aa89e8.jpg","text":"TemporaryFile(/tmp/multipartBody3609512646384420135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_32_50_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea14dc520f34ce7241db647097b1008b.jpg","text":"TemporaryFile(/tmp/multipartBody2709508490924036575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_32_46_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4bdb1c993d56b7ced9cb13ac8d38e55.jpg","text":"TemporaryFile(/tmp/multipartBody122468482113942275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_32_58_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e18a02e2dc571e76b577c1fbf12f4bac.jpg","text":"TemporaryFile(/tmp/multipartBody9070387954423344541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964183583,"filename":"image_29102025_20_32_52_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504933","file1":"1391504928","file0":"1391504916","file4":"1391504942","file5":"1391504946","file3":"1391504938"},"map_files_photo_id_array":[{"photo_id":"1391504946","filename":"file5"},{"photo_id":"1391504933","filename":"file2"},{"photo_id":"1391504942","filename":"file4"},{"photo_id":"1391504928","filename":"file1"},{"photo_id":"1391504916","filename":"file0"},{"photo_id":"1391504938","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504938":["hashtag1","hashtag2"]},{"1391504946":["hashtag1","hashtag2"]},{"1391504928":["hashtag1","hashtag2"]},{"1391504916":["hashtag1","hashtag2"]},{"1391504942":["hashtag1","hashtag2"]},{"1391504933":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504938, 1391504946, 1391504928, 1391504916, 1391504942, 1391504933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69768261909485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:29:22.459391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_04_2578.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_07_2787.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_10_3633.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_13_2630.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_17_3712.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_19_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_04_2578.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_07_2787.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_10_3633.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_13_2630.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_17_3712.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_19_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391504973","1391504978","1391504963","1391504957","1391504954","1391504968"],"photo_ids_order":["1391504954","1391504957","1391504963","1391504968","1391504973","1391504978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be6788fa6f4a37b0908717f4a9a02e69.jpg","text":"TemporaryFile(/tmp/multipartBody7690731200996564248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_17_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9692cd1e1b50ea2076530e37a8114c86.jpg","text":"TemporaryFile(/tmp/multipartBody588423220889359049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_19_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/422b523d8ace321f2b449ed21fca8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8482837632302970675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8ab004054ab4b1696cf65ea826e64b2.jpg","text":"TemporaryFile(/tmp/multipartBody4725964959886185813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c1c9dce7093158738f598ffe0364038.jpg","text":"TemporaryFile(/tmp/multipartBody5933726065781756024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_04_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3ba033e1ccc752cdbf0d19e12dd6ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2533285218335429102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964225296,"filename":"image_29102025_20_33_13_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391504963","file1":"1391504957","file0":"1391504954","file4":"1391504973","file5":"1391504978","file3":"1391504968"},"map_files_photo_id_array":[{"photo_id":"1391504978","filename":"file5"},{"photo_id":"1391504963","filename":"file2"},{"photo_id":"1391504973","filename":"file4"},{"photo_id":"1391504957","filename":"file1"},{"photo_id":"1391504954","filename":"file0"},{"photo_id":"1391504968","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391504973":["hashtag1","hashtag2"]},{"1391504978":["hashtag1","hashtag2"]},{"1391504963":["hashtag1","hashtag2"]},{"1391504957":["hashtag1","hashtag2"]},{"1391504954":["hashtag1","hashtag2"]},{"1391504968":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391504973, 1391504978, 1391504963, 1391504957, 1391504954, 1391504968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.427719831466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:30:22.645226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_22_2537.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_25_3811.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_28_2827.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_31_2742.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_34_2659.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_37_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_22_2537.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_25_3811.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_28_2827.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_31_2742.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_34_2659.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_37_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505001","1391505015","1391505011","1391505005","1391504998","1391504995"],"photo_ids_order":["1391504995","1391504998","1391505001","1391505005","1391505011","1391505015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12368419ef0905f8d1dd21f2ccf34441.jpg","text":"TemporaryFile(/tmp/multipartBody1759201961656013833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_28_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/273cc03a92fba5130692d8f9fa13286c.jpg","text":"TemporaryFile(/tmp/multipartBody8600246928863278282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_37_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fb47a843ebfc105c7e7d4be7af967b5.jpg","text":"TemporaryFile(/tmp/multipartBody2158795464386841200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_34_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7100d38df273bdde72927eb584aa2414.jpg","text":"TemporaryFile(/tmp/multipartBody6017249949901177812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_31_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e731dd8a89a9a8297c5e7028ed40c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody9149142903431790160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_25_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ed52facb5f1556149cba7c8517909f3.jpg","text":"TemporaryFile(/tmp/multipartBody4997610776029828878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964285344,"filename":"image_29102025_20_33_22_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505001","file1":"1391504998","file0":"1391504995","file4":"1391505011","file5":"1391505015","file3":"1391505005"},"map_files_photo_id_array":[{"photo_id":"1391505015","filename":"file5"},{"photo_id":"1391505001","filename":"file2"},{"photo_id":"1391505011","filename":"file4"},{"photo_id":"1391504998","filename":"file1"},{"photo_id":"1391504995","filename":"file0"},{"photo_id":"1391505005","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505001":["hashtag1","hashtag2"]},{"1391505015":["hashtag1","hashtag2"]},{"1391505011":["hashtag1","hashtag2"]},{"1391505005":["hashtag1","hashtag2"]},{"1391504998":["hashtag1","hashtag2"]},{"1391504995":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505001, 1391505015, 1391505011, 1391505005, 1391504998, 1391504995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78461742401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:31:21.852760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_40_2692.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_43_2790.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_46_2664.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_49_3635.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_52_2824.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_55_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_40_2692.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_43_2790.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_46_2664.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_49_3635.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_52_2824.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_55_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505036","1391505030","1391505041","1391505053","1391505047","1391505032"],"photo_ids_order":["1391505030","1391505032","1391505036","1391505041","1391505047","1391505053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44ea66ce09e0772a0d9abe733cc8ecbc.jpg","text":"TemporaryFile(/tmp/multipartBody3627433077583338309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_46_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c19ab204e94a87085263c9b403bd32fe.jpg","text":"TemporaryFile(/tmp/multipartBody740923334000023434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_40_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59a8591835967a5acb017381250b9bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8195629473413395795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_49_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d4ce3bf29906c5a9ee2fc574f9bc924.jpg","text":"TemporaryFile(/tmp/multipartBody1458878174003185069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3675233a575d4102c427b54eb4bdef6c.jpg","text":"TemporaryFile(/tmp/multipartBody8322388171675103792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_52_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc550622462a54e98083b94ae56afa62.jpg","text":"TemporaryFile(/tmp/multipartBody8987114715074591498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964344344,"filename":"image_29102025_20_33_43_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505036","file1":"1391505032","file0":"1391505030","file4":"1391505047","file5":"1391505053","file3":"1391505041"},"map_files_photo_id_array":[{"photo_id":"1391505053","filename":"file5"},{"photo_id":"1391505036","filename":"file2"},{"photo_id":"1391505047","filename":"file4"},{"photo_id":"1391505032","filename":"file1"},{"photo_id":"1391505030","filename":"file0"},{"photo_id":"1391505041","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505036":["hashtag1","hashtag2"]},{"1391505030":["hashtag1","hashtag2"]},{"1391505041":["hashtag1","hashtag2"]},{"1391505053":["hashtag1","hashtag2"]},{"1391505047":["hashtag1","hashtag2"]},{"1391505032":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505036, 1391505030, 1391505041, 1391505053, 1391505047, 1391505032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95911145210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:32:21.998591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_57_2754.jpg', '/home/pi/Desktop/images/29102025/20/33/image_29102025_20_34_01_3773.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_04_2631.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_07_2723.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_10_3789.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_13_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_33_57_2754.jpg
/home/pi/Desktop/images/29102025/20/33/image_29102025_20_34_01_3773.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_04_2631.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_07_2723.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_10_3789.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_13_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505103","1391505078","1391505086","1391505074","1391505091","1391505082"],"photo_ids_order":["1391505074","1391505078","1391505082","1391505086","1391505091","1391505103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a109703e73124ca3213d52754f46fabb.jpg","text":"TemporaryFile(/tmp/multipartBody3710044531971489853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_34_13_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/858e0b7763faf14c6704e442879bdbcb.jpg","text":"TemporaryFile(/tmp/multipartBody1220702875749659296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_34_01_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/712fae909382d914bdaa762983a1314f.jpg","text":"TemporaryFile(/tmp/multipartBody7875588160935987391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_34_07_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/264460395ddf8bff02aeea495467e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody2730452004106595401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_33_57_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe30003d7de724b1440cfe3b187ce68c.jpg","text":"TemporaryFile(/tmp/multipartBody7173411824691280167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_34_10_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/895a7a6d62c91006dfc11a15f8234d02.jpg","text":"TemporaryFile(/tmp/multipartBody7001293061203161537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964404730,"filename":"image_29102025_20_34_04_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505082","file1":"1391505078","file0":"1391505074","file4":"1391505091","file5":"1391505103","file3":"1391505086"},"map_files_photo_id_array":[{"photo_id":"1391505103","filename":"file5"},{"photo_id":"1391505082","filename":"file2"},{"photo_id":"1391505091","filename":"file4"},{"photo_id":"1391505078","filename":"file1"},{"photo_id":"1391505074","filename":"file0"},{"photo_id":"1391505086","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505103":["hashtag1","hashtag2"]},{"1391505078":["hashtag1","hashtag2"]},{"1391505086":["hashtag1","hashtag2"]},{"1391505074":["hashtag1","hashtag2"]},{"1391505091":["hashtag1","hashtag2"]},{"1391505082":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505103, 1391505078, 1391505086, 1391505074, 1391505091, 1391505082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.267200231552124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:33:02.709108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_16_2589.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_18_2678.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_22_3739.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_25_2595.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_27_2662.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_34_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_16_2589.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_18_2678.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_22_3739.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_25_2595.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_27_2662.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_34_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505120","1391505114","1391505123","1391505117","1391505119","1391505121"],"photo_ids_order":["1391505114","1391505117","1391505119","1391505120","1391505121","1391505123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0cf3cf9bd40020dd685588731bc8999.jpg","text":"TemporaryFile(/tmp/multipartBody3985493944621720125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_25_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/019af0c06953881e4616ee1d29a6b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1003120739916688405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_16_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f65a5997517e96f41144bd866da84d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1326767595694572939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa1ec3fbdf7c2dff0712439bdf6b886d.jpg","text":"TemporaryFile(/tmp/multipartBody839666652994327395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_18_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9c40033d4efecf2e511f4f2abdd3903.jpg","text":"TemporaryFile(/tmp/multipartBody9029792463781170586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_22_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ead084cfb3bfc6f1740aaea70034c9f7.jpg","text":"TemporaryFile(/tmp/multipartBody9044971806075722475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964444972,"filename":"image_29102025_20_34_27_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505119","file1":"1391505117","file0":"1391505114","file4":"1391505121","file5":"1391505123","file3":"1391505120"},"map_files_photo_id_array":[{"photo_id":"1391505123","filename":"file5"},{"photo_id":"1391505119","filename":"file2"},{"photo_id":"1391505121","filename":"file4"},{"photo_id":"1391505117","filename":"file1"},{"photo_id":"1391505114","filename":"file0"},{"photo_id":"1391505120","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505120":["hashtag1","hashtag2"]},{"1391505114":["hashtag1","hashtag2"]},{"1391505123":["hashtag1","hashtag2"]},{"1391505117":["hashtag1","hashtag2"]},{"1391505119":["hashtag1","hashtag2"]},{"1391505121":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505120, 1391505114, 1391505123, 1391505117, 1391505119, 1391505121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52053093910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:33:42.110436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_37_2762.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_39_2881.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_43_3703.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_46_2675.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_48_2579.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_52_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_37_2762.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_39_2881.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_43_3703.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_46_2675.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_48_2579.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_52_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505150","1391505153","1391505141","1391505145","1391505148","1391505136"],"photo_ids_order":["1391505136","1391505141","1391505145","1391505148","1391505150","1391505153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc4b7e0d0f7734c4e9a9de8320965fe0.jpg","text":"TemporaryFile(/tmp/multipartBody564057619258526741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_48_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e216bd90c8d8e84e65291fdda1ba8d43.jpg","text":"TemporaryFile(/tmp/multipartBody5486252101669945457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_52_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f96554000538ad06753b2069f947bab8.jpg","text":"TemporaryFile(/tmp/multipartBody3548866618321298732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_39_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/320736b32c32ffa604cb0e2579512703.jpg","text":"TemporaryFile(/tmp/multipartBody6209069160178567210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_43_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/639dbe48236dec2f293bf911bc33dbef.jpg","text":"TemporaryFile(/tmp/multipartBody2604014941346088506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_46_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7053d6dff7e7d3cc50f2670086ff4512.jpg","text":"TemporaryFile(/tmp/multipartBody7147529740433677637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964483275,"filename":"image_29102025_20_34_37_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505145","file1":"1391505141","file0":"1391505136","file4":"1391505150","file5":"1391505153","file3":"1391505148"},"map_files_photo_id_array":[{"photo_id":"1391505153","filename":"file5"},{"photo_id":"1391505145","filename":"file2"},{"photo_id":"1391505150","filename":"file4"},{"photo_id":"1391505141","filename":"file1"},{"photo_id":"1391505136","filename":"file0"},{"photo_id":"1391505148","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505150":["hashtag1","hashtag2"]},{"1391505153":["hashtag1","hashtag2"]},{"1391505141":["hashtag1","hashtag2"]},{"1391505145":["hashtag1","hashtag2"]},{"1391505148":["hashtag1","hashtag2"]},{"1391505136":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505150, 1391505153, 1391505141, 1391505145, 1391505148, 1391505136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84064245223999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:34:22.305617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_55_2625.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_57_2640.jpg', '/home/pi/Desktop/images/29102025/20/34/image_29102025_20_35_01_3722.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_04_2670.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_07_2801.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_10_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_55_2625.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_34_57_2640.jpg
/home/pi/Desktop/images/29102025/20/34/image_29102025_20_35_01_3722.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_04_2670.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_07_2801.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_10_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505189","1391505180","1391505176","1391505172","1391505166","1391505169"],"photo_ids_order":["1391505166","1391505169","1391505172","1391505176","1391505180","1391505189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e0c4a64b288d643e96c3280e62282e4.jpg","text":"TemporaryFile(/tmp/multipartBody2495946028531130724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_35_10_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd1657ba2486fc0657d426a25fcb5529.jpg","text":"TemporaryFile(/tmp/multipartBody3737139486471950096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_35_07_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2497f85daa7a7724ca22e56f57d231e5.jpg","text":"TemporaryFile(/tmp/multipartBody4311319733201870157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_35_04_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0decfbc9386bddb30b4a4b11640e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody2744802426816779350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_35_01_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/967fa629dc8bbf30e297142cd9c06abc.jpg","text":"TemporaryFile(/tmp/multipartBody2987561942662630939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_34_55_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3035ae580b545d85dc80b050949155c.jpg","text":"TemporaryFile(/tmp/multipartBody893816651261811985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964525029,"filename":"image_29102025_20_34_57_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505172","file1":"1391505169","file0":"1391505166","file4":"1391505180","file5":"1391505189","file3":"1391505176"},"map_files_photo_id_array":[{"photo_id":"1391505189","filename":"file5"},{"photo_id":"1391505172","filename":"file2"},{"photo_id":"1391505180","filename":"file4"},{"photo_id":"1391505169","filename":"file1"},{"photo_id":"1391505166","filename":"file0"},{"photo_id":"1391505176","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505189":["hashtag1","hashtag2"]},{"1391505180":["hashtag1","hashtag2"]},{"1391505176":["hashtag1","hashtag2"]},{"1391505172":["hashtag1","hashtag2"]},{"1391505166":["hashtag1","hashtag2"]},{"1391505169":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505189, 1391505180, 1391505176, 1391505172, 1391505166, 1391505169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.497700452804565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:35:22.502778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_13_2645.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_16_3003.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_19_2708.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_22_3686.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_25_2549.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_28_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_13_2645.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_16_3003.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_19_2708.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_22_3686.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_25_2549.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_28_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505205","1391505234","1391505224","1391505218","1391505212","1391505208"],"photo_ids_order":["1391505205","1391505208","1391505212","1391505218","1391505224","1391505234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2492ab03cce4dc6b15c9dd0e7846a820.jpg","text":"TemporaryFile(/tmp/multipartBody188522977239455717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/659d2d53b331862f0ac17b4dfe2c2638.jpg","text":"TemporaryFile(/tmp/multipartBody8043803574589620876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbefa578215ccb6bb3d312f7ff665c13.jpg","text":"TemporaryFile(/tmp/multipartBody2972420492051498110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_25_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ee039614254dd56a0e8a14f7f11df70.jpg","text":"TemporaryFile(/tmp/multipartBody1286186914694492969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_22_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/384c6d3d9159b789f53d2a64f3de502f.jpg","text":"TemporaryFile(/tmp/multipartBody6707951649314458056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_19_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81892e14edcc2c3c7d3c8701b97d03ea.jpg","text":"TemporaryFile(/tmp/multipartBody6410471440939747532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964584896,"filename":"image_29102025_20_35_16_3003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505212","file1":"1391505208","file0":"1391505205","file4":"1391505224","file5":"1391505234","file3":"1391505218"},"map_files_photo_id_array":[{"photo_id":"1391505234","filename":"file5"},{"photo_id":"1391505212","filename":"file2"},{"photo_id":"1391505224","filename":"file4"},{"photo_id":"1391505208","filename":"file1"},{"photo_id":"1391505205","filename":"file0"},{"photo_id":"1391505218","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505205":["hashtag1","hashtag2"]},{"1391505234":["hashtag1","hashtag2"]},{"1391505224":["hashtag1","hashtag2"]},{"1391505218":["hashtag1","hashtag2"]},{"1391505212":["hashtag1","hashtag2"]},{"1391505208":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505205, 1391505234, 1391505224, 1391505218, 1391505212, 1391505208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.705089807510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:36:21.824726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_31_3627.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_34_2610.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_40_3585.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_43_2558.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_45_2667.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_49_3845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_31_3627.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_34_2610.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_40_3585.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_43_2558.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_45_2667.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_49_3845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505628","1391505585","1391505543","1391505671","1391505500","1391505721"],"photo_ids_order":["1391505500","1391505543","1391505585","1391505628","1391505671","1391505721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29fd66b824643e69e8824dab3ec8f131.jpg","text":"TemporaryFile(/tmp/multipartBody89771298212574161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_43_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da9e702aa9bc730f6098fe35fb48190a.jpg","text":"TemporaryFile(/tmp/multipartBody5714433181504249840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_40_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/646e407a5bd902231acfa716f949861f.jpg","text":"TemporaryFile(/tmp/multipartBody3568871550081710883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_34_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6085ddae4525914e0663133f8152ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody7471311757726486056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_45_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/872ba4060587ca9ec4d88d292ea22b55.jpg","text":"TemporaryFile(/tmp/multipartBody6970546778458238541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_31_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18c5180fdd15a66952d5c4ac350587fb.jpg","text":"TemporaryFile(/tmp/multipartBody6043101604210487560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964644539,"filename":"image_29102025_20_35_49_3845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505585","file1":"1391505543","file0":"1391505500","file4":"1391505671","file5":"1391505721","file3":"1391505628"},"map_files_photo_id_array":[{"photo_id":"1391505721","filename":"file5"},{"photo_id":"1391505585","filename":"file2"},{"photo_id":"1391505671","filename":"file4"},{"photo_id":"1391505543","filename":"file1"},{"photo_id":"1391505500","filename":"file0"},{"photo_id":"1391505628","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505628":["hashtag1","hashtag2"]},{"1391505585":["hashtag1","hashtag2"]},{"1391505543":["hashtag1","hashtag2"]},{"1391505671":["hashtag1","hashtag2"]},{"1391505500":["hashtag1","hashtag2"]},{"1391505721":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505628, 1391505585, 1391505543, 1391505671, 1391505500, 1391505721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95017194747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:37:02.637275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_52_3005.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_58_2767.jpg', '/home/pi/Desktop/images/29102025/20/35/image_29102025_20_36_00_2705.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_04_3606.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_07_2686.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_09_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_52_3005.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_35_58_2767.jpg
/home/pi/Desktop/images/29102025/20/35/image_29102025_20_36_00_2705.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_04_3606.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_07_2686.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_09_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391505919","1391506094","1391506049","1391505965","1391506004","1391505877"],"photo_ids_order":["1391505877","1391505919","1391505965","1391506004","1391506049","1391506094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04d962bcec01c411f4de21f1763edcea.jpg","text":"TemporaryFile(/tmp/multipartBody7082557205675696145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_35_58_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29e702731aefe7cefb0e8167044e1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7823730727639796508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_36_09_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48337be8aa060117848992182ffc759e.jpg","text":"TemporaryFile(/tmp/multipartBody9064064321090350413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_36_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81b5af4863a7ea1033d8cda28e052634.jpg","text":"TemporaryFile(/tmp/multipartBody2942553785247031207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_36_00_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/547fba1ec29bd6e26beb37c9e5f459ac.jpg","text":"TemporaryFile(/tmp/multipartBody6049420944789226011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_36_04_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d885e09928f8664638c11e4b568fe26a.jpg","text":"TemporaryFile(/tmp/multipartBody2892482979056798893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964684892,"filename":"image_29102025_20_35_52_3005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391505965","file1":"1391505919","file0":"1391505877","file4":"1391506049","file5":"1391506094","file3":"1391506004"},"map_files_photo_id_array":[{"photo_id":"1391506094","filename":"file5"},{"photo_id":"1391505965","filename":"file2"},{"photo_id":"1391506049","filename":"file4"},{"photo_id":"1391505919","filename":"file1"},{"photo_id":"1391505877","filename":"file0"},{"photo_id":"1391506004","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391505919":["hashtag1","hashtag2"]},{"1391506094":["hashtag1","hashtag2"]},{"1391506049":["hashtag1","hashtag2"]},{"1391505965":["hashtag1","hashtag2"]},{"1391506004":["hashtag1","hashtag2"]},{"1391505877":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391505919, 1391506094, 1391506049, 1391505965, 1391506004, 1391505877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.218793869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:37:41.991332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_13_3661.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_16_2700.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_18_2671.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_21_2971.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_25_3719.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_28_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_13_3661.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_16_2700.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_18_2671.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_21_2971.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_25_3719.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_28_2843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391506233","1391506442","1391506360","1391506279","1391506398","1391506321"],"photo_ids_order":["1391506233","1391506279","1391506321","1391506360","1391506398","1391506442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3eaec44b5fadf0b4d373eae86a520414.jpg","text":"TemporaryFile(/tmp/multipartBody6079404530296256334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_13_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cecb4215ec360c09ca732a1032ac55c9.jpg","text":"TemporaryFile(/tmp/multipartBody8029257977339308430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_28_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ca6aeb07dacf4753bf85ca1fbbff7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2956732681495237333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_21_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/887c2a41f7e0c06f0f9b88fef6d0a958.jpg","text":"TemporaryFile(/tmp/multipartBody2928047639151053081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_16_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e15432296b27782de24363d3de370d81.jpg","text":"TemporaryFile(/tmp/multipartBody8303618707139991731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_25_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba3e7b9e8911348b75b4fb6a66b9cce6.jpg","text":"TemporaryFile(/tmp/multipartBody8258498418611607260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964723154,"filename":"image_29102025_20_36_18_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391506321","file1":"1391506279","file0":"1391506233","file4":"1391506398","file5":"1391506442","file3":"1391506360"},"map_files_photo_id_array":[{"photo_id":"1391506442","filename":"file5"},{"photo_id":"1391506321","filename":"file2"},{"photo_id":"1391506398","filename":"file4"},{"photo_id":"1391506279","filename":"file1"},{"photo_id":"1391506233","filename":"file0"},{"photo_id":"1391506360","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391506233":["hashtag1","hashtag2"]},{"1391506442":["hashtag1","hashtag2"]},{"1391506360":["hashtag1","hashtag2"]},{"1391506279":["hashtag1","hashtag2"]},{"1391506398":["hashtag1","hashtag2"]},{"1391506321":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391506233, 1391506442, 1391506360, 1391506279, 1391506398, 1391506321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.130040884017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:38:22.141792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_33_2829.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_37_3669.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_40_2664.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_45_2669.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_54_2809.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_58_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_33_2829.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_37_3669.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_40_2664.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_45_2669.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_54_2809.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_58_3590.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6320948600769043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:38:42.159309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_33_2829.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_37_3669.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_40_2664.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_45_2669.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_54_2809.jpg', '/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_58_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_33_2829.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_37_3669.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_40_2664.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_45_2669.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_54_2809.jpg
/home/pi/Desktop/images/29102025/20/36/image_29102025_20_36_58_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391506587","1391506566","1391506647","1391506583","1391506646","1391506579"],"photo_ids_order":["1391506566","1391506579","1391506583","1391506587","1391506646","1391506647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50f1f35e70d64edb1256890b973f801c.jpg","text":"TemporaryFile(/tmp/multipartBody499870551403716127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_45_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/277f67e84475d5eb8cbbf60fac797cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6924488816853653001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_33_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ce9b9537a5ba7c3b1dd01e066f8028.jpg","text":"TemporaryFile(/tmp/multipartBody161162090164891332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_58_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64e9e67d49b6a645b1820873ef7e4eff.jpg","text":"TemporaryFile(/tmp/multipartBody3831998589830207859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_40_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a8d02185e5e5e62fa83aededa2f815.jpg","text":"TemporaryFile(/tmp/multipartBody5770053429851974760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_54_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1bd77f8c0eab0986641484486fcba7f.jpg","text":"TemporaryFile(/tmp/multipartBody278296407653579261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964783184,"filename":"image_29102025_20_36_37_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391506583","file1":"1391506579","file0":"1391506566","file4":"1391506646","file5":"1391506647","file3":"1391506587"},"map_files_photo_id_array":[{"photo_id":"1391506647","filename":"file5"},{"photo_id":"1391506583","filename":"file2"},{"photo_id":"1391506646","filename":"file4"},{"photo_id":"1391506579","filename":"file1"},{"photo_id":"1391506566","filename":"file0"},{"photo_id":"1391506587","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391506587":["hashtag1","hashtag2"]},{"1391506566":["hashtag1","hashtag2"]},{"1391506647":["hashtag1","hashtag2"]},{"1391506583":["hashtag1","hashtag2"]},{"1391506646":["hashtag1","hashtag2"]},{"1391506579":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391506587, 1391506566, 1391506647, 1391506583, 1391506646, 1391506579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40446710586548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:39:22.312995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_01_2756.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_03_2639.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_06_2781.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_10_3856.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_13_2964.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_19_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_01_2756.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_03_2639.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_06_2781.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_10_3856.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_13_2964.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_19_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391506725","1391506721","1391506664","1391506718","1391506709","1391506654"],"photo_ids_order":["1391506654","1391506664","1391506709","1391506718","1391506721","1391506725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62354d3425bf0349fefc932e45698b25.jpg","text":"TemporaryFile(/tmp/multipartBody7244958880793376682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_19_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33dd8e934c696307dc138fd79a23e6f8.jpg","text":"TemporaryFile(/tmp/multipartBody321528995845500347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_13_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64ffbb291f5973285b9e1c53eeff3ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7840045233110484412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_03_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e38eced42934698f8fb0c0a02a611c93.jpg","text":"TemporaryFile(/tmp/multipartBody6261093330128228394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_10_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0699d647ecbe6b183f0240a08e3822a.jpg","text":"TemporaryFile(/tmp/multipartBody8093774645752736866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_06_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b8716a3c3ddb097c044401991c98040.jpg","text":"TemporaryFile(/tmp/multipartBody7129519061691429664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964825020,"filename":"image_29102025_20_37_01_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391506709","file1":"1391506664","file0":"1391506654","file4":"1391506721","file5":"1391506725","file3":"1391506718"},"map_files_photo_id_array":[{"photo_id":"1391506725","filename":"file5"},{"photo_id":"1391506709","filename":"file2"},{"photo_id":"1391506721","filename":"file4"},{"photo_id":"1391506664","filename":"file1"},{"photo_id":"1391506654","filename":"file0"},{"photo_id":"1391506718","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391506725":["hashtag1","hashtag2"]},{"1391506721":["hashtag1","hashtag2"]},{"1391506664":["hashtag1","hashtag2"]},{"1391506718":["hashtag1","hashtag2"]},{"1391506709":["hashtag1","hashtag2"]},{"1391506654":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391506725, 1391506721, 1391506664, 1391506718, 1391506709, 1391506654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72095775604248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:40:22.457700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_21_2596.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_25_3737.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_28_2587.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_30_2631.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_34_3713.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_37_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_21_2596.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_25_3737.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_28_2587.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_30_2631.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_34_3713.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_37_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507152","1391507056","1391507218","1391507311","1391507107","1391507277"],"photo_ids_order":["1391507056","1391507107","1391507152","1391507218","1391507277","1391507311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/238399cf9e96d2d1055fdd68f5b38b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5970206558935177629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_28_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88fc38b3c00f1840272329eeb178fa53.jpg","text":"TemporaryFile(/tmp/multipartBody1018890979988469537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_21_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3966908bd2b1cb6e53d0adec927ec7d1.jpg","text":"TemporaryFile(/tmp/multipartBody5839229377941973614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_30_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d7d94734fd8ddee4afd12afe073cd91.jpg","text":"TemporaryFile(/tmp/multipartBody8027783975886746865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_37_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1175eb0a52f1693b634e15968daf8e12.jpg","text":"TemporaryFile(/tmp/multipartBody9191126901788968779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_25_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8125af677f1a2206dbdd7518dbeeaa8.jpg","text":"TemporaryFile(/tmp/multipartBody5634992299058324296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964884839,"filename":"image_29102025_20_37_34_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507152","file1":"1391507107","file0":"1391507056","file4":"1391507277","file5":"1391507311","file3":"1391507218"},"map_files_photo_id_array":[{"photo_id":"1391507311","filename":"file5"},{"photo_id":"1391507152","filename":"file2"},{"photo_id":"1391507277","filename":"file4"},{"photo_id":"1391507107","filename":"file1"},{"photo_id":"1391507056","filename":"file0"},{"photo_id":"1391507218","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507152":["hashtag1","hashtag2"]},{"1391507056":["hashtag1","hashtag2"]},{"1391507218":["hashtag1","hashtag2"]},{"1391507311":["hashtag1","hashtag2"]},{"1391507107":["hashtag1","hashtag2"]},{"1391507277":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507152, 1391507056, 1391507218, 1391507311, 1391507107, 1391507277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33158612251282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:41:22.659255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_39_2813.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_43_3547.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_46_2859.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_49_2704.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_51_2683.jpg', '/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_58_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_39_2813.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_43_3547.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_46_2859.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_49_2704.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_51_2683.jpg
/home/pi/Desktop/images/29102025/20/37/image_29102025_20_37_58_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507508","1391507495","1391507468","1391507420","1391507479","1391507457"],"photo_ids_order":["1391507420","1391507457","1391507468","1391507479","1391507495","1391507508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb15f6147411136d78ff7461bfbc250d.jpg","text":"TemporaryFile(/tmp/multipartBody6332602462672076051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_58_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dbd9bc595216808c2eebb856ffe9593.jpg","text":"TemporaryFile(/tmp/multipartBody2557176984108413612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_51_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dfc20a5ab94ce66f18b976fe27ef189.jpg","text":"TemporaryFile(/tmp/multipartBody631788143853429277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_46_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af607c500b2ba8293143a264b7b734f5.jpg","text":"TemporaryFile(/tmp/multipartBody786045722616714795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_39_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc526bcb887eab37eacd2f6d5a72ae94.jpg","text":"TemporaryFile(/tmp/multipartBody6527910254480353450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_49_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14341bad1310db403277f5460334d146.jpg","text":"TemporaryFile(/tmp/multipartBody3506410185762412352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761964945090,"filename":"image_29102025_20_37_43_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507468","file1":"1391507457","file0":"1391507420","file4":"1391507495","file5":"1391507508","file3":"1391507479"},"map_files_photo_id_array":[{"photo_id":"1391507508","filename":"file5"},{"photo_id":"1391507468","filename":"file2"},{"photo_id":"1391507495","filename":"file4"},{"photo_id":"1391507457","filename":"file1"},{"photo_id":"1391507420","filename":"file0"},{"photo_id":"1391507479","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507508":["hashtag1","hashtag2"]},{"1391507495":["hashtag1","hashtag2"]},{"1391507468":["hashtag1","hashtag2"]},{"1391507420":["hashtag1","hashtag2"]},{"1391507479":["hashtag1","hashtag2"]},{"1391507457":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507508, 1391507495, 1391507468, 1391507420, 1391507479, 1391507457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24722623825073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:42:21.787038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_01_2751.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_03_2699.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_07_3794.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_10_2649.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_13_2854.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_15_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_01_2751.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_03_2699.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_07_3794.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_10_2649.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_13_2854.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_15_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507582","1391507540","1391507558","1391507571","1391507577","1391507550"],"photo_ids_order":["1391507540","1391507550","1391507558","1391507571","1391507577","1391507582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd38e3f2e9ca595639ad2fef3172bb17.jpg","text":"TemporaryFile(/tmp/multipartBody8671112110632613000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_15_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f3a0777b676cfa803efe392a53bd005.jpg","text":"TemporaryFile(/tmp/multipartBody6980826514592828238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_01_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f45a6097612cf5bb1e9782304875b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6437887158893604424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_07_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/763303eab2410779f96b0e27f5231b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1372835781430426324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_10_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/928c03b7a8cc9051b248d597a549e434.jpg","text":"TemporaryFile(/tmp/multipartBody3548598910343139515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_13_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0874eb45cfba029881a40abed05dc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7588660481070101678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965004172,"filename":"image_29102025_20_38_03_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507558","file1":"1391507550","file0":"1391507540","file4":"1391507577","file5":"1391507582","file3":"1391507571"},"map_files_photo_id_array":[{"photo_id":"1391507582","filename":"file5"},{"photo_id":"1391507558","filename":"file2"},{"photo_id":"1391507577","filename":"file4"},{"photo_id":"1391507550","filename":"file1"},{"photo_id":"1391507540","filename":"file0"},{"photo_id":"1391507571","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507582":["hashtag1","hashtag2"]},{"1391507540":["hashtag1","hashtag2"]},{"1391507558":["hashtag1","hashtag2"]},{"1391507571":["hashtag1","hashtag2"]},{"1391507577":["hashtag1","hashtag2"]},{"1391507550":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507582, 1391507540, 1391507558, 1391507571, 1391507577, 1391507550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31841015815735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:43:02.764652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_19_3550.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_21_2685.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_24_2840.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_27_2717.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_31_3637.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_33_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_19_3550.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_21_2685.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_24_2840.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_27_2717.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_31_3637.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_33_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507597","1391507601","1391507593","1391507608","1391507595","1391507604"],"photo_ids_order":["1391507593","1391507595","1391507597","1391507601","1391507604","1391507608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c83842fa72eb20ea312855cce4b7149.jpg","text":"TemporaryFile(/tmp/multipartBody4566604781889123134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_24_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff0ed6b830d07e80d052e34244412e96.jpg","text":"TemporaryFile(/tmp/multipartBody8116156437353313128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_27_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0e200e405b7a0a0f5101d57198f02b3.jpg","text":"TemporaryFile(/tmp/multipartBody1548134634337512870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_19_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b22370c7e21088789071d49d71a73ef.jpg","text":"TemporaryFile(/tmp/multipartBody950713643118961362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_33_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1c18f50236a9162a5c0521e3b01b3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7049717558841892218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1289a60f31626228eb00c66ec7823129.jpg","text":"TemporaryFile(/tmp/multipartBody8458127458948343848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965044865,"filename":"image_29102025_20_38_31_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507597","file1":"1391507595","file0":"1391507593","file4":"1391507604","file5":"1391507608","file3":"1391507601"},"map_files_photo_id_array":[{"photo_id":"1391507608","filename":"file5"},{"photo_id":"1391507597","filename":"file2"},{"photo_id":"1391507604","filename":"file4"},{"photo_id":"1391507595","filename":"file1"},{"photo_id":"1391507593","filename":"file0"},{"photo_id":"1391507601","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507597":["hashtag1","hashtag2"]},{"1391507601":["hashtag1","hashtag2"]},{"1391507593":["hashtag1","hashtag2"]},{"1391507608":["hashtag1","hashtag2"]},{"1391507595":["hashtag1","hashtag2"]},{"1391507604":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507597, 1391507601, 1391507593, 1391507608, 1391507595, 1391507604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6496524810791 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:44:03.114699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_36_2716.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_40_3725.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_45_2608.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_49_3656.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_52_2837.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_54_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_36_2716.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_40_3725.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_45_2608.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_49_3656.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_52_2837.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_54_2864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507810","1391507845","1391507812","1391507806","1391507815","1391507802"],"photo_ids_order":["1391507802","1391507806","1391507810","1391507812","1391507815","1391507845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ddc5b491c208c3a1981ba51bc0f0ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2246724743469069380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_45_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47817368e82a202584427afeef8fbdc5.jpg","text":"TemporaryFile(/tmp/multipartBody4542905740429674333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_54_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/870b52d98f8289e89405f227679fc013.jpg","text":"TemporaryFile(/tmp/multipartBody3935346620977597978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_49_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f88617be47b37c89e744b7a22dde100.jpg","text":"TemporaryFile(/tmp/multipartBody1857521159371376936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_40_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64dc79005e71212266e9ad9dc8a57484.jpg","text":"TemporaryFile(/tmp/multipartBody4319756933705486163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_52_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c5af29beca19ef70296fde06a13dd3e.jpg","text":"TemporaryFile(/tmp/multipartBody8979683885621869278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965105297,"filename":"image_29102025_20_38_36_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507810","file1":"1391507806","file0":"1391507802","file4":"1391507815","file5":"1391507845","file3":"1391507812"},"map_files_photo_id_array":[{"photo_id":"1391507845","filename":"file5"},{"photo_id":"1391507810","filename":"file2"},{"photo_id":"1391507815","filename":"file4"},{"photo_id":"1391507806","filename":"file1"},{"photo_id":"1391507802","filename":"file0"},{"photo_id":"1391507812","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507810":["hashtag1","hashtag2"]},{"1391507845":["hashtag1","hashtag2"]},{"1391507812":["hashtag1","hashtag2"]},{"1391507806":["hashtag1","hashtag2"]},{"1391507815":["hashtag1","hashtag2"]},{"1391507802":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507810, 1391507845, 1391507812, 1391507806, 1391507815, 1391507802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97334122657776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:44:42.314414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_57_2737.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_39_01_3702.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_03_2596.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_10_3673.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_12_2700.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_15_2869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_57_2737.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_39_01_3702.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_03_2596.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_10_3673.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_12_2700.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_15_2869.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.069049596786499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:45:03.122922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_57_2737.jpg', '/home/pi/Desktop/images/29102025/20/38/image_29102025_20_39_01_3702.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_03_2596.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_10_3673.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_12_2700.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_15_2869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_38_57_2737.jpg
/home/pi/Desktop/images/29102025/20/38/image_29102025_20_39_01_3702.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_03_2596.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_10_3673.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_12_2700.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_15_2869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391507924","1391507920","1391507931","1391507934","1391507928","1391507937"],"photo_ids_order":["1391507920","1391507924","1391507928","1391507931","1391507934","1391507937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08c9e8c7f7ab36a50f87d718eafbd5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3915463861707905886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_39_01_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b6352767b105ccc5349b7a798e1d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8589618973256959196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_38_57_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81761fba40678f06b4230b4269102898.jpg","text":"TemporaryFile(/tmp/multipartBody3106299760088440830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_39_10_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7a6b1ba89e3156d6f899074561351e8.jpg","text":"TemporaryFile(/tmp/multipartBody6244795444948191992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_39_12_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b3efa29a9ce1291ca9045396c947db6.jpg","text":"TemporaryFile(/tmp/multipartBody181663525313292431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_39_03_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31e0ebaa4ba67fe579a211e4e288b0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8955845203281380350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965165202,"filename":"image_29102025_20_39_15_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391507928","file1":"1391507924","file0":"1391507920","file4":"1391507934","file5":"1391507937","file3":"1391507931"},"map_files_photo_id_array":[{"photo_id":"1391507937","filename":"file5"},{"photo_id":"1391507928","filename":"file2"},{"photo_id":"1391507934","filename":"file4"},{"photo_id":"1391507924","filename":"file1"},{"photo_id":"1391507920","filename":"file0"},{"photo_id":"1391507931","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391507924":["hashtag1","hashtag2"]},{"1391507920":["hashtag1","hashtag2"]},{"1391507931":["hashtag1","hashtag2"]},{"1391507934":["hashtag1","hashtag2"]},{"1391507928":["hashtag1","hashtag2"]},{"1391507937":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391507924, 1391507920, 1391507931, 1391507934, 1391507928, 1391507937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2306170463562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:46:03.099860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_18_2553.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_22_3676.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_24_2676.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_27_2702.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_31_3768.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_33_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_18_2553.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_22_3676.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_24_2676.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_27_2702.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_31_3768.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_33_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508062","1391508058","1391508066","1391508051","1391508054","1391508048"],"photo_ids_order":["1391508048","1391508051","1391508054","1391508058","1391508062","1391508066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/637fba7c195c93c08c0eb6c0da79d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3136591390826546184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_31_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcfba405b3044ade5f38f140ae53525f.jpg","text":"TemporaryFile(/tmp/multipartBody1478702653016688577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_27_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a9876f33ca4df539709479b57b55a3.jpg","text":"TemporaryFile(/tmp/multipartBody1671213705145085209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_33_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c744fefa2c916e98fb8eed36a77d962f.jpg","text":"TemporaryFile(/tmp/multipartBody4702273375150930471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_22_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63d4cca1d83834ffa3936a78c17961dd.jpg","text":"TemporaryFile(/tmp/multipartBody3197585216457775936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05341151af0cfbbf7b3a4006b17aa475.jpg","text":"TemporaryFile(/tmp/multipartBody3707331267179628749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965225173,"filename":"image_29102025_20_39_18_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508054","file1":"1391508051","file0":"1391508048","file4":"1391508062","file5":"1391508066","file3":"1391508058"},"map_files_photo_id_array":[{"photo_id":"1391508066","filename":"file5"},{"photo_id":"1391508054","filename":"file2"},{"photo_id":"1391508062","filename":"file4"},{"photo_id":"1391508051","filename":"file1"},{"photo_id":"1391508048","filename":"file0"},{"photo_id":"1391508058","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508062":["hashtag1","hashtag2"]},{"1391508058":["hashtag1","hashtag2"]},{"1391508066":["hashtag1","hashtag2"]},{"1391508051":["hashtag1","hashtag2"]},{"1391508054":["hashtag1","hashtag2"]},{"1391508048":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508062, 1391508058, 1391508066, 1391508051, 1391508054, 1391508048)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.85335111618042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:47:03.392229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_36_2583.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_40_3598.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_42_2632.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_45_2609.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_49_3795.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_51_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_36_2583.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_40_3598.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_42_2632.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_45_2609.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_49_3795.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_51_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508104","1391508091","1391508109","1391508100","1391508106","1391508095"],"photo_ids_order":["1391508091","1391508095","1391508100","1391508104","1391508106","1391508109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83ae543de61c5dd6abb8c8294762f1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4422316382114462362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_45_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ff4f3dac8de650a5e99988d00d4f77c.jpg","text":"TemporaryFile(/tmp/multipartBody1523684636791018767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_36_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/616f7abfb4bab4d04ac5f87b764f9053.jpg","text":"TemporaryFile(/tmp/multipartBody1635117043151090517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_51_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6baeb5e1f67462ef82af1e5b1d06b9d.jpg","text":"TemporaryFile(/tmp/multipartBody2225845677867011402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_42_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c55d584d8325c83602e11ef5920df50e.jpg","text":"TemporaryFile(/tmp/multipartBody842091593628263793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_49_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/138ac279a48cf2fb38f4912f2b016b72.jpg","text":"TemporaryFile(/tmp/multipartBody3870913999717165962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965285441,"filename":"image_29102025_20_39_40_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508100","file1":"1391508095","file0":"1391508091","file4":"1391508106","file5":"1391508109","file3":"1391508104"},"map_files_photo_id_array":[{"photo_id":"1391508109","filename":"file5"},{"photo_id":"1391508100","filename":"file2"},{"photo_id":"1391508106","filename":"file4"},{"photo_id":"1391508095","filename":"file1"},{"photo_id":"1391508091","filename":"file0"},{"photo_id":"1391508104","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508104":["hashtag1","hashtag2"]},{"1391508091":["hashtag1","hashtag2"]},{"1391508109":["hashtag1","hashtag2"]},{"1391508100":["hashtag1","hashtag2"]},{"1391508106":["hashtag1","hashtag2"]},{"1391508095":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508104, 1391508091, 1391508109, 1391508100, 1391508106, 1391508095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63196802139282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:48:02.428683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_54_2676.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_58_3555.jpg', '/home/pi/Desktop/images/29102025/20/39/image_29102025_20_40_00_2685.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_07_3697.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_09_2597.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_12_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_54_2676.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_39_58_3555.jpg
/home/pi/Desktop/images/29102025/20/39/image_29102025_20_40_00_2685.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_07_3697.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_09_2597.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_12_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508227","1391508187","1391508183","1391508225","1391508185","1391508179"],"photo_ids_order":["1391508179","1391508183","1391508185","1391508187","1391508225","1391508227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e43d12b62664022286a34ce2029abe0.jpg","text":"TemporaryFile(/tmp/multipartBody7349174159352967282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_40_12_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34d3cc3938c9fb9869ba05c5c9f43c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5086300110027111085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_40_07_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f537ad65b2ac24c3f3f2049e89781820.jpg","text":"TemporaryFile(/tmp/multipartBody8509455880028111889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_39_58_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/266f967f583f60d46962757f28c7e7fb.jpg","text":"TemporaryFile(/tmp/multipartBody440824001464483291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_40_09_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f8c1913adeb99cc24c58397acb07ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4954653390104673511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_40_00_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4412ef207102d4362ac559d7ccb51ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8039837182859925806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965344591,"filename":"image_29102025_20_39_54_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508185","file1":"1391508183","file0":"1391508179","file4":"1391508225","file5":"1391508227","file3":"1391508187"},"map_files_photo_id_array":[{"photo_id":"1391508227","filename":"file5"},{"photo_id":"1391508185","filename":"file2"},{"photo_id":"1391508225","filename":"file4"},{"photo_id":"1391508183","filename":"file1"},{"photo_id":"1391508179","filename":"file0"},{"photo_id":"1391508187","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508227":["hashtag1","hashtag2"]},{"1391508187":["hashtag1","hashtag2"]},{"1391508183":["hashtag1","hashtag2"]},{"1391508225":["hashtag1","hashtag2"]},{"1391508185":["hashtag1","hashtag2"]},{"1391508179":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508227, 1391508187, 1391508183, 1391508225, 1391508185, 1391508179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.151557207107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:49:03.200767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_15_2878.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_19_3709.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_24_2798.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_27_2622.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_30_3649.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_33_2950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_15_2878.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_19_3709.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_24_2798.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_27_2622.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_30_3649.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_33_2950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508269","1391508263","1391508259","1391508261","1391508255","1391508266"],"photo_ids_order":["1391508255","1391508259","1391508261","1391508263","1391508266","1391508269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8d4f0eb982dc8d79c77b4838ae04f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4247781097153305297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_33_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59495696cad1e4bd042c72cb8558986b.jpg","text":"TemporaryFile(/tmp/multipartBody3071640177321260950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_27_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5343b51a28deefc069febcfb2ad2544d.jpg","text":"TemporaryFile(/tmp/multipartBody7711061693522989900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_19_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23028ef32a23da1f0c2a04b1be7b02e3.jpg","text":"TemporaryFile(/tmp/multipartBody7668068043570088067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_24_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf62266a8b72b595ac6c90f9c52caa7f.jpg","text":"TemporaryFile(/tmp/multipartBody9092211417502958448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_15_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c1fbdedb42d44d07de1021e74145ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6117865307350286250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965405747,"filename":"image_29102025_20_40_30_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508261","file1":"1391508259","file0":"1391508255","file4":"1391508266","file5":"1391508269","file3":"1391508263"},"map_files_photo_id_array":[{"photo_id":"1391508269","filename":"file5"},{"photo_id":"1391508261","filename":"file2"},{"photo_id":"1391508266","filename":"file4"},{"photo_id":"1391508259","filename":"file1"},{"photo_id":"1391508255","filename":"file0"},{"photo_id":"1391508263","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508269":["hashtag1","hashtag2"]},{"1391508263":["hashtag1","hashtag2"]},{"1391508259":["hashtag1","hashtag2"]},{"1391508261":["hashtag1","hashtag2"]},{"1391508255":["hashtag1","hashtag2"]},{"1391508266":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508269, 1391508263, 1391508259, 1391508261, 1391508255, 1391508266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65276002883911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:50:02.768556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_36_2562.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_40_3620.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_45_2621.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_49_3685.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_51_2773.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_54_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_36_2562.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_40_3620.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_45_2621.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_49_3685.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_51_2773.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_54_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508298","1391508352","1391508340","1391508307","1391508301","1391508304"],"photo_ids_order":["1391508298","1391508301","1391508304","1391508307","1391508340","1391508352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad820ea77d7101f86fc849ab091986f2.jpg","text":"TemporaryFile(/tmp/multipartBody7947530663903058549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_36_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df690f718648f5163b40ec0df06628fc.jpg","text":"TemporaryFile(/tmp/multipartBody5547938967986424751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_54_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd176ad0cb1e3f10791b09d91862fbec.jpg","text":"TemporaryFile(/tmp/multipartBody2067584348389387273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_51_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de547bd97654a03a78ea71485e2e9537.jpg","text":"TemporaryFile(/tmp/multipartBody3166887026699949106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_49_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d22b8d236e511d00cce8ede7eee15c73.jpg","text":"TemporaryFile(/tmp/multipartBody168887171079769371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_40_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9189a24f32f854f9f4813a87b5fedf58.jpg","text":"TemporaryFile(/tmp/multipartBody7899166832631161546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965465835,"filename":"image_29102025_20_40_45_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508304","file1":"1391508301","file0":"1391508298","file4":"1391508340","file5":"1391508352","file3":"1391508307"},"map_files_photo_id_array":[{"photo_id":"1391508352","filename":"file5"},{"photo_id":"1391508304","filename":"file2"},{"photo_id":"1391508340","filename":"file4"},{"photo_id":"1391508301","filename":"file1"},{"photo_id":"1391508298","filename":"file0"},{"photo_id":"1391508307","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508298":["hashtag1","hashtag2"]},{"1391508352":["hashtag1","hashtag2"]},{"1391508340":["hashtag1","hashtag2"]},{"1391508307":["hashtag1","hashtag2"]},{"1391508301":["hashtag1","hashtag2"]},{"1391508304":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508298, 1391508352, 1391508340, 1391508307, 1391508301, 1391508304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71016573905945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:51:03.874802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_57_2710.jpg', '/home/pi/Desktop/images/29102025/20/40/image_29102025_20_41_00_3600.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_03_2528.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_07_3704.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_09_2643.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_12_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_40_57_2710.jpg
/home/pi/Desktop/images/29102025/20/40/image_29102025_20_41_00_3600.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_03_2528.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_07_3704.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_09_2643.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_12_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508455","1391508434","1391508391","1391508394","1391508397","1391508459"],"photo_ids_order":["1391508391","1391508394","1391508397","1391508434","1391508455","1391508459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca04ec17ece9b62849fc2b82a58aa5ed.jpg","text":"TemporaryFile(/tmp/multipartBody639097790033052700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_41_09_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c85ea9ed13c61461a9738b0fb19fca7f.jpg","text":"TemporaryFile(/tmp/multipartBody683138118823516715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_41_07_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbfe2fa9d2a8e9b0ec75a4348d27c741.jpg","text":"TemporaryFile(/tmp/multipartBody4736683128789391306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_40_57_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b50a6cdf4825d97375466cf327a6070f.jpg","text":"TemporaryFile(/tmp/multipartBody4717308424584169903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_41_00_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/723de68fb0898a24566cc05be5959233.jpg","text":"TemporaryFile(/tmp/multipartBody3139721985473314507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_41_03_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/392ceb8bac988fc9ec806e886b9a0a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2152005393603374508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965526101,"filename":"image_29102025_20_41_12_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508397","file1":"1391508394","file0":"1391508391","file4":"1391508455","file5":"1391508459","file3":"1391508434"},"map_files_photo_id_array":[{"photo_id":"1391508459","filename":"file5"},{"photo_id":"1391508397","filename":"file2"},{"photo_id":"1391508455","filename":"file4"},{"photo_id":"1391508394","filename":"file1"},{"photo_id":"1391508391","filename":"file0"},{"photo_id":"1391508434","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508455":["hashtag1","hashtag2"]},{"1391508434":["hashtag1","hashtag2"]},{"1391508391":["hashtag1","hashtag2"]},{"1391508394":["hashtag1","hashtag2"]},{"1391508397":["hashtag1","hashtag2"]},{"1391508459":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508455, 1391508434, 1391508391, 1391508394, 1391508397, 1391508459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12196469306946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:52:02.968427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_15_2702.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_18_3698.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_21_2546.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_28_2926.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_30_2668.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_33_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_15_2702.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_18_3698.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_21_2546.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_28_2926.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_30_2668.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_33_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508524","1391508512","1391508515","1391508517","1391508520","1391508528"],"photo_ids_order":["1391508512","1391508515","1391508517","1391508520","1391508524","1391508528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e55e09f65527005dfa18f4eefd143c48.jpg","text":"TemporaryFile(/tmp/multipartBody291642342603023276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_30_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c156f9143189dea7823009d7ae91464c.jpg","text":"TemporaryFile(/tmp/multipartBody1636809197803992711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e723c5365e922a2b29468ba77b55340.jpg","text":"TemporaryFile(/tmp/multipartBody7673847309269280521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_18_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8cbb0d813c022621cb32a169f3e1d10f.jpg","text":"TemporaryFile(/tmp/multipartBody3005974959718206520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_21_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12ee9b02ddeb3de41d7ee5a436a7f884.jpg","text":"TemporaryFile(/tmp/multipartBody7950069295401576615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_28_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93103a0abd1e8d17ba845de9a1a0efb3.jpg","text":"TemporaryFile(/tmp/multipartBody6743117252827699060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965585106,"filename":"image_29102025_20_41_33_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508517","file1":"1391508515","file0":"1391508512","file4":"1391508524","file5":"1391508528","file3":"1391508520"},"map_files_photo_id_array":[{"photo_id":"1391508528","filename":"file5"},{"photo_id":"1391508517","filename":"file2"},{"photo_id":"1391508524","filename":"file4"},{"photo_id":"1391508515","filename":"file1"},{"photo_id":"1391508512","filename":"file0"},{"photo_id":"1391508520","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508524":["hashtag1","hashtag2"]},{"1391508512":["hashtag1","hashtag2"]},{"1391508515":["hashtag1","hashtag2"]},{"1391508517":["hashtag1","hashtag2"]},{"1391508520":["hashtag1","hashtag2"]},{"1391508528":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508524, 1391508512, 1391508515, 1391508517, 1391508520, 1391508528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12878942489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:52:42.649437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_36_2764.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_39_3679.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_42_2740.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_45_2623.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_48_3629.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_51_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_36_2764.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_39_3679.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_42_2740.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_45_2623.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_48_3629.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_51_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508697","1391508541","1391508547","1391508657","1391508615","1391508569"],"photo_ids_order":["1391508541","1391508547","1391508569","1391508615","1391508657","1391508697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdfcfe6ad695a145c89f9aa68522a4c3.jpg","text":"TemporaryFile(/tmp/multipartBody892852261397783788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_51_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5862b876d1e45548f8e84cb8ca1b0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1814708211950623994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_36_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7e1035141ed42e1c3ad9bacdb673027.jpg","text":"TemporaryFile(/tmp/multipartBody3933519923798727645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_39_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5150eaaf8c85e6eb3ca9ba28699b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6587103367815275990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_48_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/410aa5a7f567475f51d43056b04b9cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4331501130696453717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_45_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfd7db167a547e60980abf4f288475f5.jpg","text":"TemporaryFile(/tmp/multipartBody34890507027147892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965623803,"filename":"image_29102025_20_41_42_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508569","file1":"1391508547","file0":"1391508541","file4":"1391508657","file5":"1391508697","file3":"1391508615"},"map_files_photo_id_array":[{"photo_id":"1391508697","filename":"file5"},{"photo_id":"1391508569","filename":"file2"},{"photo_id":"1391508657","filename":"file4"},{"photo_id":"1391508547","filename":"file1"},{"photo_id":"1391508541","filename":"file0"},{"photo_id":"1391508615","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508697":["hashtag1","hashtag2"]},{"1391508541":["hashtag1","hashtag2"]},{"1391508547":["hashtag1","hashtag2"]},{"1391508657":["hashtag1","hashtag2"]},{"1391508615":["hashtag1","hashtag2"]},{"1391508569":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508697, 1391508541, 1391508547, 1391508657, 1391508615, 1391508569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76547574996948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:53:21.830925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_55_3665.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_57_2671.jpg', '/home/pi/Desktop/images/29102025/20/41/image_29102025_20_42_00_2688.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_04_3574.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_06_2764.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_09_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_55_3665.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_41_57_2671.jpg
/home/pi/Desktop/images/29102025/20/41/image_29102025_20_42_00_2688.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_04_3574.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_06_2764.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_09_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508783","1391508762","1391508756","1391508765","1391508819","1391508804"],"photo_ids_order":["1391508756","1391508762","1391508765","1391508783","1391508804","1391508819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df0a82c99f009b3b634cdb0e12bc1137.jpg","text":"TemporaryFile(/tmp/multipartBody6478620992825028927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_42_04_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d33658c4221ace25221828b8842a7ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8005654125028466715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_41_57_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdda8e55eab89b8e39941e8d207e55c7.jpg","text":"TemporaryFile(/tmp/multipartBody5618515690175075906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_41_55_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5357a02b7db43705b947dc62edae3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4497630707877785439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_42_00_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f87085818953b942ebc5d147c2c78f6.jpg","text":"TemporaryFile(/tmp/multipartBody3463969750015918418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_42_09_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50751611df60b7879a9df41ee1dca8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2316997775069732924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965664552,"filename":"image_29102025_20_42_06_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508765","file1":"1391508762","file0":"1391508756","file4":"1391508804","file5":"1391508819","file3":"1391508783"},"map_files_photo_id_array":[{"photo_id":"1391508819","filename":"file5"},{"photo_id":"1391508765","filename":"file2"},{"photo_id":"1391508804","filename":"file4"},{"photo_id":"1391508762","filename":"file1"},{"photo_id":"1391508756","filename":"file0"},{"photo_id":"1391508783","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508783":["hashtag1","hashtag2"]},{"1391508762":["hashtag1","hashtag2"]},{"1391508756":["hashtag1","hashtag2"]},{"1391508765":["hashtag1","hashtag2"]},{"1391508819":["hashtag1","hashtag2"]},{"1391508804":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508783, 1391508762, 1391508756, 1391508765, 1391508819, 1391508804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13178586959839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:54:02.742174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_16_6592.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_17_1593.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_19_1717.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_21_1812.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_31_9686.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_32_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_16_6592.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_17_1593.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_19_1717.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_21_1812.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_31_9686.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_32_1688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508839","1391508895","1391508931","1391508853","1391508835","1391508947"],"photo_ids_order":["1391508835","1391508839","1391508853","1391508895","1391508931","1391508947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fc6fbd5ed35935468fc898d7cea6f68.jpg","text":"TemporaryFile(/tmp/multipartBody7652273859642752243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_17_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4523ab9717a21ddc458d0355705a21f.jpg","text":"TemporaryFile(/tmp/multipartBody2624973468629784179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_21_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d1f7b23c7e783260ed54013e1c2bfda.jpg","text":"TemporaryFile(/tmp/multipartBody2599607645302544118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_31_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a306a4168b47977b5d6e0651a0cdfc36.jpg","text":"TemporaryFile(/tmp/multipartBody5561150956160097666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_19_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f79a2758a5e1a1d8dfc6f016ccc58be6.jpg","text":"TemporaryFile(/tmp/multipartBody1969068373248077199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_16_6592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9c4585b0f6e2dfc0d91c32e80068011.jpg","text":"TemporaryFile(/tmp/multipartBody6048989548629778977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965704927,"filename":"image_29102025_20_42_32_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508853","file1":"1391508839","file0":"1391508835","file4":"1391508931","file5":"1391508947","file3":"1391508895"},"map_files_photo_id_array":[{"photo_id":"1391508947","filename":"file5"},{"photo_id":"1391508853","filename":"file2"},{"photo_id":"1391508931","filename":"file4"},{"photo_id":"1391508839","filename":"file1"},{"photo_id":"1391508835","filename":"file0"},{"photo_id":"1391508895","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508839":["hashtag1","hashtag2"]},{"1391508895":["hashtag1","hashtag2"]},{"1391508931":["hashtag1","hashtag2"]},{"1391508853":["hashtag1","hashtag2"]},{"1391508835":["hashtag1","hashtag2"]},{"1391508947":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508839, 1391508895, 1391508931, 1391508853, 1391508835, 1391508947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.579427003860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:54:42.205702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_34_1687.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_37_1826.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_39_1787.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_42_2624.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_45_3689.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_49_3925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_34_1687.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_37_1826.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_39_1787.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_42_2624.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_45_3689.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_49_3925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391508973","1391508975","1391508963","1391508957","1391508980","1391508968"],"photo_ids_order":["1391508957","1391508963","1391508968","1391508973","1391508975","1391508980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16922ce2451700aa480630821117de12.jpg","text":"TemporaryFile(/tmp/multipartBody673695849410191215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_42_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04dbb9c0adb254850d12c71e4634032a.jpg","text":"TemporaryFile(/tmp/multipartBody3800044449435464484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_45_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e8c350ac939fd9dcf162a10352ba249.jpg","text":"TemporaryFile(/tmp/multipartBody2866663616399861061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_37_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4273114a5181901db6d88f84a3998d48.jpg","text":"TemporaryFile(/tmp/multipartBody6373639903945379577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_34_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f78a30d31bfc6bebf69d40b39930f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1372387431384687642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_49_3925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ef0b336e05193548f71059d17338254.jpg","text":"TemporaryFile(/tmp/multipartBody353919066730078590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965743366,"filename":"image_29102025_20_42_39_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508968","file1":"1391508963","file0":"1391508957","file4":"1391508975","file5":"1391508980","file3":"1391508973"},"map_files_photo_id_array":[{"photo_id":"1391508980","filename":"file5"},{"photo_id":"1391508968","filename":"file2"},{"photo_id":"1391508975","filename":"file4"},{"photo_id":"1391508963","filename":"file1"},{"photo_id":"1391508957","filename":"file0"},{"photo_id":"1391508973","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391508973":["hashtag1","hashtag2"]},{"1391508975":["hashtag1","hashtag2"]},{"1391508963":["hashtag1","hashtag2"]},{"1391508957":["hashtag1","hashtag2"]},{"1391508980":["hashtag1","hashtag2"]},{"1391508968":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391508973, 1391508975, 1391508963, 1391508957, 1391508980, 1391508968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44395303726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:55:22.402091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_51_1735.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_55_3520.jpg', '/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_57_2752.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_01_3249.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_04_2902.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_12_5753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_51_1735.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_55_3520.jpg
/home/pi/Desktop/images/29102025/20/42/image_29102025_20_42_57_2752.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_01_3249.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_04_2902.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_12_5753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509004","1391508988","1391508991","1391509000","1391508996","1391508986"],"photo_ids_order":["1391508986","1391508988","1391508991","1391508996","1391509000","1391509004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6fba1c4ea73ae1389727d4534b075d7.jpg","text":"TemporaryFile(/tmp/multipartBody8244851079610678180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_43_12_5753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/101b8e918aa678a2ba9527f2be7d7466.jpg","text":"TemporaryFile(/tmp/multipartBody2884790402683999204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_42_55_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bacb88113b4e113351c1e70af81dbbc.jpg","text":"TemporaryFile(/tmp/multipartBody9100616592937934834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_42_57_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b529bbb0be1fe51996a9c5e5e95c783.jpg","text":"TemporaryFile(/tmp/multipartBody3851306896200224666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_43_04_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53dba5f2a820f93bbbc79c49b8298106.jpg","text":"TemporaryFile(/tmp/multipartBody7680885584379823919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_43_01_3249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c107c9f553634af1f9abf17b8b212df.jpg","text":"TemporaryFile(/tmp/multipartBody180995030038012857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965785117,"filename":"image_29102025_20_42_51_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391508991","file1":"1391508988","file0":"1391508986","file4":"1391509000","file5":"1391509004","file3":"1391508996"},"map_files_photo_id_array":[{"photo_id":"1391509004","filename":"file5"},{"photo_id":"1391508991","filename":"file2"},{"photo_id":"1391509000","filename":"file4"},{"photo_id":"1391508988","filename":"file1"},{"photo_id":"1391508986","filename":"file0"},{"photo_id":"1391508996","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509004":["hashtag1","hashtag2"]},{"1391508988":["hashtag1","hashtag2"]},{"1391508991":["hashtag1","hashtag2"]},{"1391509000":["hashtag1","hashtag2"]},{"1391508996":["hashtag1","hashtag2"]},{"1391508986":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509004, 1391508988, 1391508991, 1391509000, 1391508996, 1391508986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64566349983215 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 03:56:22.566937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_21_8651.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_22_1594.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_24_1958.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_26_1605.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_28_1779.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_29_1824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_21_8651.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_22_1594.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_24_1958.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_26_1605.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_28_1779.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_29_1824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509025","1391509054","1391509044","1391509032","1391509067","1391509028"],"photo_ids_order":["1391509025","1391509028","1391509032","1391509044","1391509054","1391509067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6a15ffd9965ba1295f3b69f04a3f187.jpg","text":"TemporaryFile(/tmp/multipartBody3571243554344843805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_21_8651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/119d80560a849156c6f6344eeb4753b6.jpg","text":"TemporaryFile(/tmp/multipartBody8470578265424785091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_28_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ff426c5a09ebea35efb2854efd5a72e.jpg","text":"TemporaryFile(/tmp/multipartBody5620171586272048757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_26_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ae0fcf548616a96218ce08cf5eef6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5476701476128688013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_24_1958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5351b74990e6f6543d9c075ae26ff75.jpg","text":"TemporaryFile(/tmp/multipartBody867091541243731236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_29_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af6a05037074006541a944cd912151cb.jpg","text":"TemporaryFile(/tmp/multipartBody5408944070170407307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965844930,"filename":"image_29102025_20_43_22_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509032","file1":"1391509028","file0":"1391509025","file4":"1391509054","file5":"1391509067","file3":"1391509044"},"map_files_photo_id_array":[{"photo_id":"1391509067","filename":"file5"},{"photo_id":"1391509032","filename":"file2"},{"photo_id":"1391509054","filename":"file4"},{"photo_id":"1391509028","filename":"file1"},{"photo_id":"1391509025","filename":"file0"},{"photo_id":"1391509044","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509025":["hashtag1","hashtag2"]},{"1391509054":["hashtag1","hashtag2"]},{"1391509044":["hashtag1","hashtag2"]},{"1391509032":["hashtag1","hashtag2"]},{"1391509067":["hashtag1","hashtag2"]},{"1391509028":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509025, 1391509054, 1391509044, 1391509032, 1391509067, 1391509028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7716109752655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:57:03.477382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_31_1765.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_36_4378.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_37_1609.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_45_7448.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_46_1629.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_48_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_31_1765.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_36_4378.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_37_1609.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_45_7448.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_46_1629.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_48_1719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509087","1391509081","1391509075","1391509084","1391509078","1391509089"],"photo_ids_order":["1391509075","1391509078","1391509081","1391509084","1391509087","1391509089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a72fe49fb709afdf7b8a96aa9222b18.jpg","text":"TemporaryFile(/tmp/multipartBody8656594254876479342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_46_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4dba709498b4ec52e1112d2093e3f60.jpg","text":"TemporaryFile(/tmp/multipartBody8870720680157879087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_37_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/282055bc8b97f666efebd5ca506659d3.jpg","text":"TemporaryFile(/tmp/multipartBody1606940877406022214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_31_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23a6a5ab1242f2d53515c0ed83f0fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody149329168351383266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_45_7448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cfaf09c88be2ad0cb39af6cead308a7.jpg","text":"TemporaryFile(/tmp/multipartBody2263609449123037142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_36_4378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1868ade59c2f32762898bb14cbfa3db1.jpg","text":"TemporaryFile(/tmp/multipartBody8287248912832031833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965885715,"filename":"image_29102025_20_43_48_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509081","file1":"1391509078","file0":"1391509075","file4":"1391509087","file5":"1391509089","file3":"1391509084"},"map_files_photo_id_array":[{"photo_id":"1391509089","filename":"file5"},{"photo_id":"1391509081","filename":"file2"},{"photo_id":"1391509087","filename":"file4"},{"photo_id":"1391509078","filename":"file1"},{"photo_id":"1391509075","filename":"file0"},{"photo_id":"1391509084","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509087":["hashtag1","hashtag2"]},{"1391509081":["hashtag1","hashtag2"]},{"1391509075":["hashtag1","hashtag2"]},{"1391509084":["hashtag1","hashtag2"]},{"1391509078":["hashtag1","hashtag2"]},{"1391509089":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509087, 1391509081, 1391509075, 1391509084, 1391509078, 1391509089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.927417039871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 03:57:42.858440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_51_1639.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_54_2711.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_57_2654.jpg', '/home/pi/Desktop/images/29102025/20/43/image_29102025_20_44_00_2828.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_03_3081.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_06_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_51_1639.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_54_2711.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_43_57_2654.jpg
/home/pi/Desktop/images/29102025/20/43/image_29102025_20_44_00_2828.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_03_3081.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_06_3728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509120","1391509108","1391509117","1391509104","1391509113","1391509100"],"photo_ids_order":["1391509100","1391509104","1391509108","1391509113","1391509117","1391509120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d7ae9980660d989f007c2118522143a.jpg","text":"TemporaryFile(/tmp/multipartBody2046063225727640238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_44_06_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70758d000070709f3a2a028ea21d1377.jpg","text":"TemporaryFile(/tmp/multipartBody6434670483738104837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_43_57_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e30541a862718ba9889ab94fa7dc8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody299666145360589363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_44_03_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31edf7417277eb8708b78aa0ee97227e.jpg","text":"TemporaryFile(/tmp/multipartBody7599619551258730488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_43_54_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a00cfdf30fe52d72fbe220bc543ad78.jpg","text":"TemporaryFile(/tmp/multipartBody9201168631757635863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_44_00_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ca9aa3e4f2f05788376b36fdbd6b4c1.jpg","text":"TemporaryFile(/tmp/multipartBody2980040480288110744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761965924024,"filename":"image_29102025_20_43_51_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509108","file1":"1391509104","file0":"1391509100","file4":"1391509117","file5":"1391509120","file3":"1391509113"},"map_files_photo_id_array":[{"photo_id":"1391509120","filename":"file5"},{"photo_id":"1391509108","filename":"file2"},{"photo_id":"1391509117","filename":"file4"},{"photo_id":"1391509104","filename":"file1"},{"photo_id":"1391509100","filename":"file0"},{"photo_id":"1391509113","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509120":["hashtag1","hashtag2"]},{"1391509108":["hashtag1","hashtag2"]},{"1391509117":["hashtag1","hashtag2"]},{"1391509104":["hashtag1","hashtag2"]},{"1391509113":["hashtag1","hashtag2"]},{"1391509100":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509120, 1391509108, 1391509117, 1391509104, 1391509113, 1391509100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.919803619384766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 03:59:03.334036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_12_5184.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_17_5903.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_19_1676.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_21_1653.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_23_1804.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_26_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_12_5184.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_17_5903.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_19_1676.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_21_1653.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_23_1804.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_26_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509135","1391509149","1391509146","1391509131","1391509139","1391509142"],"photo_ids_order":["1391509131","1391509135","1391509139","1391509142","1391509146","1391509149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c58030a4325afeb58d17c5854b08a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody8298742473170360818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_17_5903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98af68c70debce0993d7bebf5b4bd3fa.jpg","text":"TemporaryFile(/tmp/multipartBody2162111566549268010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_26_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a30cc330a9111e1b1a9abdea25395966.jpg","text":"TemporaryFile(/tmp/multipartBody5786502570917007634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_23_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd30ddaaeaa5128daa84963cfd533fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5480879680271276896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_12_5184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/991c5d235a4e6bca26934bebf650b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5809042673770119613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_19_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e15236dd5cde2b3515f61bf48a871c42.jpg","text":"TemporaryFile(/tmp/multipartBody1656935297785812060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966005647,"filename":"image_29102025_20_44_21_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509139","file1":"1391509135","file0":"1391509131","file4":"1391509146","file5":"1391509149","file3":"1391509142"},"map_files_photo_id_array":[{"photo_id":"1391509149","filename":"file5"},{"photo_id":"1391509139","filename":"file2"},{"photo_id":"1391509146","filename":"file4"},{"photo_id":"1391509135","filename":"file1"},{"photo_id":"1391509131","filename":"file0"},{"photo_id":"1391509142","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509135":["hashtag1","hashtag2"]},{"1391509149":["hashtag1","hashtag2"]},{"1391509146":["hashtag1","hashtag2"]},{"1391509131":["hashtag1","hashtag2"]},{"1391509139":["hashtag1","hashtag2"]},{"1391509142":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509135, 1391509149, 1391509146, 1391509131, 1391509139, 1391509142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.66057515144348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:00:02.950207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_28_1676.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_30_1691.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_32_2785.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_36_3720.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_39_2712.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_42_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_28_1676.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_30_1691.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_32_2785.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_36_3720.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_39_2712.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_42_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509186","1391509191","1391509185","1391509194","1391509188","1391509182"],"photo_ids_order":["1391509182","1391509185","1391509186","1391509188","1391509191","1391509194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d91926c54a317e0886b94b056137b3d.jpg","text":"TemporaryFile(/tmp/multipartBody3140689159345356349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_32_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d42dac29891c860097841101c95915b3.jpg","text":"TemporaryFile(/tmp/multipartBody3715629834257932547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_39_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ff6302c79a718198efd211f9d1a6417.jpg","text":"TemporaryFile(/tmp/multipartBody2536263401647713322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_30_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7dd342acd05345346f6d01c68d9e39f.jpg","text":"TemporaryFile(/tmp/multipartBody3694452276196084590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b45485098146a325546f9932d1ef88a.jpg","text":"TemporaryFile(/tmp/multipartBody1229925502225833327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_36_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c031ebb4998a0912057dbff42f8a68a.jpg","text":"TemporaryFile(/tmp/multipartBody2750786800787020921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966065095,"filename":"image_29102025_20_44_28_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509186","file1":"1391509185","file0":"1391509182","file4":"1391509191","file5":"1391509194","file3":"1391509188"},"map_files_photo_id_array":[{"photo_id":"1391509194","filename":"file5"},{"photo_id":"1391509186","filename":"file2"},{"photo_id":"1391509191","filename":"file4"},{"photo_id":"1391509185","filename":"file1"},{"photo_id":"1391509182","filename":"file0"},{"photo_id":"1391509188","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509186":["hashtag1","hashtag2"]},{"1391509191":["hashtag1","hashtag2"]},{"1391509185":["hashtag1","hashtag2"]},{"1391509194":["hashtag1","hashtag2"]},{"1391509188":["hashtag1","hashtag2"]},{"1391509182":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509186, 1391509191, 1391509185, 1391509194, 1391509188, 1391509182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12028980255127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:01:03.354674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_45_3666.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_48_2809.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_51_2663.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_53_2738.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_57_3697.jpg', '/home/pi/Desktop/images/29102025/20/44/image_29102025_20_45_00_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_45_3666.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_48_2809.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_51_2663.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_53_2738.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_44_57_3697.jpg
/home/pi/Desktop/images/29102025/20/44/image_29102025_20_45_00_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391509514","1391509465","1391509339","1391509425","1391509380","1391509268"],"photo_ids_order":["1391509268","1391509339","1391509380","1391509425","1391509465","1391509514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/911a10b268c9116417e6bf2387fd7540.jpg","text":"TemporaryFile(/tmp/multipartBody7499587854966189627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_45_00_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbbca9010e43c79e0962f18bd83e286f.jpg","text":"TemporaryFile(/tmp/multipartBody1406197427195084584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_44_57_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e8841eca52e0ba81efb702835796d1c.jpg","text":"TemporaryFile(/tmp/multipartBody3089825817688100068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_44_48_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55272e9d825a10818c0e88eca6363ce3.jpg","text":"TemporaryFile(/tmp/multipartBody857292677073716962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_44_53_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdb0338c12153c6e089210125e7e2c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1745495050777803310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_44_51_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba0a811bceeb45548ff885b5b5b77b3d.jpg","text":"TemporaryFile(/tmp/multipartBody460623243819515718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966128245,"filename":"image_29102025_20_44_45_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391509380","file1":"1391509339","file0":"1391509268","file4":"1391509465","file5":"1391509514","file3":"1391509425"},"map_files_photo_id_array":[{"photo_id":"1391509514","filename":"file5"},{"photo_id":"1391509380","filename":"file2"},{"photo_id":"1391509465","filename":"file4"},{"photo_id":"1391509339","filename":"file1"},{"photo_id":"1391509268","filename":"file0"},{"photo_id":"1391509425","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391509514":["hashtag1","hashtag2"]},{"1391509465":["hashtag1","hashtag2"]},{"1391509339":["hashtag1","hashtag2"]},{"1391509425":["hashtag1","hashtag2"]},{"1391509380":["hashtag1","hashtag2"]},{"1391509268":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391509514, 1391509465, 1391509339, 1391509425, 1391509380, 1391509268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.752379417419434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:02:02.516329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_02_2750.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_06_3011.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_08_2835.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_15_2613.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_17_2683.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_21_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_02_2750.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_06_3011.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_08_2835.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_15_2613.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_17_2683.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_21_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391510258","1391510213","1391509924","1391510155","1391510044","1391509839"],"photo_ids_order":["1391509839","1391509924","1391510044","1391510155","1391510213","1391510258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a291d86e1b3d74dd2f37e4c2668e524c.jpg","text":"TemporaryFile(/tmp/multipartBody1285487363954409188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_21_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91833f97fdf780c20a28145cc68c3360.jpg","text":"TemporaryFile(/tmp/multipartBody3217011593716172674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_17_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c755ce4c26412a392fe09171c632b5fb.jpg","text":"TemporaryFile(/tmp/multipartBody562819433832075509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3891e79245d0b7affeeeec55c41be000.jpg","text":"TemporaryFile(/tmp/multipartBody1273204790913206759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_15_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af3f061f3a16f77a41dfa453268c152d.jpg","text":"TemporaryFile(/tmp/multipartBody4642794759286266804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_08_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71e9783a24d58c950a402cc8f62673f8.jpg","text":"TemporaryFile(/tmp/multipartBody3325520925712802335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966184666,"filename":"image_29102025_20_45_02_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391510044","file1":"1391509924","file0":"1391509839","file4":"1391510213","file5":"1391510258","file3":"1391510155"},"map_files_photo_id_array":[{"photo_id":"1391510258","filename":"file5"},{"photo_id":"1391510044","filename":"file2"},{"photo_id":"1391510213","filename":"file4"},{"photo_id":"1391509924","filename":"file1"},{"photo_id":"1391509839","filename":"file0"},{"photo_id":"1391510155","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391510258":["hashtag1","hashtag2"]},{"1391510213":["hashtag1","hashtag2"]},{"1391509924":["hashtag1","hashtag2"]},{"1391510155":["hashtag1","hashtag2"]},{"1391510044":["hashtag1","hashtag2"]},{"1391509839":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391510258, 1391510213, 1391509924, 1391510155, 1391510044, 1391509839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.060303926467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:03:02.676944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_24_2629.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_27_3650.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_30_2970.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_33_2736.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_36_2699.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_38_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_24_2629.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_27_3650.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_30_2970.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_33_2736.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_36_2699.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_38_2837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391510558","1391510603","1391510689","1391510563","1391510565","1391510646"],"photo_ids_order":["1391510558","1391510563","1391510565","1391510603","1391510646","1391510689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abecef1a29c92b5148b1a394bbcaf8ee.jpg","text":"TemporaryFile(/tmp/multipartBody3854195824833336630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_24_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1616126214b0ea22193080d76bee479.jpg","text":"TemporaryFile(/tmp/multipartBody5888189097558872012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_33_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4475ef30a76779de26c18ad5afe7504.jpg","text":"TemporaryFile(/tmp/multipartBody3605274399299027219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_38_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd16746ab98344cbf742f4dcc98281c6.jpg","text":"TemporaryFile(/tmp/multipartBody2316971225711981766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_27_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfb2b15a2f1e2190f684ff39eae10b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2811763591055812997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_30_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/041e3e299eb87639fa8f67231aa80063.jpg","text":"TemporaryFile(/tmp/multipartBody229215572810233786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966244926,"filename":"image_29102025_20_45_36_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391510565","file1":"1391510563","file0":"1391510558","file4":"1391510646","file5":"1391510689","file3":"1391510603"},"map_files_photo_id_array":[{"photo_id":"1391510689","filename":"file5"},{"photo_id":"1391510565","filename":"file2"},{"photo_id":"1391510646","filename":"file4"},{"photo_id":"1391510563","filename":"file1"},{"photo_id":"1391510558","filename":"file0"},{"photo_id":"1391510603","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391510558":["hashtag1","hashtag2"]},{"1391510603":["hashtag1","hashtag2"]},{"1391510689":["hashtag1","hashtag2"]},{"1391510563":["hashtag1","hashtag2"]},{"1391510565":["hashtag1","hashtag2"]},{"1391510646":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391510558, 1391510603, 1391510689, 1391510563, 1391510565, 1391510646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72066020965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:04:02.947822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_42_3814.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_45_2676.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_48_2639.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_50_2787.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_54_3732.jpg', '/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_57_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_42_3814.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_45_2676.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_48_2639.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_50_2787.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_54_3732.jpg
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_57_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391511486","1391511126","1391511228","1391511300","1391511167","1391511380"],"photo_ids_order":["1391511126","1391511167","1391511228","1391511300","1391511380","1391511486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecf852d3491a8f4327f71c370aaf8a93.jpg","text":"TemporaryFile(/tmp/multipartBody523753485116534044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_57_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6db1ee4eb247f0c9c81fe1b0815eac88.jpg","text":"TemporaryFile(/tmp/multipartBody1740177998538308294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_42_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ac88b4ce143cf3557080819d50c0ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3454657873602946592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_48_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d0f2a69ad62ff03804040ec2f2e9bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6828004316329257972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_50_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e57ee99d48f0411d0e8e005af4cab47f.jpg","text":"TemporaryFile(/tmp/multipartBody407355428038202343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_45_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36310bea1149cd1b19895ac1ae9f93f1.jpg","text":"TemporaryFile(/tmp/multipartBody2825214132710532381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966305576,"filename":"image_29102025_20_45_54_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391511228","file1":"1391511167","file0":"1391511126","file4":"1391511380","file5":"1391511486","file3":"1391511300"},"map_files_photo_id_array":[{"photo_id":"1391511486","filename":"file5"},{"photo_id":"1391511228","filename":"file2"},{"photo_id":"1391511380","filename":"file4"},{"photo_id":"1391511167","filename":"file1"},{"photo_id":"1391511126","filename":"file0"},{"photo_id":"1391511300","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391511486":["hashtag1","hashtag2"]},{"1391511126":["hashtag1","hashtag2"]},{"1391511228":["hashtag1","hashtag2"]},{"1391511300":["hashtag1","hashtag2"]},{"1391511167":["hashtag1","hashtag2"]},{"1391511380":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391511486, 1391511126, 1391511228, 1391511300, 1391511167, 1391511380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38838219642639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:05:03.143335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_59_2658.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_03_3794.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_06_2773.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_09_2761.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_11_2681.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_15_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/45/image_29102025_20_45_59_2658.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_03_3794.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_06_2773.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_09_2761.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_11_2681.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_15_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391512135","1391512242","1391512361","1391512046","1391512282","1391512198"],"photo_ids_order":["1391512046","1391512135","1391512198","1391512242","1391512282","1391512361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49f6130391a6ab4d321696178313b123.jpg","text":"TemporaryFile(/tmp/multipartBody2531771215577695118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_46_03_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/755bedb5205f5f0c4479c64fd972375e.jpg","text":"TemporaryFile(/tmp/multipartBody44321649926984962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_46_09_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/106022555ef4c10fcab8fb02c767d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2278535611955058213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_46_15_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a5f90e81315572dbc1ce1e8208cf8ee.jpg","text":"TemporaryFile(/tmp/multipartBody5295927561295954778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_45_59_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/628c89196ffb6c47db2c53ef73d3ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody3461871417333352566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_46_11_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc9dbb53ac4ea2a3929a7e186eefe850.jpg","text":"TemporaryFile(/tmp/multipartBody5151352968716525375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966365402,"filename":"image_29102025_20_46_06_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391512198","file1":"1391512135","file0":"1391512046","file4":"1391512282","file5":"1391512361","file3":"1391512242"},"map_files_photo_id_array":[{"photo_id":"1391512361","filename":"file5"},{"photo_id":"1391512198","filename":"file2"},{"photo_id":"1391512282","filename":"file4"},{"photo_id":"1391512135","filename":"file1"},{"photo_id":"1391512046","filename":"file0"},{"photo_id":"1391512242","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391512135":["hashtag1","hashtag2"]},{"1391512242":["hashtag1","hashtag2"]},{"1391512361":["hashtag1","hashtag2"]},{"1391512046":["hashtag1","hashtag2"]},{"1391512282":["hashtag1","hashtag2"]},{"1391512198":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391512135, 1391512242, 1391512361, 1391512046, 1391512282, 1391512198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59373331069946 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:06:03.032545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_18_2617.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_20_2785.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_23_2710.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_27_3732.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_30_2724.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_33_2900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_18_2617.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_20_2785.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_23_2710.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_27_3732.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_30_2724.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_33_2900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391512650","1391512653","1391512661","1391512655","1391512664","1391512658"],"photo_ids_order":["1391512650","1391512653","1391512655","1391512658","1391512661","1391512664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ee28c1257462ed29845774261dce3b6.jpg","text":"TemporaryFile(/tmp/multipartBody668319896565142076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_18_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e3d5a213efbf172f0da374d8fff5b16.jpg","text":"TemporaryFile(/tmp/multipartBody406658038832713608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_20_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6098215b1eba9d92cf9cc818e3636eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1202219552553015278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_30_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1329031c214c6b92daf60f0c1f165a9.jpg","text":"TemporaryFile(/tmp/multipartBody4947767592492831172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_23_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60866689da53a3b8e7fb08ae254bb43e.jpg","text":"TemporaryFile(/tmp/multipartBody453483965140613568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_33_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/546f79653e45e68944c12deb5049ae6b.jpg","text":"TemporaryFile(/tmp/multipartBody1712202277465266622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966425200,"filename":"image_29102025_20_46_27_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391512655","file1":"1391512653","file0":"1391512650","file4":"1391512661","file5":"1391512664","file3":"1391512658"},"map_files_photo_id_array":[{"photo_id":"1391512664","filename":"file5"},{"photo_id":"1391512655","filename":"file2"},{"photo_id":"1391512661","filename":"file4"},{"photo_id":"1391512653","filename":"file1"},{"photo_id":"1391512650","filename":"file0"},{"photo_id":"1391512658","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391512650":["hashtag1","hashtag2"]},{"1391512653":["hashtag1","hashtag2"]},{"1391512661":["hashtag1","hashtag2"]},{"1391512655":["hashtag1","hashtag2"]},{"1391512664":["hashtag1","hashtag2"]},{"1391512658":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391512650, 1391512653, 1391512661, 1391512655, 1391512664, 1391512658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51173782348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:06:42.720664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_35_2870.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_39_3574.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_42_2676.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_44_2795.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_48_3665.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_51_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_35_2870.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_39_3574.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_42_2676.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_44_2795.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_48_3665.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_51_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391512743","1391512682","1391512676","1391512693","1391512864","1391512687"],"photo_ids_order":["1391512676","1391512682","1391512687","1391512693","1391512743","1391512864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/425fb7340201b362884fb8cbabbb863f.jpg","text":"TemporaryFile(/tmp/multipartBody2005103564470710011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_48_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2768379bd703b04086a098d0b1e82327.jpg","text":"TemporaryFile(/tmp/multipartBody2355219168506154839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_39_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5642cda45b1f9ada46fa8c4fd179f36.jpg","text":"TemporaryFile(/tmp/multipartBody6362094791827488794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_35_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56462ec6037a9c141d12c816a6cb39b8.jpg","text":"TemporaryFile(/tmp/multipartBody7651254772357570233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_44_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b57805be85ee60642e47826840fff329.jpg","text":"TemporaryFile(/tmp/multipartBody7064263333657327779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_51_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/290f20a378e31c6e1e2fcc95dcb24b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6510521105384600740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966463892,"filename":"image_29102025_20_46_42_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391512687","file1":"1391512682","file0":"1391512676","file4":"1391512743","file5":"1391512864","file3":"1391512693"},"map_files_photo_id_array":[{"photo_id":"1391512864","filename":"file5"},{"photo_id":"1391512687","filename":"file2"},{"photo_id":"1391512743","filename":"file4"},{"photo_id":"1391512682","filename":"file1"},{"photo_id":"1391512676","filename":"file0"},{"photo_id":"1391512693","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391512743":["hashtag1","hashtag2"]},{"1391512682":["hashtag1","hashtag2"]},{"1391512676":["hashtag1","hashtag2"]},{"1391512693":["hashtag1","hashtag2"]},{"1391512864":["hashtag1","hashtag2"]},{"1391512687":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391512743, 1391512682, 1391512676, 1391512693, 1391512864, 1391512687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13047170639038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:07:21.767037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_54_2715.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_56_2655.jpg', '/home/pi/Desktop/images/29102025/20/46/image_29102025_20_47_00_3657.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_03_2688.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_05_2637.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_09_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_54_2715.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_46_56_2655.jpg
/home/pi/Desktop/images/29102025/20/46/image_29102025_20_47_00_3657.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_03_2688.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_05_2637.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_09_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513113","1391512997","1391513248","1391513062","1391513158","1391513203"],"photo_ids_order":["1391512997","1391513062","1391513113","1391513158","1391513203","1391513248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb3488450e9c9cabe3830b77ec07db0a.jpg","text":"TemporaryFile(/tmp/multipartBody2392048491578792463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_47_00_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fe405b40a36b68c743089ec64d32d83.jpg","text":"TemporaryFile(/tmp/multipartBody162097013946382228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_46_54_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13f9ff9ad32bd4ade5f26cfc09dc906f.jpg","text":"TemporaryFile(/tmp/multipartBody3199059085472906455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_47_09_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/917f889435b7269b313ccddc4f073a94.jpg","text":"TemporaryFile(/tmp/multipartBody8676290558240899387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_46_56_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/350e8b559e86323634ab1cba54fac57e.jpg","text":"TemporaryFile(/tmp/multipartBody4944488727665415662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_47_03_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8aed7e8bad263c57a74ac32a3d6438b.jpg","text":"TemporaryFile(/tmp/multipartBody8393019663176626416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966504497,"filename":"image_29102025_20_47_05_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513113","file1":"1391513062","file0":"1391512997","file4":"1391513203","file5":"1391513248","file3":"1391513158"},"map_files_photo_id_array":[{"photo_id":"1391513248","filename":"file5"},{"photo_id":"1391513113","filename":"file2"},{"photo_id":"1391513203","filename":"file4"},{"photo_id":"1391513062","filename":"file1"},{"photo_id":"1391512997","filename":"file0"},{"photo_id":"1391513158","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513113":["hashtag1","hashtag2"]},{"1391512997":["hashtag1","hashtag2"]},{"1391513248":["hashtag1","hashtag2"]},{"1391513062":["hashtag1","hashtag2"]},{"1391513158":["hashtag1","hashtag2"]},{"1391513203":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513113, 1391512997, 1391513248, 1391513062, 1391513158, 1391513203)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.686135053634644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:08:21.982465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_12_2829.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_15_2831.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_17_2796.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_20_2680.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_24_3703.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_27_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_12_2829.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_15_2831.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_17_2796.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_20_2680.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_24_3703.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_27_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513571","1391513465","1391513453","1391513555","1391513479","1391513566"],"photo_ids_order":["1391513453","1391513465","1391513479","1391513555","1391513566","1391513571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c79cb9312c6f1dd78212d0547f4d7940.jpg","text":"TemporaryFile(/tmp/multipartBody5968577893961076661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_27_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/169742aed2d12dec2db6b63523097331.jpg","text":"TemporaryFile(/tmp/multipartBody3553906280425514465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_15_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f1d2c623657c45c6bff3d4c4b9d7017.jpg","text":"TemporaryFile(/tmp/multipartBody829646821240961932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_12_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/856a6b273f76a249653499604046e252.jpg","text":"TemporaryFile(/tmp/multipartBody8725230546480722696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_20_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8baa77a514a8d69680b8a8dea87f8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6166147776821815140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_17_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90e2279944e51de1eacfc5e7e6a163aa.jpg","text":"TemporaryFile(/tmp/multipartBody2091815980104157967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966570894,"filename":"image_29102025_20_47_24_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513479","file1":"1391513465","file0":"1391513453","file4":"1391513566","file5":"1391513571","file3":"1391513555"},"map_files_photo_id_array":[{"photo_id":"1391513571","filename":"file5"},{"photo_id":"1391513479","filename":"file2"},{"photo_id":"1391513566","filename":"file4"},{"photo_id":"1391513465","filename":"file1"},{"photo_id":"1391513453","filename":"file0"},{"photo_id":"1391513555","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513571":["hashtag1","hashtag2"]},{"1391513465":["hashtag1","hashtag2"]},{"1391513453":["hashtag1","hashtag2"]},{"1391513555":["hashtag1","hashtag2"]},{"1391513479":["hashtag1","hashtag2"]},{"1391513566":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513571, 1391513465, 1391513453, 1391513555, 1391513479, 1391513566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.53117084503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:09:22.222417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_29_2677.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_33_3629.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_36_2814.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_38_2561.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_42_3638.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_45_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_29_2677.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_33_3629.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_36_2814.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_38_2561.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_42_3638.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_45_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513595","1391513601","1391513591","1391513606","1391513590","1391513611"],"photo_ids_order":["1391513590","1391513591","1391513595","1391513601","1391513606","1391513611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25efc27f60dc682bea1694c4bd9ce347.jpg","text":"TemporaryFile(/tmp/multipartBody1721221297950963122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_36_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91f574df3d5527b78c1ea920b1083232.jpg","text":"TemporaryFile(/tmp/multipartBody8322676106363679414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_38_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6247428c81bd44ed26e282f740b8133.jpg","text":"TemporaryFile(/tmp/multipartBody5589885695335574770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_33_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a4e208f5035c83cb11b5129d49415c1.jpg","text":"TemporaryFile(/tmp/multipartBody6833598474838167478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_42_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4717a083d7445c057179b3a88fe33efb.jpg","text":"TemporaryFile(/tmp/multipartBody115733952393726627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_29_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc883a230a834d1215856e5165379565.jpg","text":"TemporaryFile(/tmp/multipartBody2691883700163950681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966624945,"filename":"image_29102025_20_47_45_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513595","file1":"1391513591","file0":"1391513590","file4":"1391513606","file5":"1391513611","file3":"1391513601"},"map_files_photo_id_array":[{"photo_id":"1391513611","filename":"file5"},{"photo_id":"1391513595","filename":"file2"},{"photo_id":"1391513606","filename":"file4"},{"photo_id":"1391513591","filename":"file1"},{"photo_id":"1391513590","filename":"file0"},{"photo_id":"1391513601","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513595":["hashtag1","hashtag2"]},{"1391513601":["hashtag1","hashtag2"]},{"1391513591":["hashtag1","hashtag2"]},{"1391513606":["hashtag1","hashtag2"]},{"1391513590":["hashtag1","hashtag2"]},{"1391513611":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513595, 1391513601, 1391513591, 1391513606, 1391513590, 1391513611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46404314041138 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:10:22.498874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_47_2625.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_51_3678.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_54_2686.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_57_2977.jpg', '/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_59_2672.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_03_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_47_2625.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_51_3678.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_54_2686.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_57_2977.jpg
/home/pi/Desktop/images/29102025/20/47/image_29102025_20_47_59_2672.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_03_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513664","1391513688","1391513693","1391513699","1391513674","1391513682"],"photo_ids_order":["1391513664","1391513674","1391513682","1391513688","1391513693","1391513699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c3aaef64d86ba487f9e618d155d08a3.jpg","text":"TemporaryFile(/tmp/multipartBody550634024272602674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_47_47_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34b26e7a99f8d8d6bab852cc216f96eb.jpg","text":"TemporaryFile(/tmp/multipartBody3182353000111484113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_47_57_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ffa27843f35f7f64278d1fe7aac2943.jpg","text":"TemporaryFile(/tmp/multipartBody5973955050419900767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_47_59_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fca8c979e73621790d73f7b8738ae8b.jpg","text":"TemporaryFile(/tmp/multipartBody7913669487549039026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_48_03_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86d55216f86bf09d6a8985b5df476a97.jpg","text":"TemporaryFile(/tmp/multipartBody3310111501737808887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_47_51_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/786e00899da6c52d62c57b3e410adafc.jpg","text":"TemporaryFile(/tmp/multipartBody5689436284321035872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966684880,"filename":"image_29102025_20_47_54_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513682","file1":"1391513674","file0":"1391513664","file4":"1391513693","file5":"1391513699","file3":"1391513688"},"map_files_photo_id_array":[{"photo_id":"1391513699","filename":"file5"},{"photo_id":"1391513682","filename":"file2"},{"photo_id":"1391513693","filename":"file4"},{"photo_id":"1391513674","filename":"file1"},{"photo_id":"1391513664","filename":"file0"},{"photo_id":"1391513688","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513664":["hashtag1","hashtag2"]},{"1391513688":["hashtag1","hashtag2"]},{"1391513693":["hashtag1","hashtag2"]},{"1391513699":["hashtag1","hashtag2"]},{"1391513674":["hashtag1","hashtag2"]},{"1391513682":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513664, 1391513688, 1391513693, 1391513699, 1391513674, 1391513682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3069531917572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:11:22.826767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_06_2653.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_08_2736.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_11_2743.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_15_3627.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_17_2719.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_21_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_06_2653.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_08_2736.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_11_2743.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_15_3627.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_17_2719.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_21_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513716","1391513721","1391513744","1391513726","1391513714","1391513734"],"photo_ids_order":["1391513714","1391513716","1391513721","1391513726","1391513734","1391513744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60625cbe3fa216f2a82daa793577f8f1.jpg","text":"TemporaryFile(/tmp/multipartBody1683722582309825275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_08_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d563ca80485ba65a6a8df32511aee4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3660641263797468988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_11_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/980533cc7c92b3a3aff6253dd389606b.jpg","text":"TemporaryFile(/tmp/multipartBody9185977899360992496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_21_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ca2f1db1720e52a3e2d4f729e2054a2.jpg","text":"TemporaryFile(/tmp/multipartBody3836929730954114277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_15_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7bec7e17c30426c1560ee7a5abbe167.jpg","text":"TemporaryFile(/tmp/multipartBody4888298208085215982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_06_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b79725a522f3ef933b38ed12fb2234f4.jpg","text":"TemporaryFile(/tmp/multipartBody792186959391957289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966745562,"filename":"image_29102025_20_48_17_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513721","file1":"1391513716","file0":"1391513714","file4":"1391513734","file5":"1391513744","file3":"1391513726"},"map_files_photo_id_array":[{"photo_id":"1391513744","filename":"file5"},{"photo_id":"1391513721","filename":"file2"},{"photo_id":"1391513734","filename":"file4"},{"photo_id":"1391513716","filename":"file1"},{"photo_id":"1391513714","filename":"file0"},{"photo_id":"1391513726","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513716":["hashtag1","hashtag2"]},{"1391513721":["hashtag1","hashtag2"]},{"1391513744":["hashtag1","hashtag2"]},{"1391513726":["hashtag1","hashtag2"]},{"1391513714":["hashtag1","hashtag2"]},{"1391513734":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513716, 1391513721, 1391513744, 1391513726, 1391513714, 1391513734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.693615198135376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:12:21.836205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_24_2677.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_26_2685.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_30_3620.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_32_2549.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_35_2648.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_39_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_24_2677.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_26_2685.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_30_3620.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_32_2549.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_35_2648.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_39_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513787","1391513769","1391513783","1391513777","1391513759","1391513764"],"photo_ids_order":["1391513759","1391513764","1391513769","1391513777","1391513783","1391513787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/754bdf15f01f13056e361105cc7b29c0.jpg","text":"TemporaryFile(/tmp/multipartBody7814629662570673565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_39_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58384b345fa360205618c108b9b4ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody8348762347588734400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_30_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/980f2d0797fa0bf1cda77bb6a6d708ac.jpg","text":"TemporaryFile(/tmp/multipartBody8645209190980047914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_35_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c774240053ed6473eb0448c2a85b8dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7646597116349114701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_32_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14b6da86a92f2504d35f8e6df9baca8e.jpg","text":"TemporaryFile(/tmp/multipartBody5280749433436898746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_24_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f2763ce9a5eb900f537c50ea2b453be.jpg","text":"TemporaryFile(/tmp/multipartBody8615890858784849615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966804575,"filename":"image_29102025_20_48_26_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513769","file1":"1391513764","file0":"1391513759","file4":"1391513783","file5":"1391513787","file3":"1391513777"},"map_files_photo_id_array":[{"photo_id":"1391513787","filename":"file5"},{"photo_id":"1391513769","filename":"file2"},{"photo_id":"1391513783","filename":"file4"},{"photo_id":"1391513764","filename":"file1"},{"photo_id":"1391513759","filename":"file0"},{"photo_id":"1391513777","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513787":["hashtag1","hashtag2"]},{"1391513769":["hashtag1","hashtag2"]},{"1391513783":["hashtag1","hashtag2"]},{"1391513777":["hashtag1","hashtag2"]},{"1391513759":["hashtag1","hashtag2"]},{"1391513764":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513787, 1391513769, 1391513783, 1391513777, 1391513759, 1391513764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9401912689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:13:02.561379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_41_2673.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_44_2862.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_48_3657.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_51_2635.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_53_2593.jpg', '/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_57_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_41_2673.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_44_2862.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_48_3657.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_51_2635.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_53_2593.jpg
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_57_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513800","1391513814","1391513808","1391513797","1391513803","1391513812"],"photo_ids_order":["1391513797","1391513800","1391513803","1391513808","1391513812","1391513814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dc0e9a87837a79a5c77d356a7d1af7c.jpg","text":"TemporaryFile(/tmp/multipartBody8611703044607739448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_44_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74ffd83a898f7451a77ddae1420e9692.jpg","text":"TemporaryFile(/tmp/multipartBody5983226584317653142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_57_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7cc8a2f088559b2946bfb01acf2c5d1.jpg","text":"TemporaryFile(/tmp/multipartBody739102688721106841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_51_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d016a99a0183dd42bb8a678b0029689e.jpg","text":"TemporaryFile(/tmp/multipartBody3382799545403671871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_41_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8764e0e59d1a32f86933874ba18ece61.jpg","text":"TemporaryFile(/tmp/multipartBody3448334297890722681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_48_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d879a4ea0ede8a2138ebf95ba84e32f.jpg","text":"TemporaryFile(/tmp/multipartBody6270277992789633310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966846855,"filename":"image_29102025_20_48_53_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513803","file1":"1391513800","file0":"1391513797","file4":"1391513812","file5":"1391513814","file3":"1391513808"},"map_files_photo_id_array":[{"photo_id":"1391513814","filename":"file5"},{"photo_id":"1391513803","filename":"file2"},{"photo_id":"1391513812","filename":"file4"},{"photo_id":"1391513800","filename":"file1"},{"photo_id":"1391513797","filename":"file0"},{"photo_id":"1391513808","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513800":["hashtag1","hashtag2"]},{"1391513814":["hashtag1","hashtag2"]},{"1391513808":["hashtag1","hashtag2"]},{"1391513797":["hashtag1","hashtag2"]},{"1391513803":["hashtag1","hashtag2"]},{"1391513812":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513800, 1391513814, 1391513808, 1391513797, 1391513803, 1391513812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29724144935608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:14:02.820617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_59_2679.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_02_2688.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_06_3652.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_09_2664.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_21_12244.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_22_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/48/image_29102025_20_48_59_2679.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_02_2688.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_06_3652.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_09_2664.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_21_12244.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_22_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513853","1391513848","1391513842","1391513836","1391513845","1391513839"],"photo_ids_order":["1391513836","1391513839","1391513842","1391513845","1391513848","1391513853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8caa302154e9deb9fa98dd7a53b06481.jpg","text":"TemporaryFile(/tmp/multipartBody3797337064681587381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_49_22_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed52dc80eda4f35a78613fc0cbad8d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1985174101706114411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_49_21_12244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/175a52e6cc001519aa78f8aea58ada2c.jpg","text":"TemporaryFile(/tmp/multipartBody2862552475504475170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_49_06_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0022589488637d227c186a822e751135.jpg","text":"TemporaryFile(/tmp/multipartBody547033143041878563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_48_59_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/def266aa1206e013dcf06d9db5946b66.jpg","text":"TemporaryFile(/tmp/multipartBody8171502171040435180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_49_09_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c46f406751447fbe6789e1a127e22628.jpg","text":"TemporaryFile(/tmp/multipartBody9050837726498144358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966905052,"filename":"image_29102025_20_49_02_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513842","file1":"1391513839","file0":"1391513836","file4":"1391513848","file5":"1391513853","file3":"1391513845"},"map_files_photo_id_array":[{"photo_id":"1391513853","filename":"file5"},{"photo_id":"1391513842","filename":"file2"},{"photo_id":"1391513848","filename":"file4"},{"photo_id":"1391513839","filename":"file1"},{"photo_id":"1391513836","filename":"file0"},{"photo_id":"1391513845","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513853":["hashtag1","hashtag2"]},{"1391513848":["hashtag1","hashtag2"]},{"1391513842":["hashtag1","hashtag2"]},{"1391513836":["hashtag1","hashtag2"]},{"1391513845":["hashtag1","hashtag2"]},{"1391513839":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513853, 1391513848, 1391513842, 1391513836, 1391513845, 1391513839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7372612953186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:15:03.233547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_26_3168.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_27_1656.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_29_1657.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_32_2731.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_33_1666.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_35_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_26_3168.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_27_1656.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_29_1657.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_32_2731.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_33_1666.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_35_1703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513937","1391513939","1391513932","1391513941","1391513935","1391513929"],"photo_ids_order":["1391513929","1391513932","1391513935","1391513937","1391513939","1391513941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d61d889435485f22d2a1fd72af0159a6.jpg","text":"TemporaryFile(/tmp/multipartBody4990676232480945461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_32_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b8c4a8b0ac76110794fadac7b9e43b9.jpg","text":"TemporaryFile(/tmp/multipartBody6585896149899428814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_33_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5bf0b5dcbfc822a3151ebc8f09827d2.jpg","text":"TemporaryFile(/tmp/multipartBody8200780854431008020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_27_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/828e25ccc30ccc733272a167f68a1c61.jpg","text":"TemporaryFile(/tmp/multipartBody3306218701072244378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_35_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0003eaa24876b7ddf544645efd9938ec.jpg","text":"TemporaryFile(/tmp/multipartBody5610630255983732705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_29_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aff2133ba0028ce3d7e1668a5bd29470.jpg","text":"TemporaryFile(/tmp/multipartBody7577720207407272283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761966965488,"filename":"image_29102025_20_49_26_3168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513935","file1":"1391513932","file0":"1391513929","file4":"1391513939","file5":"1391513941","file3":"1391513937"},"map_files_photo_id_array":[{"photo_id":"1391513941","filename":"file5"},{"photo_id":"1391513935","filename":"file2"},{"photo_id":"1391513939","filename":"file4"},{"photo_id":"1391513932","filename":"file1"},{"photo_id":"1391513929","filename":"file0"},{"photo_id":"1391513937","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513937":["hashtag1","hashtag2"]},{"1391513939":["hashtag1","hashtag2"]},{"1391513932":["hashtag1","hashtag2"]},{"1391513941":["hashtag1","hashtag2"]},{"1391513935":["hashtag1","hashtag2"]},{"1391513929":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513937, 1391513939, 1391513932, 1391513941, 1391513935, 1391513929)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.790846824645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:16:03.316795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_37_1692.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_39_1874.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_41_2647.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_48_6387.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_49_1684.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_51_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_37_1692.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_39_1874.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_41_2647.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_48_6387.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_49_1684.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_51_1571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391513976","1391513970","1391513973","1391513967","1391513984","1391513980"],"photo_ids_order":["1391513967","1391513970","1391513973","1391513976","1391513980","1391513984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/226bdc34f428342ff2d1591615b1119d.jpg","text":"TemporaryFile(/tmp/multipartBody1473292661724204181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_48_6387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/482b9cbb6949efe57f00bf9b3c87570a.jpg","text":"TemporaryFile(/tmp/multipartBody2040089736308888321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_39_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb1e637cee09aa29ef3bc5edd74a0147.jpg","text":"TemporaryFile(/tmp/multipartBody1876402272598778957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19323a5560f50c961ab583a675f9f6bc.jpg","text":"TemporaryFile(/tmp/multipartBody556215485448809322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_37_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e67212e56dd76fb412c46e907695459e.jpg","text":"TemporaryFile(/tmp/multipartBody6085421568911827196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_51_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a41c49640d77d9b6f08c784ad759394.jpg","text":"TemporaryFile(/tmp/multipartBody4472519105908104066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967025446,"filename":"image_29102025_20_49_49_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391513973","file1":"1391513970","file0":"1391513967","file4":"1391513980","file5":"1391513984","file3":"1391513976"},"map_files_photo_id_array":[{"photo_id":"1391513984","filename":"file5"},{"photo_id":"1391513973","filename":"file2"},{"photo_id":"1391513980","filename":"file4"},{"photo_id":"1391513970","filename":"file1"},{"photo_id":"1391513967","filename":"file0"},{"photo_id":"1391513976","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391513976":["hashtag1","hashtag2"]},{"1391513970":["hashtag1","hashtag2"]},{"1391513973":["hashtag1","hashtag2"]},{"1391513967":["hashtag1","hashtag2"]},{"1391513984":["hashtag1","hashtag2"]},{"1391513980":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391513976, 1391513970, 1391513973, 1391513967, 1391513984, 1391513980)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.393884897232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:17:02.691927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_53_2575.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_56_2639.jpg', '/home/pi/Desktop/images/29102025/20/49/image_29102025_20_50_00_3758.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_03_2991.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_05_2601.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_09_3170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_53_2575.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_49_56_2639.jpg
/home/pi/Desktop/images/29102025/20/49/image_29102025_20_50_00_3758.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_03_2991.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_05_2601.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_09_3170.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514012","1391514021","1391514016","1391514019","1391514010","1391514007"],"photo_ids_order":["1391514007","1391514010","1391514012","1391514016","1391514019","1391514021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/176166bf4719cfaf547cd1046971943f.jpg","text":"TemporaryFile(/tmp/multipartBody2111733038889505370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_50_00_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecb14a7c561ccdcef895ce80b031f2d6.jpg","text":"TemporaryFile(/tmp/multipartBody6766186357133041083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_50_09_3170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50b56889c73c388c99fd789258aba512.jpg","text":"TemporaryFile(/tmp/multipartBody6843216690653215797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_50_03_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcb2fe5d316be59bc7cb2b5ee9bd3202.jpg","text":"TemporaryFile(/tmp/multipartBody1665761375221502769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_50_05_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8a2e1ebf50aae05575bc5674c061a65.jpg","text":"TemporaryFile(/tmp/multipartBody7458350614417861308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_49_56_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ef5399d27395476b784060a9d12febc.jpg","text":"TemporaryFile(/tmp/multipartBody5301338854077592395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967084924,"filename":"image_29102025_20_49_53_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514012","file1":"1391514010","file0":"1391514007","file4":"1391514019","file5":"1391514021","file3":"1391514016"},"map_files_photo_id_array":[{"photo_id":"1391514021","filename":"file5"},{"photo_id":"1391514012","filename":"file2"},{"photo_id":"1391514019","filename":"file4"},{"photo_id":"1391514010","filename":"file1"},{"photo_id":"1391514007","filename":"file0"},{"photo_id":"1391514016","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514012":["hashtag1","hashtag2"]},{"1391514021":["hashtag1","hashtag2"]},{"1391514016":["hashtag1","hashtag2"]},{"1391514019":["hashtag1","hashtag2"]},{"1391514010":["hashtag1","hashtag2"]},{"1391514007":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514012, 1391514021, 1391514016, 1391514019, 1391514010, 1391514007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.041414737701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:18:02.537209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_12_3727.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_14_1631.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_18_3637.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_31_5974.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_33_1563.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_35_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_12_3727.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_14_1631.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_18_3637.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_31_5974.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_33_1563.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_35_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514071","1391514059","1391514050","1391514067","1391514055","1391514063"],"photo_ids_order":["1391514050","1391514055","1391514059","1391514063","1391514067","1391514071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74e55bd814790f3ca8a82d1bcb3ccbb4.jpg","text":"TemporaryFile(/tmp/multipartBody6394947128827233094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_35_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed714a69127c4a12bd23257143c8141d.jpg","text":"TemporaryFile(/tmp/multipartBody6291758376718447050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_18_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e927acbf4ccfb004957764b101b4b7.jpg","text":"TemporaryFile(/tmp/multipartBody9179096420715685246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_12_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79e1de5678edfb022af6f7ce8c5ddc0f.jpg","text":"TemporaryFile(/tmp/multipartBody1974038790974330078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_33_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac584997e9be91b8c65e0f82cfe7fbb8.jpg","text":"TemporaryFile(/tmp/multipartBody4776896527824747123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_14_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/094fd46eab05a47cc544d0a24b61cea4.jpg","text":"TemporaryFile(/tmp/multipartBody5734639619948269804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967144814,"filename":"image_29102025_20_50_31_5974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514059","file1":"1391514055","file0":"1391514050","file4":"1391514067","file5":"1391514071","file3":"1391514063"},"map_files_photo_id_array":[{"photo_id":"1391514071","filename":"file5"},{"photo_id":"1391514059","filename":"file2"},{"photo_id":"1391514067","filename":"file4"},{"photo_id":"1391514055","filename":"file1"},{"photo_id":"1391514050","filename":"file0"},{"photo_id":"1391514063","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514071":["hashtag1","hashtag2"]},{"1391514059":["hashtag1","hashtag2"]},{"1391514050":["hashtag1","hashtag2"]},{"1391514067":["hashtag1","hashtag2"]},{"1391514055":["hashtag1","hashtag2"]},{"1391514063":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514071, 1391514059, 1391514050, 1391514067, 1391514055, 1391514063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42368674278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:19:03.159614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_36_1640.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_39_3183.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_43_1708.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_45_1662.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_47_2669.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_50_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_36_1640.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_39_3183.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_43_1708.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_45_1662.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_47_2669.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_50_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514132","1391514135","1391514143","1391514137","1391514139","1391514141"],"photo_ids_order":["1391514132","1391514135","1391514137","1391514139","1391514141","1391514143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95967bfa0f5e4dcf0b823133740f5950.jpg","text":"TemporaryFile(/tmp/multipartBody2744441869791620474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_36_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ddc5f68eea91e0fc818eea8286e18a.jpg","text":"TemporaryFile(/tmp/multipartBody3782226912731831697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_39_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59a575357bc2d667b9b64b66a299b4f2.jpg","text":"TemporaryFile(/tmp/multipartBody2213927479661357803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_50_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6943b8042e713cc49fad6de8be7e39a8.jpg","text":"TemporaryFile(/tmp/multipartBody2506141497131970578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_43_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e276b6b196061d2e27a3d501e41e966b.jpg","text":"TemporaryFile(/tmp/multipartBody5030152959740723421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_45_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d95ffcfedc3757f0676cb3c7ba73ecc1.jpg","text":"TemporaryFile(/tmp/multipartBody6376762026311975458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967205738,"filename":"image_29102025_20_50_47_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514137","file1":"1391514135","file0":"1391514132","file4":"1391514141","file5":"1391514143","file3":"1391514139"},"map_files_photo_id_array":[{"photo_id":"1391514143","filename":"file5"},{"photo_id":"1391514137","filename":"file2"},{"photo_id":"1391514141","filename":"file4"},{"photo_id":"1391514135","filename":"file1"},{"photo_id":"1391514132","filename":"file0"},{"photo_id":"1391514139","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514132":["hashtag1","hashtag2"]},{"1391514135":["hashtag1","hashtag2"]},{"1391514143":["hashtag1","hashtag2"]},{"1391514137":["hashtag1","hashtag2"]},{"1391514139":["hashtag1","hashtag2"]},{"1391514141":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514132, 1391514135, 1391514143, 1391514137, 1391514139, 1391514141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37009644508362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:20:03.024935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_54_3632.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_57_3819.jpg', '/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_59_1565.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_08_2773.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_12_3731.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_14_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_54_3632.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_57_3819.jpg
/home/pi/Desktop/images/29102025/20/50/image_29102025_20_50_59_1565.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_08_2773.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_12_3731.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_14_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514170","1391514178","1391514187","1391514172","1391514174","1391514183"],"photo_ids_order":["1391514170","1391514172","1391514174","1391514178","1391514183","1391514187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1b175e25f0fec8df4ed5b98bd26da97.jpg","text":"TemporaryFile(/tmp/multipartBody4942575831851305941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_50_54_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8151315ccb503c7793f1e0d13731a54.jpg","text":"TemporaryFile(/tmp/multipartBody3402823430741547348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_51_08_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da5d9520dcfb2cf527d3c3a6db25433c.jpg","text":"TemporaryFile(/tmp/multipartBody1744595014653879089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_51_14_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44fb030b699387ab980dd9f66b5a61c4.jpg","text":"TemporaryFile(/tmp/multipartBody7087477814801226673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_50_57_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a174562bb5a63c74eda791e7b51aea2.jpg","text":"TemporaryFile(/tmp/multipartBody6439874272699632396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_50_59_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ce5a85ab1b41704c1e1084b25cc42ff.jpg","text":"TemporaryFile(/tmp/multipartBody6383650893727668662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967265308,"filename":"image_29102025_20_51_12_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514174","file1":"1391514172","file0":"1391514170","file4":"1391514183","file5":"1391514187","file3":"1391514178"},"map_files_photo_id_array":[{"photo_id":"1391514187","filename":"file5"},{"photo_id":"1391514174","filename":"file2"},{"photo_id":"1391514183","filename":"file4"},{"photo_id":"1391514172","filename":"file1"},{"photo_id":"1391514170","filename":"file0"},{"photo_id":"1391514178","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514170":["hashtag1","hashtag2"]},{"1391514178":["hashtag1","hashtag2"]},{"1391514187":["hashtag1","hashtag2"]},{"1391514172":["hashtag1","hashtag2"]},{"1391514174":["hashtag1","hashtag2"]},{"1391514183":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514170, 1391514178, 1391514187, 1391514172, 1391514174, 1391514183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45920538902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:21:03.376302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_17_2785.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_20_2778.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_23_3646.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_26_2738.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_29_2840.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_33_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_17_2785.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_20_2778.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_23_3646.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_26_2738.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_29_2840.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_33_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514231","1391514221","1391514215","1391514218","1391514226","1391514235"],"photo_ids_order":["1391514215","1391514218","1391514221","1391514226","1391514231","1391514235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/371597d4a2e7f14b2836606e82618ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4671596820588686563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_29_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfcd00da9f0589e7ebdf8d5548075d32.jpg","text":"TemporaryFile(/tmp/multipartBody7719354798525938735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_23_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd0042b31cecc9e3ff21af0725f2a827.jpg","text":"TemporaryFile(/tmp/multipartBody5129536535922923828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_17_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18d5fc6b86bf9b5f08a7745bf88caf20.jpg","text":"TemporaryFile(/tmp/multipartBody8869468483513530559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_20_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a62a9ba3e6983f67ef4e686c05fc8d63.jpg","text":"TemporaryFile(/tmp/multipartBody7267857281385092229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_26_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5952d5f032371dbe8d6819f9d6de4645.jpg","text":"TemporaryFile(/tmp/multipartBody3572006352486334280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967325855,"filename":"image_29102025_20_51_33_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514221","file1":"1391514218","file0":"1391514215","file4":"1391514231","file5":"1391514235","file3":"1391514226"},"map_files_photo_id_array":[{"photo_id":"1391514235","filename":"file5"},{"photo_id":"1391514221","filename":"file2"},{"photo_id":"1391514231","filename":"file4"},{"photo_id":"1391514218","filename":"file1"},{"photo_id":"1391514215","filename":"file0"},{"photo_id":"1391514226","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514231":["hashtag1","hashtag2"]},{"1391514221":["hashtag1","hashtag2"]},{"1391514215":["hashtag1","hashtag2"]},{"1391514218":["hashtag1","hashtag2"]},{"1391514226":["hashtag1","hashtag2"]},{"1391514235":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514231, 1391514221, 1391514215, 1391514218, 1391514226, 1391514235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66729521751404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:22:02.430693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_35_2734.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_38_2720.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_41_2692.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_44_3572.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_47_2691.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_51_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_35_2734.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_38_2720.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_41_2692.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_44_3572.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_47_2691.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_51_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514263","1391514257","1391514262","1391514265","1391514268","1391514261"],"photo_ids_order":["1391514257","1391514261","1391514262","1391514263","1391514265","1391514268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/265fae498fa96bc2c0f06c7750b6d85e.jpg","text":"TemporaryFile(/tmp/multipartBody307392855474638924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_44_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5de6c96a09f12d6df5d85e49123b73a0.jpg","text":"TemporaryFile(/tmp/multipartBody5213522316172289412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_35_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d2ff1ef96dbdb94cc1ef1393db10f49.jpg","text":"TemporaryFile(/tmp/multipartBody3057342977906040200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_41_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3ecd132ee1e338c8b291af049db7551.jpg","text":"TemporaryFile(/tmp/multipartBody6753684032227917985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_47_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/192dd07d7229f76a42b5b054cd74a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody3991041018813963240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_51_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51c2d93bb23d994c59080262b9e49573.jpg","text":"TemporaryFile(/tmp/multipartBody6885974047280256252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967384574,"filename":"image_29102025_20_51_38_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514262","file1":"1391514261","file0":"1391514257","file4":"1391514265","file5":"1391514268","file3":"1391514263"},"map_files_photo_id_array":[{"photo_id":"1391514268","filename":"file5"},{"photo_id":"1391514262","filename":"file2"},{"photo_id":"1391514265","filename":"file4"},{"photo_id":"1391514261","filename":"file1"},{"photo_id":"1391514257","filename":"file0"},{"photo_id":"1391514263","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514263":["hashtag1","hashtag2"]},{"1391514257":["hashtag1","hashtag2"]},{"1391514262":["hashtag1","hashtag2"]},{"1391514265":["hashtag1","hashtag2"]},{"1391514268":["hashtag1","hashtag2"]},{"1391514261":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514263, 1391514257, 1391514262, 1391514265, 1391514268, 1391514261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23648452758789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:22:41.988076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_53_2708.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_56_2740.jpg', '/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_59_2631.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_02_3659.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_05_2696.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_08_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_53_2708.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_56_2740.jpg
/home/pi/Desktop/images/29102025/20/51/image_29102025_20_51_59_2631.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_02_3659.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_05_2696.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_08_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514296","1391514300","1391514284","1391514293","1391514289","1391514297"],"photo_ids_order":["1391514284","1391514289","1391514293","1391514296","1391514297","1391514300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1c05f3fdd3f5f387511bf9113ff943b.jpg","text":"TemporaryFile(/tmp/multipartBody9024878713950951567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_52_02_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37f250c6dba2b137a44251fb66d915cc.jpg","text":"TemporaryFile(/tmp/multipartBody4923901704724796245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_52_08_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da18563bbcd68f6797e6142a5753b659.jpg","text":"TemporaryFile(/tmp/multipartBody2367301349942081032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_51_53_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0c005342f19e5306eb841f0fda5b6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2036152203515629385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_51_59_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0118c30909ab1e5b0e56dd2c0ff47983.jpg","text":"TemporaryFile(/tmp/multipartBody4728858712017866938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_51_56_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1754340d44732ef50a8033610139263a.jpg","text":"TemporaryFile(/tmp/multipartBody5757926155371615619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967423155,"filename":"image_29102025_20_52_05_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514293","file1":"1391514289","file0":"1391514284","file4":"1391514297","file5":"1391514300","file3":"1391514296"},"map_files_photo_id_array":[{"photo_id":"1391514300","filename":"file5"},{"photo_id":"1391514293","filename":"file2"},{"photo_id":"1391514297","filename":"file4"},{"photo_id":"1391514289","filename":"file1"},{"photo_id":"1391514284","filename":"file0"},{"photo_id":"1391514296","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514296":["hashtag1","hashtag2"]},{"1391514300":["hashtag1","hashtag2"]},{"1391514284":["hashtag1","hashtag2"]},{"1391514293":["hashtag1","hashtag2"]},{"1391514289":["hashtag1","hashtag2"]},{"1391514297":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514296, 1391514300, 1391514284, 1391514293, 1391514289, 1391514297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83168005943298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:23:22.172823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_11_3706.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_14_2645.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_17_2807.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_20_3614.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_23_2660.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_26_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_11_3706.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_14_2645.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_17_2807.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_20_3614.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_23_2660.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_26_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514363","1391514333","1391514359","1391514352","1391514331","1391514369"],"photo_ids_order":["1391514331","1391514333","1391514352","1391514359","1391514363","1391514369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6f3ef64fbcba1fbc5387390069961f3.jpg","text":"TemporaryFile(/tmp/multipartBody7583179592806809722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_23_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68a8f8ba8d9c955efca303460f079a63.jpg","text":"TemporaryFile(/tmp/multipartBody3492230409476039664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_14_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d933ba05b5dc2dc3454c9bce121c284d.jpg","text":"TemporaryFile(/tmp/multipartBody15618425459934119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_20_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43080652f78cb08e14b1e1c02c2d864b.jpg","text":"TemporaryFile(/tmp/multipartBody8189500021906257693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_17_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7ad442abdd0adca286cf8a0e8054f51.jpg","text":"TemporaryFile(/tmp/multipartBody7627635981692710915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_11_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8da97045f2d2ad9cdea4a9fc0d8114e6.jpg","text":"TemporaryFile(/tmp/multipartBody3952616708549418531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967464905,"filename":"image_29102025_20_52_26_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514352","file1":"1391514333","file0":"1391514331","file4":"1391514363","file5":"1391514369","file3":"1391514359"},"map_files_photo_id_array":[{"photo_id":"1391514369","filename":"file5"},{"photo_id":"1391514352","filename":"file2"},{"photo_id":"1391514363","filename":"file4"},{"photo_id":"1391514333","filename":"file1"},{"photo_id":"1391514331","filename":"file0"},{"photo_id":"1391514359","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514363":["hashtag1","hashtag2"]},{"1391514333":["hashtag1","hashtag2"]},{"1391514359":["hashtag1","hashtag2"]},{"1391514352":["hashtag1","hashtag2"]},{"1391514331":["hashtag1","hashtag2"]},{"1391514369":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514363, 1391514333, 1391514359, 1391514352, 1391514331, 1391514369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44207215309143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:24:03.186068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_29_2662.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_32_3577.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_35_2670.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_38_2670.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_41_3912.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_44_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_29_2662.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_32_3577.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_35_2670.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_38_2670.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_41_3912.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_44_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514389","1391514383","1391514382","1391514379","1391514387","1391514381"],"photo_ids_order":["1391514379","1391514381","1391514382","1391514383","1391514387","1391514389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d40f8483ee2f5d3cd93ca1250f9ea2c8.jpg","text":"TemporaryFile(/tmp/multipartBody1588467072131878302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_44_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ec7ffd4ce49930a8f52674b0be54d8c.jpg","text":"TemporaryFile(/tmp/multipartBody100572860978614564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_38_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ebd34b6768bb2f01fc49eccf75842df.jpg","text":"TemporaryFile(/tmp/multipartBody8231102900545287070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/067ba90d689f90616005b5d1fb959033.jpg","text":"TemporaryFile(/tmp/multipartBody6404523899368248311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_29_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63ccf11a42f9c302e96dfe7ecbf8e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody3928766243340702092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_41_3912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be096af996a1d441bc1ad8c1c070e15e.jpg","text":"TemporaryFile(/tmp/multipartBody4281407894501186764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967505397,"filename":"image_29102025_20_52_32_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514382","file1":"1391514381","file0":"1391514379","file4":"1391514387","file5":"1391514389","file3":"1391514383"},"map_files_photo_id_array":[{"photo_id":"1391514389","filename":"file5"},{"photo_id":"1391514382","filename":"file2"},{"photo_id":"1391514387","filename":"file4"},{"photo_id":"1391514381","filename":"file1"},{"photo_id":"1391514379","filename":"file0"},{"photo_id":"1391514383","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514389":["hashtag1","hashtag2"]},{"1391514383":["hashtag1","hashtag2"]},{"1391514382":["hashtag1","hashtag2"]},{"1391514379":["hashtag1","hashtag2"]},{"1391514387":["hashtag1","hashtag2"]},{"1391514381":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514389, 1391514383, 1391514382, 1391514379, 1391514387, 1391514381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79402995109558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:24:42.458046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_47_2684.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_50_2829.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_53_3735.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_56_2639.jpg', '/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_59_2779.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_02_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_47_2684.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_50_2829.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_53_3735.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_56_2639.jpg
/home/pi/Desktop/images/29102025/20/52/image_29102025_20_52_59_2779.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_02_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514513","1391514402","1391514571","1391514568","1391514406","1391514567"],"photo_ids_order":["1391514402","1391514406","1391514513","1391514567","1391514568","1391514571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a39fa7da42b65875cf1c6d3bb3586d2.jpg","text":"TemporaryFile(/tmp/multipartBody5323078131759460748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_52_53_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92033fe2e33c4abe4e04637d9a432ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6134883081752595667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_52_47_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffa2eec0d55e289ea427eaaac7348283.jpg","text":"TemporaryFile(/tmp/multipartBody7146460052812266716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_53_02_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1eea6bc5fc5eb267c1f96300597dee44.jpg","text":"TemporaryFile(/tmp/multipartBody289551464166968118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_52_59_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e06cd8dfeac656584b83c0df5cc803e.jpg","text":"TemporaryFile(/tmp/multipartBody8019472938956582230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_52_50_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc4eb822c54b31729a5debf01d95d24f.jpg","text":"TemporaryFile(/tmp/multipartBody1786456303198266674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967543669,"filename":"image_29102025_20_52_56_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514513","file1":"1391514406","file0":"1391514402","file4":"1391514568","file5":"1391514571","file3":"1391514567"},"map_files_photo_id_array":[{"photo_id":"1391514571","filename":"file5"},{"photo_id":"1391514513","filename":"file2"},{"photo_id":"1391514568","filename":"file4"},{"photo_id":"1391514406","filename":"file1"},{"photo_id":"1391514402","filename":"file0"},{"photo_id":"1391514567","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514513":["hashtag1","hashtag2"]},{"1391514402":["hashtag1","hashtag2"]},{"1391514571":["hashtag1","hashtag2"]},{"1391514568":["hashtag1","hashtag2"]},{"1391514406":["hashtag1","hashtag2"]},{"1391514567":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514513, 1391514402, 1391514571, 1391514568, 1391514406, 1391514567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73428702354431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:25:22.575189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_05_2726.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_08_2676.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_11_2760.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_14_3687.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_17_2697.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_20_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_05_2726.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_08_2676.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_11_2760.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_14_3687.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_17_2697.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_20_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514669","1391514618","1391514623","1391514614","1391514608","1391514610"],"photo_ids_order":["1391514608","1391514610","1391514614","1391514618","1391514623","1391514669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fe10a5a016b4ac4880ddcc595d5b872.jpg","text":"TemporaryFile(/tmp/multipartBody1032263371192219595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_20_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b24c30452964879d532da5027cbca100.jpg","text":"TemporaryFile(/tmp/multipartBody8194017501775047513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_14_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d7327321ea99bf6029e08ee99a036c1.jpg","text":"TemporaryFile(/tmp/multipartBody2153974332493136544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_17_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9448bdf784bb8fa1ebd87ff53cb692c.jpg","text":"TemporaryFile(/tmp/multipartBody5443500211580602030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_11_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3aa78c112bc2930b9a1136144ee78ec.jpg","text":"TemporaryFile(/tmp/multipartBody863150909063819115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_05_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af46f7d7a56ab6ab37b9e0a5175b8b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8070926885738743762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967585323,"filename":"image_29102025_20_53_08_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514614","file1":"1391514610","file0":"1391514608","file4":"1391514623","file5":"1391514669","file3":"1391514618"},"map_files_photo_id_array":[{"photo_id":"1391514669","filename":"file5"},{"photo_id":"1391514614","filename":"file2"},{"photo_id":"1391514623","filename":"file4"},{"photo_id":"1391514610","filename":"file1"},{"photo_id":"1391514608","filename":"file0"},{"photo_id":"1391514618","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514669":["hashtag1","hashtag2"]},{"1391514618":["hashtag1","hashtag2"]},{"1391514623":["hashtag1","hashtag2"]},{"1391514614":["hashtag1","hashtag2"]},{"1391514608":["hashtag1","hashtag2"]},{"1391514610":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514669, 1391514618, 1391514623, 1391514614, 1391514608, 1391514610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88053631782532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:26:22.767607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_23_3672.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_26_2741.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_29_2804.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_32_3608.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_35_2626.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_38_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_23_3672.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_26_2741.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_29_2804.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_32_3608.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_35_2626.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_38_2686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4116194248199463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:26:42.798971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_23_3672.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_26_2741.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_29_2804.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_32_3608.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_35_2626.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_38_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_23_3672.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_26_2741.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_29_2804.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_32_3608.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_35_2626.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_38_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514819","1391514807","1391514801","1391514815","1391514814","1391514811"],"photo_ids_order":["1391514801","1391514807","1391514811","1391514814","1391514815","1391514819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e04460053e099143fb54f058eb6be612.jpg","text":"TemporaryFile(/tmp/multipartBody5717640787511964560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_38_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59521a5b4767f68280ee5211f895e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8803761071353459708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_26_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd9fc02331f8f0278cd7d05acf2de86f.jpg","text":"TemporaryFile(/tmp/multipartBody7357088655977498912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_23_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a9e401779c34a64ccc648d8f17df4eb.jpg","text":"TemporaryFile(/tmp/multipartBody1652268330186520588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_35_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc8fecd52c858b021e8236ad4b1267ef.jpg","text":"TemporaryFile(/tmp/multipartBody4381343938898711233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_32_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e835bad216dcdefb34e4138a6e71d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8586509903754078125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967663902,"filename":"image_29102025_20_53_29_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514811","file1":"1391514807","file0":"1391514801","file4":"1391514815","file5":"1391514819","file3":"1391514814"},"map_files_photo_id_array":[{"photo_id":"1391514819","filename":"file5"},{"photo_id":"1391514811","filename":"file2"},{"photo_id":"1391514815","filename":"file4"},{"photo_id":"1391514807","filename":"file1"},{"photo_id":"1391514801","filename":"file0"},{"photo_id":"1391514814","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514819":["hashtag1","hashtag2"]},{"1391514807":["hashtag1","hashtag2"]},{"1391514801":["hashtag1","hashtag2"]},{"1391514815":["hashtag1","hashtag2"]},{"1391514814":["hashtag1","hashtag2"]},{"1391514811":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514819, 1391514807, 1391514801, 1391514815, 1391514814, 1391514811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61550688743591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:27:21.921493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_41_3717.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_44_2723.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_47_2709.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_50_2670.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_53_3788.jpg', '/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_56_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_41_3717.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_44_2723.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_47_2709.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_50_2670.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_53_3788.jpg
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_56_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514840","1391514842","1391514862","1391514865","1391514859","1391514837"],"photo_ids_order":["1391514837","1391514840","1391514842","1391514859","1391514862","1391514865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3b0cd03c75f9a5301be2cdaf628c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1619120071643784330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_44_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db1997b274bf65a96cab990d84e3a27b.jpg","text":"TemporaryFile(/tmp/multipartBody1265241689719996596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_47_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28dba0687d88eb1c5b593fc90a45a9e5.jpg","text":"TemporaryFile(/tmp/multipartBody1918623033932159517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_53_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70f2cae520111336458017fb9e304715.jpg","text":"TemporaryFile(/tmp/multipartBody3289219957919060220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_56_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6afa8135f2a3891023f82411b7eccee.jpg","text":"TemporaryFile(/tmp/multipartBody2651138584060958056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_50_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f24b93178dc4b9bb9f6e1a017254ccc5.jpg","text":"TemporaryFile(/tmp/multipartBody7496007991348040404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967704685,"filename":"image_29102025_20_53_41_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514842","file1":"1391514840","file0":"1391514837","file4":"1391514862","file5":"1391514865","file3":"1391514859"},"map_files_photo_id_array":[{"photo_id":"1391514865","filename":"file5"},{"photo_id":"1391514842","filename":"file2"},{"photo_id":"1391514862","filename":"file4"},{"photo_id":"1391514840","filename":"file1"},{"photo_id":"1391514837","filename":"file0"},{"photo_id":"1391514859","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514840":["hashtag1","hashtag2"]},{"1391514842":["hashtag1","hashtag2"]},{"1391514862":["hashtag1","hashtag2"]},{"1391514865":["hashtag1","hashtag2"]},{"1391514859":["hashtag1","hashtag2"]},{"1391514837":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514840, 1391514842, 1391514862, 1391514865, 1391514859, 1391514837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0197217464447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:28:02.549358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_58_2545.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_02_3741.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_05_2649.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_08_2748.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_10_2839.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_14_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/53/image_29102025_20_53_58_2545.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_02_3741.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_05_2649.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_08_2748.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_10_2839.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_14_3731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514945","1391514915","1391514932","1391514952","1391514954","1391514948"],"photo_ids_order":["1391514915","1391514932","1391514945","1391514948","1391514952","1391514954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a25601a3235362f90d13e1a637382c7.jpg","text":"TemporaryFile(/tmp/multipartBody3622704181626498221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_54_05_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06d1b4e9befa581f5dacca165aee54e6.jpg","text":"TemporaryFile(/tmp/multipartBody1929721402147092026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_53_58_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/865ae9c8ee1749d14c1927c5fe407bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2368405259289984237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_54_02_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25e2b95945b65b6dcac63dcdd5cc8a66.jpg","text":"TemporaryFile(/tmp/multipartBody1694899306401000323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_54_10_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc748bfb986619e3d68d5356d9c47ba6.jpg","text":"TemporaryFile(/tmp/multipartBody644630602482650507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_54_14_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2379025b409b42a1aa5ac58f44e5ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody8591369523462267591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967744706,"filename":"image_29102025_20_54_08_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514945","file1":"1391514932","file0":"1391514915","file4":"1391514952","file5":"1391514954","file3":"1391514948"},"map_files_photo_id_array":[{"photo_id":"1391514954","filename":"file5"},{"photo_id":"1391514945","filename":"file2"},{"photo_id":"1391514952","filename":"file4"},{"photo_id":"1391514932","filename":"file1"},{"photo_id":"1391514915","filename":"file0"},{"photo_id":"1391514948","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514945":["hashtag1","hashtag2"]},{"1391514915":["hashtag1","hashtag2"]},{"1391514932":["hashtag1","hashtag2"]},{"1391514952":["hashtag1","hashtag2"]},{"1391514954":["hashtag1","hashtag2"]},{"1391514948":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514945, 1391514915, 1391514932, 1391514952, 1391514954, 1391514948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66455411911011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:28:42.127362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_17_2745.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_20_2846.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_23_2800.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_26_3574.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_29_2665.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_31_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_17_2745.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_20_2846.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_23_2800.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_26_3574.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_29_2665.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_31_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391514968","1391514962","1391514972","1391514981","1391514975","1391514978"],"photo_ids_order":["1391514962","1391514968","1391514972","1391514975","1391514978","1391514981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4a24d01bfcd036b625dc551de63fd84.jpg","text":"TemporaryFile(/tmp/multipartBody88545311874138954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_20_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f326d61c8ee0517682a9eb24b48d419f.jpg","text":"TemporaryFile(/tmp/multipartBody241398179996639340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b1bf9bfebf384914aed28808cec2692.jpg","text":"TemporaryFile(/tmp/multipartBody8274328242977118640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_23_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/426f59270ed1052382b520845639539b.jpg","text":"TemporaryFile(/tmp/multipartBody1909719925649701827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_31_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a38c103ad8ad9a0cfed89fe60950be2a.jpg","text":"TemporaryFile(/tmp/multipartBody8542291101804561961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_26_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81a96b5d186654a139fa3956a8479c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2738286756599141788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967783330,"filename":"image_29102025_20_54_29_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391514972","file1":"1391514968","file0":"1391514962","file4":"1391514978","file5":"1391514981","file3":"1391514975"},"map_files_photo_id_array":[{"photo_id":"1391514981","filename":"file5"},{"photo_id":"1391514972","filename":"file2"},{"photo_id":"1391514978","filename":"file4"},{"photo_id":"1391514968","filename":"file1"},{"photo_id":"1391514962","filename":"file0"},{"photo_id":"1391514975","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391514968":["hashtag1","hashtag2"]},{"1391514962":["hashtag1","hashtag2"]},{"1391514972":["hashtag1","hashtag2"]},{"1391514981":["hashtag1","hashtag2"]},{"1391514975":["hashtag1","hashtag2"]},{"1391514978":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391514968, 1391514962, 1391514972, 1391514981, 1391514975, 1391514978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02947640419006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:29:22.465469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_34_2887.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_38_3760.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_41_2625.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_44_2775.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_50_2793.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_53_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_34_2887.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_38_3760.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_41_2625.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_44_2775.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_50_2793.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_53_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515037","1391515051","1391515018","1391515056","1391515032","1391515011"],"photo_ids_order":["1391515011","1391515018","1391515032","1391515037","1391515051","1391515056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5427d92456d9d7a70b0dfe2997d0c396.jpg","text":"TemporaryFile(/tmp/multipartBody5939366407039621536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_44_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75670e7c4555b629097a0f2f4d5fede3.jpg","text":"TemporaryFile(/tmp/multipartBody1088602601236213084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_50_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/537087a3de34672ef4fc3d05babb6f67.jpg","text":"TemporaryFile(/tmp/multipartBody6548808925987158040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_38_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e36130f404577a812e53e9968ccdae8e.jpg","text":"TemporaryFile(/tmp/multipartBody2454291210265312292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_53_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8aad77ad50796c454048ad9ef48cbed4.jpg","text":"TemporaryFile(/tmp/multipartBody5702092636382654738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_41_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff3578141b4837afae023f403978e85a.jpg","text":"TemporaryFile(/tmp/multipartBody7945391338384285803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967825247,"filename":"image_29102025_20_54_34_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515032","file1":"1391515018","file0":"1391515011","file4":"1391515051","file5":"1391515056","file3":"1391515037"},"map_files_photo_id_array":[{"photo_id":"1391515056","filename":"file5"},{"photo_id":"1391515032","filename":"file2"},{"photo_id":"1391515051","filename":"file4"},{"photo_id":"1391515018","filename":"file1"},{"photo_id":"1391515011","filename":"file0"},{"photo_id":"1391515037","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515037":["hashtag1","hashtag2"]},{"1391515051":["hashtag1","hashtag2"]},{"1391515018":["hashtag1","hashtag2"]},{"1391515056":["hashtag1","hashtag2"]},{"1391515032":["hashtag1","hashtag2"]},{"1391515011":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515037, 1391515051, 1391515018, 1391515056, 1391515032, 1391515011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.867597579956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:30:22.544979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_56_2901.jpg', '/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_58_2751.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_02_3972.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_05_2827.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_08_2741.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_11_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_56_2901.jpg
/home/pi/Desktop/images/29102025/20/54/image_29102025_20_54_58_2751.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_02_3972.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_05_2827.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_08_2741.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_11_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515115","1391515096","1391515120","1391515092","1391515074","1391515125"],"photo_ids_order":["1391515074","1391515092","1391515096","1391515115","1391515120","1391515125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1401638ed7479593b662877b5a69377.jpg","text":"TemporaryFile(/tmp/multipartBody2955220690121993198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_55_05_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/230fe294c850b76cb5c4312db7d43ad8.jpg","text":"TemporaryFile(/tmp/multipartBody14282805979411169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_55_02_3972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f47534fbc0f3eb0ff485eec59d8d3341.jpg","text":"TemporaryFile(/tmp/multipartBody4052436550292523081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_55_08_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d1b012ac893d0aa6753e8781f748188.jpg","text":"TemporaryFile(/tmp/multipartBody7697545557612252226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_54_58_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b84a830f2afa9a0c79d8aac4b130fb01.jpg","text":"TemporaryFile(/tmp/multipartBody5643541344029213978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_54_56_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fba0bb1be9ca0ca08988f157acdb789c.jpg","text":"TemporaryFile(/tmp/multipartBody3152187375682126824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967885026,"filename":"image_29102025_20_55_11_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515096","file1":"1391515092","file0":"1391515074","file4":"1391515120","file5":"1391515125","file3":"1391515115"},"map_files_photo_id_array":[{"photo_id":"1391515125","filename":"file5"},{"photo_id":"1391515096","filename":"file2"},{"photo_id":"1391515120","filename":"file4"},{"photo_id":"1391515092","filename":"file1"},{"photo_id":"1391515074","filename":"file0"},{"photo_id":"1391515115","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515115":["hashtag1","hashtag2"]},{"1391515096":["hashtag1","hashtag2"]},{"1391515120":["hashtag1","hashtag2"]},{"1391515092":["hashtag1","hashtag2"]},{"1391515074":["hashtag1","hashtag2"]},{"1391515125":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515115, 1391515096, 1391515120, 1391515092, 1391515074, 1391515125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967533826828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:31:22.732076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_14_3552.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_17_2832.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_20_2735.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_22_2647.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_25_2916.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_29_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_14_3552.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_17_2832.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_20_2735.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_22_2647.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_25_2916.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_29_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515206","1391515211","1391515202","1391515197","1391515191","1391515194"],"photo_ids_order":["1391515191","1391515194","1391515197","1391515202","1391515206","1391515211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa608a7cb7500a5ca110ea9dcd357cfb.jpg","text":"TemporaryFile(/tmp/multipartBody444308102472718959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_25_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ffaab3387a8efaa2f22fcbbfda34fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4919640867736725501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_29_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17066e70d18da64a2660fe94774f4f83.jpg","text":"TemporaryFile(/tmp/multipartBody4791801710287063055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b738683d41fa1c2dcbc3e9304aba782.jpg","text":"TemporaryFile(/tmp/multipartBody7262978265957424453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_20_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/430954a3a6d25a81fffe3d1b2c263112.jpg","text":"TemporaryFile(/tmp/multipartBody3221765264817857921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_14_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c678427441f131b0e7d43f356c60d042.jpg","text":"TemporaryFile(/tmp/multipartBody2360102279473333795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761967945330,"filename":"image_29102025_20_55_17_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515197","file1":"1391515194","file0":"1391515191","file4":"1391515206","file5":"1391515211","file3":"1391515202"},"map_files_photo_id_array":[{"photo_id":"1391515211","filename":"file5"},{"photo_id":"1391515197","filename":"file2"},{"photo_id":"1391515206","filename":"file4"},{"photo_id":"1391515194","filename":"file1"},{"photo_id":"1391515191","filename":"file0"},{"photo_id":"1391515202","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515206":["hashtag1","hashtag2"]},{"1391515211":["hashtag1","hashtag2"]},{"1391515202":["hashtag1","hashtag2"]},{"1391515197":["hashtag1","hashtag2"]},{"1391515191":["hashtag1","hashtag2"]},{"1391515194":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515206, 1391515211, 1391515202, 1391515197, 1391515191, 1391515194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.330761194229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:32:26.714190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_32_2631.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_34_2690.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_38_3679.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_41_2631.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_43_2639.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_47_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_32_2631.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_34_2690.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_38_3679.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_41_2631.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_43_2639.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_47_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515226","1391515231","1391515228","1391515245","1391515233","1391515239"],"photo_ids_order":["1391515226","1391515228","1391515231","1391515233","1391515239","1391515245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b97b3a58c0ab7f3fb8f7f3f4a810ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody1065821901262594334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_32_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37489693e1c529c6f3bfc2b8ebb6641a.jpg","text":"TemporaryFile(/tmp/multipartBody5093684079173023251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_38_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eecc89f2d10766d30447fed569bb57c7.jpg","text":"TemporaryFile(/tmp/multipartBody1292351936887324297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e2a112dac58ed272a02acbd4c007738.jpg","text":"TemporaryFile(/tmp/multipartBody3858269064179942264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_47_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04417c8190c6a6d8d7bcc9f85e2d9878.jpg","text":"TemporaryFile(/tmp/multipartBody8090503304034800024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_41_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4323af4ee563065491904f51c6b12e25.jpg","text":"TemporaryFile(/tmp/multipartBody3219898659273871425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968009723,"filename":"image_29102025_20_55_43_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515231","file1":"1391515228","file0":"1391515226","file4":"1391515239","file5":"1391515245","file3":"1391515233"},"map_files_photo_id_array":[{"photo_id":"1391515245","filename":"file5"},{"photo_id":"1391515231","filename":"file2"},{"photo_id":"1391515239","filename":"file4"},{"photo_id":"1391515228","filename":"file1"},{"photo_id":"1391515226","filename":"file0"},{"photo_id":"1391515233","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515226":["hashtag1","hashtag2"]},{"1391515231":["hashtag1","hashtag2"]},{"1391515228":["hashtag1","hashtag2"]},{"1391515245":["hashtag1","hashtag2"]},{"1391515233":["hashtag1","hashtag2"]},{"1391515239":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515226, 1391515231, 1391515228, 1391515245, 1391515233, 1391515239)","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 = 1391515231 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_38_3679.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.33887720108032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:33:45.435870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_50_2811.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_53_2905.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_55_2752.jpg', '/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_59_3735.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_02_2748.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_05_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_50_2811.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_53_2905.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_55_2752.jpg
/home/pi/Desktop/images/29102025/20/55/image_29102025_20_55_59_3735.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_02_2748.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_05_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515277","1391515325","1391515334","1391515288","1391515296","1391515299"],"photo_ids_order":["1391515277","1391515288","1391515296","1391515299","1391515325","1391515334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1756f11d3ef351c7c23801b779f21647.jpg","text":"TemporaryFile(/tmp/multipartBody1898673896911093723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_55_50_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b27408444e9d8be165719c7d26af2ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6631194706154519583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_56_02_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b46a80e7fdfad14a42c70e8a5c92533f.jpg","text":"TemporaryFile(/tmp/multipartBody9139021049542039479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_56_05_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2941e2f436d48d6afba8d3f87d7c933.jpg","text":"TemporaryFile(/tmp/multipartBody2534297779418197668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_55_53_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0ba9a4adb51d12d4d328b846812d727.jpg","text":"TemporaryFile(/tmp/multipartBody1345949963457031780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_55_55_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cf223d7bd700395ef8dd45a12883c90.jpg","text":"TemporaryFile(/tmp/multipartBody8482923151309717517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968093555,"filename":"image_29102025_20_55_59_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515296","file1":"1391515288","file0":"1391515277","file4":"1391515325","file5":"1391515334","file3":"1391515299"},"map_files_photo_id_array":[{"photo_id":"1391515334","filename":"file5"},{"photo_id":"1391515296","filename":"file2"},{"photo_id":"1391515325","filename":"file4"},{"photo_id":"1391515288","filename":"file1"},{"photo_id":"1391515277","filename":"file0"},{"photo_id":"1391515299","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515277":["hashtag1","hashtag2"]},{"1391515325":["hashtag1","hashtag2"]},{"1391515334":["hashtag1","hashtag2"]},{"1391515288":["hashtag1","hashtag2"]},{"1391515296":["hashtag1","hashtag2"]},{"1391515299":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515277, 1391515325, 1391515334, 1391515288, 1391515296, 1391515299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.10522437095642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:34:46.279625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_08_3568.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_11_2827.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_14_2724.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_16_2667.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_20_3760.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_23_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_08_3568.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_11_2827.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_14_2724.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_16_2667.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_20_3760.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_23_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515358","1391515427","1391515468","1391515363","1391515386","1391515353"],"photo_ids_order":["1391515353","1391515358","1391515363","1391515386","1391515427","1391515468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eca7481b43aa451480730e4455b357fd.jpg","text":"TemporaryFile(/tmp/multipartBody29493201518801305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_11_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9dd06ae0b93dc2137481018d97593783.jpg","text":"TemporaryFile(/tmp/multipartBody7956251225495135870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_20_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0da668e271e3a18e97574ae9178cbfbd.jpg","text":"TemporaryFile(/tmp/multipartBody4335220530028010706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_23_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6979f143b3198b22b76ad3a63a59809a.jpg","text":"TemporaryFile(/tmp/multipartBody7699576190625044007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_14_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6240378f24543e323a3843c587b26a0.jpg","text":"TemporaryFile(/tmp/multipartBody76042332222099842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e0ba2e150126f8ba541cd954901c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody451296723413724521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968147304,"filename":"image_29102025_20_56_08_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515363","file1":"1391515358","file0":"1391515353","file4":"1391515427","file5":"1391515468","file3":"1391515386"},"map_files_photo_id_array":[{"photo_id":"1391515468","filename":"file5"},{"photo_id":"1391515363","filename":"file2"},{"photo_id":"1391515427","filename":"file4"},{"photo_id":"1391515358","filename":"file1"},{"photo_id":"1391515353","filename":"file0"},{"photo_id":"1391515386","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515358":["hashtag1","hashtag2"]},{"1391515427":["hashtag1","hashtag2"]},{"1391515468":["hashtag1","hashtag2"]},{"1391515363":["hashtag1","hashtag2"]},{"1391515386":["hashtag1","hashtag2"]},{"1391515353":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515358, 1391515427, 1391515468, 1391515363, 1391515386, 1391515353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.906296253204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:35:44.371376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_26_2776.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_28_2684.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_32_3644.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_34_2646.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_38_3668.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_41_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_26_2776.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_28_2684.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_32_3644.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_34_2646.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_38_3668.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_41_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515595","1391515625","1391515591","1391515660","1391515587","1391515583"],"photo_ids_order":["1391515583","1391515587","1391515591","1391515595","1391515625","1391515660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13ab490a84b858a5197b32be32ac683a.jpg","text":"TemporaryFile(/tmp/multipartBody6845223873516286591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_34_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c775484920064846a149ddf39b8cd950.jpg","text":"TemporaryFile(/tmp/multipartBody7581228867553495403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_38_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/baaa66290d8630425507b4bd6c074240.jpg","text":"TemporaryFile(/tmp/multipartBody3613177686534825091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_32_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f397b25513f4a42fdd6d393ffd37bd3f.jpg","text":"TemporaryFile(/tmp/multipartBody7854989722715378294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_41_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba4905c945cd954c471da31e379bda95.jpg","text":"TemporaryFile(/tmp/multipartBody7373376297559518717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_28_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74fba26a2a0372a9e5bb36b4aa737067.jpg","text":"TemporaryFile(/tmp/multipartBody8872694633698396122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968218394,"filename":"image_29102025_20_56_26_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515591","file1":"1391515587","file0":"1391515583","file4":"1391515625","file5":"1391515660","file3":"1391515595"},"map_files_photo_id_array":[{"photo_id":"1391515660","filename":"file5"},{"photo_id":"1391515591","filename":"file2"},{"photo_id":"1391515625","filename":"file4"},{"photo_id":"1391515587","filename":"file1"},{"photo_id":"1391515583","filename":"file0"},{"photo_id":"1391515595","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515595":["hashtag1","hashtag2"]},{"1391515625":["hashtag1","hashtag2"]},{"1391515591":["hashtag1","hashtag2"]},{"1391515660":["hashtag1","hashtag2"]},{"1391515587":["hashtag1","hashtag2"]},{"1391515583":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515595, 1391515625, 1391515591, 1391515660, 1391515587, 1391515583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.534831285476685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:36:42.640776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_43_2736.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_46_2682.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_50_3732.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_53_2731.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_55_2774.jpg', '/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_59_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_43_2736.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_46_2682.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_50_3732.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_53_2731.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_55_2774.jpg
/home/pi/Desktop/images/29102025/20/56/image_29102025_20_56_59_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515715","1391515709","1391515699","1391515719","1391515704","1391515713"],"photo_ids_order":["1391515699","1391515704","1391515709","1391515713","1391515715","1391515719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95ec5d61b7e1e26ce11f50ebd06321e0.jpg","text":"TemporaryFile(/tmp/multipartBody4262983298565439854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_55_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62bb7d8e3da7401c6f2d32526872507c.jpg","text":"TemporaryFile(/tmp/multipartBody3664485227702322799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_50_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/849563c42d721c0f36dac96b2e2ea839.jpg","text":"TemporaryFile(/tmp/multipartBody4672719367465259370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_43_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9b18e1a4080e081d02d5ace7adbafc5.jpg","text":"TemporaryFile(/tmp/multipartBody3130975673351611705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_59_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67c7b8cd9ed01256b8be37863b45d974.jpg","text":"TemporaryFile(/tmp/multipartBody7260223618006108060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_46_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c83f24dd70c5394ab77fa0797547211.jpg","text":"TemporaryFile(/tmp/multipartBody4236725874847020852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968263828,"filename":"image_29102025_20_56_53_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515709","file1":"1391515704","file0":"1391515699","file4":"1391515715","file5":"1391515719","file3":"1391515713"},"map_files_photo_id_array":[{"photo_id":"1391515719","filename":"file5"},{"photo_id":"1391515709","filename":"file2"},{"photo_id":"1391515715","filename":"file4"},{"photo_id":"1391515704","filename":"file1"},{"photo_id":"1391515699","filename":"file0"},{"photo_id":"1391515713","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515715":["hashtag1","hashtag2"]},{"1391515709":["hashtag1","hashtag2"]},{"1391515699":["hashtag1","hashtag2"]},{"1391515719":["hashtag1","hashtag2"]},{"1391515704":["hashtag1","hashtag2"]},{"1391515713":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515715, 1391515709, 1391515699, 1391515719, 1391515704, 1391515713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.03137397766113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:37:42.776636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_02_2698.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_08_3566.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_11_2662.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_13_2730.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_16_2697.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_20_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_02_2698.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_08_3566.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_11_2662.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_13_2730.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_16_2697.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_20_3832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515793","1391515789","1391515774","1391515798","1391515785","1391515779"],"photo_ids_order":["1391515774","1391515779","1391515785","1391515789","1391515793","1391515798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26f4656d5a03a0d30cb9d7a7740484d0.jpg","text":"TemporaryFile(/tmp/multipartBody3174171595894087932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_16_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ce47afa33bedcd6290d7b7111d620dc.jpg","text":"TemporaryFile(/tmp/multipartBody8630289981641661257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_13_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e91d7cdba782afaef1415d029e19842.jpg","text":"TemporaryFile(/tmp/multipartBody2327178876699824178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_02_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0d2396542a089d355bb3048070b0005.jpg","text":"TemporaryFile(/tmp/multipartBody9115827426921690741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_20_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/889e34fb3df2b85fef87c996b32f9aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4406248816442897700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_11_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80f2eb2d3d27c7c89b6789ea0b19d206.jpg","text":"TemporaryFile(/tmp/multipartBody5151808194820250107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968323931,"filename":"image_29102025_20_57_08_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515785","file1":"1391515779","file0":"1391515774","file4":"1391515793","file5":"1391515798","file3":"1391515789"},"map_files_photo_id_array":[{"photo_id":"1391515798","filename":"file5"},{"photo_id":"1391515785","filename":"file2"},{"photo_id":"1391515793","filename":"file4"},{"photo_id":"1391515779","filename":"file1"},{"photo_id":"1391515774","filename":"file0"},{"photo_id":"1391515789","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515793":["hashtag1","hashtag2"]},{"1391515789":["hashtag1","hashtag2"]},{"1391515774":["hashtag1","hashtag2"]},{"1391515798":["hashtag1","hashtag2"]},{"1391515785":["hashtag1","hashtag2"]},{"1391515779":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515793, 1391515789, 1391515774, 1391515798, 1391515785, 1391515779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42758655548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:38:21.915929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_23_2738.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_25_2573.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_28_2863.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_32_3702.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_34_2624.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_37_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_23_2738.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_25_2573.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_28_2863.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_32_3702.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_34_2624.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_37_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391515811","1391515981","1391515843","1391515813","1391515816","1391515821"],"photo_ids_order":["1391515811","1391515813","1391515816","1391515821","1391515843","1391515981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7550fa8c108b8bf6319ba4aba03b0628.jpg","text":"TemporaryFile(/tmp/multipartBody1354848138351674264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_23_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b7ffc68096ed26ec1f1d5f5565f63ee.jpg","text":"TemporaryFile(/tmp/multipartBody61759110408623211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e607747ca615e1968db84e78405883ef.jpg","text":"TemporaryFile(/tmp/multipartBody616513713313558977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_34_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7539f69bfe24f0b6ee648f91decbeca1.jpg","text":"TemporaryFile(/tmp/multipartBody2375991989193186635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_25_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e37904f5ae32e5bb1711e9779f69afd5.jpg","text":"TemporaryFile(/tmp/multipartBody1553494540057025524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_28_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abadae8e868ae12b485efb05beac7fef.jpg","text":"TemporaryFile(/tmp/multipartBody8761449766660506441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968364690,"filename":"image_29102025_20_57_32_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391515816","file1":"1391515813","file0":"1391515811","file4":"1391515843","file5":"1391515981","file3":"1391515821"},"map_files_photo_id_array":[{"photo_id":"1391515981","filename":"file5"},{"photo_id":"1391515816","filename":"file2"},{"photo_id":"1391515843","filename":"file4"},{"photo_id":"1391515813","filename":"file1"},{"photo_id":"1391515811","filename":"file0"},{"photo_id":"1391515821","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391515811":["hashtag1","hashtag2"]},{"1391515981":["hashtag1","hashtag2"]},{"1391515843":["hashtag1","hashtag2"]},{"1391515813":["hashtag1","hashtag2"]},{"1391515816":["hashtag1","hashtag2"]},{"1391515821":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391515811, 1391515981, 1391515843, 1391515813, 1391515816, 1391515821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35306191444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:39:03.049013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_41_3697.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_43_2649.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_46_2795.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_50_3580.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_53_2717.jpg', '/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_55_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_41_3697.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_43_2649.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_46_2795.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_50_3580.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_53_2717.jpg
/home/pi/Desktop/images/29102025/20/57/image_29102025_20_57_55_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516024","1391516026","1391516013","1391516022","1391516019","1391515988"],"photo_ids_order":["1391515988","1391516013","1391516019","1391516022","1391516024","1391516026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/930a9e010b79c6e733357f450b6502de.jpg","text":"TemporaryFile(/tmp/multipartBody1119951114912271167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_53_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b186baa061452cec3d9b35eb7c66a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7918488425443751926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_55_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aa64d65c471a37478fa03973747b11b.jpg","text":"TemporaryFile(/tmp/multipartBody3221059927051115207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_43_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8337256282d096394acebb6a10fd1044.jpg","text":"TemporaryFile(/tmp/multipartBody20298043423475662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_50_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1289313c3f85cf269c68f65e78b2cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5155666869032858707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_46_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c886558f147d127a6f0713523b0ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody3359853128074658668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968406143,"filename":"image_29102025_20_57_41_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516019","file1":"1391516013","file0":"1391515988","file4":"1391516024","file5":"1391516026","file3":"1391516022"},"map_files_photo_id_array":[{"photo_id":"1391516026","filename":"file5"},{"photo_id":"1391516019","filename":"file2"},{"photo_id":"1391516024","filename":"file4"},{"photo_id":"1391516013","filename":"file1"},{"photo_id":"1391515988","filename":"file0"},{"photo_id":"1391516022","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516024":["hashtag1","hashtag2"]},{"1391516026":["hashtag1","hashtag2"]},{"1391516013":["hashtag1","hashtag2"]},{"1391516022":["hashtag1","hashtag2"]},{"1391516019":["hashtag1","hashtag2"]},{"1391515988":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516024, 1391516026, 1391516013, 1391516022, 1391516019, 1391515988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.086012840270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:40:02.742756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_02_2719.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_04_2771.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_07_2684.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_11_3678.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_13_2732.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_16_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_02_2719.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_04_2771.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_07_2684.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_11_3678.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_13_2732.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_16_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391516105","1391516173","1391516101","1391516094","1391516097","1391516091"],"photo_ids_order":["1391516091","1391516094","1391516097","1391516101","1391516105","1391516173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f623b1a17281ecd542b1f2e6ece026c.jpg","text":"TemporaryFile(/tmp/multipartBody7375246794495971848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_13_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfb861f9e44f0875013332b201163e11.jpg","text":"TemporaryFile(/tmp/multipartBody5185518944588920103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_16_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/062baba3b8e47de0a6a1fbd214d13e06.jpg","text":"TemporaryFile(/tmp/multipartBody9148483399181795167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_11_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c38dd64352c577c8e57499c063c4b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5521305613977724103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_04_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b01391c6832c0e7965609671e1c106d.jpg","text":"TemporaryFile(/tmp/multipartBody3263946618338763516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_07_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c7b818d61e8751abae00963146e94ea.jpg","text":"TemporaryFile(/tmp/multipartBody2208296635545285222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968464949,"filename":"image_29102025_20_58_02_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516097","file1":"1391516094","file0":"1391516091","file4":"1391516105","file5":"1391516173","file3":"1391516101"},"map_files_photo_id_array":[{"photo_id":"1391516173","filename":"file5"},{"photo_id":"1391516097","filename":"file2"},{"photo_id":"1391516105","filename":"file4"},{"photo_id":"1391516094","filename":"file1"},{"photo_id":"1391516091","filename":"file0"},{"photo_id":"1391516101","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516105":["hashtag1","hashtag2"]},{"1391516173":["hashtag1","hashtag2"]},{"1391516101":["hashtag1","hashtag2"]},{"1391516094":["hashtag1","hashtag2"]},{"1391516097":["hashtag1","hashtag2"]},{"1391516091":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516105, 1391516173, 1391516101, 1391516094, 1391516097, 1391516091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.593220472335815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:41:02.582058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_23_2707.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_25_2768.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_28_2797.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_32_3659.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_35_2783.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_37_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_23_2707.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_25_2768.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_28_2797.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_32_3659.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_35_2783.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_37_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516284","1391516292","1391516289","1391516238","1391516297","1391516294"],"photo_ids_order":["1391516238","1391516284","1391516289","1391516292","1391516294","1391516297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5456e45861a43afb16f63dbfa1eb1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6648225648391482117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_25_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80df36c12a1ab1e5913448b735920b56.jpg","text":"TemporaryFile(/tmp/multipartBody1828335088660126926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_32_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/532203051e603617babada9f35299e94.jpg","text":"TemporaryFile(/tmp/multipartBody1218736162604909915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_28_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/509d527ca8cfc38f0278dc8e195b5705.jpg","text":"TemporaryFile(/tmp/multipartBody8001848640743591842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cd2a6321ac8caa6c37c5ecbaa2a01ca.jpg","text":"TemporaryFile(/tmp/multipartBody7428219335273431198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a10022fc2af0bc1e01772170db62cbee.jpg","text":"TemporaryFile(/tmp/multipartBody5997257066850736445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968524833,"filename":"image_29102025_20_58_35_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516289","file1":"1391516284","file0":"1391516238","file4":"1391516294","file5":"1391516297","file3":"1391516292"},"map_files_photo_id_array":[{"photo_id":"1391516297","filename":"file5"},{"photo_id":"1391516289","filename":"file2"},{"photo_id":"1391516294","filename":"file4"},{"photo_id":"1391516284","filename":"file1"},{"photo_id":"1391516238","filename":"file0"},{"photo_id":"1391516292","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516284":["hashtag1","hashtag2"]},{"1391516292":["hashtag1","hashtag2"]},{"1391516289":["hashtag1","hashtag2"]},{"1391516238":["hashtag1","hashtag2"]},{"1391516297":["hashtag1","hashtag2"]},{"1391516294":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516284, 1391516292, 1391516289, 1391516238, 1391516297, 1391516294)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.79692840576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:42:02.621466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_40_2695.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_44_3575.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_46_2661.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_49_2765.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_53_3834.jpg', '/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_58_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_40_2695.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_44_3575.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_46_2661.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_49_2765.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_53_3834.jpg
/home/pi/Desktop/images/29102025/20/58/image_29102025_20_58_58_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516321","1391516330","1391516324","1391516318","1391516327","1391516316"],"photo_ids_order":["1391516316","1391516318","1391516321","1391516324","1391516327","1391516330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4efca106b3607eae40b82bdd0c7cf18c.jpg","text":"TemporaryFile(/tmp/multipartBody8979470182623377273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_46_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86a69b16e09912e7f98e01caad30f058.jpg","text":"TemporaryFile(/tmp/multipartBody3907331008043444795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_58_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/747f27751aadf67c65e68e2875e12eee.jpg","text":"TemporaryFile(/tmp/multipartBody7139439911111281852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_49_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db7506caaa7f7c575b57dcbf370a326a.jpg","text":"TemporaryFile(/tmp/multipartBody4278115395489915980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_44_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d39c505f4f2e5be03299bae0d687ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody4686053216524595814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_53_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9113ddb4c06d9c37f8a500c7aa014bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8044227617507934130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968584779,"filename":"image_29102025_20_58_40_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516321","file1":"1391516318","file0":"1391516316","file4":"1391516327","file5":"1391516330","file3":"1391516324"},"map_files_photo_id_array":[{"photo_id":"1391516330","filename":"file5"},{"photo_id":"1391516321","filename":"file2"},{"photo_id":"1391516327","filename":"file4"},{"photo_id":"1391516318","filename":"file1"},{"photo_id":"1391516316","filename":"file0"},{"photo_id":"1391516324","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516321":["hashtag1","hashtag2"]},{"1391516330":["hashtag1","hashtag2"]},{"1391516324":["hashtag1","hashtag2"]},{"1391516318":["hashtag1","hashtag2"]},{"1391516327":["hashtag1","hashtag2"]},{"1391516316":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516321, 1391516330, 1391516324, 1391516318, 1391516327, 1391516316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4912371635437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:42:42.176704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_02_3619.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_05_2723.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_07_2786.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_10_2629.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_14_3726.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_16_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_02_3619.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_05_2723.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_07_2786.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_10_2629.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_14_3726.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_16_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516405","1391516395","1391516353","1391516401","1391516349","1391516381"],"photo_ids_order":["1391516349","1391516353","1391516381","1391516395","1391516401","1391516405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccff61a98a6e3c4dc77190c22bd4a587.jpg","text":"TemporaryFile(/tmp/multipartBody6154379474042773415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_16_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd706e697af9b9576cf7d59ee39406d5.jpg","text":"TemporaryFile(/tmp/multipartBody3086647665913830697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_10_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ad23ad9b299b8ed1077891fbbdcfef2.jpg","text":"TemporaryFile(/tmp/multipartBody389635147162099151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_05_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81e7a78d997309467d0c453d7af175a5.jpg","text":"TemporaryFile(/tmp/multipartBody7477772734981967242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_14_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c27b81a6114d060cc3b07c95eebdd486.jpg","text":"TemporaryFile(/tmp/multipartBody6985651621734345347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_02_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36d4af028dbcd2f6a07ce53738f76093.jpg","text":"TemporaryFile(/tmp/multipartBody4668687097678698543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968623380,"filename":"image_29102025_20_59_07_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516381","file1":"1391516353","file0":"1391516349","file4":"1391516401","file5":"1391516405","file3":"1391516395"},"map_files_photo_id_array":[{"photo_id":"1391516405","filename":"file5"},{"photo_id":"1391516381","filename":"file2"},{"photo_id":"1391516401","filename":"file4"},{"photo_id":"1391516353","filename":"file1"},{"photo_id":"1391516349","filename":"file0"},{"photo_id":"1391516395","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516405":["hashtag1","hashtag2"]},{"1391516395":["hashtag1","hashtag2"]},{"1391516353":["hashtag1","hashtag2"]},{"1391516401":["hashtag1","hashtag2"]},{"1391516349":["hashtag1","hashtag2"]},{"1391516381":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516405, 1391516395, 1391516353, 1391516401, 1391516349, 1391516381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.724772453308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:43:22.277910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_19_2708.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_23_3734.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_25_2687.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_28_2676.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_31_2948.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_35_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_19_2708.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_23_3734.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_25_2687.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_28_2676.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_31_2948.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_35_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516420","1391516516","1391516426","1391516413","1391516416","1391516474"],"photo_ids_order":["1391516413","1391516416","1391516420","1391516426","1391516474","1391516516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21692e0de5eb60b45a61ffa2824787fe.jpg","text":"TemporaryFile(/tmp/multipartBody9198650112552532466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_25_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/924f5416d6ff190b411d265e3d410d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6933225341551854791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_35_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12d167ab7c6b06cd717a079aa591a625.jpg","text":"TemporaryFile(/tmp/multipartBody1028954730013355291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_28_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4f2ee05f781f73bafaf107be2ea3093.jpg","text":"TemporaryFile(/tmp/multipartBody7188556422162946931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_19_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3f4edf34e4b21d1810a6bfe24c0cd57.jpg","text":"TemporaryFile(/tmp/multipartBody4622398115594629474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_23_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5107ab313b958a5da44e8b2fd5dd4671.jpg","text":"TemporaryFile(/tmp/multipartBody6809889563440072341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968665018,"filename":"image_29102025_20_59_31_2948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516420","file1":"1391516416","file0":"1391516413","file4":"1391516474","file5":"1391516516","file3":"1391516426"},"map_files_photo_id_array":[{"photo_id":"1391516516","filename":"file5"},{"photo_id":"1391516420","filename":"file2"},{"photo_id":"1391516474","filename":"file4"},{"photo_id":"1391516416","filename":"file1"},{"photo_id":"1391516413","filename":"file0"},{"photo_id":"1391516426","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516420":["hashtag1","hashtag2"]},{"1391516516":["hashtag1","hashtag2"]},{"1391516426":["hashtag1","hashtag2"]},{"1391516413":["hashtag1","hashtag2"]},{"1391516416":["hashtag1","hashtag2"]},{"1391516474":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516420, 1391516516, 1391516426, 1391516413, 1391516416, 1391516474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30784726142883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:44:22.602727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_37_2666.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_40_2771.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_43_2644.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_47_3634.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_49_2613.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_53_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_37_2666.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_40_2771.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_43_2644.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_47_3634.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_49_2613.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_53_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516654","1391516650","1391516617","1391516667","1391516658","1391516663"],"photo_ids_order":["1391516617","1391516650","1391516654","1391516658","1391516663","1391516667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfc3defb9455f2731e45520c96edb342.jpg","text":"TemporaryFile(/tmp/multipartBody6430842726474114083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_43_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb5df6a7799fdbf0c99681e79b0359b5.jpg","text":"TemporaryFile(/tmp/multipartBody388853117786781819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_40_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c27bf7834ee9599d4a430a75b001367d.jpg","text":"TemporaryFile(/tmp/multipartBody5055731920958618666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53a13352ed0332d6bbf789f08ad531cc.jpg","text":"TemporaryFile(/tmp/multipartBody739819122219084054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_53_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83b0e5cc6f8d0a16e2333c3f3cb6a568.jpg","text":"TemporaryFile(/tmp/multipartBody4748796678639491090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_47_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7458d489757abe5eb1c79185c6760f4.jpg","text":"TemporaryFile(/tmp/multipartBody8007854099743014993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968725670,"filename":"image_29102025_20_59_49_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516654","file1":"1391516650","file0":"1391516617","file4":"1391516663","file5":"1391516667","file3":"1391516658"},"map_files_photo_id_array":[{"photo_id":"1391516667","filename":"file5"},{"photo_id":"1391516654","filename":"file2"},{"photo_id":"1391516663","filename":"file4"},{"photo_id":"1391516650","filename":"file1"},{"photo_id":"1391516617","filename":"file0"},{"photo_id":"1391516658","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516654":["hashtag1","hashtag2"]},{"1391516650":["hashtag1","hashtag2"]},{"1391516617":["hashtag1","hashtag2"]},{"1391516667":["hashtag1","hashtag2"]},{"1391516658":["hashtag1","hashtag2"]},{"1391516663":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516654, 1391516650, 1391516617, 1391516667, 1391516658, 1391516663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34856104850769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:45:03.449579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_55_2655.jpg', '/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_58_2875.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_08_3012.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_11_3689.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_14_2615.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_17_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_55_2655.jpg
/home/pi/Desktop/images/29102025/20/59/image_29102025_20_59_58_2875.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_08_3012.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_11_3689.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_14_2615.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_17_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516801","1391516791","1391516782","1391516719","1391516775","1391516756"],"photo_ids_order":["1391516719","1391516756","1391516775","1391516782","1391516791","1391516801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea458f683b66e1c66e56155f46fe26ea.jpg","text":"TemporaryFile(/tmp/multipartBody8725651931209102905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_21_00_17_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1490c3c8ec91c2a75dd9bd9b9f35bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3466301880668853480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_21_00_14_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc506a7e4c01c85d50ffbdbaf3d89f2a.jpg","text":"TemporaryFile(/tmp/multipartBody738996180487949585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_21_00_11_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d27adeeb1dda2ee70d4e253a0f5f27a.jpg","text":"TemporaryFile(/tmp/multipartBody46278332667370422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_20_59_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf69423b121d2e41da29eddccb1f1b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3542611740459360179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_21_00_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59e0a22a31d2629e4b8bb9700d5ae94d.jpg","text":"TemporaryFile(/tmp/multipartBody2776294082260914138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968766050,"filename":"image_29102025_20_59_58_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516775","file1":"1391516756","file0":"1391516719","file4":"1391516791","file5":"1391516801","file3":"1391516782"},"map_files_photo_id_array":[{"photo_id":"1391516801","filename":"file5"},{"photo_id":"1391516775","filename":"file2"},{"photo_id":"1391516791","filename":"file4"},{"photo_id":"1391516756","filename":"file1"},{"photo_id":"1391516719","filename":"file0"},{"photo_id":"1391516782","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516801":["hashtag1","hashtag2"]},{"1391516791":["hashtag1","hashtag2"]},{"1391516782":["hashtag1","hashtag2"]},{"1391516719":["hashtag1","hashtag2"]},{"1391516775":["hashtag1","hashtag2"]},{"1391516756":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516801, 1391516791, 1391516782, 1391516719, 1391516775, 1391516756)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.82342338562012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:46:02.389765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_23_2649.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_30_3691.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_32_2587.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_35_2620.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_41_2534.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_45_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_23_2649.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_30_3691.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_32_2587.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_35_2620.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_41_2534.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_45_3653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.086817502975464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:46:21.945852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_23_2649.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_30_3691.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_32_2587.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_35_2620.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_41_2534.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_45_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_23_2649.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_30_3691.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_32_2587.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_35_2620.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_41_2534.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_45_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516845","1391516859","1391516850","1391516838","1391516841","1391516855"],"photo_ids_order":["1391516838","1391516841","1391516845","1391516850","1391516855","1391516859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65862935f7d2f779b39a9abd366bdfce.jpg","text":"TemporaryFile(/tmp/multipartBody2303593958632601545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_32_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d29ff8cedf10ee2992888230775d0e12.jpg","text":"TemporaryFile(/tmp/multipartBody6771041878345934480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_45_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cec70bddcb3dc2b2f4bb75eb69853604.jpg","text":"TemporaryFile(/tmp/multipartBody2704017629534173492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_35_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac88ad9930be952e332017d76a7e9b44.jpg","text":"TemporaryFile(/tmp/multipartBody5819074254765927314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_23_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c483f6d232008f3faf725d5b079358e8.jpg","text":"TemporaryFile(/tmp/multipartBody2343717622138815658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_30_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c4209ca5ed28d27e4e332c790ba8c09.jpg","text":"TemporaryFile(/tmp/multipartBody7118249189918834024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968844532,"filename":"image_29102025_21_00_41_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516845","file1":"1391516841","file0":"1391516838","file4":"1391516855","file5":"1391516859","file3":"1391516850"},"map_files_photo_id_array":[{"photo_id":"1391516859","filename":"file5"},{"photo_id":"1391516845","filename":"file2"},{"photo_id":"1391516855","filename":"file4"},{"photo_id":"1391516841","filename":"file1"},{"photo_id":"1391516838","filename":"file0"},{"photo_id":"1391516850","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516845":["hashtag1","hashtag2"]},{"1391516859":["hashtag1","hashtag2"]},{"1391516850":["hashtag1","hashtag2"]},{"1391516838":["hashtag1","hashtag2"]},{"1391516841":["hashtag1","hashtag2"]},{"1391516855":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516845, 1391516859, 1391516850, 1391516838, 1391516841, 1391516855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82407307624817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:47:02.960542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_54_4388.jpg', '/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_56_1834.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_01_5248.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_03_1885.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_05_1575.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_08_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_54_4388.jpg
/home/pi/Desktop/images/29102025/21/00/image_29102025_21_00_56_1834.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_01_5248.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_03_1885.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_05_1575.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_08_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516872","1391516869","1391516885","1391516882","1391516876","1391516879"],"photo_ids_order":["1391516869","1391516872","1391516876","1391516879","1391516882","1391516885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d16667e1bdae979a9f7341d735d1cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4092152410737082999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_00_56_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3fc4c0b5c4e7fd1e5d8f8c75c83142d.jpg","text":"TemporaryFile(/tmp/multipartBody7081435398225282657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_00_54_4388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b735507a3571ae45d0e35cda9f8cf15.jpg","text":"TemporaryFile(/tmp/multipartBody6532308158852551879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_01_08_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cdba8ac40ddd4e74583009648a2444d.jpg","text":"TemporaryFile(/tmp/multipartBody6445101042320521924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_01_05_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/962dc2f85ce7a184b706f221c854a922.jpg","text":"TemporaryFile(/tmp/multipartBody3872345273896174134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_01_01_5248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7275b32d5c77e70acaa554498fee95f1.jpg","text":"TemporaryFile(/tmp/multipartBody7836691192526047083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968885228,"filename":"image_29102025_21_01_03_1885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516876","file1":"1391516872","file0":"1391516869","file4":"1391516882","file5":"1391516885","file3":"1391516879"},"map_files_photo_id_array":[{"photo_id":"1391516885","filename":"file5"},{"photo_id":"1391516876","filename":"file2"},{"photo_id":"1391516882","filename":"file4"},{"photo_id":"1391516872","filename":"file1"},{"photo_id":"1391516869","filename":"file0"},{"photo_id":"1391516879","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516872":["hashtag1","hashtag2"]},{"1391516869":["hashtag1","hashtag2"]},{"1391516885":["hashtag1","hashtag2"]},{"1391516882":["hashtag1","hashtag2"]},{"1391516876":["hashtag1","hashtag2"]},{"1391516879":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516872, 1391516869, 1391516885, 1391516882, 1391516876, 1391516879)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.57805585861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:48:02.813653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_11_3700.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_14_2714.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_17_2659.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_20_3641.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_23_2749.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_26_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_11_3700.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_14_2714.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_17_2659.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_20_3641.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_23_2749.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_26_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516918","1391516912","1391516915","1391516909","1391516911","1391516916"],"photo_ids_order":["1391516909","1391516911","1391516912","1391516915","1391516916","1391516918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d6300abdcd2658d20d6434f6fd61816.jpg","text":"TemporaryFile(/tmp/multipartBody7997654619727701827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_26_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/172b21fcd29069a0d0daf2eaaa332658.jpg","text":"TemporaryFile(/tmp/multipartBody7562764268861365965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_17_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ad6ae7b14a62efc984fb7bac2756ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6196079271884386299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_20_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ef3eb6483700527e537c9100c154533.jpg","text":"TemporaryFile(/tmp/multipartBody4884864535070258412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_11_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a95bb7f2f8fe39a80dd64e7f0197fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody5856402990124538896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_14_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f142bd9192a73ab43214b1a5ad418d65.jpg","text":"TemporaryFile(/tmp/multipartBody680151730131967173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968945005,"filename":"image_29102025_21_01_23_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516912","file1":"1391516911","file0":"1391516909","file4":"1391516916","file5":"1391516918","file3":"1391516915"},"map_files_photo_id_array":[{"photo_id":"1391516918","filename":"file5"},{"photo_id":"1391516912","filename":"file2"},{"photo_id":"1391516916","filename":"file4"},{"photo_id":"1391516911","filename":"file1"},{"photo_id":"1391516909","filename":"file0"},{"photo_id":"1391516915","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516918":["hashtag1","hashtag2"]},{"1391516912":["hashtag1","hashtag2"]},{"1391516915":["hashtag1","hashtag2"]},{"1391516909":["hashtag1","hashtag2"]},{"1391516911":["hashtag1","hashtag2"]},{"1391516916":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516918, 1391516912, 1391516915, 1391516909, 1391516911, 1391516916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9478759765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:48:42.391162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_29_3659.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_38_2905.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_44_3816.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_47_2571.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_50_2593.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_53_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_29_3659.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_38_2905.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_44_3816.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_47_2571.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_50_2593.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_53_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516945","1391516932","1391516941","1391516937","1391516946","1391516948"],"photo_ids_order":["1391516932","1391516937","1391516941","1391516945","1391516946","1391516948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa217c81c827f50859444fb5e024d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4457602768760455263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_47_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4d978fad5c7c1ede5e6e1c6c6ebf44e.jpg","text":"TemporaryFile(/tmp/multipartBody1160355193941541420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_29_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85ab4b332b3ef821052ba4a949d02758.jpg","text":"TemporaryFile(/tmp/multipartBody5066250597695295400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_44_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50d4e25f7a5ff039c77e96663bf68de4.jpg","text":"TemporaryFile(/tmp/multipartBody734122552304634470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_38_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02235042c92866a88d19eba4b6607dac.jpg","text":"TemporaryFile(/tmp/multipartBody1228773417111332710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_50_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfdd264bf4b9bb99115103980bf6dae5.jpg","text":"TemporaryFile(/tmp/multipartBody5352846865477248519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761968983548,"filename":"image_29102025_21_01_53_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516941","file1":"1391516937","file0":"1391516932","file4":"1391516946","file5":"1391516948","file3":"1391516945"},"map_files_photo_id_array":[{"photo_id":"1391516948","filename":"file5"},{"photo_id":"1391516941","filename":"file2"},{"photo_id":"1391516946","filename":"file4"},{"photo_id":"1391516937","filename":"file1"},{"photo_id":"1391516932","filename":"file0"},{"photo_id":"1391516945","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516945":["hashtag1","hashtag2"]},{"1391516932":["hashtag1","hashtag2"]},{"1391516941":["hashtag1","hashtag2"]},{"1391516937":["hashtag1","hashtag2"]},{"1391516946":["hashtag1","hashtag2"]},{"1391516948":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516945, 1391516932, 1391516941, 1391516937, 1391516946, 1391516948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01785206794739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:49:22.524759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_56_2903.jpg', '/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_59_2530.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_02_3712.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_05_2572.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_07_2562.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_11_3873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_56_2903.jpg
/home/pi/Desktop/images/29102025/21/01/image_29102025_21_01_59_2530.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_02_3712.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_05_2572.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_07_2562.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_11_3873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516977","1391516971","1391516961","1391516964","1391516967","1391516981"],"photo_ids_order":["1391516961","1391516964","1391516967","1391516971","1391516977","1391516981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85000b978e00bdf188f87af784e80627.jpg","text":"TemporaryFile(/tmp/multipartBody1306368373266414425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_02_07_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51e7866436aad935b12d2b726040d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody7835969042193281278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_02_05_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fefabb0ec4ed3f9bb675969dc296a0af.jpg","text":"TemporaryFile(/tmp/multipartBody5993165983045869233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_01_56_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fad3debacc9d26014b2c151e03dd3915.jpg","text":"TemporaryFile(/tmp/multipartBody8298443849704641307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_01_59_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/535f820c5cd04c06d4757e6c98289e36.jpg","text":"TemporaryFile(/tmp/multipartBody4365103113224987350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_02_02_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b77b52ccd2cea3fb62e8a4196ea4bea0.jpg","text":"TemporaryFile(/tmp/multipartBody6227980908183656663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969025345,"filename":"image_29102025_21_02_11_3873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516967","file1":"1391516964","file0":"1391516961","file4":"1391516977","file5":"1391516981","file3":"1391516971"},"map_files_photo_id_array":[{"photo_id":"1391516981","filename":"file5"},{"photo_id":"1391516967","filename":"file2"},{"photo_id":"1391516977","filename":"file4"},{"photo_id":"1391516964","filename":"file1"},{"photo_id":"1391516961","filename":"file0"},{"photo_id":"1391516971","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516977":["hashtag1","hashtag2"]},{"1391516971":["hashtag1","hashtag2"]},{"1391516961":["hashtag1","hashtag2"]},{"1391516964":["hashtag1","hashtag2"]},{"1391516967":["hashtag1","hashtag2"]},{"1391516981":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516977, 1391516971, 1391516961, 1391516964, 1391516967, 1391516981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.705358028411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:50:02.400126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_14_2732.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_17_2719.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_20_3573.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_23_2846.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_26_2731.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_29_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_14_2732.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_17_2719.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_20_3573.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_23_2846.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_26_2731.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_29_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391516995","1391517001","1391516997","1391516999","1391516990","1391516993"],"photo_ids_order":["1391516990","1391516993","1391516995","1391516997","1391516999","1391517001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5385ee9b8f7bbc10a51a8fa0470b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody4084907970522598799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_20_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99f65099c72259b4ab1b80c9c8431138.jpg","text":"TemporaryFile(/tmp/multipartBody7619748405486620968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_29_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9421003df60dbff7715f9a070feb3436.jpg","text":"TemporaryFile(/tmp/multipartBody7336005278230400724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_23_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a92c80f8da1489226fd412fad92bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6545564958162272607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_26_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f83361c317bd7cafd0d7f08bf4da950.jpg","text":"TemporaryFile(/tmp/multipartBody617859532211434377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_14_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/070df585604350c92d32bc1f375d560c.jpg","text":"TemporaryFile(/tmp/multipartBody6186334308303759889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969064673,"filename":"image_29102025_21_02_17_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391516995","file1":"1391516993","file0":"1391516990","file4":"1391516999","file5":"1391517001","file3":"1391516997"},"map_files_photo_id_array":[{"photo_id":"1391517001","filename":"file5"},{"photo_id":"1391516995","filename":"file2"},{"photo_id":"1391516999","filename":"file4"},{"photo_id":"1391516993","filename":"file1"},{"photo_id":"1391516990","filename":"file0"},{"photo_id":"1391516997","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391516995":["hashtag1","hashtag2"]},{"1391517001":["hashtag1","hashtag2"]},{"1391516997":["hashtag1","hashtag2"]},{"1391516999":["hashtag1","hashtag2"]},{"1391516990":["hashtag1","hashtag2"]},{"1391516993":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391516995, 1391517001, 1391516997, 1391516999, 1391516990, 1391516993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70592975616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:50:41.895184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_32_3651.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_35_2571.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_37_2623.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_41_3719.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_44_2844.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_47_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_32_3651.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_35_2571.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_37_2623.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_41_3719.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_44_2844.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_47_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517034","1391517025","1391517030","1391517012","1391517017","1391517032"],"photo_ids_order":["1391517012","1391517017","1391517025","1391517030","1391517032","1391517034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43fb5517e448380f82276b8b3e69bc95.jpg","text":"TemporaryFile(/tmp/multipartBody6768903716413176935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_47_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4369204fe481c56bf02f455cb243f903.jpg","text":"TemporaryFile(/tmp/multipartBody1980805068835702981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_37_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2acc330d8936c124153b014b3e1e6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1229192499189414016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_41_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac74af00cd50e036d149db529334f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8386852078339556925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_32_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87538fe90757058165529a47fe30a008.jpg","text":"TemporaryFile(/tmp/multipartBody8672370847422653233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_35_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbc1789070f125e86f56d5e89aa27cea.jpg","text":"TemporaryFile(/tmp/multipartBody8497971208184499024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969103098,"filename":"image_29102025_21_02_44_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517025","file1":"1391517017","file0":"1391517012","file4":"1391517032","file5":"1391517034","file3":"1391517030"},"map_files_photo_id_array":[{"photo_id":"1391517034","filename":"file5"},{"photo_id":"1391517025","filename":"file2"},{"photo_id":"1391517032","filename":"file4"},{"photo_id":"1391517017","filename":"file1"},{"photo_id":"1391517012","filename":"file0"},{"photo_id":"1391517030","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517034":["hashtag1","hashtag2"]},{"1391517025":["hashtag1","hashtag2"]},{"1391517030":["hashtag1","hashtag2"]},{"1391517012":["hashtag1","hashtag2"]},{"1391517017":["hashtag1","hashtag2"]},{"1391517032":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517034, 1391517025, 1391517030, 1391517012, 1391517017, 1391517032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.217121839523315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:51:22.023121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_50_2792.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_56_2568.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_59_2815.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_01_2716.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_05_3680.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_11_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_50_2792.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_56_2568.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_59_2815.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_01_2716.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_05_3680.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_11_2772.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.652029037475586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:51:42.126968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_50_2792.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_56_2568.jpg', '/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_59_2815.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_01_2716.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_05_3680.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_11_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_50_2792.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_56_2568.jpg
/home/pi/Desktop/images/29102025/21/02/image_29102025_21_02_59_2815.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_01_2716.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_05_3680.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_11_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517084","1391517066","1391517071","1391517074","1391517062","1391517056"],"photo_ids_order":["1391517056","1391517062","1391517066","1391517071","1391517074","1391517084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8fc9d327fdbdcfee58a118b98bc6445.jpg","text":"TemporaryFile(/tmp/multipartBody3595402899845614562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_03_11_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca6fd81abe098ac5777a74f88c8f977d.jpg","text":"TemporaryFile(/tmp/multipartBody2973754878090357302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_02_59_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6318563368cee247a1a3b38da946ef8e.jpg","text":"TemporaryFile(/tmp/multipartBody8340606320936041325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_03_01_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3ee849949c11a8915c9c52de41ab51a.jpg","text":"TemporaryFile(/tmp/multipartBody8827500698969657612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_03_05_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b559d15a1a004c87c6d8627cf09512a7.jpg","text":"TemporaryFile(/tmp/multipartBody5996312854166207081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_02_56_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b520a1e5c92c946ab546d1b4145cafe.jpg","text":"TemporaryFile(/tmp/multipartBody4781889414489808559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969163142,"filename":"image_29102025_21_02_50_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517066","file1":"1391517062","file0":"1391517056","file4":"1391517074","file5":"1391517084","file3":"1391517071"},"map_files_photo_id_array":[{"photo_id":"1391517084","filename":"file5"},{"photo_id":"1391517066","filename":"file2"},{"photo_id":"1391517074","filename":"file4"},{"photo_id":"1391517062","filename":"file1"},{"photo_id":"1391517056","filename":"file0"},{"photo_id":"1391517071","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517084":["hashtag1","hashtag2"]},{"1391517066":["hashtag1","hashtag2"]},{"1391517071":["hashtag1","hashtag2"]},{"1391517074":["hashtag1","hashtag2"]},{"1391517062":["hashtag1","hashtag2"]},{"1391517056":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517084, 1391517066, 1391517071, 1391517074, 1391517062, 1391517056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00408601760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:52:22.242205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_14_3585.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_17_2781.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_20_2666.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_22_2623.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_26_3705.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_29_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_14_3585.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_17_2781.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_20_2666.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_22_2623.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_26_3705.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_29_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517130","1391517112","1391517115","1391517124","1391517119","1391517110"],"photo_ids_order":["1391517110","1391517112","1391517115","1391517119","1391517124","1391517130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/370d340e3a23041ff4ea7731616c5489.jpg","text":"TemporaryFile(/tmp/multipartBody8336721502898568653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_29_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d21d9d28bca60878ad78c8a26a3b860a.jpg","text":"TemporaryFile(/tmp/multipartBody2044317487411553465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_17_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be15bdbd12c4809d8c4e2ac5a0a775ef.jpg","text":"TemporaryFile(/tmp/multipartBody8238179847273173260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_20_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12614cd7b8aef8f47d54be629c34cac7.jpg","text":"TemporaryFile(/tmp/multipartBody597564371831971896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_26_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c29ae19b3482884dd5cee7098d1c4a64.jpg","text":"TemporaryFile(/tmp/multipartBody2053325669610128198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_22_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdd3d4ab606efcaff812c1532938c9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7546527295492269488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969205063,"filename":"image_29102025_21_03_14_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517115","file1":"1391517112","file0":"1391517110","file4":"1391517124","file5":"1391517130","file3":"1391517119"},"map_files_photo_id_array":[{"photo_id":"1391517130","filename":"file5"},{"photo_id":"1391517115","filename":"file2"},{"photo_id":"1391517124","filename":"file4"},{"photo_id":"1391517112","filename":"file1"},{"photo_id":"1391517110","filename":"file0"},{"photo_id":"1391517119","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517130":["hashtag1","hashtag2"]},{"1391517112":["hashtag1","hashtag2"]},{"1391517115":["hashtag1","hashtag2"]},{"1391517124":["hashtag1","hashtag2"]},{"1391517119":["hashtag1","hashtag2"]},{"1391517110":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517130, 1391517112, 1391517115, 1391517124, 1391517119, 1391517110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55688714981079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:53:03.137544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_32_3631.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_35_2834.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_38_2716.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_40_2669.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_47_2636.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_50_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_32_3631.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_35_2834.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_38_2716.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_40_2669.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_47_2636.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_50_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517142","1391517141","1391517150","1391517144","1391517147","1391517143"],"photo_ids_order":["1391517141","1391517142","1391517143","1391517144","1391517147","1391517150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6fd9cd8896d43c76f943c53ffc489cd.jpg","text":"TemporaryFile(/tmp/multipartBody570043816783340111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_35_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef1ae3720bb3327737d454a10c1db0d0.jpg","text":"TemporaryFile(/tmp/multipartBody5551653171422303020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_32_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d41652a801e0794490e1f1735f35a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody6253827932939032532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_50_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ae479debde8fcccc6c39953414572e4.jpg","text":"TemporaryFile(/tmp/multipartBody5487506067117169549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32c3e4fb17a495611760b6e7598c2012.jpg","text":"TemporaryFile(/tmp/multipartBody7834844193882868542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_47_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97fe61bef9b6883ad5cbbe60145f8103.jpg","text":"TemporaryFile(/tmp/multipartBody3073599086358873323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969245388,"filename":"image_29102025_21_03_38_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517143","file1":"1391517142","file0":"1391517141","file4":"1391517147","file5":"1391517150","file3":"1391517144"},"map_files_photo_id_array":[{"photo_id":"1391517150","filename":"file5"},{"photo_id":"1391517143","filename":"file2"},{"photo_id":"1391517147","filename":"file4"},{"photo_id":"1391517142","filename":"file1"},{"photo_id":"1391517141","filename":"file0"},{"photo_id":"1391517144","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517142":["hashtag1","hashtag2"]},{"1391517141":["hashtag1","hashtag2"]},{"1391517150":["hashtag1","hashtag2"]},{"1391517144":["hashtag1","hashtag2"]},{"1391517147":["hashtag1","hashtag2"]},{"1391517143":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517142, 1391517141, 1391517150, 1391517144, 1391517147, 1391517143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12101173400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:53:42.468349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_53_2630.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_56_2906.jpg', '/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_58_2698.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_02_3606.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_05_2558.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_07_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_53_2630.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_56_2906.jpg
/home/pi/Desktop/images/29102025/21/03/image_29102025_21_03_58_2698.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_02_3606.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_05_2558.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_07_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517166","1391517174","1391517168","1391517170","1391517164","1391517161"],"photo_ids_order":["1391517161","1391517164","1391517166","1391517168","1391517170","1391517174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26134eb721deb98b0b3d24016faa31c1.jpg","text":"TemporaryFile(/tmp/multipartBody5890699909856986165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_03_58_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32298c4396b3438d83c5c614ed7158f7.jpg","text":"TemporaryFile(/tmp/multipartBody358875166830769673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_04_07_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4009358c03a501884b558c4f63102705.jpg","text":"TemporaryFile(/tmp/multipartBody3493771540780041306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_04_02_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/095a7a370d46ef295a6060d9e959dca9.jpg","text":"TemporaryFile(/tmp/multipartBody5743948203053808569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_04_05_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cbf4147fab6a7865f1fca4116301604.jpg","text":"TemporaryFile(/tmp/multipartBody7026740048288360140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_03_56_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2636a88954e73567d58cd04af721210.jpg","text":"TemporaryFile(/tmp/multipartBody481338489525518292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969283625,"filename":"image_29102025_21_03_53_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517166","file1":"1391517164","file0":"1391517161","file4":"1391517170","file5":"1391517174","file3":"1391517168"},"map_files_photo_id_array":[{"photo_id":"1391517174","filename":"file5"},{"photo_id":"1391517166","filename":"file2"},{"photo_id":"1391517170","filename":"file4"},{"photo_id":"1391517164","filename":"file1"},{"photo_id":"1391517161","filename":"file0"},{"photo_id":"1391517168","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517166":["hashtag1","hashtag2"]},{"1391517174":["hashtag1","hashtag2"]},{"1391517168":["hashtag1","hashtag2"]},{"1391517170":["hashtag1","hashtag2"]},{"1391517164":["hashtag1","hashtag2"]},{"1391517161":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517166, 1391517174, 1391517168, 1391517170, 1391517164, 1391517161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64393949508667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 04:54:22.580736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_10_2858.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_14_3708.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_17_2731.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_19_2628.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_23_3834.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_26_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_10_2858.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_14_3708.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_17_2731.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_19_2628.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_23_3834.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_26_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517211","1391517202","1391517195","1391517207","1391517191","1391517188"],"photo_ids_order":["1391517188","1391517191","1391517195","1391517202","1391517207","1391517211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de0647be75eed3c3e45586f9128cebd8.jpg","text":"TemporaryFile(/tmp/multipartBody8201069610558619801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_26_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/399bbcaf93499f04f63b82faa274ef30.jpg","text":"TemporaryFile(/tmp/multipartBody8891059009911610557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_19_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/613473b07b435ce65ba8f5bc9330557c.jpg","text":"TemporaryFile(/tmp/multipartBody2298321307512794988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_17_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f76f34426f8563f72fd56a4aa9a191b.jpg","text":"TemporaryFile(/tmp/multipartBody3045843804383425649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_23_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8bccf391ed589f55393d38307b0b516.jpg","text":"TemporaryFile(/tmp/multipartBody9000771078954119593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_14_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c641581e2b66f320c7ad8de0455d1f15.jpg","text":"TemporaryFile(/tmp/multipartBody4548309638961700804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969325306,"filename":"image_29102025_21_04_10_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517195","file1":"1391517191","file0":"1391517188","file4":"1391517207","file5":"1391517211","file3":"1391517202"},"map_files_photo_id_array":[{"photo_id":"1391517211","filename":"file5"},{"photo_id":"1391517195","filename":"file2"},{"photo_id":"1391517207","filename":"file4"},{"photo_id":"1391517191","filename":"file1"},{"photo_id":"1391517188","filename":"file0"},{"photo_id":"1391517202","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517211":["hashtag1","hashtag2"]},{"1391517202":["hashtag1","hashtag2"]},{"1391517195":["hashtag1","hashtag2"]},{"1391517207":["hashtag1","hashtag2"]},{"1391517191":["hashtag1","hashtag2"]},{"1391517188":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517211, 1391517202, 1391517195, 1391517207, 1391517191, 1391517188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42007493972778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:55:02.674366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_29_2828.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_32_2863.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_34_2675.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_37_2865.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_41_3590.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_43_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_29_2828.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_32_2863.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_34_2675.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_37_2865.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_41_3590.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_43_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517289","1391517283","1391517258","1391517266","1391517292","1391517286"],"photo_ids_order":["1391517258","1391517266","1391517283","1391517286","1391517289","1391517292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97a966361fe45a81365b076fb007aef0.jpg","text":"TemporaryFile(/tmp/multipartBody7099525410698107423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_41_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac16b7bbb3dcb3cecc67b49cc760ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody9171711968655578088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_34_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ad13abbbaae4491d1ac54327699d14e.jpg","text":"TemporaryFile(/tmp/multipartBody5471904705557789361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_29_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25c125a0c3fdf11fd88e90b5a5cd2596.jpg","text":"TemporaryFile(/tmp/multipartBody2439278151857946015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_32_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce35d0d4690781b1a7e0b189c63dff04.jpg","text":"TemporaryFile(/tmp/multipartBody8748391107102320799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_43_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a0ed6dc8ac0c074913b967cff112b06.jpg","text":"TemporaryFile(/tmp/multipartBody8107151634230041910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969364902,"filename":"image_29102025_21_04_37_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517283","file1":"1391517266","file0":"1391517258","file4":"1391517289","file5":"1391517292","file3":"1391517286"},"map_files_photo_id_array":[{"photo_id":"1391517292","filename":"file5"},{"photo_id":"1391517283","filename":"file2"},{"photo_id":"1391517289","filename":"file4"},{"photo_id":"1391517266","filename":"file1"},{"photo_id":"1391517258","filename":"file0"},{"photo_id":"1391517286","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517289":["hashtag1","hashtag2"]},{"1391517283":["hashtag1","hashtag2"]},{"1391517258":["hashtag1","hashtag2"]},{"1391517266":["hashtag1","hashtag2"]},{"1391517292":["hashtag1","hashtag2"]},{"1391517286":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517289, 1391517283, 1391517258, 1391517266, 1391517292, 1391517286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87902855873108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:56:02.469625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_46_2812.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_50_3856.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_53_2678.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_55_2714.jpg', '/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_58_2687.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_02_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_46_2812.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_50_3856.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_53_2678.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_55_2714.jpg
/home/pi/Desktop/images/29102025/21/04/image_29102025_21_04_58_2687.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_02_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517325","1391517333","1391517336","1391517321","1391517330","1391517327"],"photo_ids_order":["1391517321","1391517325","1391517327","1391517330","1391517333","1391517336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4bd4e098589cdb4c25542366eeb4a35.jpg","text":"TemporaryFile(/tmp/multipartBody3786613001210578274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_04_50_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a46c71a2db06a03ac9826a0589122ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3350223462349365847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_04_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2593a2c61f0c9b40d6105cea1d155a98.jpg","text":"TemporaryFile(/tmp/multipartBody3644536821006643912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_05_02_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a10dfd6afdc0c9ef3c40e486c1fea6c7.jpg","text":"TemporaryFile(/tmp/multipartBody959689285166773813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_04_46_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30a7d0b89b6e7754444bdcf4cd4694d6.jpg","text":"TemporaryFile(/tmp/multipartBody2123930969508633078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_04_55_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad24b82fb0e7b6a80d21cb9141c14bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6963104283191824679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969424630,"filename":"image_29102025_21_04_53_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517327","file1":"1391517325","file0":"1391517321","file4":"1391517333","file5":"1391517336","file3":"1391517330"},"map_files_photo_id_array":[{"photo_id":"1391517336","filename":"file5"},{"photo_id":"1391517327","filename":"file2"},{"photo_id":"1391517333","filename":"file4"},{"photo_id":"1391517325","filename":"file1"},{"photo_id":"1391517321","filename":"file0"},{"photo_id":"1391517330","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517325":["hashtag1","hashtag2"]},{"1391517333":["hashtag1","hashtag2"]},{"1391517336":["hashtag1","hashtag2"]},{"1391517321":["hashtag1","hashtag2"]},{"1391517330":["hashtag1","hashtag2"]},{"1391517327":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517325, 1391517333, 1391517336, 1391517321, 1391517330, 1391517327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.649430990219116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:57:02.927877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_04_2581.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_08_3636.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_11_2850.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_14_2693.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_16_2661.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_20_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_04_2581.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_08_3636.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_11_2850.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_14_2693.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_16_2661.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_20_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517376","1391517378","1391517389","1391517380","1391517383","1391517386"],"photo_ids_order":["1391517376","1391517378","1391517380","1391517383","1391517386","1391517389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bb34d6c262fd7d3b1871cffa6453356.jpg","text":"TemporaryFile(/tmp/multipartBody7742785540431014860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_04_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c059b06b87f9c2eff596adff2eb44298.jpg","text":"TemporaryFile(/tmp/multipartBody1730088011783712919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_08_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5828445aff595013e12c90a830609cef.jpg","text":"TemporaryFile(/tmp/multipartBody5207644500450193121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_20_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dd7b2b6e20ea6159898d3bb3673b69d.jpg","text":"TemporaryFile(/tmp/multipartBody8633541072726107338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_11_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1807e2830e230c3b25adff89cc8b84d.jpg","text":"TemporaryFile(/tmp/multipartBody9093772856304506271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_14_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68d43b139e86a01f137701b59192f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody7821287023962837490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969485191,"filename":"image_29102025_21_05_16_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517380","file1":"1391517378","file0":"1391517376","file4":"1391517386","file5":"1391517389","file3":"1391517383"},"map_files_photo_id_array":[{"photo_id":"1391517389","filename":"file5"},{"photo_id":"1391517380","filename":"file2"},{"photo_id":"1391517386","filename":"file4"},{"photo_id":"1391517378","filename":"file1"},{"photo_id":"1391517376","filename":"file0"},{"photo_id":"1391517383","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517376":["hashtag1","hashtag2"]},{"1391517378":["hashtag1","hashtag2"]},{"1391517389":["hashtag1","hashtag2"]},{"1391517380":["hashtag1","hashtag2"]},{"1391517383":["hashtag1","hashtag2"]},{"1391517386":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517376, 1391517378, 1391517389, 1391517380, 1391517383, 1391517386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07036352157593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 04:57:42.289992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_23_2642.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_25_2873.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_28_2716.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_34_2637.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_37_2800.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_41_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_23_2642.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_25_2873.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_28_2716.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_34_2637.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_37_2800.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_41_3591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517397","1391517495","1391517406","1391517456","1391517413","1391517401"],"photo_ids_order":["1391517397","1391517401","1391517406","1391517413","1391517456","1391517495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39715120567ed07fbeb2d0f7e621d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3274115193487313247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_23_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/434f4af8b4739a97d33ef9f87bf1939a.jpg","text":"TemporaryFile(/tmp/multipartBody4577145748596643434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_41_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95d7fffcdb6bfd730316c4bf6d5f8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1551938302676734421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cef9e1d8ee3f9d0e7cb726098fe4dd23.jpg","text":"TemporaryFile(/tmp/multipartBody8268248715275262896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_37_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8115cd9ea6370871c0ff00e96681da88.jpg","text":"TemporaryFile(/tmp/multipartBody6106028534762693466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_34_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e8bcd719800aef8d99455623d4ab35c.jpg","text":"TemporaryFile(/tmp/multipartBody881551587309860644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969523500,"filename":"image_29102025_21_05_25_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517406","file1":"1391517401","file0":"1391517397","file4":"1391517456","file5":"1391517495","file3":"1391517413"},"map_files_photo_id_array":[{"photo_id":"1391517495","filename":"file5"},{"photo_id":"1391517406","filename":"file2"},{"photo_id":"1391517456","filename":"file4"},{"photo_id":"1391517401","filename":"file1"},{"photo_id":"1391517397","filename":"file0"},{"photo_id":"1391517413","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517397":["hashtag1","hashtag2"]},{"1391517495":["hashtag1","hashtag2"]},{"1391517406":["hashtag1","hashtag2"]},{"1391517456":["hashtag1","hashtag2"]},{"1391517413":["hashtag1","hashtag2"]},{"1391517401":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517397, 1391517495, 1391517406, 1391517456, 1391517413, 1391517401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98029541969299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 04:59:03.622701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_44_2819.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_46_2665.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_50_3615.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_53_2696.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_55_2886.jpg', '/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_58_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_44_2819.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_46_2665.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_50_3615.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_53_2696.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_55_2886.jpg
/home/pi/Desktop/images/29102025/21/05/image_29102025_21_05_58_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517795","1391517783","1391517759","1391517807","1391517815","1391517812"],"photo_ids_order":["1391517759","1391517783","1391517795","1391517807","1391517812","1391517815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ab1d52147ae36b392435aa7672229dd.jpg","text":"TemporaryFile(/tmp/multipartBody3508589817537267513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_50_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c468d721f315dd8b68ac04715142481.jpg","text":"TemporaryFile(/tmp/multipartBody2094833118340543899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_46_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2105f5fc0a591f0e88981b0556029bf.jpg","text":"TemporaryFile(/tmp/multipartBody5625135730077312826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_44_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1866d4341d387d98de565aaa8040d71.jpg","text":"TemporaryFile(/tmp/multipartBody7944109854640029239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_53_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc46bc6584b611e68dfa7ca022797a31.jpg","text":"TemporaryFile(/tmp/multipartBody9127662173012218859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_58_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2872ffaa7b6e3a59d9db6d70d2936fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4446732330930605565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969606048,"filename":"image_29102025_21_05_55_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517795","file1":"1391517783","file0":"1391517759","file4":"1391517812","file5":"1391517815","file3":"1391517807"},"map_files_photo_id_array":[{"photo_id":"1391517815","filename":"file5"},{"photo_id":"1391517795","filename":"file2"},{"photo_id":"1391517812","filename":"file4"},{"photo_id":"1391517783","filename":"file1"},{"photo_id":"1391517759","filename":"file0"},{"photo_id":"1391517807","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517795":["hashtag1","hashtag2"]},{"1391517783":["hashtag1","hashtag2"]},{"1391517759":["hashtag1","hashtag2"]},{"1391517807":["hashtag1","hashtag2"]},{"1391517815":["hashtag1","hashtag2"]},{"1391517812":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517795, 1391517783, 1391517759, 1391517807, 1391517815, 1391517812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07916808128357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:00:02.337105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_02_3698.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_05_2694.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_11_3843.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_14_2626.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_16_2627.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_20_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_02_3698.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_05_2694.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_11_3843.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_14_2626.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_16_2627.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_20_3719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391517856","1391517850","1391517844","1391517853","1391517847","1391517848"],"photo_ids_order":["1391517844","1391517847","1391517848","1391517850","1391517853","1391517856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e884994477b109acbb2612ba994e351.jpg","text":"TemporaryFile(/tmp/multipartBody5879736620472923118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_20_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a448168b1c8b8f58ca7bee74d9a998b.jpg","text":"TemporaryFile(/tmp/multipartBody7123100682569855292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_14_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cc7b5def4cf0372c8118d705c612286.jpg","text":"TemporaryFile(/tmp/multipartBody7224209648761323861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_02_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e729ab3653f7c9ce41fc055e45528e79.jpg","text":"TemporaryFile(/tmp/multipartBody8068217426695155308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_16_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2042998b38c2602a1fc44f548d4f21b4.jpg","text":"TemporaryFile(/tmp/multipartBody5949434488372721847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_05_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/302a9eebac2aa04c84e40d0f164b897f.jpg","text":"TemporaryFile(/tmp/multipartBody4753084142129302182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969664540,"filename":"image_29102025_21_06_11_3843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391517848","file1":"1391517847","file0":"1391517844","file4":"1391517853","file5":"1391517856","file3":"1391517850"},"map_files_photo_id_array":[{"photo_id":"1391517856","filename":"file5"},{"photo_id":"1391517848","filename":"file2"},{"photo_id":"1391517853","filename":"file4"},{"photo_id":"1391517847","filename":"file1"},{"photo_id":"1391517844","filename":"file0"},{"photo_id":"1391517850","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391517856":["hashtag1","hashtag2"]},{"1391517850":["hashtag1","hashtag2"]},{"1391517844":["hashtag1","hashtag2"]},{"1391517853":["hashtag1","hashtag2"]},{"1391517847":["hashtag1","hashtag2"]},{"1391517848":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391517856, 1391517850, 1391517844, 1391517853, 1391517847, 1391517848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41396760940552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:01:02.609786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_29_3752.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_31_2595.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_34_2604.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_38_3565.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_40_2522.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_44_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_29_3752.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_31_2595.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_34_2604.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_38_3565.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_40_2522.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_44_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391518264","1391518187","1391518361","1391518145","1391518226","1391518301"],"photo_ids_order":["1391518145","1391518187","1391518226","1391518264","1391518301","1391518361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fe096d7a2333d04a02f39339bec770d.jpg","text":"TemporaryFile(/tmp/multipartBody732196402507139725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_38_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dd4a3e3d36b4e6bab54e59d4910c942.jpg","text":"TemporaryFile(/tmp/multipartBody6995574895272401106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_31_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/705f54be31f82cf6fd963ae4c65ad8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7917762521665055742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_44_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1effd052690461f3cdafa05487effe1c.jpg","text":"TemporaryFile(/tmp/multipartBody3713291374833839790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_29_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ddc20ac750fcc6ff94b9807b1433550.jpg","text":"TemporaryFile(/tmp/multipartBody4313093627767463419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_34_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8ec0242d23a87e87b31bed11708f5ce.jpg","text":"TemporaryFile(/tmp/multipartBody2519373457773507382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969724951,"filename":"image_29102025_21_06_40_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391518226","file1":"1391518187","file0":"1391518145","file4":"1391518301","file5":"1391518361","file3":"1391518264"},"map_files_photo_id_array":[{"photo_id":"1391518361","filename":"file5"},{"photo_id":"1391518226","filename":"file2"},{"photo_id":"1391518301","filename":"file4"},{"photo_id":"1391518187","filename":"file1"},{"photo_id":"1391518145","filename":"file0"},{"photo_id":"1391518264","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391518264":["hashtag1","hashtag2"]},{"1391518187":["hashtag1","hashtag2"]},{"1391518361":["hashtag1","hashtag2"]},{"1391518145":["hashtag1","hashtag2"]},{"1391518226":["hashtag1","hashtag2"]},{"1391518301":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391518264, 1391518187, 1391518361, 1391518145, 1391518226, 1391518301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39371085166931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:01:41.968950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_47_2684.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_49_2778.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_56_3742.jpg', '/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_59_2729.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_01_2582.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_05_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_47_2684.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_49_2778.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_56_3742.jpg
/home/pi/Desktop/images/29102025/21/06/image_29102025_21_06_59_2729.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_01_2582.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_05_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391518945","1391518717","1391518991","1391518888","1391518798","1391518630"],"photo_ids_order":["1391518630","1391518717","1391518798","1391518888","1391518945","1391518991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f9ab6c4f708d56753c0994b6319aae2.jpg","text":"TemporaryFile(/tmp/multipartBody1437973550911700892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_07_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ee3999f5288b07e1371f5766dd294d4.jpg","text":"TemporaryFile(/tmp/multipartBody8296418443929584750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_06_49_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a87dfc067f617a07a6ddf6b60bb86841.jpg","text":"TemporaryFile(/tmp/multipartBody4534076348871151690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_07_05_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7107ac67166d5ddb3a631989d0247d13.jpg","text":"TemporaryFile(/tmp/multipartBody5969225632526103205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_06_59_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f96adaa84ea61e5c32e4330c558a7588.jpg","text":"TemporaryFile(/tmp/multipartBody4293965193802038853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_06_56_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/996eca75e7ce14029da4a74f3a140f83.jpg","text":"TemporaryFile(/tmp/multipartBody100799976562087033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969763155,"filename":"image_29102025_21_06_47_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391518798","file1":"1391518717","file0":"1391518630","file4":"1391518945","file5":"1391518991","file3":"1391518888"},"map_files_photo_id_array":[{"photo_id":"1391518991","filename":"file5"},{"photo_id":"1391518798","filename":"file2"},{"photo_id":"1391518945","filename":"file4"},{"photo_id":"1391518717","filename":"file1"},{"photo_id":"1391518630","filename":"file0"},{"photo_id":"1391518888","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391518945":["hashtag1","hashtag2"]},{"1391518717":["hashtag1","hashtag2"]},{"1391518991":["hashtag1","hashtag2"]},{"1391518888":["hashtag1","hashtag2"]},{"1391518798":["hashtag1","hashtag2"]},{"1391518630":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391518945, 1391518717, 1391518991, 1391518888, 1391518798, 1391518630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.743112087249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:02:22.174515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_08_2678.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_10_2624.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_22_2754.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_26_3664.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_31_2600.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_38_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_08_2678.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_10_2624.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_22_2754.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_26_3664.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_31_2600.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_38_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391519457","1391519343","1391519396","1391519540","1391519623","1391519302"],"photo_ids_order":["1391519302","1391519343","1391519396","1391519457","1391519540","1391519623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00b56c45acc2a246975eed9726907ba2.jpg","text":"TemporaryFile(/tmp/multipartBody9001048451190455692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_26_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71b341de85df3bff27581c3a67d4b997.jpg","text":"TemporaryFile(/tmp/multipartBody4407244403440019427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_10_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40b32006ece09209322bc716fd0ebef4.jpg","text":"TemporaryFile(/tmp/multipartBody1731843516844090830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_22_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4086ff609f3543f2cf3b08b463a8749f.jpg","text":"TemporaryFile(/tmp/multipartBody1931728870178789078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_31_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83d6a081559f27d67ba55fae1947d784.jpg","text":"TemporaryFile(/tmp/multipartBody8531066524944250483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_38_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f10ae9b1f110b3fd6e02cc7b4608c931.jpg","text":"TemporaryFile(/tmp/multipartBody4626434086063217647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969804902,"filename":"image_29102025_21_07_08_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391519396","file1":"1391519343","file0":"1391519302","file4":"1391519540","file5":"1391519623","file3":"1391519457"},"map_files_photo_id_array":[{"photo_id":"1391519623","filename":"file5"},{"photo_id":"1391519396","filename":"file2"},{"photo_id":"1391519540","filename":"file4"},{"photo_id":"1391519343","filename":"file1"},{"photo_id":"1391519302","filename":"file0"},{"photo_id":"1391519457","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391519457":["hashtag1","hashtag2"]},{"1391519343":["hashtag1","hashtag2"]},{"1391519396":["hashtag1","hashtag2"]},{"1391519540":["hashtag1","hashtag2"]},{"1391519623":["hashtag1","hashtag2"]},{"1391519302":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391519457, 1391519343, 1391519396, 1391519540, 1391519623, 1391519302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.901287317276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:03:22.316831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_40_2625.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_43_2890.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_47_3623.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_52_2820.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_55_2707.jpg', '/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_59_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_40_2625.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_43_2890.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_47_3623.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_52_2820.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_55_2707.jpg
/home/pi/Desktop/images/29102025/21/07/image_29102025_21_07_59_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391520381","1391520339","1391520170","1391520251","1391520292","1391520212"],"photo_ids_order":["1391520170","1391520212","1391520251","1391520292","1391520339","1391520381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffbc52c9bb65b61ff579290806f03d92.jpg","text":"TemporaryFile(/tmp/multipartBody6137854881456546327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_59_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4c5b8d5a446faa7c357312b50fefdd0.jpg","text":"TemporaryFile(/tmp/multipartBody8669907212081340401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_55_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da5ca0b1d19e7f02edd64303bcf36e09.jpg","text":"TemporaryFile(/tmp/multipartBody1109661099823793406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_40_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef7143bf9bb3f1135525f052549b6da6.jpg","text":"TemporaryFile(/tmp/multipartBody4707654760358309776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_47_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f2d932b0d3a68aa5fef263b16f68645.jpg","text":"TemporaryFile(/tmp/multipartBody8275254582921930448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_52_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a4506218b3f2df4576f5c0bd3543e75.jpg","text":"TemporaryFile(/tmp/multipartBody6489617605312779680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969864702,"filename":"image_29102025_21_07_43_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391520251","file1":"1391520212","file0":"1391520170","file4":"1391520339","file5":"1391520381","file3":"1391520292"},"map_files_photo_id_array":[{"photo_id":"1391520381","filename":"file5"},{"photo_id":"1391520251","filename":"file2"},{"photo_id":"1391520339","filename":"file4"},{"photo_id":"1391520212","filename":"file1"},{"photo_id":"1391520170","filename":"file0"},{"photo_id":"1391520292","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391520381":["hashtag1","hashtag2"]},{"1391520339":["hashtag1","hashtag2"]},{"1391520170":["hashtag1","hashtag2"]},{"1391520251":["hashtag1","hashtag2"]},{"1391520292":["hashtag1","hashtag2"]},{"1391520212":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391520381, 1391520339, 1391520170, 1391520251, 1391520292, 1391520212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.148571491241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:04:02.517983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_01_2706.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_04_2646.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_08_3687.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_10_2627.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_13_2610.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_19_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_01_2706.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_04_2646.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_08_3687.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_10_2627.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_13_2610.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_19_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391520523","1391520511","1391520518","1391520521","1391520515","1391520520"],"photo_ids_order":["1391520511","1391520515","1391520518","1391520520","1391520521","1391520523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfc6c9f13301f756892eae8acb58dac3.jpg","text":"TemporaryFile(/tmp/multipartBody1518543441171665583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6bc02e4c82912bdae910824ba36a9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2123985360452744773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_01_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65903ab98942aa9634ce03911dcc0380.jpg","text":"TemporaryFile(/tmp/multipartBody5879336468938603643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_08_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4b06147ea21b0819a8f75b3571895cc.jpg","text":"TemporaryFile(/tmp/multipartBody5438643620413928167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45c99470d615ae476c0f096204fa7c25.jpg","text":"TemporaryFile(/tmp/multipartBody6507551846227760954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_04_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a9b76f12e5e6e2d7fa519eeaa96c9a3.jpg","text":"TemporaryFile(/tmp/multipartBody3742178229966761527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969904796,"filename":"image_29102025_21_08_10_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391520518","file1":"1391520515","file0":"1391520511","file4":"1391520521","file5":"1391520523","file3":"1391520520"},"map_files_photo_id_array":[{"photo_id":"1391520523","filename":"file5"},{"photo_id":"1391520518","filename":"file2"},{"photo_id":"1391520521","filename":"file4"},{"photo_id":"1391520515","filename":"file1"},{"photo_id":"1391520511","filename":"file0"},{"photo_id":"1391520520","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391520523":["hashtag1","hashtag2"]},{"1391520511":["hashtag1","hashtag2"]},{"1391520518":["hashtag1","hashtag2"]},{"1391520521":["hashtag1","hashtag2"]},{"1391520515":["hashtag1","hashtag2"]},{"1391520520":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391520523, 1391520511, 1391520518, 1391520521, 1391520515, 1391520520)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.647448778152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:05:02.693953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_26_3687.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_28_2616.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_31_2740.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_38_3682.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_40_2621.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_46_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_26_3687.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_28_2616.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_31_2740.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_38_3682.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_40_2621.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_46_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391520550","1391520560","1391520563","1391520545","1391520553","1391520556"],"photo_ids_order":["1391520545","1391520550","1391520553","1391520556","1391520560","1391520563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea006fff3e04628594a5e211845afb78.jpg","text":"TemporaryFile(/tmp/multipartBody3356095604911956657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_28_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b6ad1d387430730095d06a2c345ead9.jpg","text":"TemporaryFile(/tmp/multipartBody136611550265755779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f835a869cdf8d06dca103aa7d6ae0580.jpg","text":"TemporaryFile(/tmp/multipartBody1798108284903356990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_46_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b224dc28d11079158cd4daff3d608cb.jpg","text":"TemporaryFile(/tmp/multipartBody8235875533280119811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_26_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22b7950304e0764704dec0d71f3a74e8.jpg","text":"TemporaryFile(/tmp/multipartBody1989943146632850854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_31_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dd59d0b2bdfeaaee9a866a6c698ea87.jpg","text":"TemporaryFile(/tmp/multipartBody2436090057688946782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761969965031,"filename":"image_29102025_21_08_38_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391520553","file1":"1391520550","file0":"1391520545","file4":"1391520560","file5":"1391520563","file3":"1391520556"},"map_files_photo_id_array":[{"photo_id":"1391520563","filename":"file5"},{"photo_id":"1391520553","filename":"file2"},{"photo_id":"1391520560","filename":"file4"},{"photo_id":"1391520550","filename":"file1"},{"photo_id":"1391520545","filename":"file0"},{"photo_id":"1391520556","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391520550":["hashtag1","hashtag2"]},{"1391520560":["hashtag1","hashtag2"]},{"1391520563":["hashtag1","hashtag2"]},{"1391520545":["hashtag1","hashtag2"]},{"1391520553":["hashtag1","hashtag2"]},{"1391520556":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391520550, 1391520560, 1391520563, 1391520545, 1391520553, 1391520556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52405500411987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:05:41.992292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_49_2650.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_52_2635.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_55_3683.jpg', '/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_58_2773.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_10_2596.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_14_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_49_2650.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_52_2635.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_55_3683.jpg
/home/pi/Desktop/images/29102025/21/08/image_29102025_21_08_58_2773.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_10_2596.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_14_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391520823","1391520786","1391520703","1391520657","1391520744","1391520611"],"photo_ids_order":["1391520611","1391520657","1391520703","1391520744","1391520786","1391520823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3649ef89b39ae69846c259cd82f44477.jpg","text":"TemporaryFile(/tmp/multipartBody8592475241385111306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_09_14_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b255daebcb4e592cc0d94c35b66f5e45.jpg","text":"TemporaryFile(/tmp/multipartBody8231409516510497627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_09_10_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c52bdbf24c4ad5ac5a4d6865a6751c8a.jpg","text":"TemporaryFile(/tmp/multipartBody273846870922635801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_08_55_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f2b4fafceda1dc8e86a85c9f00548b5.jpg","text":"TemporaryFile(/tmp/multipartBody3979177725267714073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_08_52_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22b961e408d9ee762a0016d9bc39effc.jpg","text":"TemporaryFile(/tmp/multipartBody4949633223018438886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_08_58_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61df6a8359209ec1da862ddef02fc083.jpg","text":"TemporaryFile(/tmp/multipartBody8331064648506912505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970003194,"filename":"image_29102025_21_08_49_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391520703","file1":"1391520657","file0":"1391520611","file4":"1391520786","file5":"1391520823","file3":"1391520744"},"map_files_photo_id_array":[{"photo_id":"1391520823","filename":"file5"},{"photo_id":"1391520703","filename":"file2"},{"photo_id":"1391520786","filename":"file4"},{"photo_id":"1391520657","filename":"file1"},{"photo_id":"1391520611","filename":"file0"},{"photo_id":"1391520744","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391520823":["hashtag1","hashtag2"]},{"1391520786":["hashtag1","hashtag2"]},{"1391520703":["hashtag1","hashtag2"]},{"1391520657":["hashtag1","hashtag2"]},{"1391520744":["hashtag1","hashtag2"]},{"1391520611":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391520823, 1391520786, 1391520703, 1391520657, 1391520744, 1391520611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18172216415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:06:22.078809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_16_2562.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_19_2640.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_22_3603.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_25_2647.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_28_2722.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_31_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_16_2562.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_19_2640.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_22_3603.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_25_2647.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_28_2722.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_31_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521173","1391521058","1391521106","1391521180","1391521159","1391521015"],"photo_ids_order":["1391521015","1391521058","1391521106","1391521159","1391521173","1391521180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c39f726f9d221158ac2d9ff57787684.jpg","text":"TemporaryFile(/tmp/multipartBody8177038710625695465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_28_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2244ed1021184f0095c50439bbd2e224.jpg","text":"TemporaryFile(/tmp/multipartBody2086230380373403268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_19_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14f8b07aa9f945372724df8c26632438.jpg","text":"TemporaryFile(/tmp/multipartBody4135284377057187240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_22_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75b5f97b17e645a3b881ff2b7b8e608f.jpg","text":"TemporaryFile(/tmp/multipartBody1196916165176913309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_31_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c4e9a9205c0321bdac2dc2c33c7e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody4852967283611266318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/086f4929df1e4276c49082becf6b2b01.jpg","text":"TemporaryFile(/tmp/multipartBody4639573366793715541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970044805,"filename":"image_29102025_21_09_16_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521106","file1":"1391521058","file0":"1391521015","file4":"1391521173","file5":"1391521180","file3":"1391521159"},"map_files_photo_id_array":[{"photo_id":"1391521180","filename":"file5"},{"photo_id":"1391521106","filename":"file2"},{"photo_id":"1391521173","filename":"file4"},{"photo_id":"1391521058","filename":"file1"},{"photo_id":"1391521015","filename":"file0"},{"photo_id":"1391521159","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521173":["hashtag1","hashtag2"]},{"1391521058":["hashtag1","hashtag2"]},{"1391521106":["hashtag1","hashtag2"]},{"1391521180":["hashtag1","hashtag2"]},{"1391521159":["hashtag1","hashtag2"]},{"1391521015":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521173, 1391521058, 1391521106, 1391521180, 1391521159, 1391521015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4904203414917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:07:03.055147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_34_2558.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_38_3646.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_41_2886.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_43_2590.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_46_2727.jpg', '/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_55_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_34_2558.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_38_3646.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_41_2886.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_43_2590.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_46_2727.jpg
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_55_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521278","1391521353","1391521347","1391521320","1391521376","1391521345"],"photo_ids_order":["1391521278","1391521320","1391521345","1391521347","1391521353","1391521376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18ba47c635f07c61f4440b32801a160e.jpg","text":"TemporaryFile(/tmp/multipartBody13333999836304513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_34_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a89cdb636f7babca4d0d2c1a8d97b05.jpg","text":"TemporaryFile(/tmp/multipartBody8476190912040745142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_46_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/195d48d9cd04d0925e41ef6a800bebaa.jpg","text":"TemporaryFile(/tmp/multipartBody4639328457498904367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_43_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31481beb728d607b21b38b095ca8dd56.jpg","text":"TemporaryFile(/tmp/multipartBody2584983435176186975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_38_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2046ee79803bea903a24504f31fd3b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3453904561902453469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_55_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13334368289bd7fa608c04d2c2f9c75a.jpg","text":"TemporaryFile(/tmp/multipartBody4412666697464115091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970085273,"filename":"image_29102025_21_09_41_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521345","file1":"1391521320","file0":"1391521278","file4":"1391521353","file5":"1391521376","file3":"1391521347"},"map_files_photo_id_array":[{"photo_id":"1391521376","filename":"file5"},{"photo_id":"1391521345","filename":"file2"},{"photo_id":"1391521353","filename":"file4"},{"photo_id":"1391521320","filename":"file1"},{"photo_id":"1391521278","filename":"file0"},{"photo_id":"1391521347","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521278":["hashtag1","hashtag2"]},{"1391521353":["hashtag1","hashtag2"]},{"1391521347":["hashtag1","hashtag2"]},{"1391521320":["hashtag1","hashtag2"]},{"1391521376":["hashtag1","hashtag2"]},{"1391521345":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521278, 1391521353, 1391521347, 1391521320, 1391521376, 1391521345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.083396434783936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:07:42.240915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_59_3721.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_02_2917.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_04_2612.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_10_3612.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_13_3026.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_16_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_59_3721.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_02_2917.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_04_2612.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_10_3612.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_13_3026.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_16_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0641651153564453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:08:02.827564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_59_3721.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_02_2917.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_04_2612.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_10_3612.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_13_3026.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_16_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/09/image_29102025_21_09_59_3721.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_02_2917.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_04_2612.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_10_3612.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_13_3026.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_16_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521536","1391521539","1391521541","1391521532","1391521543","1391521528"],"photo_ids_order":["1391521528","1391521532","1391521536","1391521539","1391521541","1391521543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3dc35aa1d07a7b3a2ccbc42889b71d5.jpg","text":"TemporaryFile(/tmp/multipartBody8842578527197899491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_10_04_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f36c8cba42763fa7e45309adc63f93cb.jpg","text":"TemporaryFile(/tmp/multipartBody7744367929731682915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_10_10_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/977671987506bf3e8fae79d11e3ddaa6.jpg","text":"TemporaryFile(/tmp/multipartBody1584456497222107143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_10_13_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6eee525f4d9bf70e19d09c7185eb611a.jpg","text":"TemporaryFile(/tmp/multipartBody1674059606430554961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_10_02_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e70180b2dc628dce26c24494859d9fc5.jpg","text":"TemporaryFile(/tmp/multipartBody9133862447990110935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_10_16_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8916f579ba946962a803ed47f86d71d.jpg","text":"TemporaryFile(/tmp/multipartBody3299217016328134138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970144853,"filename":"image_29102025_21_09_59_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521536","file1":"1391521532","file0":"1391521528","file4":"1391521541","file5":"1391521543","file3":"1391521539"},"map_files_photo_id_array":[{"photo_id":"1391521543","filename":"file5"},{"photo_id":"1391521536","filename":"file2"},{"photo_id":"1391521541","filename":"file4"},{"photo_id":"1391521532","filename":"file1"},{"photo_id":"1391521528","filename":"file0"},{"photo_id":"1391521539","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521536":["hashtag1","hashtag2"]},{"1391521539":["hashtag1","hashtag2"]},{"1391521541":["hashtag1","hashtag2"]},{"1391521532":["hashtag1","hashtag2"]},{"1391521543":["hashtag1","hashtag2"]},{"1391521528":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521536, 1391521539, 1391521541, 1391521532, 1391521543, 1391521528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81074810028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:08:42.468551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_19_2622.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_25_2607.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_29_3606.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_34_2800.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_37_2586.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_40_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_19_2622.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_25_2607.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_29_3606.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_34_2800.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_37_2586.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_40_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521749","1391521716","1391521733","1391521742","1391521669","1391521738"],"photo_ids_order":["1391521669","1391521716","1391521733","1391521738","1391521742","1391521749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44c8ed493d9466ba9f1ca56e3758fdf1.jpg","text":"TemporaryFile(/tmp/multipartBody8338238041279460343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_40_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3df3ccf1bd13ce11b0cbc44e463583b5.jpg","text":"TemporaryFile(/tmp/multipartBody4083444265541402051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6555b76327cf6ea6fb39eb71078961b9.jpg","text":"TemporaryFile(/tmp/multipartBody8381032067638518651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_29_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27e4d827c57ccd0b2f8b0fe781531088.jpg","text":"TemporaryFile(/tmp/multipartBody282924641206262310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_37_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3356fb9f0bd543d6bdacdbee2d3640d3.jpg","text":"TemporaryFile(/tmp/multipartBody5653562417474597143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5305ada0d062d3af09ef8dc013dd0dca.jpg","text":"TemporaryFile(/tmp/multipartBody258037605744395046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970183682,"filename":"image_29102025_21_10_34_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521733","file1":"1391521716","file0":"1391521669","file4":"1391521742","file5":"1391521749","file3":"1391521738"},"map_files_photo_id_array":[{"photo_id":"1391521749","filename":"file5"},{"photo_id":"1391521733","filename":"file2"},{"photo_id":"1391521742","filename":"file4"},{"photo_id":"1391521716","filename":"file1"},{"photo_id":"1391521669","filename":"file0"},{"photo_id":"1391521738","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521749":["hashtag1","hashtag2"]},{"1391521716":["hashtag1","hashtag2"]},{"1391521733":["hashtag1","hashtag2"]},{"1391521742":["hashtag1","hashtag2"]},{"1391521669":["hashtag1","hashtag2"]},{"1391521738":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521749, 1391521716, 1391521733, 1391521742, 1391521669, 1391521738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.331692695617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:09:22.600641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_43_2627.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_47_3653.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_49_2721.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_52_2652.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_56_3628.jpg', '/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_58_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_43_2627.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_47_3653.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_49_2721.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_52_2652.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_56_3628.jpg
/home/pi/Desktop/images/29102025/21/10/image_29102025_21_10_58_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521833","1391521842","1391521836","1391521817","1391521789","1391521828"],"photo_ids_order":["1391521789","1391521817","1391521828","1391521833","1391521836","1391521842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bd8b8d42278962ceb55a96dd2b2ef38.jpg","text":"TemporaryFile(/tmp/multipartBody8674977939603454988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39196568bf02ad036e9f9277946397bb.jpg","text":"TemporaryFile(/tmp/multipartBody6891531447141486930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_58_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f773a5af0cbf1e3b5e71123e5cb29b1.jpg","text":"TemporaryFile(/tmp/multipartBody8642948398366120486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_56_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b711fad6ea92f6ed359902f2b4ff2cc.jpg","text":"TemporaryFile(/tmp/multipartBody490807841062394696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_47_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff1efa725930e8f33690b54fe21f6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1759560462460635518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_43_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9952d27125fded8398830e5a0ab6efcc.jpg","text":"TemporaryFile(/tmp/multipartBody985859306677873705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970225314,"filename":"image_29102025_21_10_49_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521828","file1":"1391521817","file0":"1391521789","file4":"1391521836","file5":"1391521842","file3":"1391521833"},"map_files_photo_id_array":[{"photo_id":"1391521842","filename":"file5"},{"photo_id":"1391521828","filename":"file2"},{"photo_id":"1391521836","filename":"file4"},{"photo_id":"1391521817","filename":"file1"},{"photo_id":"1391521789","filename":"file0"},{"photo_id":"1391521833","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521833":["hashtag1","hashtag2"]},{"1391521842":["hashtag1","hashtag2"]},{"1391521836":["hashtag1","hashtag2"]},{"1391521817":["hashtag1","hashtag2"]},{"1391521789":["hashtag1","hashtag2"]},{"1391521828":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521833, 1391521842, 1391521836, 1391521817, 1391521789, 1391521828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3473105430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:10:22.699886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_01_2651.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_04_3628.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_07_2894.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_10_2535.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_13_2927.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_16_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_01_2651.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_04_3628.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_07_2894.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_10_2535.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_13_2927.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_16_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521950","1391521944","1391521953","1391521947","1391521941","1391521957"],"photo_ids_order":["1391521941","1391521944","1391521947","1391521950","1391521953","1391521957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2eeec41e98bd5aa267a9044b73fec08.jpg","text":"TemporaryFile(/tmp/multipartBody7892838127126854712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_10_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98b2b5b2881cb654108e4b8c84bba09c.jpg","text":"TemporaryFile(/tmp/multipartBody6170844996154108412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_04_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41159b75ea6b864c9b4c45df15056c80.jpg","text":"TemporaryFile(/tmp/multipartBody8017819733754791520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_13_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2c88a0cac49df5de8f169f030429f60.jpg","text":"TemporaryFile(/tmp/multipartBody1789766911501462099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_07_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42afaa9b97a0e6c00c332668fa78da22.jpg","text":"TemporaryFile(/tmp/multipartBody1924001905158339999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_01_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc58ea65b302703bc2d32b7f05b229fe.jpg","text":"TemporaryFile(/tmp/multipartBody180124595690063468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970285149,"filename":"image_29102025_21_11_16_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521947","file1":"1391521944","file0":"1391521941","file4":"1391521953","file5":"1391521957","file3":"1391521950"},"map_files_photo_id_array":[{"photo_id":"1391521957","filename":"file5"},{"photo_id":"1391521947","filename":"file2"},{"photo_id":"1391521953","filename":"file4"},{"photo_id":"1391521944","filename":"file1"},{"photo_id":"1391521941","filename":"file0"},{"photo_id":"1391521950","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521950":["hashtag1","hashtag2"]},{"1391521944":["hashtag1","hashtag2"]},{"1391521953":["hashtag1","hashtag2"]},{"1391521947":["hashtag1","hashtag2"]},{"1391521941":["hashtag1","hashtag2"]},{"1391521957":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521950, 1391521944, 1391521953, 1391521947, 1391521941, 1391521957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28377366065979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:11:21.969727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_19_3662.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_22_2821.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_25_2711.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_29_3752.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_31_2815.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_34_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_19_3662.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_22_2821.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_25_2711.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_29_3752.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_31_2815.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_34_2534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391521979","1391521970","1391521990","1391521984","1391521972","1391521975"],"photo_ids_order":["1391521970","1391521972","1391521975","1391521979","1391521984","1391521990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81c69b049379e7fb042112367d4eb0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4251380595136992765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_29_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57f8b7f92a8d48748e708deb6371ace4.jpg","text":"TemporaryFile(/tmp/multipartBody4997519932036473030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_19_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/546e2db794f58f6ed73f3b3cb61537d9.jpg","text":"TemporaryFile(/tmp/multipartBody7652006793465456507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_34_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8cb29c97d05b0b07be62346861435c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2413488761313696759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_31_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a399882c6a774feb838b93ad3647daed.jpg","text":"TemporaryFile(/tmp/multipartBody113283421379470047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_22_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52643ac8f84c3c0d93439eab1249b4db.jpg","text":"TemporaryFile(/tmp/multipartBody8893750561433561337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970344395,"filename":"image_29102025_21_11_25_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391521975","file1":"1391521972","file0":"1391521970","file4":"1391521984","file5":"1391521990","file3":"1391521979"},"map_files_photo_id_array":[{"photo_id":"1391521990","filename":"file5"},{"photo_id":"1391521975","filename":"file2"},{"photo_id":"1391521984","filename":"file4"},{"photo_id":"1391521972","filename":"file1"},{"photo_id":"1391521970","filename":"file0"},{"photo_id":"1391521979","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391521979":["hashtag1","hashtag2"]},{"1391521970":["hashtag1","hashtag2"]},{"1391521990":["hashtag1","hashtag2"]},{"1391521984":["hashtag1","hashtag2"]},{"1391521972":["hashtag1","hashtag2"]},{"1391521975":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391521979, 1391521970, 1391521990, 1391521984, 1391521972, 1391521975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7947723865509 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:12:22.132939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_37_2650.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_40_3824.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_43_2834.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_46_2542.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_49_3587.jpg', '/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_52_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_37_2650.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_40_3824.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_43_2834.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_46_2542.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_49_3587.jpg
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_52_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522028","1391522019","1391522010","1391522012","1391522023","1391522014"],"photo_ids_order":["1391522010","1391522012","1391522014","1391522019","1391522023","1391522028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0de27a3a83464eee963c21a760252ed8.jpg","text":"TemporaryFile(/tmp/multipartBody84229077370133852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_52_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7133a0182f4b35ad77429ebfddc961e1.jpg","text":"TemporaryFile(/tmp/multipartBody6318735781346707973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_46_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d0f2fc8a08cdff3bfb74a541fc2d06.jpg","text":"TemporaryFile(/tmp/multipartBody3031423761812261437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_37_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0af6978a0a2cb641a5bcb2eb2c4b48d.jpg","text":"TemporaryFile(/tmp/multipartBody2996611334766681758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_40_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bae19eddbb1a9f47e6e2cf52717d3b0.jpg","text":"TemporaryFile(/tmp/multipartBody343994947525078722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_49_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5138271b232d2c9930ccde2504b6e76.jpg","text":"TemporaryFile(/tmp/multipartBody8253709819436017058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970404844,"filename":"image_29102025_21_11_43_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522014","file1":"1391522012","file0":"1391522010","file4":"1391522023","file5":"1391522028","file3":"1391522019"},"map_files_photo_id_array":[{"photo_id":"1391522028","filename":"file5"},{"photo_id":"1391522014","filename":"file2"},{"photo_id":"1391522023","filename":"file4"},{"photo_id":"1391522012","filename":"file1"},{"photo_id":"1391522010","filename":"file0"},{"photo_id":"1391522019","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522028":["hashtag1","hashtag2"]},{"1391522019":["hashtag1","hashtag2"]},{"1391522010":["hashtag1","hashtag2"]},{"1391522012":["hashtag1","hashtag2"]},{"1391522023":["hashtag1","hashtag2"]},{"1391522014":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522028, 1391522019, 1391522010, 1391522012, 1391522023, 1391522014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.129838943481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:13:03.077220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_55_3565.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_01_2852.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_04_2754.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_07_3657.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_10_2563.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_13_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/11/image_29102025_21_11_55_3565.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_01_2852.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_04_2754.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_07_3657.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_10_2563.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_13_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522049","1391522042","1391522036","1391522039","1391522053","1391522046"],"photo_ids_order":["1391522036","1391522039","1391522042","1391522046","1391522049","1391522053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6f9cd624827d1d9baf3aa46ae46876d.jpg","text":"TemporaryFile(/tmp/multipartBody2612207299245676541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_12_10_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95833036352b804bd6c770b5f3e25d45.jpg","text":"TemporaryFile(/tmp/multipartBody2001860944418357047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_12_04_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/367cffc2b3a8554b6ac9d1340ba61099.jpg","text":"TemporaryFile(/tmp/multipartBody8762119677236268475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_11_55_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c526e104d083244f0428ff01210ec586.jpg","text":"TemporaryFile(/tmp/multipartBody955949563866187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_12_01_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4397ff8cc0605917540c6c7d48b0efa5.jpg","text":"TemporaryFile(/tmp/multipartBody2197550503162806230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_12_13_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/662b2e83754936183ef8659bff3e151b.jpg","text":"TemporaryFile(/tmp/multipartBody3179252835868971200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970445304,"filename":"image_29102025_21_12_07_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522042","file1":"1391522039","file0":"1391522036","file4":"1391522049","file5":"1391522053","file3":"1391522046"},"map_files_photo_id_array":[{"photo_id":"1391522053","filename":"file5"},{"photo_id":"1391522042","filename":"file2"},{"photo_id":"1391522049","filename":"file4"},{"photo_id":"1391522039","filename":"file1"},{"photo_id":"1391522036","filename":"file0"},{"photo_id":"1391522046","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522049":["hashtag1","hashtag2"]},{"1391522042":["hashtag1","hashtag2"]},{"1391522036":["hashtag1","hashtag2"]},{"1391522039":["hashtag1","hashtag2"]},{"1391522053":["hashtag1","hashtag2"]},{"1391522046":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522049, 1391522042, 1391522036, 1391522039, 1391522053, 1391522046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71131706237793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:14:03.221820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_16_3554.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_19_2757.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_22_2886.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_25_2759.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_28_3758.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_31_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_16_3554.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_19_2757.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_22_2886.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_25_2759.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_28_3758.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_31_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522087","1391522081","1391522084","1391522078","1391522071","1391522074"],"photo_ids_order":["1391522071","1391522074","1391522078","1391522081","1391522084","1391522087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a79de97ccd01e3845733e96bec3b752.jpg","text":"TemporaryFile(/tmp/multipartBody5709693126855963717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_31_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69c1114d0fd8003bd00425bc375f6791.jpg","text":"TemporaryFile(/tmp/multipartBody917793410508174603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_25_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0ffd78374f496a05c46c7d41e545461.jpg","text":"TemporaryFile(/tmp/multipartBody2132189831949808729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_28_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e6a848c8d946f7e6c185d99a8caae11.jpg","text":"TemporaryFile(/tmp/multipartBody7156142940813527018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_22_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e8e0e81edfc57491949179ffff8bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody4233906101177291779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_16_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fa2294eb98cff6fea195084241c8c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3159270316466075344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970506609,"filename":"image_29102025_21_12_19_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522078","file1":"1391522074","file0":"1391522071","file4":"1391522084","file5":"1391522087","file3":"1391522081"},"map_files_photo_id_array":[{"photo_id":"1391522087","filename":"file5"},{"photo_id":"1391522078","filename":"file2"},{"photo_id":"1391522084","filename":"file4"},{"photo_id":"1391522074","filename":"file1"},{"photo_id":"1391522071","filename":"file0"},{"photo_id":"1391522081","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522087":["hashtag1","hashtag2"]},{"1391522081":["hashtag1","hashtag2"]},{"1391522084":["hashtag1","hashtag2"]},{"1391522078":["hashtag1","hashtag2"]},{"1391522071":["hashtag1","hashtag2"]},{"1391522074":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522087, 1391522081, 1391522084, 1391522078, 1391522071, 1391522074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.069591999053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:15:03.356576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_34_2548.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_37_3603.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_40_2648.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_43_2873.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_45_2671.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_49_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_34_2548.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_37_3603.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_40_2648.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_43_2873.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_45_2671.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_49_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522109","1391522103","1391522111","1391522101","1391522104","1391522107"],"photo_ids_order":["1391522101","1391522103","1391522104","1391522107","1391522109","1391522111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6577af2f33ebcef18a2f8c648bd05cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7342770962055341865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_45_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9b4abbc9aa825854d5d6f957124cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody4447671733798794145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_37_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ad52120b2b323259ff8245e4dcd4fca.jpg","text":"TemporaryFile(/tmp/multipartBody9077973149283741136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_49_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa1c1c772af1a1e5b5380d4edf47ec9b.jpg","text":"TemporaryFile(/tmp/multipartBody1073570095640322208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_34_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afd2a10507d61e1a854ff36c0da586f5.jpg","text":"TemporaryFile(/tmp/multipartBody6572713473108871028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76895f7c67a79b2b882859ed99193733.jpg","text":"TemporaryFile(/tmp/multipartBody802547804615141902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970565888,"filename":"image_29102025_21_12_43_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522104","file1":"1391522103","file0":"1391522101","file4":"1391522109","file5":"1391522111","file3":"1391522107"},"map_files_photo_id_array":[{"photo_id":"1391522111","filename":"file5"},{"photo_id":"1391522104","filename":"file2"},{"photo_id":"1391522109","filename":"file4"},{"photo_id":"1391522103","filename":"file1"},{"photo_id":"1391522101","filename":"file0"},{"photo_id":"1391522107","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522109":["hashtag1","hashtag2"]},{"1391522103":["hashtag1","hashtag2"]},{"1391522111":["hashtag1","hashtag2"]},{"1391522101":["hashtag1","hashtag2"]},{"1391522104":["hashtag1","hashtag2"]},{"1391522107":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522109, 1391522103, 1391522111, 1391522101, 1391522104, 1391522107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.459412813186646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:15:42.704134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_52_2712.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_54_2650.jpg', '/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_58_3717.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_01_2604.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_04_2848.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_07_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_52_2712.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_54_2650.jpg
/home/pi/Desktop/images/29102025/21/12/image_29102025_21_12_58_3717.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_01_2604.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_04_2848.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_07_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522133","1391522127","1391522153","1391522137","1391522122","1391522157"],"photo_ids_order":["1391522122","1391522127","1391522133","1391522137","1391522153","1391522157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c357bffec3ab1413803970ea763755f.jpg","text":"TemporaryFile(/tmp/multipartBody8354541833088530955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_12_58_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec60426f970176b22f5ab37dbb285d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8352294677067048713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_12_54_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86cd38a308ca85db14ddf54cde0f78f0.jpg","text":"TemporaryFile(/tmp/multipartBody3554359789297073385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_13_04_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/735ba894862e7bba3e3448e822a3c000.jpg","text":"TemporaryFile(/tmp/multipartBody7565399065900594151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_13_01_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/608cd7b5b497de024cd3a37c945c8d9c.jpg","text":"TemporaryFile(/tmp/multipartBody922215326426058295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_12_52_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6f2954a007241f5aea4d3b79bb42146.jpg","text":"TemporaryFile(/tmp/multipartBody8015642234101389457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970603855,"filename":"image_29102025_21_13_07_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522133","file1":"1391522127","file0":"1391522122","file4":"1391522153","file5":"1391522157","file3":"1391522137"},"map_files_photo_id_array":[{"photo_id":"1391522157","filename":"file5"},{"photo_id":"1391522133","filename":"file2"},{"photo_id":"1391522153","filename":"file4"},{"photo_id":"1391522127","filename":"file1"},{"photo_id":"1391522122","filename":"file0"},{"photo_id":"1391522137","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522133":["hashtag1","hashtag2"]},{"1391522127":["hashtag1","hashtag2"]},{"1391522153":["hashtag1","hashtag2"]},{"1391522137":["hashtag1","hashtag2"]},{"1391522122":["hashtag1","hashtag2"]},{"1391522157":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522133, 1391522127, 1391522153, 1391522137, 1391522122, 1391522157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95449471473694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:16:21.831122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_13_2687.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_16_3634.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_19_2815.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_22_2627.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_24_2686.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_28_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_13_2687.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_16_3634.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_19_2815.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_22_2627.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_24_2686.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_28_3745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522204","1391522197","1391522209","1391522200","1391522193","1391522196"],"photo_ids_order":["1391522193","1391522196","1391522197","1391522200","1391522204","1391522209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b39dbcb736efeb91c479c2d86890d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2575085780849579797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_24_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a472f747b64961243d9ce5b8462af6d.jpg","text":"TemporaryFile(/tmp/multipartBody4892989074809118054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_19_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc650a746ffb0b71edd76164c2f55f16.jpg","text":"TemporaryFile(/tmp/multipartBody6481876178902412290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_28_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c9854186ebb03ec164d94f76605d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5071904417779166385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_22_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/073458bf89d2b09d9145e088ceaeefa4.jpg","text":"TemporaryFile(/tmp/multipartBody8724935906797034005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_13_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd8f74b633549fe953dbe2186d343f71.jpg","text":"TemporaryFile(/tmp/multipartBody282889521164859024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970644556,"filename":"image_29102025_21_13_16_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522197","file1":"1391522196","file0":"1391522193","file4":"1391522204","file5":"1391522209","file3":"1391522200"},"map_files_photo_id_array":[{"photo_id":"1391522209","filename":"file5"},{"photo_id":"1391522197","filename":"file2"},{"photo_id":"1391522204","filename":"file4"},{"photo_id":"1391522196","filename":"file1"},{"photo_id":"1391522193","filename":"file0"},{"photo_id":"1391522200","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522204":["hashtag1","hashtag2"]},{"1391522197":["hashtag1","hashtag2"]},{"1391522209":["hashtag1","hashtag2"]},{"1391522200":["hashtag1","hashtag2"]},{"1391522193":["hashtag1","hashtag2"]},{"1391522196":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522204, 1391522197, 1391522209, 1391522200, 1391522193, 1391522196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73939871788025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:17:02.707665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_31_2786.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_34_2748.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_36_2664.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_43_2812.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_45_2647.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_49_3867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_31_2786.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_34_2748.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_36_2664.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_43_2812.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_45_2647.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_49_3867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522346","1391522400","1391522306","1391522227","1391522262","1391522223"],"photo_ids_order":["1391522223","1391522227","1391522262","1391522306","1391522346","1391522400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/529da45d2b36cfa7c7596561b63d8a8f.jpg","text":"TemporaryFile(/tmp/multipartBody6509793092470021299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_45_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8e9e0603ae3e055138e84026cbef058.jpg","text":"TemporaryFile(/tmp/multipartBody7868318643501929863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_49_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95c5183a22092ff776154d9ee386ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody7791006160825610058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_43_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33a8208400178e31e8dba17a9fb7b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5295659343378425429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_34_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/deadea2d3870bcac1e854ba8f30a5ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2337331442074027287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d07fab90feb84df497672b928ea047e.jpg","text":"TemporaryFile(/tmp/multipartBody5149033620184536452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970684927,"filename":"image_29102025_21_13_31_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522262","file1":"1391522227","file0":"1391522223","file4":"1391522346","file5":"1391522400","file3":"1391522306"},"map_files_photo_id_array":[{"photo_id":"1391522400","filename":"file5"},{"photo_id":"1391522262","filename":"file2"},{"photo_id":"1391522346","filename":"file4"},{"photo_id":"1391522227","filename":"file1"},{"photo_id":"1391522223","filename":"file0"},{"photo_id":"1391522306","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522346":["hashtag1","hashtag2"]},{"1391522400":["hashtag1","hashtag2"]},{"1391522306":["hashtag1","hashtag2"]},{"1391522227":["hashtag1","hashtag2"]},{"1391522262":["hashtag1","hashtag2"]},{"1391522223":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522346, 1391522400, 1391522306, 1391522227, 1391522262, 1391522223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54027462005615 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:18:02.668394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_52_2619.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_57_2651.jpg', '/home/pi/Desktop/images/29102025/21/13/image_29102025_21_14_01_3580.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_04_2667.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_06_2795.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_10_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_52_2619.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_13_57_2651.jpg
/home/pi/Desktop/images/29102025/21/13/image_29102025_21_14_01_3580.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_04_2667.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_06_2795.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_10_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522495","1391522468","1391522507","1391522504","1391522497","1391522500"],"photo_ids_order":["1391522468","1391522495","1391522497","1391522500","1391522504","1391522507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bb191888d241c22994bdd5a83184a38.jpg","text":"TemporaryFile(/tmp/multipartBody7210763299550776570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_13_57_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bab9b6c25aff2ab90c4a8a8c13f19f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5952071843827564399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_13_52_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34f3498d4c4689a9d2f9c9d2beb2e031.jpg","text":"TemporaryFile(/tmp/multipartBody8587457514371702657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_14_10_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9d1a4197e41d7d5cd2c7c7142dde072.jpg","text":"TemporaryFile(/tmp/multipartBody5010337778012478730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_14_06_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1c89eb816be6e6b7271f4fdb12ea7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4695097650509428752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_14_01_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e32c3b5d0fa67beb0198a21b63ec7340.jpg","text":"TemporaryFile(/tmp/multipartBody3770466459945312036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970744798,"filename":"image_29102025_21_14_04_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522497","file1":"1391522495","file0":"1391522468","file4":"1391522504","file5":"1391522507","file3":"1391522500"},"map_files_photo_id_array":[{"photo_id":"1391522507","filename":"file5"},{"photo_id":"1391522497","filename":"file2"},{"photo_id":"1391522504","filename":"file4"},{"photo_id":"1391522495","filename":"file1"},{"photo_id":"1391522468","filename":"file0"},{"photo_id":"1391522500","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522495":["hashtag1","hashtag2"]},{"1391522468":["hashtag1","hashtag2"]},{"1391522507":["hashtag1","hashtag2"]},{"1391522504":["hashtag1","hashtag2"]},{"1391522497":["hashtag1","hashtag2"]},{"1391522500":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522495, 1391522468, 1391522507, 1391522504, 1391522497, 1391522500)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.474886417388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:19:03.529102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_13_2771.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_19_3677.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_31_2678.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_33_2551.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_42_2624.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_48_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_13_2771.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_19_3677.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_31_2678.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_33_2551.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_42_2624.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_48_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522671","1391522653","1391522644","1391522664","1391522673","1391522667"],"photo_ids_order":["1391522644","1391522653","1391522664","1391522667","1391522671","1391522673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3694ce0a48db8965270a203bff2d6ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1286057706670386291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_42_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/261a09a4302ecbdd352cd2f15a2a68cc.jpg","text":"TemporaryFile(/tmp/multipartBody6697311877421006661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_19_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df67fde2b73afb2df97dd15d5e9b303d.jpg","text":"TemporaryFile(/tmp/multipartBody1294684168327526495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_13_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c79d57f02bce404a7ab3a1151cd4515.jpg","text":"TemporaryFile(/tmp/multipartBody6730358124199051026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_31_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/037fb0eed00bdce3d3d6a1b864d192a1.jpg","text":"TemporaryFile(/tmp/multipartBody2232032436198760424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_48_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/393b6f98f8525738915235be7294624e.jpg","text":"TemporaryFile(/tmp/multipartBody4017461510908808523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970807460,"filename":"image_29102025_21_14_33_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522664","file1":"1391522653","file0":"1391522644","file4":"1391522671","file5":"1391522673","file3":"1391522667"},"map_files_photo_id_array":[{"photo_id":"1391522673","filename":"file5"},{"photo_id":"1391522664","filename":"file2"},{"photo_id":"1391522671","filename":"file4"},{"photo_id":"1391522653","filename":"file1"},{"photo_id":"1391522644","filename":"file0"},{"photo_id":"1391522667","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522671":["hashtag1","hashtag2"]},{"1391522653":["hashtag1","hashtag2"]},{"1391522644":["hashtag1","hashtag2"]},{"1391522664":["hashtag1","hashtag2"]},{"1391522673":["hashtag1","hashtag2"]},{"1391522667":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522671, 1391522653, 1391522644, 1391522664, 1391522673, 1391522667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23934459686279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:20:03.260559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_51_2880.jpg', '/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_58_2656.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_19_2861.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_21_2739.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_28_2569.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_40_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_51_2880.jpg
/home/pi/Desktop/images/29102025/21/14/image_29102025_21_14_58_2656.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_19_2861.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_21_2739.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_28_2569.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_40_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522703","1391522699","1391522711","1391522705","1391522708","1391522702"],"photo_ids_order":["1391522699","1391522702","1391522703","1391522705","1391522708","1391522711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19a4914fbddb7772dfed271884c7e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1218489331293733205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_15_19_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ea159cafb71b7d49debc13359944839.jpg","text":"TemporaryFile(/tmp/multipartBody8231486248665817346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_14_51_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12c5733a3b85e61c3d4f9c9afc3c3015.jpg","text":"TemporaryFile(/tmp/multipartBody1780592576362475492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_15_40_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/929dde7fa175ce9edb4741bad45a8268.jpg","text":"TemporaryFile(/tmp/multipartBody7434211260803356565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_15_21_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1429089c2558a14b932be7eac3748d4.jpg","text":"TemporaryFile(/tmp/multipartBody2272169969479717135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_15_28_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45acd3bd8145afa5f550c72667dde715.jpg","text":"TemporaryFile(/tmp/multipartBody2060946350551910558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970866519,"filename":"image_29102025_21_14_58_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522703","file1":"1391522702","file0":"1391522699","file4":"1391522708","file5":"1391522711","file3":"1391522705"},"map_files_photo_id_array":[{"photo_id":"1391522711","filename":"file5"},{"photo_id":"1391522703","filename":"file2"},{"photo_id":"1391522708","filename":"file4"},{"photo_id":"1391522702","filename":"file1"},{"photo_id":"1391522699","filename":"file0"},{"photo_id":"1391522705","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522703":["hashtag1","hashtag2"]},{"1391522699":["hashtag1","hashtag2"]},{"1391522711":["hashtag1","hashtag2"]},{"1391522705":["hashtag1","hashtag2"]},{"1391522708":["hashtag1","hashtag2"]},{"1391522702":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522703, 1391522699, 1391522711, 1391522705, 1391522708, 1391522702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.02547550201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:21:02.675384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_45_2832.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_49_3910.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_52_2649.jpg', '/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_58_3729.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_01_3184.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_16_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_45_2832.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_49_3910.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_52_2649.jpg
/home/pi/Desktop/images/29102025/21/15/image_29102025_21_15_58_3729.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_01_3184.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_16_2854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522736","1391522746","1391522749","1391522743","1391522739","1391522733"],"photo_ids_order":["1391522733","1391522736","1391522739","1391522743","1391522746","1391522749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0747fb9a2fd349e4b96bd17940ce59f.jpg","text":"TemporaryFile(/tmp/multipartBody5645520829674831922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_15_49_3910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2121c8cd295f4a12a4a60040836f67d5.jpg","text":"TemporaryFile(/tmp/multipartBody6354024516258293703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_16_01_3184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6aa0926c840972dc38ba76bda43f38da.jpg","text":"TemporaryFile(/tmp/multipartBody1672193381264032291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_16_16_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2864168ed80982bf8d081512741b8dad.jpg","text":"TemporaryFile(/tmp/multipartBody1374660765312950215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_15_58_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d96e5643a272fdac79ca8929c8342485.jpg","text":"TemporaryFile(/tmp/multipartBody2817449032540302473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_15_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/503920f72dbf7981fb3ade2df6af74a5.jpg","text":"TemporaryFile(/tmp/multipartBody3912899865843329913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970924916,"filename":"image_29102025_21_15_45_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522739","file1":"1391522736","file0":"1391522733","file4":"1391522746","file5":"1391522749","file3":"1391522743"},"map_files_photo_id_array":[{"photo_id":"1391522749","filename":"file5"},{"photo_id":"1391522739","filename":"file2"},{"photo_id":"1391522746","filename":"file4"},{"photo_id":"1391522736","filename":"file1"},{"photo_id":"1391522733","filename":"file0"},{"photo_id":"1391522743","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522736":["hashtag1","hashtag2"]},{"1391522746":["hashtag1","hashtag2"]},{"1391522749":["hashtag1","hashtag2"]},{"1391522743":["hashtag1","hashtag2"]},{"1391522739":["hashtag1","hashtag2"]},{"1391522733":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522736, 1391522746, 1391522749, 1391522743, 1391522739, 1391522733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64357042312622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:22:02.751818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_18_2644.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_21_2643.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_27_2645.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_34_3684.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_36_2647.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_39_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_18_2644.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_21_2643.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_27_2645.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_34_3684.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_36_2647.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_39_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522780","1391522774","1391522776","1391522790","1391522784","1391522769"],"photo_ids_order":["1391522769","1391522774","1391522776","1391522780","1391522784","1391522790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56dfdc3b35bf3c45b3bdeb3c70796561.jpg","text":"TemporaryFile(/tmp/multipartBody651548591351616496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_34_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e24504502fc2ddba347d78f1e73e1893.jpg","text":"TemporaryFile(/tmp/multipartBody2513805098516170834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_21_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536bd86370b94d3a58731eb7a41853f9.jpg","text":"TemporaryFile(/tmp/multipartBody7132526361672864119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_27_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e09c769fdf4c86956dd15d8b36362d13.jpg","text":"TemporaryFile(/tmp/multipartBody5799297278316777797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_39_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e8914e595ba33e10540a71555012aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2113497422372520499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_36_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/416cd518a2d2dabd979f0af55f3abe19.jpg","text":"TemporaryFile(/tmp/multipartBody7165261622860804129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761970984903,"filename":"image_29102025_21_16_18_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522776","file1":"1391522774","file0":"1391522769","file4":"1391522784","file5":"1391522790","file3":"1391522780"},"map_files_photo_id_array":[{"photo_id":"1391522790","filename":"file5"},{"photo_id":"1391522776","filename":"file2"},{"photo_id":"1391522784","filename":"file4"},{"photo_id":"1391522774","filename":"file1"},{"photo_id":"1391522769","filename":"file0"},{"photo_id":"1391522780","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522780":["hashtag1","hashtag2"]},{"1391522774":["hashtag1","hashtag2"]},{"1391522776":["hashtag1","hashtag2"]},{"1391522790":["hashtag1","hashtag2"]},{"1391522784":["hashtag1","hashtag2"]},{"1391522769":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522780, 1391522774, 1391522776, 1391522790, 1391522784, 1391522769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52342462539673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:23:03.102766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_42_2764.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_48_2731.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_51_2670.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_57_2732.jpg', '/home/pi/Desktop/images/29102025/21/16/image_29102025_21_17_00_2602.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_04_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_42_2764.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_48_2731.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_51_2670.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_16_57_2732.jpg
/home/pi/Desktop/images/29102025/21/16/image_29102025_21_17_00_2602.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_04_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522820","1391522823","1391522831","1391522827","1391522836","1391522839"],"photo_ids_order":["1391522820","1391522823","1391522827","1391522831","1391522836","1391522839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8573a355a4ea22a8d6fbc940971889a.jpg","text":"TemporaryFile(/tmp/multipartBody5195219037573972945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_16_42_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0af9ba04183d6e1094c13830c0ba745e.jpg","text":"TemporaryFile(/tmp/multipartBody9087152157215806866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_16_48_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8174e8d3ad944f66ae432b8dfc2f6d15.jpg","text":"TemporaryFile(/tmp/multipartBody197556624436112964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_16_57_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/801d3d18d21ffc359dccb3dd64488238.jpg","text":"TemporaryFile(/tmp/multipartBody233550485611518311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_16_51_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6404682f20cb2ec084495a9655c5b7b7.jpg","text":"TemporaryFile(/tmp/multipartBody8943296554570629539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_17_00_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95b7c9105d5abffc3e3ebec272cdc6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6253052371280102668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971045444,"filename":"image_29102025_21_17_04_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522827","file1":"1391522823","file0":"1391522820","file4":"1391522836","file5":"1391522839","file3":"1391522831"},"map_files_photo_id_array":[{"photo_id":"1391522839","filename":"file5"},{"photo_id":"1391522827","filename":"file2"},{"photo_id":"1391522836","filename":"file4"},{"photo_id":"1391522823","filename":"file1"},{"photo_id":"1391522820","filename":"file0"},{"photo_id":"1391522831","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522820":["hashtag1","hashtag2"]},{"1391522823":["hashtag1","hashtag2"]},{"1391522831":["hashtag1","hashtag2"]},{"1391522827":["hashtag1","hashtag2"]},{"1391522836":["hashtag1","hashtag2"]},{"1391522839":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522820, 1391522823, 1391522831, 1391522827, 1391522836, 1391522839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.166970014572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:23:42.489679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_13_3602.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_18_2593.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_22_3727.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_28_3566.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_31_2623.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_33_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_13_3602.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_18_2593.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_22_3727.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_28_3566.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_31_2623.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_33_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522903","1391522896","1391522881","1391522900","1391522890","1391522875"],"photo_ids_order":["1391522875","1391522881","1391522890","1391522896","1391522900","1391522903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76d0ffae4adc77e58544ed6fa5ba257e.jpg","text":"TemporaryFile(/tmp/multipartBody3308319127325397697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_33_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e58bb1681d3094c8df53132139509048.jpg","text":"TemporaryFile(/tmp/multipartBody392822360433292181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_28_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd852b2d7f7dd1a7ba049934e9d8738a.jpg","text":"TemporaryFile(/tmp/multipartBody7180411347598186517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_18_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07ff90b343faf365bba5e71b0bb81c33.jpg","text":"TemporaryFile(/tmp/multipartBody274828394648961710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_31_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/480c5a4e1c80b683a6045faadb8bb0dc.jpg","text":"TemporaryFile(/tmp/multipartBody4336570892374117417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_22_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5760bcf7a4fa14e9874c9e46fbcfd95d.jpg","text":"TemporaryFile(/tmp/multipartBody268340175480018965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971083604,"filename":"image_29102025_21_17_13_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522890","file1":"1391522881","file0":"1391522875","file4":"1391522900","file5":"1391522903","file3":"1391522896"},"map_files_photo_id_array":[{"photo_id":"1391522903","filename":"file5"},{"photo_id":"1391522890","filename":"file2"},{"photo_id":"1391522900","filename":"file4"},{"photo_id":"1391522881","filename":"file1"},{"photo_id":"1391522875","filename":"file0"},{"photo_id":"1391522896","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522903":["hashtag1","hashtag2"]},{"1391522896":["hashtag1","hashtag2"]},{"1391522881":["hashtag1","hashtag2"]},{"1391522900":["hashtag1","hashtag2"]},{"1391522890":["hashtag1","hashtag2"]},{"1391522875":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522903, 1391522896, 1391522881, 1391522900, 1391522890, 1391522875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.231207609176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:24:22.745161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_37_3613.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_45_2783.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_48_3594.jpg', '/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_54_2695.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_03_2886.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_10_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_37_3613.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_45_2783.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_48_3594.jpg
/home/pi/Desktop/images/29102025/21/17/image_29102025_21_17_54_2695.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_03_2886.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_10_3015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391522916","1391522947","1391522908","1391522938","1391522923","1391522910"],"photo_ids_order":["1391522908","1391522910","1391522916","1391522923","1391522938","1391522947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f43ee541ae7b6716cd7c5773f2acd688.jpg","text":"TemporaryFile(/tmp/multipartBody3880483442036695898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_17_48_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7512ee736550852c63703f7e6ce7064c.jpg","text":"TemporaryFile(/tmp/multipartBody2244267534880389311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_18_10_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/329ffedd85ddf08f9af4210d72fc96d9.jpg","text":"TemporaryFile(/tmp/multipartBody7679043353511715489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_17_37_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d44bbd1a62af78ce41228c5fc96c2944.jpg","text":"TemporaryFile(/tmp/multipartBody6177179668215417338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_18_03_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06109f7ef8f7824a4aac5f542768c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8716917627835905488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_17_54_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d3d89ecf8a2568bcb23ae30e4299942.jpg","text":"TemporaryFile(/tmp/multipartBody7005668704789374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971125447,"filename":"image_29102025_21_17_45_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391522916","file1":"1391522910","file0":"1391522908","file4":"1391522938","file5":"1391522947","file3":"1391522923"},"map_files_photo_id_array":[{"photo_id":"1391522947","filename":"file5"},{"photo_id":"1391522916","filename":"file2"},{"photo_id":"1391522938","filename":"file4"},{"photo_id":"1391522910","filename":"file1"},{"photo_id":"1391522908","filename":"file0"},{"photo_id":"1391522923","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391522916":["hashtag1","hashtag2"]},{"1391522947":["hashtag1","hashtag2"]},{"1391522908":["hashtag1","hashtag2"]},{"1391522938":["hashtag1","hashtag2"]},{"1391522923":["hashtag1","hashtag2"]},{"1391522910":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391522916, 1391522947, 1391522908, 1391522938, 1391522923, 1391522910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03114175796509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:25:21.900711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_12_2553.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_21_2588.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_27_2614.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_36_2688.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_42_2864.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_48_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_12_2553.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_21_2588.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_27_2614.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_36_2688.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_42_2864.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_48_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523113","1391523026","1391523031","1391523028","1391523045","1391523024"],"photo_ids_order":["1391523024","1391523026","1391523028","1391523031","1391523045","1391523113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4b6b41f004568ad7ceb4c27ee2f07ad.jpg","text":"TemporaryFile(/tmp/multipartBody5297176391589854349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_48_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3dd68401ba47f22b512bc998600bbd0.jpg","text":"TemporaryFile(/tmp/multipartBody2366141181624404202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_21_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3b17a4db8093fbf7c434df4d0412f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7634492895224023764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_36_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4536ca4eceb26d2b95a8d6823b43c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody8604513245659353226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_27_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d20bc9cbdfb0dc041153d837eecb5a6d.jpg","text":"TemporaryFile(/tmp/multipartBody4760345428170492780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_42_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee97bc1cd09c9bb4d74d428652b13a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7814742816015965301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971184400,"filename":"image_29102025_21_18_12_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523028","file1":"1391523026","file0":"1391523024","file4":"1391523045","file5":"1391523113","file3":"1391523031"},"map_files_photo_id_array":[{"photo_id":"1391523113","filename":"file5"},{"photo_id":"1391523028","filename":"file2"},{"photo_id":"1391523045","filename":"file4"},{"photo_id":"1391523026","filename":"file1"},{"photo_id":"1391523024","filename":"file0"},{"photo_id":"1391523031","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523113":["hashtag1","hashtag2"]},{"1391523026":["hashtag1","hashtag2"]},{"1391523031":["hashtag1","hashtag2"]},{"1391523028":["hashtag1","hashtag2"]},{"1391523045":["hashtag1","hashtag2"]},{"1391523024":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523113, 1391523026, 1391523031, 1391523028, 1391523045, 1391523024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24763774871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:26:22.203246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_57_2738.jpg', '/home/pi/Desktop/images/29102025/21/18/image_29102025_21_19_00_3659.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_03_2804.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_06_2761.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_12_2610.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_15_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_18_57_2738.jpg
/home/pi/Desktop/images/29102025/21/18/image_29102025_21_19_00_3659.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_03_2804.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_06_2761.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_12_2610.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_15_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523227","1391523212","1391523209","1391523217","1391523222","1391523207"],"photo_ids_order":["1391523207","1391523209","1391523212","1391523217","1391523222","1391523227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a887e41e71b2aa8cca9df0d4c14692f9.jpg","text":"TemporaryFile(/tmp/multipartBody4254786957985722624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_19_15_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05db3f3f1c101b9c9c5b1dee6ecb57e0.jpg","text":"TemporaryFile(/tmp/multipartBody2858275395138220768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_19_03_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8818dec8695df30e76218e42fd01133b.jpg","text":"TemporaryFile(/tmp/multipartBody8580668798186881633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_19_00_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d334ab010dd253714801dc86b2416e2.jpg","text":"TemporaryFile(/tmp/multipartBody1685899252534901395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_19_06_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ace9b5aa55ce9bed4466b2af95e9012.jpg","text":"TemporaryFile(/tmp/multipartBody3922915234778298864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_19_12_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0406ec189685d3501b5ba9638a308281.jpg","text":"TemporaryFile(/tmp/multipartBody7569354059832401975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971244907,"filename":"image_29102025_21_18_57_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523212","file1":"1391523209","file0":"1391523207","file4":"1391523222","file5":"1391523227","file3":"1391523217"},"map_files_photo_id_array":[{"photo_id":"1391523227","filename":"file5"},{"photo_id":"1391523212","filename":"file2"},{"photo_id":"1391523222","filename":"file4"},{"photo_id":"1391523209","filename":"file1"},{"photo_id":"1391523207","filename":"file0"},{"photo_id":"1391523217","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523227":["hashtag1","hashtag2"]},{"1391523212":["hashtag1","hashtag2"]},{"1391523209":["hashtag1","hashtag2"]},{"1391523217":["hashtag1","hashtag2"]},{"1391523222":["hashtag1","hashtag2"]},{"1391523207":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523227, 1391523212, 1391523209, 1391523217, 1391523222, 1391523207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15541458129883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:27:03.000887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_18_2764.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_30_3616.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_37_3544.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_39_2691.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_42_2770.jpg', '/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_57_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_18_2764.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_30_3616.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_37_3544.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_39_2691.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_42_2770.jpg
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_19_57_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523251","1391523254","1391523248","1391523241","1391523244","1391523246"],"photo_ids_order":["1391523241","1391523244","1391523246","1391523248","1391523251","1391523254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2bee91b078275d997872d40a0675ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1153150249379632768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_42_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b17780c5fcd076f4d6a16421e8c5be9.jpg","text":"TemporaryFile(/tmp/multipartBody4232019025581270810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_57_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec2558e4ec047319ee50a1876b4f5c0d.jpg","text":"TemporaryFile(/tmp/multipartBody3811115743048190544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_39_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18b58cf91d5b2bf7b6780ab4072b06da.jpg","text":"TemporaryFile(/tmp/multipartBody5908329167779359206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_18_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/437036c081ed5180ef760633f3428271.jpg","text":"TemporaryFile(/tmp/multipartBody3091060402951545637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_30_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41f1612d64a553d724e0745758547e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6478854681071945265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971285245,"filename":"image_29102025_21_19_37_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523246","file1":"1391523244","file0":"1391523241","file4":"1391523251","file5":"1391523254","file3":"1391523248"},"map_files_photo_id_array":[{"photo_id":"1391523254","filename":"file5"},{"photo_id":"1391523246","filename":"file2"},{"photo_id":"1391523251","filename":"file4"},{"photo_id":"1391523244","filename":"file1"},{"photo_id":"1391523241","filename":"file0"},{"photo_id":"1391523248","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523251":["hashtag1","hashtag2"]},{"1391523254":["hashtag1","hashtag2"]},{"1391523248":["hashtag1","hashtag2"]},{"1391523241":["hashtag1","hashtag2"]},{"1391523244":["hashtag1","hashtag2"]},{"1391523246":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523251, 1391523254, 1391523248, 1391523241, 1391523244, 1391523246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97502946853638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:28:02.859963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/19/image_29102025_21_20_00_2619.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_04_3623.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_07_2894.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_12_2522.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_16_3846.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_39_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/19/image_29102025_21_20_00_2619.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_04_3623.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_07_2894.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_12_2522.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_16_3846.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_39_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523284","1391523286","1391523289","1391523280","1391523277","1391523291"],"photo_ids_order":["1391523277","1391523280","1391523284","1391523286","1391523289","1391523291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b371f224b212c5735fa613b769a6898.jpg","text":"TemporaryFile(/tmp/multipartBody2194824123830447134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_07_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab810ebf25e9ae185699a4eca89aedf5.jpg","text":"TemporaryFile(/tmp/multipartBody4132393913485148016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_12_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e24757a13142ea049cb92d26d84f80f5.jpg","text":"TemporaryFile(/tmp/multipartBody7234873621594401313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_16_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87881a4b2bbfde7734e35a7c373d2519.jpg","text":"TemporaryFile(/tmp/multipartBody7774493891554698881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_04_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffd0ef49b30598ccf54bb466895138ed.jpg","text":"TemporaryFile(/tmp/multipartBody7545645817994115392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_00_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7de2fa54cd5cc27dc94c7544d9090893.jpg","text":"TemporaryFile(/tmp/multipartBody7219832135445937939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971344960,"filename":"image_29102025_21_20_39_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523284","file1":"1391523280","file0":"1391523277","file4":"1391523289","file5":"1391523291","file3":"1391523286"},"map_files_photo_id_array":[{"photo_id":"1391523291","filename":"file5"},{"photo_id":"1391523284","filename":"file2"},{"photo_id":"1391523289","filename":"file4"},{"photo_id":"1391523280","filename":"file1"},{"photo_id":"1391523277","filename":"file0"},{"photo_id":"1391523286","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523284":["hashtag1","hashtag2"]},{"1391523286":["hashtag1","hashtag2"]},{"1391523289":["hashtag1","hashtag2"]},{"1391523280":["hashtag1","hashtag2"]},{"1391523277":["hashtag1","hashtag2"]},{"1391523291":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523284, 1391523286, 1391523289, 1391523280, 1391523277, 1391523291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65765833854675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:28:42.483900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_43_3692.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_52_3818.jpg', '/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_54_2594.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_09_3598.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_12_2742.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_19_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_43_3692.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_52_3818.jpg
/home/pi/Desktop/images/29102025/21/20/image_29102025_21_20_54_2594.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_09_3598.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_12_2742.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_19_3781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523299","1391523326","1391523329","1391523322","1391523307","1391523315"],"photo_ids_order":["1391523299","1391523307","1391523315","1391523322","1391523326","1391523329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad35ffa1123d6a228bd6c18ae08ec3d2.jpg","text":"TemporaryFile(/tmp/multipartBody5948270596618246201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_20_43_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9d07825ef97267de3cc3ed76789715e.jpg","text":"TemporaryFile(/tmp/multipartBody2285609724491047961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_21_12_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95f1661cba42e486ef7a203c2034575e.jpg","text":"TemporaryFile(/tmp/multipartBody3754736235596956786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_21_19_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/147d5919819160093ecab82d690d0ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2118000358358036848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_21_09_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ba304baa7db1ea10124b1013d6987a5.jpg","text":"TemporaryFile(/tmp/multipartBody8636706327793251962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_20_52_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fd6ff1d24326ae98f36d63db7c874c1.jpg","text":"TemporaryFile(/tmp/multipartBody3876652640114982312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971383699,"filename":"image_29102025_21_20_54_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523315","file1":"1391523307","file0":"1391523299","file4":"1391523326","file5":"1391523329","file3":"1391523322"},"map_files_photo_id_array":[{"photo_id":"1391523329","filename":"file5"},{"photo_id":"1391523315","filename":"file2"},{"photo_id":"1391523326","filename":"file4"},{"photo_id":"1391523307","filename":"file1"},{"photo_id":"1391523299","filename":"file0"},{"photo_id":"1391523322","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523299":["hashtag1","hashtag2"]},{"1391523326":["hashtag1","hashtag2"]},{"1391523329":["hashtag1","hashtag2"]},{"1391523322":["hashtag1","hashtag2"]},{"1391523307":["hashtag1","hashtag2"]},{"1391523315":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523299, 1391523326, 1391523329, 1391523322, 1391523307, 1391523315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.359190464019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:29:22.654364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_24_2634.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_30_3172.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_45_2692.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_48_2609.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_51_3602.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_54_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_24_2634.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_30_3172.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_45_2692.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_48_2609.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_51_3602.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_54_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523344","1391523353","1391523335","1391523340","1391523337","1391523348"],"photo_ids_order":["1391523335","1391523337","1391523340","1391523344","1391523348","1391523353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dd6fbad4637019a393a9488a83b673a.jpg","text":"TemporaryFile(/tmp/multipartBody245082243319764827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_48_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b15fa5f76b103bff8c581d908f699c45.jpg","text":"TemporaryFile(/tmp/multipartBody5797557152524416385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_54_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5aa247aa77d1d57403888d8ec48243ca.jpg","text":"TemporaryFile(/tmp/multipartBody1404884211943068299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_24_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c5fed4dec79a67636ab0fd1824c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody5849312359770602612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_45_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82257bd3a0262f25b353c4d82d41f552.jpg","text":"TemporaryFile(/tmp/multipartBody2945783131705534806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_30_3172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/409cbfa9e0b72b2368e9e1f5e189d7de.jpg","text":"TemporaryFile(/tmp/multipartBody5459122757038269469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971425348,"filename":"image_29102025_21_21_51_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523340","file1":"1391523337","file0":"1391523335","file4":"1391523348","file5":"1391523353","file3":"1391523344"},"map_files_photo_id_array":[{"photo_id":"1391523353","filename":"file5"},{"photo_id":"1391523340","filename":"file2"},{"photo_id":"1391523348","filename":"file4"},{"photo_id":"1391523337","filename":"file1"},{"photo_id":"1391523335","filename":"file0"},{"photo_id":"1391523344","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523344":["hashtag1","hashtag2"]},{"1391523353":["hashtag1","hashtag2"]},{"1391523335":["hashtag1","hashtag2"]},{"1391523340":["hashtag1","hashtag2"]},{"1391523337":["hashtag1","hashtag2"]},{"1391523348":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523344, 1391523353, 1391523335, 1391523340, 1391523337, 1391523348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06542110443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:30:21.932982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_57_2639.jpg', '/home/pi/Desktop/images/29102025/21/21/image_29102025_21_22_00_3641.jpg', '/home/pi/Desktop/images/29102025/21/22/image_29102025_21_22_24_2683.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_09_3582.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_12_2616.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_27_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_21_57_2639.jpg
/home/pi/Desktop/images/29102025/21/21/image_29102025_21_22_00_3641.jpg
/home/pi/Desktop/images/29102025/21/22/image_29102025_21_22_24_2683.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_09_3582.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_12_2616.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_27_3646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523398","1391523379","1391523382","1391523390","1391523393","1391523387"],"photo_ids_order":["1391523379","1391523382","1391523387","1391523390","1391523393","1391523398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61c7fcfa0b2b83c422dfd7fdadd1b204.jpg","text":"TemporaryFile(/tmp/multipartBody7405230157033574568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_23_27_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11f29d48d6797d6edaf261b4215281a2.jpg","text":"TemporaryFile(/tmp/multipartBody4068428036397396375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_21_57_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83fdd77bf6f31e6cd3798481b5ec8e39.jpg","text":"TemporaryFile(/tmp/multipartBody6329613365456242161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_22_00_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52aa4fd342f30c8e33baf7fcfa7f3062.jpg","text":"TemporaryFile(/tmp/multipartBody277738482030952658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_23_09_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9fc02db4c62c878fe94d4f956ef5776.jpg","text":"TemporaryFile(/tmp/multipartBody4730649020959156844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_23_12_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/159b232c558c0d9f3d5a5e7233caa248.jpg","text":"TemporaryFile(/tmp/multipartBody8865091384174487384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971484613,"filename":"image_29102025_21_22_24_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523387","file1":"1391523382","file0":"1391523379","file4":"1391523393","file5":"1391523398","file3":"1391523390"},"map_files_photo_id_array":[{"photo_id":"1391523398","filename":"file5"},{"photo_id":"1391523387","filename":"file2"},{"photo_id":"1391523393","filename":"file4"},{"photo_id":"1391523382","filename":"file1"},{"photo_id":"1391523379","filename":"file0"},{"photo_id":"1391523390","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523398":["hashtag1","hashtag2"]},{"1391523379":["hashtag1","hashtag2"]},{"1391523382":["hashtag1","hashtag2"]},{"1391523390":["hashtag1","hashtag2"]},{"1391523393":["hashtag1","hashtag2"]},{"1391523387":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523398, 1391523379, 1391523382, 1391523390, 1391523393, 1391523387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.141143798828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:31:22.101486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_30_2735.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_33_2669.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_42_2708.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_51_2697.jpg', '/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_54_3599.jpg', '/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_33_3824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_30_2735.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_33_2669.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_42_2708.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_51_2697.jpg
/home/pi/Desktop/images/29102025/21/23/image_29102025_21_23_54_3599.jpg
/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_33_3824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523539","1391523533","1391523529","1391523502","1391523483","1391523543"],"photo_ids_order":["1391523483","1391523502","1391523529","1391523533","1391523539","1391523543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/787f2377cccff9d2099cfe5329c9b98d.jpg","text":"TemporaryFile(/tmp/multipartBody724107160362873267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_23_54_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c32f5870512c4c4b1a6d980c7a95303a.jpg","text":"TemporaryFile(/tmp/multipartBody8688050869461040214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_23_51_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09234db3ccd137d54439e46f9b03d648.jpg","text":"TemporaryFile(/tmp/multipartBody7519111611279479691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_23_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a27a454996cf2f1d2745bde3a70abce.jpg","text":"TemporaryFile(/tmp/multipartBody911297052670912099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_23_33_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c519e4071451d2642f517168e18291c.jpg","text":"TemporaryFile(/tmp/multipartBody891937248427010026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_23_30_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab449f670801d638ad54eb6162df05e0.jpg","text":"TemporaryFile(/tmp/multipartBody1688281356955226320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971544750,"filename":"image_29102025_21_24_33_3824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523529","file1":"1391523502","file0":"1391523483","file4":"1391523539","file5":"1391523543","file3":"1391523533"},"map_files_photo_id_array":[{"photo_id":"1391523543","filename":"file5"},{"photo_id":"1391523529","filename":"file2"},{"photo_id":"1391523539","filename":"file4"},{"photo_id":"1391523502","filename":"file1"},{"photo_id":"1391523483","filename":"file0"},{"photo_id":"1391523533","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523539":["hashtag1","hashtag2"]},{"1391523533":["hashtag1","hashtag2"]},{"1391523529":["hashtag1","hashtag2"]},{"1391523502":["hashtag1","hashtag2"]},{"1391523483":["hashtag1","hashtag2"]},{"1391523543":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523539, 1391523533, 1391523529, 1391523502, 1391523483, 1391523543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92644500732422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:32:22.306527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_38_2606.jpg', '/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_47_2658.jpg', '/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_51_3703.jpg', '/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_54_2720.jpg', '/home/pi/Desktop/images/29102025/21/26/image_29102025_21_26_53_2797.jpg', '/home/pi/Desktop/images/29102025/21/26/image_29102025_21_26_57_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_38_2606.jpg
/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_47_2658.jpg
/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_51_3703.jpg
/home/pi/Desktop/images/29102025/21/24/image_29102025_21_24_54_2720.jpg
/home/pi/Desktop/images/29102025/21/26/image_29102025_21_26_53_2797.jpg
/home/pi/Desktop/images/29102025/21/26/image_29102025_21_26_57_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523668","1391523626","1391523622","1391523619","1391523789","1391523630"],"photo_ids_order":["1391523619","1391523622","1391523626","1391523630","1391523668","1391523789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c2b37c5a2ce12b643989d805ca8968e.jpg","text":"TemporaryFile(/tmp/multipartBody7613756077353004642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_26_53_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c0de155e50c27fdfd744f829f10528c.jpg","text":"TemporaryFile(/tmp/multipartBody8876001766399524646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_24_51_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70f330e77eae0477179e4eebbc79da59.jpg","text":"TemporaryFile(/tmp/multipartBody6890876580326232298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_24_47_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e58488eabd802dc492322ebcd2ff672.jpg","text":"TemporaryFile(/tmp/multipartBody3215922795065600454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_24_38_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fb9af6744be6e706d71e3b63d7e7286.jpg","text":"TemporaryFile(/tmp/multipartBody7147420753445910925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_26_57_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5878c60f25c2400e9383e5a7d172d5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1160264127740673729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971604706,"filename":"image_29102025_21_24_54_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523626","file1":"1391523622","file0":"1391523619","file4":"1391523668","file5":"1391523789","file3":"1391523630"},"map_files_photo_id_array":[{"photo_id":"1391523789","filename":"file5"},{"photo_id":"1391523626","filename":"file2"},{"photo_id":"1391523668","filename":"file4"},{"photo_id":"1391523622","filename":"file1"},{"photo_id":"1391523619","filename":"file0"},{"photo_id":"1391523630","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523668":["hashtag1","hashtag2"]},{"1391523626":["hashtag1","hashtag2"]},{"1391523622":["hashtag1","hashtag2"]},{"1391523619":["hashtag1","hashtag2"]},{"1391523789":["hashtag1","hashtag2"]},{"1391523630":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523668, 1391523626, 1391523622, 1391523619, 1391523789, 1391523630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02697277069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:33:22.352270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/27/image_29102025_21_27_41_2555.jpg', '/home/pi/Desktop/images/29102025/21/27/image_29102025_21_27_50_2801.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_02_2683.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_09_3642.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_41_2613.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_47_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/27/image_29102025_21_27_41_2555.jpg
/home/pi/Desktop/images/29102025/21/27/image_29102025_21_27_50_2801.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_02_2683.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_09_3642.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_41_2613.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_47_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523856","1391523865","1391523850","1391523852","1391523861","1391523846"],"photo_ids_order":["1391523846","1391523850","1391523852","1391523856","1391523861","1391523865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8427ebcaf89c9ae6c9564f20a4931cde.jpg","text":"TemporaryFile(/tmp/multipartBody7290509658507004100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_28_09_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3879073cae21453bc1ad3a911d2d086c.jpg","text":"TemporaryFile(/tmp/multipartBody6581627934810286789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_28_47_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b165c485a45adec6ded2e9f6ab25d31.jpg","text":"TemporaryFile(/tmp/multipartBody4192957601314317243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_27_50_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/856a4b5d50b821e5f270b4f76797b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody4703830544244403291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_28_02_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/440a02f44a1f07f98f9f4a2418c4e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody5568847275363732269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_28_41_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7329595fc2367e9c0f38ae846544bcaa.jpg","text":"TemporaryFile(/tmp/multipartBody755084722051934823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971664733,"filename":"image_29102025_21_27_41_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523852","file1":"1391523850","file0":"1391523846","file4":"1391523861","file5":"1391523865","file3":"1391523856"},"map_files_photo_id_array":[{"photo_id":"1391523865","filename":"file5"},{"photo_id":"1391523852","filename":"file2"},{"photo_id":"1391523861","filename":"file4"},{"photo_id":"1391523850","filename":"file1"},{"photo_id":"1391523846","filename":"file0"},{"photo_id":"1391523856","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523856":["hashtag1","hashtag2"]},{"1391523865":["hashtag1","hashtag2"]},{"1391523850":["hashtag1","hashtag2"]},{"1391523852":["hashtag1","hashtag2"]},{"1391523861":["hashtag1","hashtag2"]},{"1391523846":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523856, 1391523865, 1391523850, 1391523852, 1391523861, 1391523846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.433863162994385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:34:03.129383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_53_2856.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_57_3722.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_17_2626.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_23_2644.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_26_2595.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_30_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_53_2856.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_57_3722.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_17_2626.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_23_2644.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_26_2595.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_30_3692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2402358055114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:34:22.603057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_53_2856.jpg', '/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_57_3722.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_17_2626.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_23_2644.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_26_2595.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_30_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_53_2856.jpg
/home/pi/Desktop/images/29102025/21/28/image_29102025_21_28_57_3722.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_17_2626.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_23_2644.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_26_2595.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_30_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391523991","1391524021","1391523931","1391523933","1391524026","1391524031"],"photo_ids_order":["1391523931","1391523933","1391523991","1391524021","1391524026","1391524031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc6167d1d6733990866089fcec6a7699.jpg","text":"TemporaryFile(/tmp/multipartBody4387839264869010903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_29_17_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f4c7f257309b2c258b0e9def3a384c6.jpg","text":"TemporaryFile(/tmp/multipartBody4687872004508052394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_29_23_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3acb4858399b1b7d0f27de028135b19.jpg","text":"TemporaryFile(/tmp/multipartBody4135695861686518869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_28_53_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3979286a9138cc798470f88cd4297d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3704288011565628541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_28_57_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2df2d8b49be733ac23a9f765db6b6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8397650922314775747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_29_26_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e9ddf683847911ace01189c6956e208.jpg","text":"TemporaryFile(/tmp/multipartBody7666258183834545854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971725594,"filename":"image_29102025_21_29_30_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391523991","file1":"1391523933","file0":"1391523931","file4":"1391524026","file5":"1391524031","file3":"1391524021"},"map_files_photo_id_array":[{"photo_id":"1391524031","filename":"file5"},{"photo_id":"1391523991","filename":"file2"},{"photo_id":"1391524026","filename":"file4"},{"photo_id":"1391523933","filename":"file1"},{"photo_id":"1391523931","filename":"file0"},{"photo_id":"1391524021","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391523991":["hashtag1","hashtag2"]},{"1391524021":["hashtag1","hashtag2"]},{"1391523931":["hashtag1","hashtag2"]},{"1391523933":["hashtag1","hashtag2"]},{"1391524026":["hashtag1","hashtag2"]},{"1391524031":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391523991, 1391524021, 1391523931, 1391523933, 1391524026, 1391524031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.795016050338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:35:22.800890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_32_2781.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_41_3742.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_48_3618.jpg', '/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_53_2607.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_07_3015.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_11_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_32_2781.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_41_3742.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_48_3618.jpg
/home/pi/Desktop/images/29102025/21/29/image_29102025_21_29_53_2607.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_07_3015.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_11_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524060","1391524063","1391524057","1391524050","1391524053","1391524067"],"photo_ids_order":["1391524050","1391524053","1391524057","1391524060","1391524063","1391524067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8171674444b661ee934e4630bc16d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody747167505742056837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_29_53_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec6fa45238272db677ab7ec6bcb5aad1.jpg","text":"TemporaryFile(/tmp/multipartBody7574347937396998221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_30_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf7ebb4d842aa9e55bebbc87c1aa6e72.jpg","text":"TemporaryFile(/tmp/multipartBody7123333452976761790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_29_48_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/482dec0362eb96360198249b5a8aa07c.jpg","text":"TemporaryFile(/tmp/multipartBody8313018725678559069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_29_32_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5028d31dc96597d530b079c06f24553.jpg","text":"TemporaryFile(/tmp/multipartBody3553998364074623450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_29_41_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a13e98de813744e1824cf014f1d9b7c6.jpg","text":"TemporaryFile(/tmp/multipartBody6600930430714313454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971785943,"filename":"image_29102025_21_30_11_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524057","file1":"1391524053","file0":"1391524050","file4":"1391524063","file5":"1391524067","file3":"1391524060"},"map_files_photo_id_array":[{"photo_id":"1391524067","filename":"file5"},{"photo_id":"1391524057","filename":"file2"},{"photo_id":"1391524063","filename":"file4"},{"photo_id":"1391524053","filename":"file1"},{"photo_id":"1391524050","filename":"file0"},{"photo_id":"1391524060","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524060":["hashtag1","hashtag2"]},{"1391524063":["hashtag1","hashtag2"]},{"1391524057":["hashtag1","hashtag2"]},{"1391524050":["hashtag1","hashtag2"]},{"1391524053":["hashtag1","hashtag2"]},{"1391524067":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524060, 1391524063, 1391524057, 1391524050, 1391524053, 1391524067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.683374643325806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:36:21.948491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_20_3749.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_25_2797.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_34_2745.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_52_2559.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_58_2933.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_01_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_20_3749.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_25_2797.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_34_2745.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_52_2559.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_58_2933.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_01_2651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6364059448242188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:36:42.005698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_20_3749.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_25_2797.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_34_2745.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_52_2559.jpg', '/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_58_2933.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_01_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_20_3749.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_25_2797.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_34_2745.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_52_2559.jpg
/home/pi/Desktop/images/29102025/21/30/image_29102025_21_30_58_2933.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_01_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524099","1391524103","1391524095","1391524108","1391524113","1391524110"],"photo_ids_order":["1391524095","1391524099","1391524103","1391524108","1391524110","1391524113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12525ce6f3041b9c9392959912da0d03.jpg","text":"TemporaryFile(/tmp/multipartBody5989573934089665462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_30_25_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efce8256f4d0a4c419cd4594958a7c98.jpg","text":"TemporaryFile(/tmp/multipartBody8793861700696834850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_30_34_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be7e4779837c22bda36d6529900ce3cb.jpg","text":"TemporaryFile(/tmp/multipartBody9183113302314861088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_30_20_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cee14b86d4caa2146e06d73b668a9589.jpg","text":"TemporaryFile(/tmp/multipartBody7520530692500314149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_30_52_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7429439fb49515f5d05ab9fbc4cbddd3.jpg","text":"TemporaryFile(/tmp/multipartBody6299102657798835347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_31_01_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c98ae76f13b82e8bd3be06839c0a1cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6554270169148307802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971863837,"filename":"image_29102025_21_30_58_2933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524103","file1":"1391524099","file0":"1391524095","file4":"1391524110","file5":"1391524113","file3":"1391524108"},"map_files_photo_id_array":[{"photo_id":"1391524113","filename":"file5"},{"photo_id":"1391524103","filename":"file2"},{"photo_id":"1391524110","filename":"file4"},{"photo_id":"1391524099","filename":"file1"},{"photo_id":"1391524095","filename":"file0"},{"photo_id":"1391524108","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524099":["hashtag1","hashtag2"]},{"1391524103":["hashtag1","hashtag2"]},{"1391524095":["hashtag1","hashtag2"]},{"1391524108":["hashtag1","hashtag2"]},{"1391524113":["hashtag1","hashtag2"]},{"1391524110":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524099, 1391524103, 1391524095, 1391524108, 1391524113, 1391524110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08088684082031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:37:42.190578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_19_2761.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_25_2794.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_37_2682.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_46_2643.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_49_2698.jpg', '/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_55_2933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_19_2761.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_25_2794.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_37_2682.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_46_2643.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_49_2698.jpg
/home/pi/Desktop/images/29102025/21/31/image_29102025_21_31_55_2933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391524150","1391524146","1391524131","1391524137","1391524125","1391524142"],"photo_ids_order":["1391524125","1391524131","1391524137","1391524142","1391524146","1391524150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a4c30d61752a26a5a8cc0b59188b738.jpg","text":"TemporaryFile(/tmp/multipartBody5869030608321671638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_55_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60be1284d75f7a246eb9355a94139904.jpg","text":"TemporaryFile(/tmp/multipartBody4158693314394985135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_49_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d53f120150ce17c730d224f75eba9d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3070264704122200658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_25_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/978012e34dc7f49f7fde6acad08e3f86.jpg","text":"TemporaryFile(/tmp/multipartBody7968846984172665416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_37_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26eb2605dd5be845126fa8a277c25c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7406829645038365090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_19_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef442590f8f38ceff6cac84567c7b05d.jpg","text":"TemporaryFile(/tmp/multipartBody5110270451827719987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761971923442,"filename":"image_29102025_21_31_46_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524137","file1":"1391524131","file0":"1391524125","file4":"1391524146","file5":"1391524150","file3":"1391524142"},"map_files_photo_id_array":[{"photo_id":"1391524150","filename":"file5"},{"photo_id":"1391524137","filename":"file2"},{"photo_id":"1391524146","filename":"file4"},{"photo_id":"1391524131","filename":"file1"},{"photo_id":"1391524125","filename":"file0"},{"photo_id":"1391524142","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524150":["hashtag1","hashtag2"]},{"1391524146":["hashtag1","hashtag2"]},{"1391524131":["hashtag1","hashtag2"]},{"1391524137":["hashtag1","hashtag2"]},{"1391524125":["hashtag1","hashtag2"]},{"1391524142":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524150, 1391524146, 1391524131, 1391524137, 1391524125, 1391524142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02303194999695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:38:42.377118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_01_2639.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_04_2647.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_19_3647.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_31_2753.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_34_2691.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_38_4034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_01_2639.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_04_2647.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_19_3647.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_31_2753.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_34_2691.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_38_4034.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.036602258682251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:39:03.566734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_01_2639.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_04_2647.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_19_3647.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_31_2753.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_34_2691.jpg', '/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_38_4034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_01_2639.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_04_2647.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_19_3647.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_31_2753.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_34_2691.jpg
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_38_4034.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524186","1391524195","1391524191","1391524188","1391524199","1391524184"],"photo_ids_order":["1391524184","1391524186","1391524188","1391524191","1391524195","1391524199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46a16475356d938698cfd51d68dbc336.jpg","text":"TemporaryFile(/tmp/multipartBody1795595910569220369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_04_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2853931ba720d8c6bda98665b0b4d01c.jpg","text":"TemporaryFile(/tmp/multipartBody4684116287463388038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_34_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe1bc05e1dd0c04f8de7593b2ea45636.jpg","text":"TemporaryFile(/tmp/multipartBody3919796242103395319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_31_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d128956decf223015587e877604fd44.jpg","text":"TemporaryFile(/tmp/multipartBody7091883039430307589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_19_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65f4c75b519c0440066811dc94272983.jpg","text":"TemporaryFile(/tmp/multipartBody2534242360340382215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_38_4034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42acf58c5dd302a8a2beef15b7d2bb28.jpg","text":"TemporaryFile(/tmp/multipartBody3709162125646828508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972005712,"filename":"image_29102025_21_32_01_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524188","file1":"1391524186","file0":"1391524184","file4":"1391524195","file5":"1391524199","file3":"1391524191"},"map_files_photo_id_array":[{"photo_id":"1391524199","filename":"file5"},{"photo_id":"1391524188","filename":"file2"},{"photo_id":"1391524195","filename":"file4"},{"photo_id":"1391524186","filename":"file1"},{"photo_id":"1391524184","filename":"file0"},{"photo_id":"1391524191","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524186":["hashtag1","hashtag2"]},{"1391524195":["hashtag1","hashtag2"]},{"1391524191":["hashtag1","hashtag2"]},{"1391524188":["hashtag1","hashtag2"]},{"1391524199":["hashtag1","hashtag2"]},{"1391524184":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524186, 1391524195, 1391524191, 1391524188, 1391524199, 1391524184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13426160812378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:40:03.203508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_43_3275.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_01_2711.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_25_3676.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_40_2794.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_43_2727.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_49_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/32/image_29102025_21_32_43_3275.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_01_2711.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_25_3676.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_40_2794.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_43_2727.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_49_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524232","1391524237","1391524245","1391524239","1391524248","1391524241"],"photo_ids_order":["1391524232","1391524237","1391524239","1391524241","1391524245","1391524248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd990b323c6a0174e981847af9368197.jpg","text":"TemporaryFile(/tmp/multipartBody517133731279060873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_32_43_3275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4eb3e9843f2c92092582229ff1e1e681.jpg","text":"TemporaryFile(/tmp/multipartBody2326202620481103624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_33_01_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/182378f4e16064bd991a80a7ea6c1e89.jpg","text":"TemporaryFile(/tmp/multipartBody405089083466049320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_33_43_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a55056755cb81ab09e09ab0f8de04f41.jpg","text":"TemporaryFile(/tmp/multipartBody2605220891440843862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_33_25_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/633401a4c6e3221d00d69faebb060267.jpg","text":"TemporaryFile(/tmp/multipartBody6035421716498331228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_33_49_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e60bf22927019721d317858cd1c857.jpg","text":"TemporaryFile(/tmp/multipartBody7697386231453417729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972065353,"filename":"image_29102025_21_33_40_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524239","file1":"1391524237","file0":"1391524232","file4":"1391524245","file5":"1391524248","file3":"1391524241"},"map_files_photo_id_array":[{"photo_id":"1391524248","filename":"file5"},{"photo_id":"1391524239","filename":"file2"},{"photo_id":"1391524245","filename":"file4"},{"photo_id":"1391524237","filename":"file1"},{"photo_id":"1391524232","filename":"file0"},{"photo_id":"1391524241","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524232":["hashtag1","hashtag2"]},{"1391524237":["hashtag1","hashtag2"]},{"1391524245":["hashtag1","hashtag2"]},{"1391524239":["hashtag1","hashtag2"]},{"1391524248":["hashtag1","hashtag2"]},{"1391524241":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524232, 1391524237, 1391524245, 1391524239, 1391524248, 1391524241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44916296005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:40:42.688087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_52_2713.jpg', '/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_55_2792.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_01_2808.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_10_2787.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_16_2829.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_52_2713.jpg
/home/pi/Desktop/images/29102025/21/33/image_29102025_21_33_55_2792.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_01_2808.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_10_2787.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_16_2829.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_22_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524261","1391524275","1391524272","1391524271","1391524268","1391524265"],"photo_ids_order":["1391524261","1391524265","1391524268","1391524271","1391524272","1391524275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2616c6f73a769670555741bc9e9856a5.jpg","text":"TemporaryFile(/tmp/multipartBody8865055558080794909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_33_52_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a88c3607bbea55668dff18383eb3e12d.jpg","text":"TemporaryFile(/tmp/multipartBody8725670378553581624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_34_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a87f8b33af2dca5b3e8ebe23fd3f88c7.jpg","text":"TemporaryFile(/tmp/multipartBody1983680776307960365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_34_16_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f971f54d43a58c9be388bc6661af0b73.jpg","text":"TemporaryFile(/tmp/multipartBody6389887891970890380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_34_10_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2aa433487a52c2f6944a70f6173b00c.jpg","text":"TemporaryFile(/tmp/multipartBody2334171141786932831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_34_01_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15c182e5513e175a3f0358fc771eb7c8.jpg","text":"TemporaryFile(/tmp/multipartBody4587794832055304926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972103805,"filename":"image_29102025_21_33_55_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524268","file1":"1391524265","file0":"1391524261","file4":"1391524272","file5":"1391524275","file3":"1391524271"},"map_files_photo_id_array":[{"photo_id":"1391524275","filename":"file5"},{"photo_id":"1391524268","filename":"file2"},{"photo_id":"1391524272","filename":"file4"},{"photo_id":"1391524265","filename":"file1"},{"photo_id":"1391524261","filename":"file0"},{"photo_id":"1391524271","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524261":["hashtag1","hashtag2"]},{"1391524275":["hashtag1","hashtag2"]},{"1391524272":["hashtag1","hashtag2"]},{"1391524271":["hashtag1","hashtag2"]},{"1391524268":["hashtag1","hashtag2"]},{"1391524265":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524261, 1391524275, 1391524272, 1391524271, 1391524268, 1391524265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92109704017639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:41:21.852380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_25_2603.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_31_2600.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_34_2797.jpg', '/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_49_2795.jpg', '/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_24_2591.jpg', '/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_34_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_25_2603.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_31_2600.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_34_2797.jpg
/home/pi/Desktop/images/29102025/21/34/image_29102025_21_34_49_2795.jpg
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_24_2591.jpg
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_34_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524304","1391524297","1391524301","1391524285","1391524288","1391524292"],"photo_ids_order":["1391524285","1391524288","1391524292","1391524297","1391524301","1391524304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4f2b08f4452c74fdf82dce056d370f5.jpg","text":"TemporaryFile(/tmp/multipartBody2577517126442525584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_35_34_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c70dc45c55ee8b0fe0ce142ea495b2fe.jpg","text":"TemporaryFile(/tmp/multipartBody6289452000165446830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_34_49_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/547c90a76bacaa18f31a7143a17d9283.jpg","text":"TemporaryFile(/tmp/multipartBody1207917853610780259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_35_24_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8283779e1cf0e0f263b8998c3c2cd7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2889686589817814393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_34_25_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9030188ccd65fa7c2cabc5d0f8366f4.jpg","text":"TemporaryFile(/tmp/multipartBody8549281400316192363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_34_31_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fdd4c9d96812165fd48c951932c90c6.jpg","text":"TemporaryFile(/tmp/multipartBody732195451810686652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972144573,"filename":"image_29102025_21_34_34_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524292","file1":"1391524288","file0":"1391524285","file4":"1391524301","file5":"1391524304","file3":"1391524297"},"map_files_photo_id_array":[{"photo_id":"1391524304","filename":"file5"},{"photo_id":"1391524292","filename":"file2"},{"photo_id":"1391524301","filename":"file4"},{"photo_id":"1391524288","filename":"file1"},{"photo_id":"1391524285","filename":"file0"},{"photo_id":"1391524297","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524304":["hashtag1","hashtag2"]},{"1391524297":["hashtag1","hashtag2"]},{"1391524301":["hashtag1","hashtag2"]},{"1391524285":["hashtag1","hashtag2"]},{"1391524288":["hashtag1","hashtag2"]},{"1391524292":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524304, 1391524297, 1391524301, 1391524285, 1391524288, 1391524292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78373193740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:42:02.633595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_36_2779.jpg', '/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_40_3718.jpg', '/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_52_3692.jpg', '/home/pi/Desktop/images/29102025/21/35/image_29102025_21_36_01_3752.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_06_2611.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_16_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_36_2779.jpg
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_40_3718.jpg
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_35_52_3692.jpg
/home/pi/Desktop/images/29102025/21/35/image_29102025_21_36_01_3752.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_06_2611.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_16_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524310","1391524326","1391524320","1391524314","1391524323","1391524317"],"photo_ids_order":["1391524310","1391524314","1391524317","1391524320","1391524323","1391524326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3546e12dcbe620a2b9a637a8a99099a5.jpg","text":"TemporaryFile(/tmp/multipartBody8279663399408004283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_35_36_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a8a506da30d55a183f326d0310709a9.jpg","text":"TemporaryFile(/tmp/multipartBody2986786184523157410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_36_16_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a39318c0d21931916aec7d9561a57810.jpg","text":"TemporaryFile(/tmp/multipartBody1923317117704394780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_36_01_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/731102573e45d6c8599c7966458cf510.jpg","text":"TemporaryFile(/tmp/multipartBody7099959598296730151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_35_40_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a6c4665f6558110448533b6e127f5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4776317888132933483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_36_06_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f73e36592a94479b8c4e097c796c31.jpg","text":"TemporaryFile(/tmp/multipartBody1865824369900906617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972184740,"filename":"image_29102025_21_35_52_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524317","file1":"1391524314","file0":"1391524310","file4":"1391524323","file5":"1391524326","file3":"1391524320"},"map_files_photo_id_array":[{"photo_id":"1391524326","filename":"file5"},{"photo_id":"1391524317","filename":"file2"},{"photo_id":"1391524323","filename":"file4"},{"photo_id":"1391524314","filename":"file1"},{"photo_id":"1391524310","filename":"file0"},{"photo_id":"1391524320","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524310":["hashtag1","hashtag2"]},{"1391524326":["hashtag1","hashtag2"]},{"1391524320":["hashtag1","hashtag2"]},{"1391524314":["hashtag1","hashtag2"]},{"1391524323":["hashtag1","hashtag2"]},{"1391524317":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524310, 1391524326, 1391524320, 1391524314, 1391524323, 1391524317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2489857673645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:42:42.138013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_19_2664.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_22_2674.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_28_2590.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_37_2676.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_39_2635.jpg', '/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_46_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_19_2664.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_22_2674.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_28_2590.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_37_2676.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_39_2635.jpg
/home/pi/Desktop/images/29102025/21/36/image_29102025_21_36_46_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524390","1391524392","1391524356","1391524350","1391524379","1391524337"],"photo_ids_order":["1391524337","1391524350","1391524356","1391524379","1391524390","1391524392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4a6667fc0e91f0b0c47eba48598b600.jpg","text":"TemporaryFile(/tmp/multipartBody8337701383830739648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_39_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08007877d78ab2f61c61c842ff73b71f.jpg","text":"TemporaryFile(/tmp/multipartBody4502086703193754474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_46_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c58edfca80567202c09779cdafe9104.jpg","text":"TemporaryFile(/tmp/multipartBody6580956138771301463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0ffaff0cb3d187452f8bbbc1fd7eee7.jpg","text":"TemporaryFile(/tmp/multipartBody545766821923714408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa3cdafadeed04e2ea91ae80a3121d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1844288958931134070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_37_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/556b8690b68d5acf57900bf7b662574b.jpg","text":"TemporaryFile(/tmp/multipartBody1263902729426429076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972225759,"filename":"image_29102025_21_36_19_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524356","file1":"1391524350","file0":"1391524337","file4":"1391524390","file5":"1391524392","file3":"1391524379"},"map_files_photo_id_array":[{"photo_id":"1391524392","filename":"file5"},{"photo_id":"1391524356","filename":"file2"},{"photo_id":"1391524390","filename":"file4"},{"photo_id":"1391524350","filename":"file1"},{"photo_id":"1391524337","filename":"file0"},{"photo_id":"1391524379","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524390":["hashtag1","hashtag2"]},{"1391524392":["hashtag1","hashtag2"]},{"1391524356":["hashtag1","hashtag2"]},{"1391524350":["hashtag1","hashtag2"]},{"1391524379":["hashtag1","hashtag2"]},{"1391524337":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524390, 1391524392, 1391524356, 1391524350, 1391524379, 1391524337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16851830482483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:43:42.328777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_07_2775.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_09_2638.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_12_2893.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_16_3784.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_31_2707.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_37_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_07_2775.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_09_2638.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_12_2893.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_16_3784.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_31_2707.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_37_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524511","1391524412","1391524406","1391524555","1391524423","1391524466"],"photo_ids_order":["1391524406","1391524412","1391524423","1391524466","1391524511","1391524555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9e1ff9311e41007b66d903181d77ab9.jpg","text":"TemporaryFile(/tmp/multipartBody951195657093956508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec29ef73df3a91515e8b8437be635c08.jpg","text":"TemporaryFile(/tmp/multipartBody258708724989006440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_09_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/905be86a4ec8c8acdb740494cbf12a42.jpg","text":"TemporaryFile(/tmp/multipartBody3580248293486811773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_07_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cfada47d7f06ee2321342e031b7c0b2.jpg","text":"TemporaryFile(/tmp/multipartBody362457708728793364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_37_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d21defa1ed95c024b1c47d6b2842de5e.jpg","text":"TemporaryFile(/tmp/multipartBody7548034584183157364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_12_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51e1d30ecde4ff54c19402e0115ca0f5.jpg","text":"TemporaryFile(/tmp/multipartBody2902614581076871050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972283450,"filename":"image_29102025_21_37_16_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524423","file1":"1391524412","file0":"1391524406","file4":"1391524511","file5":"1391524555","file3":"1391524466"},"map_files_photo_id_array":[{"photo_id":"1391524555","filename":"file5"},{"photo_id":"1391524423","filename":"file2"},{"photo_id":"1391524511","filename":"file4"},{"photo_id":"1391524412","filename":"file1"},{"photo_id":"1391524406","filename":"file0"},{"photo_id":"1391524466","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524511":["hashtag1","hashtag2"]},{"1391524412":["hashtag1","hashtag2"]},{"1391524406":["hashtag1","hashtag2"]},{"1391524555":["hashtag1","hashtag2"]},{"1391524423":["hashtag1","hashtag2"]},{"1391524466":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524511, 1391524412, 1391524406, 1391524555, 1391524423, 1391524466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18691611289978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:44:22.575233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_42_2689.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_45_2800.jpg', '/home/pi/Desktop/images/29102025/21/37/image_29102025_21_38_00_2654.jpg', '/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_21_2695.jpg', '/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_34_3714.jpg', '/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_37_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_42_2689.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_37_45_2800.jpg
/home/pi/Desktop/images/29102025/21/37/image_29102025_21_38_00_2654.jpg
/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_21_2695.jpg
/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_34_3714.jpg
/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_37_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524672","1391524588","1391524651","1391524623","1391524626","1391524631"],"photo_ids_order":["1391524588","1391524623","1391524626","1391524631","1391524651","1391524672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e93990cfe9dfb11fd4129375b0280026.jpg","text":"TemporaryFile(/tmp/multipartBody7597025641929113388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_38_37_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57e4d09fb7a331e503739b4e5d6479ed.jpg","text":"TemporaryFile(/tmp/multipartBody1929854561237094006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_37_42_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59e0f64f8f00ac2a35821ffed8274dde.jpg","text":"TemporaryFile(/tmp/multipartBody4200890076902652029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_38_34_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c474170cebb727eb340675bfb6c30f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5271924404494449705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_37_45_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b73676d19a6eaaa9ff3adcbdbf17e5f.jpg","text":"TemporaryFile(/tmp/multipartBody677558935195511386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_38_00_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c03086648934deecb46ae7ee10363471.jpg","text":"TemporaryFile(/tmp/multipartBody2235717723501314984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972325287,"filename":"image_29102025_21_38_21_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524626","file1":"1391524623","file0":"1391524588","file4":"1391524651","file5":"1391524672","file3":"1391524631"},"map_files_photo_id_array":[{"photo_id":"1391524672","filename":"file5"},{"photo_id":"1391524626","filename":"file2"},{"photo_id":"1391524651","filename":"file4"},{"photo_id":"1391524623","filename":"file1"},{"photo_id":"1391524588","filename":"file0"},{"photo_id":"1391524631","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524672":["hashtag1","hashtag2"]},{"1391524588":["hashtag1","hashtag2"]},{"1391524651":["hashtag1","hashtag2"]},{"1391524623":["hashtag1","hashtag2"]},{"1391524626":["hashtag1","hashtag2"]},{"1391524631":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524672, 1391524588, 1391524651, 1391524623, 1391524626, 1391524631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5372531414032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:45:03.502923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_43_3554.jpg', '/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_51_2741.jpg', '/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_10_3643.jpg', '/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_13_2759.jpg', '/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_22_3695.jpg', '/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_27_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_43_3554.jpg
/home/pi/Desktop/images/29102025/21/38/image_29102025_21_38_51_2741.jpg
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_10_3643.jpg
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_13_2759.jpg
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_22_3695.jpg
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_27_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524690","1391524783","1391524785","1391524695","1391524749","1391524707"],"photo_ids_order":["1391524690","1391524695","1391524707","1391524749","1391524783","1391524785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc54c25a6ca4def2d97f93f952eaa3d2.jpg","text":"TemporaryFile(/tmp/multipartBody2734003248902394755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_38_43_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5595e3691f95d461d75058225a5dc3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2036999738213567787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_39_22_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ebf831090219e3666b1d2afa90976b0.jpg","text":"TemporaryFile(/tmp/multipartBody1019205137948275562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_39_27_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bc42d2a084358e093c93664c4ebca4d.jpg","text":"TemporaryFile(/tmp/multipartBody6351992445880578275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_38_51_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0fed94c3a727ce2bc13eb85dee82bba.jpg","text":"TemporaryFile(/tmp/multipartBody8415275742037595264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_39_13_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40627faddbf63b2e22c4193b86a29696.jpg","text":"TemporaryFile(/tmp/multipartBody4277615363809698608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972365710,"filename":"image_29102025_21_39_10_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524707","file1":"1391524695","file0":"1391524690","file4":"1391524783","file5":"1391524785","file3":"1391524749"},"map_files_photo_id_array":[{"photo_id":"1391524785","filename":"file5"},{"photo_id":"1391524707","filename":"file2"},{"photo_id":"1391524783","filename":"file4"},{"photo_id":"1391524695","filename":"file1"},{"photo_id":"1391524690","filename":"file0"},{"photo_id":"1391524749","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524690":["hashtag1","hashtag2"]},{"1391524783":["hashtag1","hashtag2"]},{"1391524785":["hashtag1","hashtag2"]},{"1391524695":["hashtag1","hashtag2"]},{"1391524749":["hashtag1","hashtag2"]},{"1391524707":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524690, 1391524783, 1391524785, 1391524695, 1391524749, 1391524707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96648621559143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:46:02.457767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_33_2727.jpg', '/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_57_2678.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_21_2698.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_25_3658.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_34_3737.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_36_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_33_2727.jpg
/home/pi/Desktop/images/29102025/21/39/image_29102025_21_39_57_2678.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_21_2698.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_25_3658.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_34_3737.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_36_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524835","1391524816","1391524831","1391524810","1391524813","1391524807"],"photo_ids_order":["1391524807","1391524810","1391524813","1391524816","1391524831","1391524835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/028a66980d21f39270b47afed676a552.jpg","text":"TemporaryFile(/tmp/multipartBody1638059080369093697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_40_36_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1339ae583d68c7b50c9a180668566d06.jpg","text":"TemporaryFile(/tmp/multipartBody6899365536035582963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_40_25_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76ef94c307ece19a0920d52ed2747d68.jpg","text":"TemporaryFile(/tmp/multipartBody7053366018287414154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_40_34_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41175d6ccf58188babfb7fb3bc2658f0.jpg","text":"TemporaryFile(/tmp/multipartBody8673007141603853593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_39_57_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ab6b28dc7591ae04787c614d7b3919b.jpg","text":"TemporaryFile(/tmp/multipartBody9026918365115571415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_40_21_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4550c4ad428b9a9e7f68349146e6971b.jpg","text":"TemporaryFile(/tmp/multipartBody8325036944615706743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972424671,"filename":"image_29102025_21_39_33_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524813","file1":"1391524810","file0":"1391524807","file4":"1391524831","file5":"1391524835","file3":"1391524816"},"map_files_photo_id_array":[{"photo_id":"1391524835","filename":"file5"},{"photo_id":"1391524813","filename":"file2"},{"photo_id":"1391524831","filename":"file4"},{"photo_id":"1391524810","filename":"file1"},{"photo_id":"1391524807","filename":"file0"},{"photo_id":"1391524816","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524835":["hashtag1","hashtag2"]},{"1391524816":["hashtag1","hashtag2"]},{"1391524831":["hashtag1","hashtag2"]},{"1391524810":["hashtag1","hashtag2"]},{"1391524813":["hashtag1","hashtag2"]},{"1391524807":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524835, 1391524816, 1391524831, 1391524810, 1391524813, 1391524807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97569251060486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:47:02.789589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_39_2793.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_42_2856.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_48_2561.jpg', '/home/pi/Desktop/images/29102025/21/40/image_29102025_21_41_00_2665.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_06_2680.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_09_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_39_2793.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_42_2856.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_40_48_2561.jpg
/home/pi/Desktop/images/29102025/21/40/image_29102025_21_41_00_2665.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_06_2680.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_09_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524916","1391524921","1391524914","1391524917","1391524919","1391524910"],"photo_ids_order":["1391524910","1391524914","1391524916","1391524917","1391524919","1391524921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d8f95c747339c92ab127f501f36339d.jpg","text":"TemporaryFile(/tmp/multipartBody2219427618134902152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_40_48_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/360eccd85e1f36851b5e27b0fea6aad1.jpg","text":"TemporaryFile(/tmp/multipartBody7344224133704954756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_41_09_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d8f685429f072be12254029dfbbd820.jpg","text":"TemporaryFile(/tmp/multipartBody8535632866961785645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_40_42_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49bab98e457aa580f809f4de3e028ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8698576400405093577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_41_00_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1a1325124a3370ab59d1c7c0a0137b3.jpg","text":"TemporaryFile(/tmp/multipartBody6214785906351612465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_41_06_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79d0fb53fa573a556cf451290a6ef0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8097051988598313818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972485021,"filename":"image_29102025_21_40_39_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524916","file1":"1391524914","file0":"1391524910","file4":"1391524919","file5":"1391524921","file3":"1391524917"},"map_files_photo_id_array":[{"photo_id":"1391524921","filename":"file5"},{"photo_id":"1391524916","filename":"file2"},{"photo_id":"1391524919","filename":"file4"},{"photo_id":"1391524914","filename":"file1"},{"photo_id":"1391524910","filename":"file0"},{"photo_id":"1391524917","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524916":["hashtag1","hashtag2"]},{"1391524921":["hashtag1","hashtag2"]},{"1391524914":["hashtag1","hashtag2"]},{"1391524917":["hashtag1","hashtag2"]},{"1391524919":["hashtag1","hashtag2"]},{"1391524910":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524916, 1391524921, 1391524914, 1391524917, 1391524919, 1391524910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45712351799011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:48:02.738193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_12_2710.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_51_2496.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_54_3734.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_57_2555.jpg', '/home/pi/Desktop/images/29102025/21/41/image_29102025_21_42_00_2889.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_04_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_12_2710.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_51_2496.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_54_3734.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_41_57_2555.jpg
/home/pi/Desktop/images/29102025/21/41/image_29102025_21_42_00_2889.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_04_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524951","1391524960","1391524948","1391524945","1391524965","1391524955"],"photo_ids_order":["1391524945","1391524948","1391524951","1391524955","1391524960","1391524965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1af842c731508682d1282074fc5a9b7.jpg","text":"TemporaryFile(/tmp/multipartBody7992045632556252753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_41_54_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d63b57346a5172dec0d169a8d7bfb3d.jpg","text":"TemporaryFile(/tmp/multipartBody5737942550485048391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_42_00_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af727c7db374b11f6c39b1476f340c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2291318550578067280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_41_51_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c81e6d3a87b4f497a4ffa35da99c1483.jpg","text":"TemporaryFile(/tmp/multipartBody8245488261936211382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_41_12_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/880f516c7b870495f3234c3fe4182815.jpg","text":"TemporaryFile(/tmp/multipartBody8477702202683398416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_42_04_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afa262f38181be0944b606b45d7e0ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5661702631921651793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972544889,"filename":"image_29102025_21_41_57_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524951","file1":"1391524948","file0":"1391524945","file4":"1391524960","file5":"1391524965","file3":"1391524955"},"map_files_photo_id_array":[{"photo_id":"1391524965","filename":"file5"},{"photo_id":"1391524951","filename":"file2"},{"photo_id":"1391524960","filename":"file4"},{"photo_id":"1391524948","filename":"file1"},{"photo_id":"1391524945","filename":"file0"},{"photo_id":"1391524955","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524951":["hashtag1","hashtag2"]},{"1391524960":["hashtag1","hashtag2"]},{"1391524948":["hashtag1","hashtag2"]},{"1391524945":["hashtag1","hashtag2"]},{"1391524965":["hashtag1","hashtag2"]},{"1391524955":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524951, 1391524960, 1391524948, 1391524945, 1391524965, 1391524955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34734511375427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:48:42.469901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_06_2693.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_09_2767.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_12_2649.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_15_3602.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_36_2785.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_40_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_06_2693.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_09_2767.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_12_2649.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_15_3602.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_36_2785.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_40_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391524993","1391524989","1391524985","1391524988","1391524982","1391524979"],"photo_ids_order":["1391524979","1391524982","1391524985","1391524988","1391524989","1391524993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a1dc7963c7469653b99900b005c1360.jpg","text":"TemporaryFile(/tmp/multipartBody2770046619461908156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_40_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8adacdc35d0fcc5a98819f859c6d68b1.jpg","text":"TemporaryFile(/tmp/multipartBody8208339059436126460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_36_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9654c410bf66f23062702b4b940e90a3.jpg","text":"TemporaryFile(/tmp/multipartBody6074419640966258578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_12_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e807c14f6d580ee1d72b64ed6e704694.jpg","text":"TemporaryFile(/tmp/multipartBody6460693392379076094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_15_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e6d543bca1a6800403b38fa7777dd48.jpg","text":"TemporaryFile(/tmp/multipartBody5364720315310839046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_09_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d53026a37238f873e8b25505d5dbde01.jpg","text":"TemporaryFile(/tmp/multipartBody1485088537992181592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972583634,"filename":"image_29102025_21_42_06_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391524985","file1":"1391524982","file0":"1391524979","file4":"1391524989","file5":"1391524993","file3":"1391524988"},"map_files_photo_id_array":[{"photo_id":"1391524993","filename":"file5"},{"photo_id":"1391524985","filename":"file2"},{"photo_id":"1391524989","filename":"file4"},{"photo_id":"1391524982","filename":"file1"},{"photo_id":"1391524979","filename":"file0"},{"photo_id":"1391524988","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391524993":["hashtag1","hashtag2"]},{"1391524989":["hashtag1","hashtag2"]},{"1391524985":["hashtag1","hashtag2"]},{"1391524988":["hashtag1","hashtag2"]},{"1391524982":["hashtag1","hashtag2"]},{"1391524979":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391524993, 1391524989, 1391524985, 1391524988, 1391524982, 1391524979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.383957862854004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:49:22.632774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_49_3692.jpg', '/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_51_2534.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_06_2801.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_18_3787.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_30_2645.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_33_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_49_3692.jpg
/home/pi/Desktop/images/29102025/21/42/image_29102025_21_42_51_2534.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_06_2801.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_18_3787.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_30_2645.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_33_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525017","1391525002","1391525005","1391525008","1391525024","1391525012"],"photo_ids_order":["1391525002","1391525005","1391525008","1391525012","1391525017","1391525024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6509e99547d9af7e87cdb2d94bf5483.jpg","text":"TemporaryFile(/tmp/multipartBody9123605542690714646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_43_30_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d4be7c2d33c5f9168dcb3f6174cd5e7.jpg","text":"TemporaryFile(/tmp/multipartBody7783549819149052176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_42_49_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3eb70485aae71eef189c063a7e584faf.jpg","text":"TemporaryFile(/tmp/multipartBody3696447005787806021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_42_51_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3df5450c71b432f954be435001e915a3.jpg","text":"TemporaryFile(/tmp/multipartBody9012128134366929818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_43_06_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6548bba2531c72d0f289f18074e79bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4234076385266556858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_43_33_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b4b916a63a77d9b289cc8b6fb8938cf.jpg","text":"TemporaryFile(/tmp/multipartBody2050755820773156901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972625657,"filename":"image_29102025_21_43_18_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525008","file1":"1391525005","file0":"1391525002","file4":"1391525017","file5":"1391525024","file3":"1391525012"},"map_files_photo_id_array":[{"photo_id":"1391525024","filename":"file5"},{"photo_id":"1391525008","filename":"file2"},{"photo_id":"1391525017","filename":"file4"},{"photo_id":"1391525005","filename":"file1"},{"photo_id":"1391525002","filename":"file0"},{"photo_id":"1391525012","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525017":["hashtag1","hashtag2"]},{"1391525002":["hashtag1","hashtag2"]},{"1391525005":["hashtag1","hashtag2"]},{"1391525008":["hashtag1","hashtag2"]},{"1391525024":["hashtag1","hashtag2"]},{"1391525012":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525017, 1391525002, 1391525005, 1391525008, 1391525024, 1391525012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12184929847717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:50:21.796073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_37_3700.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_42_2712.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_48_2815.jpg', '/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_51_3138.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_03_2667.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_09_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_37_3700.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_42_2712.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_48_2815.jpg
/home/pi/Desktop/images/29102025/21/43/image_29102025_21_43_51_3138.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_03_2667.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_09_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525059","1391525047","1391525041","1391525044","1391525054","1391525051"],"photo_ids_order":["1391525041","1391525044","1391525047","1391525051","1391525054","1391525059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4aaad7f518fbca1e56d4f5ff9c2b313e.jpg","text":"TemporaryFile(/tmp/multipartBody5353241937123764939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_44_09_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f06b1b26e4b56cdee06a7a315d1cc19.jpg","text":"TemporaryFile(/tmp/multipartBody8059346538161423179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_43_48_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96c9e44e25be71853335d478c0a69263.jpg","text":"TemporaryFile(/tmp/multipartBody5603193963593318501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_43_37_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04073caefc99e9742490316252c5cf71.jpg","text":"TemporaryFile(/tmp/multipartBody4158336250124566055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_43_42_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e986b9998b4ddc62c059b0b412a93737.jpg","text":"TemporaryFile(/tmp/multipartBody6031550534042337408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_44_03_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25f4663a33401cdf5394aac69b557536.jpg","text":"TemporaryFile(/tmp/multipartBody7697353714531175359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972685132,"filename":"image_29102025_21_43_51_3138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525047","file1":"1391525044","file0":"1391525041","file4":"1391525054","file5":"1391525059","file3":"1391525051"},"map_files_photo_id_array":[{"photo_id":"1391525059","filename":"file5"},{"photo_id":"1391525047","filename":"file2"},{"photo_id":"1391525054","filename":"file4"},{"photo_id":"1391525044","filename":"file1"},{"photo_id":"1391525041","filename":"file0"},{"photo_id":"1391525051","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525059":["hashtag1","hashtag2"]},{"1391525047":["hashtag1","hashtag2"]},{"1391525041":["hashtag1","hashtag2"]},{"1391525044":["hashtag1","hashtag2"]},{"1391525054":["hashtag1","hashtag2"]},{"1391525051":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525059, 1391525047, 1391525041, 1391525044, 1391525054, 1391525051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.681607484817505 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:51:22.058277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_12_2756.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_21_3566.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_27_2585.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_36_2609.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_39_3718.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_45_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_12_2756.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_21_3566.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_27_2585.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_36_2609.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_39_3718.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_45_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525074","1391525088","1391525076","1391525079","1391525093","1391525083"],"photo_ids_order":["1391525074","1391525076","1391525079","1391525083","1391525088","1391525093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65bcd8ead7ac60408db8e95a8e9b26be.jpg","text":"TemporaryFile(/tmp/multipartBody1050853541088373036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_12_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b9ca488965ef3395f5d5b5b7e426547.jpg","text":"TemporaryFile(/tmp/multipartBody3017872803176382299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_39_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f92a4ba81cd57f22d3a482f8f3356a6.jpg","text":"TemporaryFile(/tmp/multipartBody8711372196574781624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_21_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b58f90682578b06f18992af2f15d2fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1217412915322423717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_27_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bc3601c3612fc343dc374f481b43c38.jpg","text":"TemporaryFile(/tmp/multipartBody4091015309876418669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_45_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a659afcf9436999afc2ae213b58edaa.jpg","text":"TemporaryFile(/tmp/multipartBody3475261613482977822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972744495,"filename":"image_29102025_21_44_36_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525079","file1":"1391525076","file0":"1391525074","file4":"1391525088","file5":"1391525093","file3":"1391525083"},"map_files_photo_id_array":[{"photo_id":"1391525093","filename":"file5"},{"photo_id":"1391525079","filename":"file2"},{"photo_id":"1391525088","filename":"file4"},{"photo_id":"1391525076","filename":"file1"},{"photo_id":"1391525074","filename":"file0"},{"photo_id":"1391525083","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525074":["hashtag1","hashtag2"]},{"1391525088":["hashtag1","hashtag2"]},{"1391525076":["hashtag1","hashtag2"]},{"1391525079":["hashtag1","hashtag2"]},{"1391525093":["hashtag1","hashtag2"]},{"1391525083":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525074, 1391525088, 1391525076, 1391525079, 1391525093, 1391525083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83048677444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:52:02.667116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_48_2680.jpg', '/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_57_2727.jpg', '/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_15_3579.jpg', '/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_20_2584.jpg', '/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_24_3660.jpg', '/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_39_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_48_2680.jpg
/home/pi/Desktop/images/29102025/21/44/image_29102025_21_44_57_2727.jpg
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_15_3579.jpg
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_20_2584.jpg
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_24_3660.jpg
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_39_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525122","1391525119","1391525107","1391525142","1391525139","1391525103"],"photo_ids_order":["1391525103","1391525107","1391525119","1391525122","1391525139","1391525142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c722e0c72ba86436ba2416f872b1dd91.jpg","text":"TemporaryFile(/tmp/multipartBody4202506727384574136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_45_20_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5648ad9dd8f18008dd5a479b74253d92.jpg","text":"TemporaryFile(/tmp/multipartBody4976708109208019164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_45_15_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/583a33a564fd2c21c97ae0ad647042a5.jpg","text":"TemporaryFile(/tmp/multipartBody8539184430547030205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_44_57_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0cffb6d19974815d1812ed049ac0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3283084109173654194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_45_39_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/285eb25650221a59dfba7c6dd6fe2ba8.jpg","text":"TemporaryFile(/tmp/multipartBody8119118982094540868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_45_24_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c5648c651d5d6db11e8e7d0e45fd41b.jpg","text":"TemporaryFile(/tmp/multipartBody4349393478272370022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972784939,"filename":"image_29102025_21_44_48_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525119","file1":"1391525107","file0":"1391525103","file4":"1391525139","file5":"1391525142","file3":"1391525122"},"map_files_photo_id_array":[{"photo_id":"1391525142","filename":"file5"},{"photo_id":"1391525119","filename":"file2"},{"photo_id":"1391525139","filename":"file4"},{"photo_id":"1391525107","filename":"file1"},{"photo_id":"1391525103","filename":"file0"},{"photo_id":"1391525122","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525122":["hashtag1","hashtag2"]},{"1391525119":["hashtag1","hashtag2"]},{"1391525107":["hashtag1","hashtag2"]},{"1391525142":["hashtag1","hashtag2"]},{"1391525139":["hashtag1","hashtag2"]},{"1391525103":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525122, 1391525119, 1391525107, 1391525142, 1391525139, 1391525103)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.11579895019531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:53:03.182252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_48_3678.jpg', '/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_54_2597.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_09_3686.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_12_2533.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_14_2803.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_18_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_48_3678.jpg
/home/pi/Desktop/images/29102025/21/45/image_29102025_21_45_54_2597.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_09_3686.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_12_2533.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_14_2803.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_18_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525266","1391525227","1391525199","1391525202","1391525195","1391525197"],"photo_ids_order":["1391525195","1391525197","1391525199","1391525202","1391525227","1391525266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42d2addec901d6065c4dd7f27795ed72.jpg","text":"TemporaryFile(/tmp/multipartBody4814620285266892800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_46_18_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8967d2e00ab11f168de42951aee917d.jpg","text":"TemporaryFile(/tmp/multipartBody6372232520284190115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_46_14_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d05a354976bd2d26e2a6156ce6e205df.jpg","text":"TemporaryFile(/tmp/multipartBody188070148300692205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_46_09_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb656e9bb4c164f2ab2e919d56a0fc25.jpg","text":"TemporaryFile(/tmp/multipartBody2356391194108895575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_46_12_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7976ab00002e65d70127d7d3226c36bd.jpg","text":"TemporaryFile(/tmp/multipartBody2555298607266832883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_45_48_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/296462931807574a70172a26727aecdd.jpg","text":"TemporaryFile(/tmp/multipartBody830421298358578399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972845390,"filename":"image_29102025_21_45_54_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525199","file1":"1391525197","file0":"1391525195","file4":"1391525227","file5":"1391525266","file3":"1391525202"},"map_files_photo_id_array":[{"photo_id":"1391525266","filename":"file5"},{"photo_id":"1391525199","filename":"file2"},{"photo_id":"1391525227","filename":"file4"},{"photo_id":"1391525197","filename":"file1"},{"photo_id":"1391525195","filename":"file0"},{"photo_id":"1391525202","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525266":["hashtag1","hashtag2"]},{"1391525227":["hashtag1","hashtag2"]},{"1391525199":["hashtag1","hashtag2"]},{"1391525202":["hashtag1","hashtag2"]},{"1391525195":["hashtag1","hashtag2"]},{"1391525197":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525266, 1391525227, 1391525199, 1391525202, 1391525195, 1391525197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.483619689941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:53:42.471021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_39_3517.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_42_2719.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_51_2571.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_53_2679.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_57_3915.jpg', '/home/pi/Desktop/images/29102025/21/46/image_29102025_21_47_00_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_39_3517.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_42_2719.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_51_2571.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_53_2679.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_46_57_3915.jpg
/home/pi/Desktop/images/29102025/21/46/image_29102025_21_47_00_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525398","1391525383","1391525391","1391525442","1391525436","1391525386"],"photo_ids_order":["1391525383","1391525386","1391525391","1391525398","1391525436","1391525442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/316609aecb93d74e2537a788a6958699.jpg","text":"TemporaryFile(/tmp/multipartBody1299712511511789143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_46_53_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bc8529d2771c5ef408cc0f8931db8da.jpg","text":"TemporaryFile(/tmp/multipartBody5777150180005747225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_46_39_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35dcb697b990fcf7a5e0e5c3d60a47b7.jpg","text":"TemporaryFile(/tmp/multipartBody4946865328453495215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_46_51_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35770affff908ac3c205c6e562772e48.jpg","text":"TemporaryFile(/tmp/multipartBody1603490491525556437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_47_00_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29d4fabc1045fa3cba0adbc46dded5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1754527476242141673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_46_57_3915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca7392f3358e27690eb79ccf2ec07bf7.jpg","text":"TemporaryFile(/tmp/multipartBody225220386616535715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972883618,"filename":"image_29102025_21_46_42_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525391","file1":"1391525386","file0":"1391525383","file4":"1391525436","file5":"1391525442","file3":"1391525398"},"map_files_photo_id_array":[{"photo_id":"1391525442","filename":"file5"},{"photo_id":"1391525391","filename":"file2"},{"photo_id":"1391525436","filename":"file4"},{"photo_id":"1391525386","filename":"file1"},{"photo_id":"1391525383","filename":"file0"},{"photo_id":"1391525398","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525398":["hashtag1","hashtag2"]},{"1391525383":["hashtag1","hashtag2"]},{"1391525391":["hashtag1","hashtag2"]},{"1391525442":["hashtag1","hashtag2"]},{"1391525436":["hashtag1","hashtag2"]},{"1391525386":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525398, 1391525383, 1391525391, 1391525442, 1391525436, 1391525386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.517950773239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:54:22.565056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_03_2795.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_05_2646.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_09_3743.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_14_2636.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_18_3559.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_24_2910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_03_2795.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_05_2646.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_09_3743.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_14_2636.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_18_3559.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_24_2910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525689","1391525757","1391525727","1391525699","1391525684","1391525528"],"photo_ids_order":["1391525528","1391525684","1391525689","1391525699","1391525727","1391525757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47543565b974b7dd134685046450949a.jpg","text":"TemporaryFile(/tmp/multipartBody6663828210866081445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_09_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed2dde7f82f1dec772ca5e1a6eca388d.jpg","text":"TemporaryFile(/tmp/multipartBody291629413344437901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_24_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d532c0f73bbed5d137c2c9028780447c.jpg","text":"TemporaryFile(/tmp/multipartBody8863014435335875517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_18_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc7a305d065a21c1a34fa1c1846c2087.jpg","text":"TemporaryFile(/tmp/multipartBody7751305947782625724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_14_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ecf36bd33ed45aa2511e554600f8ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2234373689425507982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_05_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/929aeaff016af3c1605f035862d97772.jpg","text":"TemporaryFile(/tmp/multipartBody6594068592011831675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972925281,"filename":"image_29102025_21_47_03_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525689","file1":"1391525684","file0":"1391525528","file4":"1391525727","file5":"1391525757","file3":"1391525699"},"map_files_photo_id_array":[{"photo_id":"1391525757","filename":"file5"},{"photo_id":"1391525689","filename":"file2"},{"photo_id":"1391525727","filename":"file4"},{"photo_id":"1391525684","filename":"file1"},{"photo_id":"1391525528","filename":"file0"},{"photo_id":"1391525699","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525689":["hashtag1","hashtag2"]},{"1391525757":["hashtag1","hashtag2"]},{"1391525727":["hashtag1","hashtag2"]},{"1391525699":["hashtag1","hashtag2"]},{"1391525684":["hashtag1","hashtag2"]},{"1391525528":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525689, 1391525757, 1391525727, 1391525699, 1391525684, 1391525528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.896247148513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:55:22.839707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_27_3547.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_30_2763.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_33_2766.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_39_3598.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_48_2675.jpg', '/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_50_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_27_3547.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_30_2763.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_33_2766.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_39_3598.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_48_2675.jpg
/home/pi/Desktop/images/29102025/21/47/image_29102025_21_47_50_2503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391525892","1391525905","1391525898","1391525885","1391525888","1391525909"],"photo_ids_order":["1391525885","1391525888","1391525892","1391525898","1391525905","1391525909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffab1beebfde000e54398b4bcd1cfb90.jpg","text":"TemporaryFile(/tmp/multipartBody4187301877355083609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_33_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e335378773c78be13aeb91ad33357ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1948802868570286948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_48_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96f1ccd6504aa34ed0703bc39950e35f.jpg","text":"TemporaryFile(/tmp/multipartBody2946293324030983509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_39_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a34c338b77b818c43f24c4fabd186c01.jpg","text":"TemporaryFile(/tmp/multipartBody6014615325701604113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_27_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e498873cf70f893476c3305a6ee47cb.jpg","text":"TemporaryFile(/tmp/multipartBody6536691952506598283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_30_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7bba8d6497d1c15faad4ec12343c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody6019440377407734775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761972985241,"filename":"image_29102025_21_47_50_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391525892","file1":"1391525888","file0":"1391525885","file4":"1391525905","file5":"1391525909","file3":"1391525898"},"map_files_photo_id_array":[{"photo_id":"1391525909","filename":"file5"},{"photo_id":"1391525892","filename":"file2"},{"photo_id":"1391525905","filename":"file4"},{"photo_id":"1391525888","filename":"file1"},{"photo_id":"1391525885","filename":"file0"},{"photo_id":"1391525898","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391525892":["hashtag1","hashtag2"]},{"1391525905":["hashtag1","hashtag2"]},{"1391525898":["hashtag1","hashtag2"]},{"1391525885":["hashtag1","hashtag2"]},{"1391525888":["hashtag1","hashtag2"]},{"1391525909":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391525892, 1391525905, 1391525898, 1391525885, 1391525888, 1391525909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27372169494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:56:02.413943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_02_2904.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_23_2655.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_27_3608.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_29_2617.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_32_2683.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_35_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_02_2904.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_23_2655.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_27_3608.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_29_2617.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_32_2683.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_35_2908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526013","1391526093","1391526057","1391526018","1391526086","1391526068"],"photo_ids_order":["1391526013","1391526018","1391526057","1391526068","1391526086","1391526093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e26afe85f32937009422443c51e6e65.jpg","text":"TemporaryFile(/tmp/multipartBody122773762420727631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_02_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/510464c3e8a7954ad2331ef6836cbbdc.jpg","text":"TemporaryFile(/tmp/multipartBody374760818675684810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_35_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d4cdee0e67ca1b0c4c2ff1af35c8f32.jpg","text":"TemporaryFile(/tmp/multipartBody478338114482416706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_27_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4092b321adae5ec6056263de0603c32.jpg","text":"TemporaryFile(/tmp/multipartBody7233169885203117488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_23_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/569a541d3bf5eae43c5f8be15cf6722a.jpg","text":"TemporaryFile(/tmp/multipartBody6648107986552709553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eef6345e2f905ebe734452c6b00c5c76.jpg","text":"TemporaryFile(/tmp/multipartBody8973091543522703574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973024563,"filename":"image_29102025_21_48_29_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526057","file1":"1391526018","file0":"1391526013","file4":"1391526086","file5":"1391526093","file3":"1391526068"},"map_files_photo_id_array":[{"photo_id":"1391526093","filename":"file5"},{"photo_id":"1391526057","filename":"file2"},{"photo_id":"1391526086","filename":"file4"},{"photo_id":"1391526018","filename":"file1"},{"photo_id":"1391526013","filename":"file0"},{"photo_id":"1391526068","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526013":["hashtag1","hashtag2"]},{"1391526093":["hashtag1","hashtag2"]},{"1391526057":["hashtag1","hashtag2"]},{"1391526018":["hashtag1","hashtag2"]},{"1391526086":["hashtag1","hashtag2"]},{"1391526068":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526013, 1391526093, 1391526057, 1391526018, 1391526086, 1391526068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22567868232727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 05:56:41.918359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_39_3843.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_48_3716.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_56_2839.jpg', '/home/pi/Desktop/images/29102025/21/48/image_29102025_21_49_00_3703.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_02_2728.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_05_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_39_3843.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_48_3716.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_48_56_2839.jpg
/home/pi/Desktop/images/29102025/21/48/image_29102025_21_49_00_3703.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_02_2728.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_05_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526147","1391526141","1391526150","1391526131","1391526154","1391526136"],"photo_ids_order":["1391526131","1391526136","1391526141","1391526147","1391526150","1391526154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/284e31ba0ca79b7c994f4da9720059a7.jpg","text":"TemporaryFile(/tmp/multipartBody4545397675729701551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_49_00_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8c0b1c88434fde6a8abcb6925f81b64.jpg","text":"TemporaryFile(/tmp/multipartBody8288835002858971531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_48_56_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc2b5e312d0ee3c1c6d5838b0b114c79.jpg","text":"TemporaryFile(/tmp/multipartBody5038152584784479818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_49_02_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a137670af09246dde0628c3b59e6476.jpg","text":"TemporaryFile(/tmp/multipartBody3297789698797216906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_48_39_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3271444f5936f25803932358a37a4bab.jpg","text":"TemporaryFile(/tmp/multipartBody2552898862187490120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_49_05_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52b057e518131d649314d05cd08169f2.jpg","text":"TemporaryFile(/tmp/multipartBody8948756295714065707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973063022,"filename":"image_29102025_21_48_48_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526141","file1":"1391526136","file0":"1391526131","file4":"1391526150","file5":"1391526154","file3":"1391526147"},"map_files_photo_id_array":[{"photo_id":"1391526154","filename":"file5"},{"photo_id":"1391526141","filename":"file2"},{"photo_id":"1391526150","filename":"file4"},{"photo_id":"1391526136","filename":"file1"},{"photo_id":"1391526131","filename":"file0"},{"photo_id":"1391526147","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526147":["hashtag1","hashtag2"]},{"1391526141":["hashtag1","hashtag2"]},{"1391526150":["hashtag1","hashtag2"]},{"1391526131":["hashtag1","hashtag2"]},{"1391526154":["hashtag1","hashtag2"]},{"1391526136":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526147, 1391526141, 1391526150, 1391526131, 1391526154, 1391526136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51714539527893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 05:57:22.175545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_11_2581.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_14_2583.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_18_3590.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_20_2681.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_23_2665.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_27_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_11_2581.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_14_2583.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_18_3590.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_20_2681.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_23_2665.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_27_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526162","1391526179","1391526164","1391526173","1391526167","1391526184"],"photo_ids_order":["1391526162","1391526164","1391526167","1391526173","1391526179","1391526184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d95e8c0646684cdd3651ace5a84eeb7.jpg","text":"TemporaryFile(/tmp/multipartBody1457559950833925806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_11_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/151a3d1b1a6504eb4cbadc2156ee72d0.jpg","text":"TemporaryFile(/tmp/multipartBody2242341478680028176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_23_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5651eb17ba3e517089f81fceff358f46.jpg","text":"TemporaryFile(/tmp/multipartBody2314308635093999895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_14_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f99610fdc8291a41cd66f401b1a1eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5694682527715569897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_20_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0c920d7804a9705046c1442f7a4df42.jpg","text":"TemporaryFile(/tmp/multipartBody7380899617429931554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_18_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a21a5618b9c056fcf08a06d121c79a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1980113519575650804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973104885,"filename":"image_29102025_21_49_27_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526167","file1":"1391526164","file0":"1391526162","file4":"1391526179","file5":"1391526184","file3":"1391526173"},"map_files_photo_id_array":[{"photo_id":"1391526184","filename":"file5"},{"photo_id":"1391526167","filename":"file2"},{"photo_id":"1391526179","filename":"file4"},{"photo_id":"1391526164","filename":"file1"},{"photo_id":"1391526162","filename":"file0"},{"photo_id":"1391526173","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526162":["hashtag1","hashtag2"]},{"1391526179":["hashtag1","hashtag2"]},{"1391526164":["hashtag1","hashtag2"]},{"1391526173":["hashtag1","hashtag2"]},{"1391526167":["hashtag1","hashtag2"]},{"1391526184":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526162, 1391526179, 1391526164, 1391526173, 1391526167, 1391526184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84421491622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 05:59:03.251657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_29_2592.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_33_3671.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_35_2585.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_38_2627.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_42_3641.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_47_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_29_2592.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_33_3671.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_35_2585.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_38_2627.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_42_3641.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_47_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526232","1391526211","1391526228","1391526222","1391526216","1391526207"],"photo_ids_order":["1391526207","1391526211","1391526216","1391526222","1391526228","1391526232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb939ba7c43488263a144f3e0bda2bef.jpg","text":"TemporaryFile(/tmp/multipartBody2032474639893449341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_47_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d67edc220a1e110b7e63efb931a5a08b.jpg","text":"TemporaryFile(/tmp/multipartBody3594330509959682686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_33_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5f69b866ca1588c008d68a0655b6396.jpg","text":"TemporaryFile(/tmp/multipartBody8600431878686258318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_42_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee0037c0da4fbb2895fb31e3f5d322ee.jpg","text":"TemporaryFile(/tmp/multipartBody5682694434192377042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_38_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da40855de69d5293b14db1ff2533e36b.jpg","text":"TemporaryFile(/tmp/multipartBody8233456754690373264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_35_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2e43c4cd01c890bef987421699385b5.jpg","text":"TemporaryFile(/tmp/multipartBody1122997672471269847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973205715,"filename":"image_29102025_21_49_29_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526216","file1":"1391526211","file0":"1391526207","file4":"1391526228","file5":"1391526232","file3":"1391526222"},"map_files_photo_id_array":[{"photo_id":"1391526232","filename":"file5"},{"photo_id":"1391526216","filename":"file2"},{"photo_id":"1391526228","filename":"file4"},{"photo_id":"1391526211","filename":"file1"},{"photo_id":"1391526207","filename":"file0"},{"photo_id":"1391526222","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526232":["hashtag1","hashtag2"]},{"1391526211":["hashtag1","hashtag2"]},{"1391526228":["hashtag1","hashtag2"]},{"1391526222":["hashtag1","hashtag2"]},{"1391526216":["hashtag1","hashtag2"]},{"1391526207":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526232, 1391526211, 1391526228, 1391526222, 1391526216, 1391526207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.713582277297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:00:03.215541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_51_3608.jpg', '/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_53_2557.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_05_2688.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_09_3534.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_17_2760.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_21_3843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_51_3608.jpg
/home/pi/Desktop/images/29102025/21/49/image_29102025_21_49_53_2557.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_05_2688.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_09_3534.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_17_2760.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_21_3843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526282","1391526267","1391526275","1391526260","1391526256","1391526259"],"photo_ids_order":["1391526256","1391526259","1391526260","1391526267","1391526275","1391526282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c24428833a25525d0c27fc93bee9e95.jpg","text":"TemporaryFile(/tmp/multipartBody8389982785968451227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_50_21_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25a3f8a456ce728853c2a61e633e6bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8479372251766541622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_50_09_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa5873cc452e15dd6193c2b7ba176d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3736380818102941200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_50_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86f5f6fc013a312d6a98e316e692858a.jpg","text":"TemporaryFile(/tmp/multipartBody802050917964792275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_50_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/446da846bb84d344cf67b4be96b21353.jpg","text":"TemporaryFile(/tmp/multipartBody7134897129087674569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_49_51_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c686c698fcfa8229d58d0e50b3af4eaa.jpg","text":"TemporaryFile(/tmp/multipartBody5229506058261807857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973265840,"filename":"image_29102025_21_49_53_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526260","file1":"1391526259","file0":"1391526256","file4":"1391526275","file5":"1391526282","file3":"1391526267"},"map_files_photo_id_array":[{"photo_id":"1391526282","filename":"file5"},{"photo_id":"1391526260","filename":"file2"},{"photo_id":"1391526275","filename":"file4"},{"photo_id":"1391526259","filename":"file1"},{"photo_id":"1391526256","filename":"file0"},{"photo_id":"1391526267","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526282":["hashtag1","hashtag2"]},{"1391526267":["hashtag1","hashtag2"]},{"1391526275":["hashtag1","hashtag2"]},{"1391526260":["hashtag1","hashtag2"]},{"1391526256":["hashtag1","hashtag2"]},{"1391526259":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526282, 1391526267, 1391526275, 1391526260, 1391526256, 1391526259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.349773645401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:01:02.597352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_26_2749.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_30_3644.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_32_2683.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_42_2787.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_51_3679.jpg', '/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_56_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_26_2749.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_30_3644.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_32_2683.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_42_2787.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_51_3679.jpg
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_56_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526309","1391526318","1391526312","1391526320","1391526314","1391526316"],"photo_ids_order":["1391526309","1391526312","1391526314","1391526316","1391526318","1391526320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05826ad93f80412a3948a3c982ca3c35.jpg","text":"TemporaryFile(/tmp/multipartBody266997698924565282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_26_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef28b0074f3f33ea01da147b72fa27e9.jpg","text":"TemporaryFile(/tmp/multipartBody6924325859192187033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_51_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d26d6c4acad19f710f8d05412d70e66.jpg","text":"TemporaryFile(/tmp/multipartBody1475737053502511644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_30_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8974048f9a4257f2865636d6e4615b86.jpg","text":"TemporaryFile(/tmp/multipartBody5301030231822028109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_56_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c6611246331938aa7456d5b980e43c.jpg","text":"TemporaryFile(/tmp/multipartBody9001844145090381827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9b6e22f44dadd31c64c6dacfb9cee0b.jpg","text":"TemporaryFile(/tmp/multipartBody3719296229509280075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973325032,"filename":"image_29102025_21_50_42_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526314","file1":"1391526312","file0":"1391526309","file4":"1391526318","file5":"1391526320","file3":"1391526316"},"map_files_photo_id_array":[{"photo_id":"1391526320","filename":"file5"},{"photo_id":"1391526314","filename":"file2"},{"photo_id":"1391526318","filename":"file4"},{"photo_id":"1391526312","filename":"file1"},{"photo_id":"1391526309","filename":"file0"},{"photo_id":"1391526316","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526309":["hashtag1","hashtag2"]},{"1391526318":["hashtag1","hashtag2"]},{"1391526312":["hashtag1","hashtag2"]},{"1391526320":["hashtag1","hashtag2"]},{"1391526314":["hashtag1","hashtag2"]},{"1391526316":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526309, 1391526318, 1391526312, 1391526320, 1391526314, 1391526316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.161105155944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:02:03.034680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_59_2747.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_05_2675.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_08_3014.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_11_2668.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_26_2640.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_29_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/50/image_29102025_21_50_59_2747.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_05_2675.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_08_3014.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_11_2668.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_26_2640.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_29_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391526637","1391526435","1391526554","1391526595","1391526515","1391526475"],"photo_ids_order":["1391526435","1391526475","1391526515","1391526554","1391526595","1391526637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/242561070bd1f680d64bf23e6583cf05.jpg","text":"TemporaryFile(/tmp/multipartBody6588921865348283800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_51_29_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19f1b9a4b707ae7d89c95f6be0c12360.jpg","text":"TemporaryFile(/tmp/multipartBody1034423823664203019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_50_59_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44fac5f138c89152f2c53dad1ba18e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5893876107435901497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_51_11_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6220c3d0a0cdbb0f8c56b5b209af43f6.jpg","text":"TemporaryFile(/tmp/multipartBody3856815867139941481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_51_26_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8393bf130201c6bf28b344f0cff708ec.jpg","text":"TemporaryFile(/tmp/multipartBody864711674096954252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_51_08_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0411f708ae67f2b1f330061cf2aa5a34.jpg","text":"TemporaryFile(/tmp/multipartBody351914750235179014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973385160,"filename":"image_29102025_21_51_05_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391526515","file1":"1391526475","file0":"1391526435","file4":"1391526595","file5":"1391526637","file3":"1391526554"},"map_files_photo_id_array":[{"photo_id":"1391526637","filename":"file5"},{"photo_id":"1391526515","filename":"file2"},{"photo_id":"1391526595","filename":"file4"},{"photo_id":"1391526475","filename":"file1"},{"photo_id":"1391526435","filename":"file0"},{"photo_id":"1391526554","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391526637":["hashtag1","hashtag2"]},{"1391526435":["hashtag1","hashtag2"]},{"1391526554":["hashtag1","hashtag2"]},{"1391526595":["hashtag1","hashtag2"]},{"1391526515":["hashtag1","hashtag2"]},{"1391526475":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391526637, 1391526435, 1391526554, 1391526595, 1391526515, 1391526475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521235942840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:02:42.661556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_35_2556.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_38_2950.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_47_2802.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_50_2684.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_56_3676.jpg', '/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_59_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_35_2556.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_38_2950.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_47_2802.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_50_2684.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_56_3676.jpg
/home/pi/Desktop/images/29102025/21/51/image_29102025_21_51_59_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391527329","1391527002","1391526917","1391527432","1391527213","1391527108"],"photo_ids_order":["1391526917","1391527002","1391527108","1391527213","1391527329","1391527432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f69302bf85273daa6cdeb07d224ad42.jpg","text":"TemporaryFile(/tmp/multipartBody1866421061409526160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_56_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04d8c8c8dfa86598cf52aa153724ec63.jpg","text":"TemporaryFile(/tmp/multipartBody3439319739086487541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_38_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb1eac561ac72bf9f85d00bf8b69698d.jpg","text":"TemporaryFile(/tmp/multipartBody1723108425757222176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_35_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/137b9c9cf1807e675ba6193e93cadba6.jpg","text":"TemporaryFile(/tmp/multipartBody796933235030084497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_59_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ba56e5467adeb0724fcac6577e470a2.jpg","text":"TemporaryFile(/tmp/multipartBody5840934810408753879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_50_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4948f982a182a85816e2f502617e125b.jpg","text":"TemporaryFile(/tmp/multipartBody5267164093036577520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973423773,"filename":"image_29102025_21_51_47_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391527108","file1":"1391527002","file0":"1391526917","file4":"1391527329","file5":"1391527432","file3":"1391527213"},"map_files_photo_id_array":[{"photo_id":"1391527432","filename":"file5"},{"photo_id":"1391527108","filename":"file2"},{"photo_id":"1391527329","filename":"file4"},{"photo_id":"1391527002","filename":"file1"},{"photo_id":"1391526917","filename":"file0"},{"photo_id":"1391527213","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391527329":["hashtag1","hashtag2"]},{"1391527002":["hashtag1","hashtag2"]},{"1391526917":["hashtag1","hashtag2"]},{"1391527432":["hashtag1","hashtag2"]},{"1391527213":["hashtag1","hashtag2"]},{"1391527108":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391527329, 1391527002, 1391526917, 1391527432, 1391527213, 1391527108)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.10649609565735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:03:41.852222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_32_2659.jpg', '/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_38_2659.jpg', '/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_41_2843.jpg', '/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_47_3550.jpg', '/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_50_2641.jpg', '/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_54_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_32_2659.jpg
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_38_2659.jpg
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_41_2843.jpg
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_47_3550.jpg
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_50_2641.jpg
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_54_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391528096","1391528315","1391528404","1391528200","1391528490","1391528250"],"photo_ids_order":["1391528096","1391528200","1391528250","1391528315","1391528404","1391528490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ac917da9644f6e1c39be0ec690387f8.jpg","text":"TemporaryFile(/tmp/multipartBody2846366376979937659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_32_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d604559aa66508ca5cee81f3413f15b.jpg","text":"TemporaryFile(/tmp/multipartBody8577048942012592977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_47_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70f9c50fce392dbd84181f5a88a4639d.jpg","text":"TemporaryFile(/tmp/multipartBody173557029378705169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_50_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f558f82166f513cf0eff0bd24d666dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8538116645179561274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_38_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/173bc5c1ac2b53410191b57d8f710799.jpg","text":"TemporaryFile(/tmp/multipartBody5903323664250264111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_54_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24f435c2f700649b6c8af037e8c7299e.jpg","text":"TemporaryFile(/tmp/multipartBody8724246230792011063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973482990,"filename":"image_29102025_21_52_41_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391528250","file1":"1391528200","file0":"1391528096","file4":"1391528404","file5":"1391528490","file3":"1391528315"},"map_files_photo_id_array":[{"photo_id":"1391528490","filename":"file5"},{"photo_id":"1391528250","filename":"file2"},{"photo_id":"1391528404","filename":"file4"},{"photo_id":"1391528200","filename":"file1"},{"photo_id":"1391528096","filename":"file0"},{"photo_id":"1391528315","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391528096":["hashtag1","hashtag2"]},{"1391528315":["hashtag1","hashtag2"]},{"1391528404":["hashtag1","hashtag2"]},{"1391528200":["hashtag1","hashtag2"]},{"1391528490":["hashtag1","hashtag2"]},{"1391528250":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391528096, 1391528315, 1391528404, 1391528200, 1391528490, 1391528250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0366370677948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:04:42.052672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_56_2694.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_05_3849.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_08_2704.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_14_3564.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_17_2650.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_23_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/52/image_29102025_21_52_56_2694.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_05_3849.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_08_2704.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_14_3564.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_17_2650.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_23_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391529032","1391529149","1391529112","1391529072","1391528985","1391528919"],"photo_ids_order":["1391528919","1391528985","1391529032","1391529072","1391529112","1391529149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84414f8e42b7f6269cc73a332b49de8e.jpg","text":"TemporaryFile(/tmp/multipartBody9084963753799788388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_53_08_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e6fe5ea9c644ddcee5cec357689801.jpg","text":"TemporaryFile(/tmp/multipartBody4111715693991552946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_53_23_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c23e631e814030948441abf61d0937d.jpg","text":"TemporaryFile(/tmp/multipartBody7993264462329857929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_53_17_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/338c39d412cacecb4922317c55320431.jpg","text":"TemporaryFile(/tmp/multipartBody1709897013844235001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_53_14_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f21ac8f92f9627c5bfb9f0dcbaa3584d.jpg","text":"TemporaryFile(/tmp/multipartBody8635041772286093653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_53_05_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/186aa2fc61dc28fb17c131b91c613d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7702837657648950503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973543167,"filename":"image_29102025_21_52_56_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391529032","file1":"1391528985","file0":"1391528919","file4":"1391529112","file5":"1391529149","file3":"1391529072"},"map_files_photo_id_array":[{"photo_id":"1391529149","filename":"file5"},{"photo_id":"1391529032","filename":"file2"},{"photo_id":"1391529112","filename":"file4"},{"photo_id":"1391528985","filename":"file1"},{"photo_id":"1391528919","filename":"file0"},{"photo_id":"1391529072","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391529032":["hashtag1","hashtag2"]},{"1391529149":["hashtag1","hashtag2"]},{"1391529112":["hashtag1","hashtag2"]},{"1391529072":["hashtag1","hashtag2"]},{"1391528985":["hashtag1","hashtag2"]},{"1391528919":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391529032, 1391529149, 1391529112, 1391529072, 1391528985, 1391528919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71365547180176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:05:22.175898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_26_2686.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_29_2802.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_32_3553.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_59_2598.jpg', '/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_29_3693.jpg', '/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_32_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_26_2686.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_29_2802.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_32_3553.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_59_2598.jpg
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_29_3693.jpg
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_32_2668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7078945636749268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:05:42.211204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_26_2686.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_29_2802.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_32_3553.jpg', '/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_59_2598.jpg', '/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_29_3693.jpg', '/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_32_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_26_2686.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_29_2802.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_32_3553.jpg
/home/pi/Desktop/images/29102025/21/53/image_29102025_21_53_59_2598.jpg
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_29_3693.jpg
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_32_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391529877","1391529718","1391529765","1391529852","1391529807","1391529884"],"photo_ids_order":["1391529718","1391529765","1391529807","1391529852","1391529877","1391529884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/941998c131a0aced5ada3ea6fb339566.jpg","text":"TemporaryFile(/tmp/multipartBody8725937983238185260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_54_29_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9fb5bf55ca099ceffbca49691b38756.jpg","text":"TemporaryFile(/tmp/multipartBody6383663341380355730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_53_26_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dbca0305dd804a0506deb41dfb83021.jpg","text":"TemporaryFile(/tmp/multipartBody5418877196400139405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_53_29_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7ab7deb42e8d2be4905c91e14f944b4.jpg","text":"TemporaryFile(/tmp/multipartBody202984546268457000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_53_59_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/096e14ad332642de96f0d1c7b8d7400a.jpg","text":"TemporaryFile(/tmp/multipartBody978339274141630591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_53_32_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1b09c3fa7c0fa0c31182ff442da95eb.jpg","text":"TemporaryFile(/tmp/multipartBody8507456444794162974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973603276,"filename":"image_29102025_21_54_32_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391529807","file1":"1391529765","file0":"1391529718","file4":"1391529877","file5":"1391529884","file3":"1391529852"},"map_files_photo_id_array":[{"photo_id":"1391529884","filename":"file5"},{"photo_id":"1391529807","filename":"file2"},{"photo_id":"1391529877","filename":"file4"},{"photo_id":"1391529765","filename":"file1"},{"photo_id":"1391529718","filename":"file0"},{"photo_id":"1391529852","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391529877":["hashtag1","hashtag2"]},{"1391529718":["hashtag1","hashtag2"]},{"1391529765":["hashtag1","hashtag2"]},{"1391529852":["hashtag1","hashtag2"]},{"1391529807":["hashtag1","hashtag2"]},{"1391529884":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391529877, 1391529718, 1391529765, 1391529852, 1391529807, 1391529884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89225912094116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:06:22.321640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_53_2745.jpg', '/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_58_2763.jpg', '/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_02_3709.jpg', '/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_35_2699.jpg', '/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_52_8656.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_04_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_53_2745.jpg
/home/pi/Desktop/images/29102025/21/54/image_29102025_21_54_58_2763.jpg
/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_02_3709.jpg
/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_35_2699.jpg
/home/pi/Desktop/images/29102025/21/55/image_29102025_21_55_52_8656.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_04_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391529950","1391530011","1391529953","1391529952","1391530040","1391529964"],"photo_ids_order":["1391529950","1391529952","1391529953","1391529964","1391530011","1391530040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2572bbb5524670a6fef57f2785e8ed43.jpg","text":"TemporaryFile(/tmp/multipartBody204871721795734829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_54_53_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02dbad921644ce49dedd133593e7b83b.jpg","text":"TemporaryFile(/tmp/multipartBody1631589974786392226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_55_52_8656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0dd18f54023c7b2794ce2bd610e389d.jpg","text":"TemporaryFile(/tmp/multipartBody5536060682668402210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_55_02_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b138d9bccbd6e3e6b1adf79d57110d3.jpg","text":"TemporaryFile(/tmp/multipartBody7344400023377137033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_54_58_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/875ece08f78ccc98073d0734268fabdf.jpg","text":"TemporaryFile(/tmp/multipartBody1929049020775481049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_56_04_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ed063676f310a73ed02d7861fbe6d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6041245428288989104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973645027,"filename":"image_29102025_21_55_35_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391529953","file1":"1391529952","file0":"1391529950","file4":"1391530011","file5":"1391530040","file3":"1391529964"},"map_files_photo_id_array":[{"photo_id":"1391530040","filename":"file5"},{"photo_id":"1391529953","filename":"file2"},{"photo_id":"1391530011","filename":"file4"},{"photo_id":"1391529952","filename":"file1"},{"photo_id":"1391529950","filename":"file0"},{"photo_id":"1391529964","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391529950":["hashtag1","hashtag2"]},{"1391530011":["hashtag1","hashtag2"]},{"1391529953":["hashtag1","hashtag2"]},{"1391529952":["hashtag1","hashtag2"]},{"1391530040":["hashtag1","hashtag2"]},{"1391529964":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391529950, 1391530011, 1391529953, 1391529952, 1391530040, 1391529964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.141096353530884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:07:22.767347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_10_1622.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_11_1665.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_13_1668.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_16_1743.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_26_3011.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_30_4654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_10_1622.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_11_1665.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_13_1668.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_16_1743.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_26_3011.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_30_4654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530434","1391530390","1391530426","1391530348","1391530306","1391530440"],"photo_ids_order":["1391530306","1391530348","1391530390","1391530426","1391530434","1391530440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e297f11d9d87ba9ee64bae35df06eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2277985545561058305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_26_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ccc003c988bf7c0c04dc98976aa2f72.jpg","text":"TemporaryFile(/tmp/multipartBody8843825682416832737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_13_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14bc84802146238925523484a08b4c30.jpg","text":"TemporaryFile(/tmp/multipartBody4103865169280413460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_16_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f599364c558c8d0930c80eda6e9b5d92.jpg","text":"TemporaryFile(/tmp/multipartBody4440308089520634496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_11_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abcf286657d69109078d7031fa0b1f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5810441164920976626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_10_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f199ca9bcb779bd3f4b6b7b42514676.jpg","text":"TemporaryFile(/tmp/multipartBody3380576377464471802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973705497,"filename":"image_29102025_21_56_30_4654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530390","file1":"1391530348","file0":"1391530306","file4":"1391530434","file5":"1391530440","file3":"1391530426"},"map_files_photo_id_array":[{"photo_id":"1391530440","filename":"file5"},{"photo_id":"1391530390","filename":"file2"},{"photo_id":"1391530434","filename":"file4"},{"photo_id":"1391530348","filename":"file1"},{"photo_id":"1391530306","filename":"file0"},{"photo_id":"1391530426","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530434":["hashtag1","hashtag2"]},{"1391530390":["hashtag1","hashtag2"]},{"1391530426":["hashtag1","hashtag2"]},{"1391530348":["hashtag1","hashtag2"]},{"1391530306":["hashtag1","hashtag2"]},{"1391530440":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530434, 1391530390, 1391530426, 1391530348, 1391530306, 1391530440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77456974983215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:08:21.924614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_32_1672.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_37_2671.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_41_3786.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_53_5866.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_54_1588.jpg', '/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_56_1994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_32_1672.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_37_2671.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_41_3786.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_53_5866.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_54_1588.jpg
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_56_1994.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530589","1391530580","1391530598","1391530586","1391530604","1391530609"],"photo_ids_order":["1391530580","1391530586","1391530589","1391530598","1391530604","1391530609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eccd308b75343eb1207ee4b8fe13f2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5129633597555469686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_41_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91135ca2fb39f1b80095c117803c4c89.jpg","text":"TemporaryFile(/tmp/multipartBody7278923241306295846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_32_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb6f91030f00d0379a9ddb19f0872349.jpg","text":"TemporaryFile(/tmp/multipartBody5845224127382711323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_53_5866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f306e350be0c6970d221eef591da0c74.jpg","text":"TemporaryFile(/tmp/multipartBody4652312173812716122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_37_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42fd8e5a7627af58e9f86ae1c76fdc58.jpg","text":"TemporaryFile(/tmp/multipartBody2966955343538890372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_54_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6fb49f6a62915b798065643bca1028f.jpg","text":"TemporaryFile(/tmp/multipartBody5877316925096806809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973764634,"filename":"image_29102025_21_56_56_1994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530589","file1":"1391530586","file0":"1391530580","file4":"1391530604","file5":"1391530609","file3":"1391530598"},"map_files_photo_id_array":[{"photo_id":"1391530609","filename":"file5"},{"photo_id":"1391530589","filename":"file2"},{"photo_id":"1391530604","filename":"file4"},{"photo_id":"1391530586","filename":"file1"},{"photo_id":"1391530580","filename":"file0"},{"photo_id":"1391530598","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530589":["hashtag1","hashtag2"]},{"1391530580":["hashtag1","hashtag2"]},{"1391530598":["hashtag1","hashtag2"]},{"1391530586":["hashtag1","hashtag2"]},{"1391530604":["hashtag1","hashtag2"]},{"1391530609":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530589, 1391530580, 1391530598, 1391530586, 1391530604, 1391530609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71030831336975 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:09:22.100544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_58_1674.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_02_1815.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_10_7833.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_24_1515.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_25_1848.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_29_1869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/56/image_29102025_21_56_58_1674.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_02_1815.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_10_7833.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_24_1515.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_25_1848.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_29_1869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530694","1391530751","1391530721","1391530699","1391530690","1391530746"],"photo_ids_order":["1391530690","1391530694","1391530699","1391530721","1391530746","1391530751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6fc0c5b5ede1b0a899ef81f83f7fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody2353457264594089121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_57_02_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e9068a630aa90ccd5861636696e1ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8538258376176884871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_57_29_1869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d4d753544c9b1ef9a4a98d151e90293.jpg","text":"TemporaryFile(/tmp/multipartBody2805657119196861716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_57_24_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/741d03207784ae7f81f472f493c2d92c.jpg","text":"TemporaryFile(/tmp/multipartBody2567302846528057299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_57_10_7833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/664665a4b4dcecbd182a88f9e3677bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4072155439503887304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_56_58_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cce071e0e22d8164839193b29fa66fe.jpg","text":"TemporaryFile(/tmp/multipartBody8871675866341800296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973824799,"filename":"image_29102025_21_57_25_1848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530699","file1":"1391530694","file0":"1391530690","file4":"1391530746","file5":"1391530751","file3":"1391530721"},"map_files_photo_id_array":[{"photo_id":"1391530751","filename":"file5"},{"photo_id":"1391530699","filename":"file2"},{"photo_id":"1391530746","filename":"file4"},{"photo_id":"1391530694","filename":"file1"},{"photo_id":"1391530690","filename":"file0"},{"photo_id":"1391530721","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530694":["hashtag1","hashtag2"]},{"1391530751":["hashtag1","hashtag2"]},{"1391530721":["hashtag1","hashtag2"]},{"1391530699":["hashtag1","hashtag2"]},{"1391530690":["hashtag1","hashtag2"]},{"1391530746":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530694, 1391530751, 1391530721, 1391530699, 1391530690, 1391530746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.520577907562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:10:22.324376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_32_2730.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_46_2706.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_50_3667.jpg', '/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_53_2599.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_11_2749.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_20_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_32_2730.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_46_2706.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_50_3667.jpg
/home/pi/Desktop/images/29102025/21/57/image_29102025_21_57_53_2599.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_11_2749.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_20_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530793","1391530806","1391530790","1391530810","1391530797","1391530801"],"photo_ids_order":["1391530790","1391530793","1391530797","1391530801","1391530806","1391530810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e477cef6bfd40ece6a6d7a5cbe68a21.jpg","text":"TemporaryFile(/tmp/multipartBody481102840114600764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_57_46_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7075b874d280eb14d488ae2e27003aeb.jpg","text":"TemporaryFile(/tmp/multipartBody864481927646316609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_58_11_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43adde340076f302d81cf15a7bb40f35.jpg","text":"TemporaryFile(/tmp/multipartBody7831124887591037698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_57_32_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0bc446dda61eab3c50d9c3fec1cdc48.jpg","text":"TemporaryFile(/tmp/multipartBody4327755457777751184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_58_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8428198fd0b1ce59844c220688dbec6.jpg","text":"TemporaryFile(/tmp/multipartBody7866413828965512314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_57_50_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1f94fd90be16430d538e47c9c1199b1.jpg","text":"TemporaryFile(/tmp/multipartBody1302451193085604798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973885052,"filename":"image_29102025_21_57_53_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530797","file1":"1391530793","file0":"1391530790","file4":"1391530806","file5":"1391530810","file3":"1391530801"},"map_files_photo_id_array":[{"photo_id":"1391530810","filename":"file5"},{"photo_id":"1391530797","filename":"file2"},{"photo_id":"1391530806","filename":"file4"},{"photo_id":"1391530793","filename":"file1"},{"photo_id":"1391530790","filename":"file0"},{"photo_id":"1391530801","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530793":["hashtag1","hashtag2"]},{"1391530806":["hashtag1","hashtag2"]},{"1391530790":["hashtag1","hashtag2"]},{"1391530810":["hashtag1","hashtag2"]},{"1391530797":["hashtag1","hashtag2"]},{"1391530801":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530793, 1391530806, 1391530790, 1391530810, 1391530797, 1391530801)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.7711398601532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:11:22.592031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_29_2773.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_34_2826.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_43_2711.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_50_3588.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_52_2600.jpg', '/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_55_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_29_2773.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_34_2826.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_43_2711.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_50_3588.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_52_2600.jpg
/home/pi/Desktop/images/29102025/21/58/image_29102025_21_58_55_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530853","1391530847","1391530864","1391530857","1391530869","1391530833"],"photo_ids_order":["1391530833","1391530847","1391530853","1391530857","1391530864","1391530869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb7886686da266501a18f79052c9048a.jpg","text":"TemporaryFile(/tmp/multipartBody4954484784552159222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74b14c4314e969f286c0bb6ae9faa50e.jpg","text":"TemporaryFile(/tmp/multipartBody3919342127657308743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_34_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2048603424c104820c9bedb0259d8de7.jpg","text":"TemporaryFile(/tmp/multipartBody9009424024471069890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_52_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da34473d2c1f969865f05bdf977cd6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7518170556485271192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_50_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d39ad8d7928e558e65bb039984e86af4.jpg","text":"TemporaryFile(/tmp/multipartBody5588521490963828839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_55_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0676a5aff27a27ecc228f49656554f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6927478447139094608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761973945325,"filename":"image_29102025_21_58_29_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530853","file1":"1391530847","file0":"1391530833","file4":"1391530864","file5":"1391530869","file3":"1391530857"},"map_files_photo_id_array":[{"photo_id":"1391530869","filename":"file5"},{"photo_id":"1391530853","filename":"file2"},{"photo_id":"1391530864","filename":"file4"},{"photo_id":"1391530847","filename":"file1"},{"photo_id":"1391530833","filename":"file0"},{"photo_id":"1391530857","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530853":["hashtag1","hashtag2"]},{"1391530847":["hashtag1","hashtag2"]},{"1391530864":["hashtag1","hashtag2"]},{"1391530857":["hashtag1","hashtag2"]},{"1391530869":["hashtag1","hashtag2"]},{"1391530833":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530853, 1391530847, 1391530864, 1391530857, 1391530869, 1391530833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2661669254303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:12:21.963611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_14_2668.jpg', '/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_20_3679.jpg', '/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_26_2776.jpg', '/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_28_2659.jpg', '/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_31_2688.jpg', '/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_40_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_14_2668.jpg
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_20_3679.jpg
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_26_2776.jpg
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_28_2659.jpg
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_31_2688.jpg
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_40_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391530892","1391530895","1391530889","1391530910","1391530906","1391530899"],"photo_ids_order":["1391530889","1391530892","1391530895","1391530899","1391530906","1391530910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13d0bd2dbd685b818a1448ae5d4504f9.jpg","text":"TemporaryFile(/tmp/multipartBody6463857264758147426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_20_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a2b90eaeeb3b3910e990aa51bea595d.jpg","text":"TemporaryFile(/tmp/multipartBody2491184188395341815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_26_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da8b2292dfc8a96c740d5ffb49c5c619.jpg","text":"TemporaryFile(/tmp/multipartBody1710679874277163890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_14_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e41bd9344fac99692e737650de14e2d2.jpg","text":"TemporaryFile(/tmp/multipartBody5900793462410450419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_40_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/963f9a4774d4c684fdcb29a06ab2de1f.jpg","text":"TemporaryFile(/tmp/multipartBody6155523009608063034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/484579875f87e096c0923281b1549016.jpg","text":"TemporaryFile(/tmp/multipartBody3175295357128354739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974004436,"filename":"image_29102025_21_59_28_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391530895","file1":"1391530892","file0":"1391530889","file4":"1391530906","file5":"1391530910","file3":"1391530899"},"map_files_photo_id_array":[{"photo_id":"1391530910","filename":"file5"},{"photo_id":"1391530895","filename":"file2"},{"photo_id":"1391530906","filename":"file4"},{"photo_id":"1391530892","filename":"file1"},{"photo_id":"1391530889","filename":"file0"},{"photo_id":"1391530899","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391530892":["hashtag1","hashtag2"]},{"1391530895":["hashtag1","hashtag2"]},{"1391530889":["hashtag1","hashtag2"]},{"1391530910":["hashtag1","hashtag2"]},{"1391530906":["hashtag1","hashtag2"]},{"1391530899":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391530892, 1391530895, 1391530889, 1391530910, 1391530906, 1391530899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.288610219955444 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:13:21.954309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_55_2626.jpg', '/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_14_2534.jpg', '/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_20_2709.jpg', '/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_30_2817.jpg', '/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_32_2561.jpg', '/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_39_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/21/59/image_29102025_21_59_55_2626.jpg
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_14_2534.jpg
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_20_2709.jpg
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_30_2817.jpg
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_32_2561.jpg
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_39_2902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531231","1391531179","1391531215","1391531209","1391531226","1391531220"],"photo_ids_order":["1391531179","1391531209","1391531215","1391531220","1391531226","1391531231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce6cbbeb850da6e397357c10b091a687.jpg","text":"TemporaryFile(/tmp/multipartBody988991062341642880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_22_00_39_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52bfb2ff880836f625742734a549d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6329332719197280526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_21_59_55_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aef28251705b54556d179f7831836b25.jpg","text":"TemporaryFile(/tmp/multipartBody4757424310547262985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_22_00_20_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bc5d092d31cac7c5db8faf45b884189.jpg","text":"TemporaryFile(/tmp/multipartBody4739751292305464063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_22_00_14_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcf46840e016f11cbe87ad7816a82744.jpg","text":"TemporaryFile(/tmp/multipartBody6998581951148377055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_22_00_32_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/083f67ba3c0a4193f491a3ba1a011ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7606376313439508172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974069623,"filename":"image_29102025_22_00_30_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531215","file1":"1391531209","file0":"1391531179","file4":"1391531226","file5":"1391531231","file3":"1391531220"},"map_files_photo_id_array":[{"photo_id":"1391531231","filename":"file5"},{"photo_id":"1391531215","filename":"file2"},{"photo_id":"1391531226","filename":"file4"},{"photo_id":"1391531209","filename":"file1"},{"photo_id":"1391531179","filename":"file0"},{"photo_id":"1391531220","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531231":["hashtag1","hashtag2"]},{"1391531179":["hashtag1","hashtag2"]},{"1391531215":["hashtag1","hashtag2"]},{"1391531209":["hashtag1","hashtag2"]},{"1391531226":["hashtag1","hashtag2"]},{"1391531220":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531231, 1391531179, 1391531215, 1391531209, 1391531226, 1391531220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59821033477783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:14:22.313680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_44_2701.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_21_3621.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_41_1714.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_48_3626.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_50_2674.jpg', '/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_15_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_44_2701.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_21_3621.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_41_1714.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_48_3626.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_50_2674.jpg
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_15_3651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6129753589630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:14:42.245313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_44_2701.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_21_3621.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_41_1714.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_48_3626.jpg', '/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_50_2674.jpg', '/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_15_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/00/image_29102025_22_00_44_2701.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_21_3621.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_41_1714.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_48_3626.jpg
/home/pi/Desktop/images/29102025/22/01/image_29102025_22_01_50_2674.jpg
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_15_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531524","1391531481","1391531571","1391531565","1391531574","1391531436"],"photo_ids_order":["1391531436","1391531481","1391531524","1391531565","1391531571","1391531574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd66d04ce8f550ac8633f45fab68ab86.jpg","text":"TemporaryFile(/tmp/multipartBody1961732176873070974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_01_41_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c074884e16fae192966c2377b613edfe.jpg","text":"TemporaryFile(/tmp/multipartBody4822106698839380751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_01_21_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e33acb9668d0bf4dda1c55b6c18349a0.jpg","text":"TemporaryFile(/tmp/multipartBody620268899250233784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_01_50_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af7ff581d73b2581ce78e13e70ddf7cd.jpg","text":"TemporaryFile(/tmp/multipartBody7959203938209005333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_01_48_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0f70bfcbe70655c5460ee36637df9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4314067686101255322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_02_15_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23ab846fd7fecf85d7392aba5728bfe6.jpg","text":"TemporaryFile(/tmp/multipartBody3996679502010961304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974143242,"filename":"image_29102025_22_00_44_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531524","file1":"1391531481","file0":"1391531436","file4":"1391531571","file5":"1391531574","file3":"1391531565"},"map_files_photo_id_array":[{"photo_id":"1391531574","filename":"file5"},{"photo_id":"1391531524","filename":"file2"},{"photo_id":"1391531571","filename":"file4"},{"photo_id":"1391531481","filename":"file1"},{"photo_id":"1391531436","filename":"file0"},{"photo_id":"1391531565","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531524":["hashtag1","hashtag2"]},{"1391531481":["hashtag1","hashtag2"]},{"1391531571":["hashtag1","hashtag2"]},{"1391531565":["hashtag1","hashtag2"]},{"1391531574":["hashtag1","hashtag2"]},{"1391531436":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531524, 1391531481, 1391531571, 1391531565, 1391531574, 1391531436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.300169706344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:15:42.523843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_17_2744.jpg', '/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_35_1655.jpg', '/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_54_1692.jpg', '/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_59_1742.jpg', '/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_26_1677.jpg', '/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_29_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_17_2744.jpg
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_35_1655.jpg
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_54_1692.jpg
/home/pi/Desktop/images/29102025/22/02/image_29102025_22_02_59_1742.jpg
/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_26_1677.jpg
/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_29_2845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531642","1391531630","1391531635","1391531623","1391531617","1391531640"],"photo_ids_order":["1391531617","1391531623","1391531630","1391531635","1391531640","1391531642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0300f26dc66babdc28b11620c1128df6.jpg","text":"TemporaryFile(/tmp/multipartBody2373768647024393422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_04_29_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f3b5b8b63ab76c06e450d13b243db56.jpg","text":"TemporaryFile(/tmp/multipartBody2197497265248823041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_02_54_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcc6bb2e0f78cce361c683253ab73dff.jpg","text":"TemporaryFile(/tmp/multipartBody2258822755570974477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_02_59_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c41eb39452372d2f7935f47d3c0c4357.jpg","text":"TemporaryFile(/tmp/multipartBody8220120471914888761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_02_35_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cdc1479c7a0b06330b2aa08acc690e6.jpg","text":"TemporaryFile(/tmp/multipartBody3556731326478633811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_02_17_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97fe629e6d2262090315bdab0ee63818.jpg","text":"TemporaryFile(/tmp/multipartBody77703968962205107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974203660,"filename":"image_29102025_22_04_26_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531630","file1":"1391531623","file0":"1391531617","file4":"1391531640","file5":"1391531642","file3":"1391531635"},"map_files_photo_id_array":[{"photo_id":"1391531642","filename":"file5"},{"photo_id":"1391531630","filename":"file2"},{"photo_id":"1391531640","filename":"file4"},{"photo_id":"1391531623","filename":"file1"},{"photo_id":"1391531617","filename":"file0"},{"photo_id":"1391531635","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531642":["hashtag1","hashtag2"]},{"1391531630":["hashtag1","hashtag2"]},{"1391531635":["hashtag1","hashtag2"]},{"1391531623":["hashtag1","hashtag2"]},{"1391531617":["hashtag1","hashtag2"]},{"1391531640":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531642, 1391531630, 1391531635, 1391531623, 1391531617, 1391531640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.947479248046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:16:22.615780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_32_2681.jpg', '/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_38_2712.jpg', '/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_41_2540.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_08_3015.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_12_3891.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_17_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_32_2681.jpg
/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_38_2712.jpg
/home/pi/Desktop/images/29102025/22/04/image_29102025_22_04_41_2540.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_08_3015.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_12_3891.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_17_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531663","1391531651","1391531659","1391531646","1391531655","1391531648"],"photo_ids_order":["1391531646","1391531648","1391531651","1391531655","1391531659","1391531663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2e1ef0f69320ce941e07499e173c8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3552137867062781132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_05_17_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72d034639112444c74595bc8fab149d4.jpg","text":"TemporaryFile(/tmp/multipartBody6303138115084053346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_04_41_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da8fbcd2a5ffc98b13f71a0de7f19ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3963539659666926390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_05_12_3891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a115376f5135a65f21087dd78b34ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody8314415388546284833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_04_32_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/794629dae1ce858c76becaafa6e996f1.jpg","text":"TemporaryFile(/tmp/multipartBody1694589857763828612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_05_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac953cc2a09551b3e76bf4cc0b233a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2819143368567863928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974245361,"filename":"image_29102025_22_04_38_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531651","file1":"1391531648","file0":"1391531646","file4":"1391531659","file5":"1391531663","file3":"1391531655"},"map_files_photo_id_array":[{"photo_id":"1391531663","filename":"file5"},{"photo_id":"1391531651","filename":"file2"},{"photo_id":"1391531659","filename":"file4"},{"photo_id":"1391531648","filename":"file1"},{"photo_id":"1391531646","filename":"file0"},{"photo_id":"1391531655","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531663":["hashtag1","hashtag2"]},{"1391531651":["hashtag1","hashtag2"]},{"1391531659":["hashtag1","hashtag2"]},{"1391531646":["hashtag1","hashtag2"]},{"1391531655":["hashtag1","hashtag2"]},{"1391531648":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531663, 1391531651, 1391531659, 1391531646, 1391531655, 1391531648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79978585243225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:17:21.757411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_20_2715.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_23_3600.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_26_2772.jpg', '/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_29_2741.jpg', '/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_01_2597.jpg', '/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_05_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_20_2715.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_23_3600.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_26_2772.jpg
/home/pi/Desktop/images/29102025/22/05/image_29102025_22_05_29_2741.jpg
/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_01_2597.jpg
/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_05_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531708","1391531702","1391531722","1391531716","1391531712","1391531699"],"photo_ids_order":["1391531699","1391531702","1391531708","1391531712","1391531716","1391531722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db19f3ad228c046ea672cfd8930aa1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5469686236152945701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_05_26_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/118119f7c377c91ae984b81601777bea.jpg","text":"TemporaryFile(/tmp/multipartBody5143080367287991748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_05_23_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3572dab012d54cee40be4d35b97a39a6.jpg","text":"TemporaryFile(/tmp/multipartBody428026881252370321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_07_05_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e14ae54daa91dc6ea0b821be898b12d.jpg","text":"TemporaryFile(/tmp/multipartBody7446568132273534645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_07_01_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5faa5c70bf53553c70bbacc537ce0e29.jpg","text":"TemporaryFile(/tmp/multipartBody8838374105093394800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_05_29_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96bdb8d5ed45c507a74fe4f40f754dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1759438827004242499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974306873,"filename":"image_29102025_22_05_20_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531708","file1":"1391531702","file0":"1391531699","file4":"1391531716","file5":"1391531722","file3":"1391531712"},"map_files_photo_id_array":[{"photo_id":"1391531722","filename":"file5"},{"photo_id":"1391531708","filename":"file2"},{"photo_id":"1391531716","filename":"file4"},{"photo_id":"1391531702","filename":"file1"},{"photo_id":"1391531699","filename":"file0"},{"photo_id":"1391531712","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531708":["hashtag1","hashtag2"]},{"1391531702":["hashtag1","hashtag2"]},{"1391531722":["hashtag1","hashtag2"]},{"1391531716":["hashtag1","hashtag2"]},{"1391531712":["hashtag1","hashtag2"]},{"1391531699":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531708, 1391531702, 1391531722, 1391531716, 1391531712, 1391531699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.546820640563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:18:22.810655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_08_2733.jpg', '/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_17_2589.jpg', '/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_22_4541.jpg', '/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_23_1695.jpg', '/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_31_2685.jpg', '/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_02_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_08_2733.jpg
/home/pi/Desktop/images/29102025/22/07/image_29102025_22_07_17_2589.jpg
/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_22_4541.jpg
/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_23_1695.jpg
/home/pi/Desktop/images/29102025/22/08/image_29102025_22_08_31_2685.jpg
/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_02_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531750","1391531744","1391531764","1391531740","1391531737","1391531757"],"photo_ids_order":["1391531737","1391531740","1391531744","1391531750","1391531757","1391531764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c52f67953fcfabb07d3b544961f05ec.jpg","text":"TemporaryFile(/tmp/multipartBody5032424227105163486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_08_23_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2871cec0d24d2ae85e5a2fa516aab00f.jpg","text":"TemporaryFile(/tmp/multipartBody1990531196173543345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_08_22_4541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2623485f07def39433004ff9b7791210.jpg","text":"TemporaryFile(/tmp/multipartBody1487920483466943023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_09_02_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73e6b2873583af64fefdca14fd990f66.jpg","text":"TemporaryFile(/tmp/multipartBody2367757168846025995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_07_17_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79dc03c16c9b940a80a6ea5021b36ff3.jpg","text":"TemporaryFile(/tmp/multipartBody9092897863533563014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_07_08_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0cb9c1c0a43b6bf4b0557a6f2649b38.jpg","text":"TemporaryFile(/tmp/multipartBody3288354674281907127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974365582,"filename":"image_29102025_22_08_31_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531744","file1":"1391531740","file0":"1391531737","file4":"1391531757","file5":"1391531764","file3":"1391531750"},"map_files_photo_id_array":[{"photo_id":"1391531764","filename":"file5"},{"photo_id":"1391531744","filename":"file2"},{"photo_id":"1391531757","filename":"file4"},{"photo_id":"1391531740","filename":"file1"},{"photo_id":"1391531737","filename":"file0"},{"photo_id":"1391531750","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531750":["hashtag1","hashtag2"]},{"1391531744":["hashtag1","hashtag2"]},{"1391531764":["hashtag1","hashtag2"]},{"1391531740":["hashtag1","hashtag2"]},{"1391531737":["hashtag1","hashtag2"]},{"1391531757":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531750, 1391531744, 1391531764, 1391531740, 1391531737, 1391531757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32519507408142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:19:21.897611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_17_2646.jpg', '/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_26_3728.jpg', '/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_46_2698.jpg', '/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_51_4219.jpg', '/home/pi/Desktop/images/29102025/22/10/image_29102025_22_10_54_1644.jpg', '/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_14_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_17_2646.jpg
/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_26_3728.jpg
/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_46_2698.jpg
/home/pi/Desktop/images/29102025/22/09/image_29102025_22_09_51_4219.jpg
/home/pi/Desktop/images/29102025/22/10/image_29102025_22_10_54_1644.jpg
/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_14_1776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531788","1391531800","1391531781","1391531784","1391531795","1391531780"],"photo_ids_order":["1391531780","1391531781","1391531784","1391531788","1391531795","1391531800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8abf967653cd5171e0660c3fbdd954ba.jpg","text":"TemporaryFile(/tmp/multipartBody403444484126433541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_09_51_4219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a67141c788c7edfbaaa374a7352a774c.jpg","text":"TemporaryFile(/tmp/multipartBody1397877445616177940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_11_14_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c5ce9e205ec0fc3c057f92a2bb9d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody7459038512732416142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_09_26_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2cd9b94d47dfa6661006425f9d55503.jpg","text":"TemporaryFile(/tmp/multipartBody1040412410476197047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_09_46_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70efe3c87a798c956561ae7aca4753f1.jpg","text":"TemporaryFile(/tmp/multipartBody8335107260760273499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_10_54_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58621cb506a10d19f381935cf323478a.jpg","text":"TemporaryFile(/tmp/multipartBody1228704628634973062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974424556,"filename":"image_29102025_22_09_17_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531784","file1":"1391531781","file0":"1391531780","file4":"1391531795","file5":"1391531800","file3":"1391531788"},"map_files_photo_id_array":[{"photo_id":"1391531800","filename":"file5"},{"photo_id":"1391531784","filename":"file2"},{"photo_id":"1391531795","filename":"file4"},{"photo_id":"1391531781","filename":"file1"},{"photo_id":"1391531780","filename":"file0"},{"photo_id":"1391531788","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531788":["hashtag1","hashtag2"]},{"1391531800":["hashtag1","hashtag2"]},{"1391531781":["hashtag1","hashtag2"]},{"1391531784":["hashtag1","hashtag2"]},{"1391531795":["hashtag1","hashtag2"]},{"1391531780":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531788, 1391531800, 1391531781, 1391531784, 1391531795, 1391531780)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.15370035171509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:20:22.089619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_50_4223.jpg', '/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_51_1653.jpg', '/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_58_2597.jpg', '/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_16_2639.jpg', '/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_18_2675.jpg', '/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_31_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_50_4223.jpg
/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_51_1653.jpg
/home/pi/Desktop/images/29102025/22/11/image_29102025_22_11_58_2597.jpg
/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_16_2639.jpg
/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_18_2675.jpg
/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_31_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531843","1391531837","1391531827","1391531821","1391531823","1391531832"],"photo_ids_order":["1391531821","1391531823","1391531827","1391531832","1391531837","1391531843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/651a6351f26c81cf945567c88381aef1.jpg","text":"TemporaryFile(/tmp/multipartBody3654763765408802600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_12_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3a3f8d6a65a4e5d15360f40acbc4538.jpg","text":"TemporaryFile(/tmp/multipartBody2984733857495089408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_12_18_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6a0ae253859dae320335215899eeeb0.jpg","text":"TemporaryFile(/tmp/multipartBody7274303802875297275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_11_58_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4251c6476151be7d41704d7366b0ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8831927394368606767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_11_50_4223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77f6ab574d95e43841fb759261def83b.jpg","text":"TemporaryFile(/tmp/multipartBody9199252010191494525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_11_51_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/441c6c2f2676bfd9934d9e5018ed4b38.jpg","text":"TemporaryFile(/tmp/multipartBody6907990664088981999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974484861,"filename":"image_29102025_22_12_16_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531827","file1":"1391531823","file0":"1391531821","file4":"1391531837","file5":"1391531843","file3":"1391531832"},"map_files_photo_id_array":[{"photo_id":"1391531843","filename":"file5"},{"photo_id":"1391531827","filename":"file2"},{"photo_id":"1391531837","filename":"file4"},{"photo_id":"1391531823","filename":"file1"},{"photo_id":"1391531821","filename":"file0"},{"photo_id":"1391531832","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531843":["hashtag1","hashtag2"]},{"1391531837":["hashtag1","hashtag2"]},{"1391531827":["hashtag1","hashtag2"]},{"1391531821":["hashtag1","hashtag2"]},{"1391531823":["hashtag1","hashtag2"]},{"1391531832":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531843, 1391531837, 1391531827, 1391531821, 1391531823, 1391531832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31966853141785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:21:02.915648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_34_2678.jpg', '/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_55_2687.jpg', '/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_13_3804.jpg', '/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_21_2741.jpg', '/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_28_2669.jpg', '/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_30_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_34_2678.jpg
/home/pi/Desktop/images/29102025/22/12/image_29102025_22_12_55_2687.jpg
/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_13_3804.jpg
/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_21_2741.jpg
/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_28_2669.jpg
/home/pi/Desktop/images/29102025/22/13/image_29102025_22_13_30_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531861","1391531855","1391531858","1391531851","1391531865","1391531853"],"photo_ids_order":["1391531851","1391531853","1391531855","1391531858","1391531861","1391531865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaeea5f6e7a90badb4caf0cc4f132927.jpg","text":"TemporaryFile(/tmp/multipartBody410282921997203995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_13_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f864d4cd0b3db0f8ab7f1cf8ed37044.jpg","text":"TemporaryFile(/tmp/multipartBody4587905465463290186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_13_13_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7406731cc621e6d1d89ed89ecc7ac4d4.jpg","text":"TemporaryFile(/tmp/multipartBody7673023675211922808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_13_21_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12a14c2050eb6a2a3103bcaa60161f64.jpg","text":"TemporaryFile(/tmp/multipartBody5144431917700654336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_12_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66ef7c998d62cab1f22315ad7ab0f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody8545231620029881057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_13_30_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c60cc242eab741ba536e692a3dabb74.jpg","text":"TemporaryFile(/tmp/multipartBody906254153578425615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974525129,"filename":"image_29102025_22_12_55_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531855","file1":"1391531853","file0":"1391531851","file4":"1391531861","file5":"1391531865","file3":"1391531858"},"map_files_photo_id_array":[{"photo_id":"1391531865","filename":"file5"},{"photo_id":"1391531855","filename":"file2"},{"photo_id":"1391531861","filename":"file4"},{"photo_id":"1391531853","filename":"file1"},{"photo_id":"1391531851","filename":"file0"},{"photo_id":"1391531858","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531861":["hashtag1","hashtag2"]},{"1391531855":["hashtag1","hashtag2"]},{"1391531858":["hashtag1","hashtag2"]},{"1391531851":["hashtag1","hashtag2"]},{"1391531865":["hashtag1","hashtag2"]},{"1391531853":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531861, 1391531855, 1391531858, 1391531851, 1391531865, 1391531853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20122194290161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:22:03.085814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_10_3567.jpg', '/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_13_2581.jpg', '/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_22_2778.jpg', '/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_10_2814.jpg', '/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_19_3770.jpg', '/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_22_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_10_3567.jpg
/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_13_2581.jpg
/home/pi/Desktop/images/29102025/22/16/image_29102025_22_16_22_2778.jpg
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_10_2814.jpg
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_19_3770.jpg
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_22_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531933","1391531930","1391531903","1391531935","1391531940","1391531937"],"photo_ids_order":["1391531903","1391531930","1391531933","1391531935","1391531937","1391531940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cce2f137a465a268a6c91df92c803e9.jpg","text":"TemporaryFile(/tmp/multipartBody60840927846321195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_16_22_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7035922d1079690c3aae4ff2b8db1195.jpg","text":"TemporaryFile(/tmp/multipartBody6346074336587430873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_16_13_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba4452554bd3f2e42596e8854db81316.jpg","text":"TemporaryFile(/tmp/multipartBody8466567845473534778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_16_10_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d21ca0c99dd8d753caf0cb9b3e8e33c.jpg","text":"TemporaryFile(/tmp/multipartBody2875540337704935462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_19_10_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f86b1141b42467280e9ac6cc7ad5221.jpg","text":"TemporaryFile(/tmp/multipartBody8889905975895139389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_19_22_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78c7e864ba5a154e0c2f58376210924d.jpg","text":"TemporaryFile(/tmp/multipartBody5712566826079202885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974585231,"filename":"image_29102025_22_19_19_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531933","file1":"1391531930","file0":"1391531903","file4":"1391531937","file5":"1391531940","file3":"1391531935"},"map_files_photo_id_array":[{"photo_id":"1391531940","filename":"file5"},{"photo_id":"1391531933","filename":"file2"},{"photo_id":"1391531937","filename":"file4"},{"photo_id":"1391531930","filename":"file1"},{"photo_id":"1391531903","filename":"file0"},{"photo_id":"1391531935","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531933":["hashtag1","hashtag2"]},{"1391531930":["hashtag1","hashtag2"]},{"1391531903":["hashtag1","hashtag2"]},{"1391531935":["hashtag1","hashtag2"]},{"1391531940":["hashtag1","hashtag2"]},{"1391531937":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531933, 1391531930, 1391531903, 1391531935, 1391531940, 1391531937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.362119913101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:23:03.466382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_25_2598.jpg', '/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_55_2681.jpg', '/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_58_3646.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_14_2567.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_17_2889.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_23_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_25_2598.jpg
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_55_2681.jpg
/home/pi/Desktop/images/29102025/22/19/image_29102025_22_19_58_3646.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_14_2567.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_17_2889.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_23_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391531969","1391531974","1391531977","1391531968","1391531970","1391531966"],"photo_ids_order":["1391531966","1391531968","1391531969","1391531970","1391531974","1391531977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40782e0d535a787fed92a6fddb2eb79e.jpg","text":"TemporaryFile(/tmp/multipartBody1495860772266770283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_19_58_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66725bc2afd408e1f8a2056c06af90dc.jpg","text":"TemporaryFile(/tmp/multipartBody4295953936005739318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_20_17_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/764cf21d97b221a0a20ead650d87c311.jpg","text":"TemporaryFile(/tmp/multipartBody4952195908296477696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_20_23_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a74c6d3081d227b429bcc147a1864df.jpg","text":"TemporaryFile(/tmp/multipartBody7049143919743344838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_19_55_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48871d8ec0db61c63596a273bc4c10fe.jpg","text":"TemporaryFile(/tmp/multipartBody7358645278326778612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_20_14_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/946c233a2625a967da28057c332d2401.jpg","text":"TemporaryFile(/tmp/multipartBody9039822240261444359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974645700,"filename":"image_29102025_22_19_25_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391531969","file1":"1391531968","file0":"1391531966","file4":"1391531974","file5":"1391531977","file3":"1391531970"},"map_files_photo_id_array":[{"photo_id":"1391531977","filename":"file5"},{"photo_id":"1391531969","filename":"file2"},{"photo_id":"1391531974","filename":"file4"},{"photo_id":"1391531968","filename":"file1"},{"photo_id":"1391531966","filename":"file0"},{"photo_id":"1391531970","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391531969":["hashtag1","hashtag2"]},{"1391531974":["hashtag1","hashtag2"]},{"1391531977":["hashtag1","hashtag2"]},{"1391531968":["hashtag1","hashtag2"]},{"1391531970":["hashtag1","hashtag2"]},{"1391531966":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391531969, 1391531974, 1391531977, 1391531968, 1391531970, 1391531966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68903970718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:23:42.909163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_26_2974.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_30_3664.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_32_1782.jpg', '/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_56_3823.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_16_2597.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_25_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_26_2974.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_30_3664.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_32_1782.jpg
/home/pi/Desktop/images/29102025/22/20/image_29102025_22_20_56_3823.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_16_2597.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_25_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532005","1391532010","1391531991","1391532006","1391532000","1391531996"],"photo_ids_order":["1391531991","1391531996","1391532000","1391532005","1391532006","1391532010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/156ad30b6e8595347229de0cd86e668b.jpg","text":"TemporaryFile(/tmp/multipartBody406383298469621738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_20_56_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd0c823a908141ae60217c65f14f80b5.jpg","text":"TemporaryFile(/tmp/multipartBody6585883419505490736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_21_25_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb2afdae66082295968f95c3ecc8f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7674328925340773177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_20_26_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aaebdb79314b661268c009fe7edf487f.jpg","text":"TemporaryFile(/tmp/multipartBody682180912336134010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_21_16_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6825bf148a51ef1f4df502a75d7ad2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5345608540714253358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_20_32_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e416776f86d3f743cf69e7147ae88b.jpg","text":"TemporaryFile(/tmp/multipartBody1124123336782132634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974684044,"filename":"image_29102025_22_20_30_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532000","file1":"1391531996","file0":"1391531991","file4":"1391532006","file5":"1391532010","file3":"1391532005"},"map_files_photo_id_array":[{"photo_id":"1391532010","filename":"file5"},{"photo_id":"1391532000","filename":"file2"},{"photo_id":"1391532006","filename":"file4"},{"photo_id":"1391531996","filename":"file1"},{"photo_id":"1391531991","filename":"file0"},{"photo_id":"1391532005","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532005":["hashtag1","hashtag2"]},{"1391532010":["hashtag1","hashtag2"]},{"1391531991":["hashtag1","hashtag2"]},{"1391532006":["hashtag1","hashtag2"]},{"1391532000":["hashtag1","hashtag2"]},{"1391531996":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532005, 1391532010, 1391531991, 1391532006, 1391532000, 1391531996)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.232253313064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:24:47.407513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_28_2852.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_32_3629.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_34_2537.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_37_2724.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_40_3003.jpg', '/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_59_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_28_2852.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_32_3629.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_34_2537.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_37_2724.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_40_3003.jpg
/home/pi/Desktop/images/29102025/22/21/image_29102025_22_21_59_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532052","1391532040","1391532048","1391532051","1391532045","1391532035"],"photo_ids_order":["1391532035","1391532040","1391532045","1391532048","1391532051","1391532052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a43c08a60082c4f8c59d91cc153ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody2345264429712246355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_59_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8811c1be8f243423c69d8d61b4848ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6146987040702949571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_32_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b60a117ecfccfa56bbd315c172abee7.jpg","text":"TemporaryFile(/tmp/multipartBody6162513131710108655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_37_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d65cf9cace52f2ad32ffaa4be4ec455.jpg","text":"TemporaryFile(/tmp/multipartBody2719260954362539780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_40_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e83c2f62b5c254c7d1c9d593fcc2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5702773948962771050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_34_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cde5298a3d2627adfc3db22ca2fdfaae.jpg","text":"TemporaryFile(/tmp/multipartBody2691573851882985010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974748495,"filename":"image_29102025_22_21_28_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532045","file1":"1391532040","file0":"1391532035","file4":"1391532051","file5":"1391532052","file3":"1391532048"},"map_files_photo_id_array":[{"photo_id":"1391532052","filename":"file5"},{"photo_id":"1391532045","filename":"file2"},{"photo_id":"1391532051","filename":"file4"},{"photo_id":"1391532040","filename":"file1"},{"photo_id":"1391532035","filename":"file0"},{"photo_id":"1391532048","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532052":["hashtag1","hashtag2"]},{"1391532040":["hashtag1","hashtag2"]},{"1391532048":["hashtag1","hashtag2"]},{"1391532051":["hashtag1","hashtag2"]},{"1391532045":["hashtag1","hashtag2"]},{"1391532035":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532052, 1391532040, 1391532048, 1391532051, 1391532045, 1391532035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33662796020508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:25:42.595687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_05_3587.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_08_2744.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_10_2709.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_13_2743.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_26_3736.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_29_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_05_3587.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_08_2744.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_10_2709.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_13_2743.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_26_3736.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_29_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532124","1391532135","1391532120","1391532114","1391532086","1391532140"],"photo_ids_order":["1391532086","1391532114","1391532120","1391532124","1391532135","1391532140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab4bf3e8b102b33a4108e716a8924a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5710589559557907778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_13_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ae8e081da8c57a1e1d9a401701f0222.jpg","text":"TemporaryFile(/tmp/multipartBody7397346226184824845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_26_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f10a2ecc6db23bbf91bb61a00462cb32.jpg","text":"TemporaryFile(/tmp/multipartBody7193965581997802610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_10_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc3832d23de99c86b645a210d27980b8.jpg","text":"TemporaryFile(/tmp/multipartBody9211605802944392969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_08_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa9b067b72f0afc79bbf0eb0ff1337a5.jpg","text":"TemporaryFile(/tmp/multipartBody6240398924484964113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_05_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a83986dc720507649f58e25eb920e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3419926835727083125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974803693,"filename":"image_29102025_22_22_29_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532120","file1":"1391532114","file0":"1391532086","file4":"1391532135","file5":"1391532140","file3":"1391532124"},"map_files_photo_id_array":[{"photo_id":"1391532140","filename":"file5"},{"photo_id":"1391532120","filename":"file2"},{"photo_id":"1391532135","filename":"file4"},{"photo_id":"1391532114","filename":"file1"},{"photo_id":"1391532086","filename":"file0"},{"photo_id":"1391532124","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532124":["hashtag1","hashtag2"]},{"1391532135":["hashtag1","hashtag2"]},{"1391532120":["hashtag1","hashtag2"]},{"1391532114":["hashtag1","hashtag2"]},{"1391532086":["hashtag1","hashtag2"]},{"1391532140":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532124, 1391532135, 1391532120, 1391532114, 1391532086, 1391532140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08071041107178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:26:21.844012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_31_2702.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_34_2981.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_50_3653.jpg', '/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_52_2565.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_01_2660.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_05_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_31_2702.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_34_2981.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_50_3653.jpg
/home/pi/Desktop/images/29102025/22/22/image_29102025_22_22_52_2565.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_01_2660.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_05_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532203","1391532196","1391532192","1391532246","1391532188","1391532164"],"photo_ids_order":["1391532164","1391532188","1391532192","1391532196","1391532203","1391532246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a28e5e7cb4afd32025134cdfbca557a.jpg","text":"TemporaryFile(/tmp/multipartBody8520074636084381411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_23_01_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99ccd5ce8f690df932ff1e5ce22178ad.jpg","text":"TemporaryFile(/tmp/multipartBody7714899376474243461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_22_52_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03ae5e4f66a5f8cc21dd2847fe0e88ba.jpg","text":"TemporaryFile(/tmp/multipartBody4229863657168500512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_22_50_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f16fc66d640d75bb5ec6eb1614bcdf0f.jpg","text":"TemporaryFile(/tmp/multipartBody8770722515056638372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_23_05_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f836ef265a08e36f4b3f2e70aace1668.jpg","text":"TemporaryFile(/tmp/multipartBody5146487527436013615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_22_34_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dd64fa2835d87adc30886e39e7a5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2675918561570230447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974844638,"filename":"image_29102025_22_22_31_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532192","file1":"1391532188","file0":"1391532164","file4":"1391532203","file5":"1391532246","file3":"1391532196"},"map_files_photo_id_array":[{"photo_id":"1391532246","filename":"file5"},{"photo_id":"1391532192","filename":"file2"},{"photo_id":"1391532203","filename":"file4"},{"photo_id":"1391532188","filename":"file1"},{"photo_id":"1391532164","filename":"file0"},{"photo_id":"1391532196","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532203":["hashtag1","hashtag2"]},{"1391532196":["hashtag1","hashtag2"]},{"1391532192":["hashtag1","hashtag2"]},{"1391532246":["hashtag1","hashtag2"]},{"1391532188":["hashtag1","hashtag2"]},{"1391532164":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532203, 1391532196, 1391532192, 1391532246, 1391532188, 1391532164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49973464012146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:27:22.059723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_10_2547.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_14_3570.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_28_2552.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_32_3826.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_41_3700.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_44_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_10_2547.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_14_3570.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_28_2552.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_32_3826.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_41_3700.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_44_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532469","1391532454","1391532505","1391532444","1391532432","1391532501"],"photo_ids_order":["1391532432","1391532444","1391532454","1391532469","1391532501","1391532505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/094e448cb7e518dbe45ae5fb392d9d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4887257810482979876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_32_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71b83f0d0a21a98daca7c5378cf82e04.jpg","text":"TemporaryFile(/tmp/multipartBody8736410917735214951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_28_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6775e2cd7a6399685a8bae7770e8bc74.jpg","text":"TemporaryFile(/tmp/multipartBody3002516294702417520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_44_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8badcc9b70221d2e3abf7b8d54548b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5167862349158908929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_14_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/268bfe4742b290b4ef3737b378f8b659.jpg","text":"TemporaryFile(/tmp/multipartBody5159014247935781030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_10_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73f50489c3303cb059d8d9125cd37ace.jpg","text":"TemporaryFile(/tmp/multipartBody511764657155825090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974904746,"filename":"image_29102025_22_23_41_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532454","file1":"1391532444","file0":"1391532432","file4":"1391532501","file5":"1391532505","file3":"1391532469"},"map_files_photo_id_array":[{"photo_id":"1391532505","filename":"file5"},{"photo_id":"1391532454","filename":"file2"},{"photo_id":"1391532501","filename":"file4"},{"photo_id":"1391532444","filename":"file1"},{"photo_id":"1391532432","filename":"file0"},{"photo_id":"1391532469","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532469":["hashtag1","hashtag2"]},{"1391532454":["hashtag1","hashtag2"]},{"1391532505":["hashtag1","hashtag2"]},{"1391532444":["hashtag1","hashtag2"]},{"1391532432":["hashtag1","hashtag2"]},{"1391532501":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532469, 1391532454, 1391532505, 1391532444, 1391532432, 1391532501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59281945228577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:28:02.628539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_46_2705.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_49_2723.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_53_3726.jpg', '/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_56_2918.jpg', '/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_01_2605.jpg', '/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_10_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_46_2705.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_49_2723.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_53_3726.jpg
/home/pi/Desktop/images/29102025/22/23/image_29102025_22_23_56_2918.jpg
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_01_2605.jpg
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_10_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532611","1391532589","1391532607","1391532546","1391532603","1391532515"],"photo_ids_order":["1391532515","1391532546","1391532589","1391532603","1391532607","1391532611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bdad44997186d9fed831d0576577060.jpg","text":"TemporaryFile(/tmp/multipartBody4030652050529758307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_24_10_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d8aa32e03f8ad0dda66b1ce5ff649e1.jpg","text":"TemporaryFile(/tmp/multipartBody6869250963288235285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_23_53_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b686d05ea358359a372640512070966.jpg","text":"TemporaryFile(/tmp/multipartBody4534836871105686553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_24_01_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20b6417614dc9b88b5d609a6adb53a92.jpg","text":"TemporaryFile(/tmp/multipartBody441435376073064869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_23_49_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f27c06ac1654f816c991f452ec586b5.jpg","text":"TemporaryFile(/tmp/multipartBody6814314105778428317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_23_56_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2f45cf055e3c88c3bed2877d6a1562b.jpg","text":"TemporaryFile(/tmp/multipartBody4123525112851399741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974944825,"filename":"image_29102025_22_23_46_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532589","file1":"1391532546","file0":"1391532515","file4":"1391532607","file5":"1391532611","file3":"1391532603"},"map_files_photo_id_array":[{"photo_id":"1391532611","filename":"file5"},{"photo_id":"1391532589","filename":"file2"},{"photo_id":"1391532607","filename":"file4"},{"photo_id":"1391532546","filename":"file1"},{"photo_id":"1391532515","filename":"file0"},{"photo_id":"1391532603","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532611":["hashtag1","hashtag2"]},{"1391532589":["hashtag1","hashtag2"]},{"1391532607":["hashtag1","hashtag2"]},{"1391532546":["hashtag1","hashtag2"]},{"1391532603":["hashtag1","hashtag2"]},{"1391532515":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532611, 1391532589, 1391532607, 1391532546, 1391532603, 1391532515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.326398849487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:28:42.149855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_41_1511.jpg', '/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_48_1804.jpg', '/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_53_1618.jpg', '/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_59_3493.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_34_2948.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_36_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_41_1511.jpg
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_48_1804.jpg
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_53_1618.jpg
/home/pi/Desktop/images/29102025/22/24/image_29102025_22_24_59_3493.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_34_2948.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_36_1734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532637","1391532642","1391532633","1391532627","1391532641","1391532644"],"photo_ids_order":["1391532627","1391532633","1391532637","1391532641","1391532642","1391532644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9237bc1fb1b66561c2d417fd6d808acf.jpg","text":"TemporaryFile(/tmp/multipartBody7432332800894464974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_24_53_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab8d1311b8195c37612243f1e8bcb6fa.jpg","text":"TemporaryFile(/tmp/multipartBody4739942979255265346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_25_34_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9b3a4883e361e9be6855f8e2634449b.jpg","text":"TemporaryFile(/tmp/multipartBody6633747554709527540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_24_48_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ee759e9c155e5e088388e200f5c0319.jpg","text":"TemporaryFile(/tmp/multipartBody6945367856379567379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_24_41_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f1fb62d740fcc03a0a0a5b804935d22.jpg","text":"TemporaryFile(/tmp/multipartBody2982860824923307879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_24_59_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fc30af02ff9386a57e6dfd125651f26.jpg","text":"TemporaryFile(/tmp/multipartBody1605975813523545233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761974983589,"filename":"image_29102025_22_25_36_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532637","file1":"1391532633","file0":"1391532627","file4":"1391532642","file5":"1391532644","file3":"1391532641"},"map_files_photo_id_array":[{"photo_id":"1391532644","filename":"file5"},{"photo_id":"1391532637","filename":"file2"},{"photo_id":"1391532642","filename":"file4"},{"photo_id":"1391532633","filename":"file1"},{"photo_id":"1391532627","filename":"file0"},{"photo_id":"1391532641","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532637":["hashtag1","hashtag2"]},{"1391532642":["hashtag1","hashtag2"]},{"1391532633":["hashtag1","hashtag2"]},{"1391532627":["hashtag1","hashtag2"]},{"1391532641":["hashtag1","hashtag2"]},{"1391532644":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532637, 1391532642, 1391532633, 1391532627, 1391532641, 1391532644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.667147397994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:29:22.369977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_38_1723.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_47_1598.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_48_1775.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_52_1652.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_53_1751.jpg', '/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_59_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_38_1723.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_47_1598.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_48_1775.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_52_1652.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_53_1751.jpg
/home/pi/Desktop/images/29102025/22/25/image_29102025_22_25_59_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532688","1391532715","1391532660","1391532720","1391532708","1391532665"],"photo_ids_order":["1391532660","1391532665","1391532688","1391532708","1391532715","1391532720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ade7793d9f8b16f6a3c31d3d98bfdb9e.jpg","text":"TemporaryFile(/tmp/multipartBody6741244768889739287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_48_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebec0571d3b11b794f40fdfed3d07e40.jpg","text":"TemporaryFile(/tmp/multipartBody5618348928377516667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_53_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09e6834121867119044d53fc457a8ce0.jpg","text":"TemporaryFile(/tmp/multipartBody45239040103886327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_38_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f9901aff9afc53fd923eb0b89dea437.jpg","text":"TemporaryFile(/tmp/multipartBody5080859844294476760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_59_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a8d4aec650b9e4f4e0370269c7d3e67.jpg","text":"TemporaryFile(/tmp/multipartBody2794484015291978370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_52_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d3bd84bd9630132b0d13f3e44f963fa.jpg","text":"TemporaryFile(/tmp/multipartBody4668880613411634570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975025313,"filename":"image_29102025_22_25_47_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532688","file1":"1391532665","file0":"1391532660","file4":"1391532715","file5":"1391532720","file3":"1391532708"},"map_files_photo_id_array":[{"photo_id":"1391532720","filename":"file5"},{"photo_id":"1391532688","filename":"file2"},{"photo_id":"1391532715","filename":"file4"},{"photo_id":"1391532665","filename":"file1"},{"photo_id":"1391532660","filename":"file0"},{"photo_id":"1391532708","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532688":["hashtag1","hashtag2"]},{"1391532715":["hashtag1","hashtag2"]},{"1391532660":["hashtag1","hashtag2"]},{"1391532720":["hashtag1","hashtag2"]},{"1391532708":["hashtag1","hashtag2"]},{"1391532665":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532688, 1391532715, 1391532660, 1391532720, 1391532708, 1391532665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88061761856079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:30:22.544985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_26_3663.jpg', '/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_50_1646.jpg', '/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_59_2065.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_01_1790.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_05_2753.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_38_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_26_3663.jpg
/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_50_1646.jpg
/home/pi/Desktop/images/29102025/22/26/image_29102025_22_26_59_2065.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_01_1790.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_05_2753.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_38_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532796","1391532805","1391532792","1391532816","1391532801","1391532810"],"photo_ids_order":["1391532792","1391532796","1391532801","1391532805","1391532810","1391532816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e8b2df6c301b04ff23f0a3c162a7d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8482187978143577958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_26_50_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55956ffd94e7dbc0a949cf57bb78df40.jpg","text":"TemporaryFile(/tmp/multipartBody5540802412113422605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_27_01_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9c7c94f2d921280c8ecfaaef807379e.jpg","text":"TemporaryFile(/tmp/multipartBody2477846583009098895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_26_26_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/335287bcc648bfc898c70e9544869058.jpg","text":"TemporaryFile(/tmp/multipartBody1034160071710846594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_27_38_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7d84923b48724afbf94eb5572a59632.jpg","text":"TemporaryFile(/tmp/multipartBody6838629293408305913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_26_59_2065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf33608a097f42f7848e0df4e7ce7904.jpg","text":"TemporaryFile(/tmp/multipartBody102016736297372406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975085386,"filename":"image_29102025_22_27_05_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532801","file1":"1391532796","file0":"1391532792","file4":"1391532810","file5":"1391532816","file3":"1391532805"},"map_files_photo_id_array":[{"photo_id":"1391532816","filename":"file5"},{"photo_id":"1391532801","filename":"file2"},{"photo_id":"1391532810","filename":"file4"},{"photo_id":"1391532796","filename":"file1"},{"photo_id":"1391532792","filename":"file0"},{"photo_id":"1391532805","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532796":["hashtag1","hashtag2"]},{"1391532805":["hashtag1","hashtag2"]},{"1391532792":["hashtag1","hashtag2"]},{"1391532816":["hashtag1","hashtag2"]},{"1391532801":["hashtag1","hashtag2"]},{"1391532810":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532796, 1391532805, 1391532792, 1391532816, 1391532801, 1391532810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.928972482681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:31:22.756118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_40_2814.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_44_3668.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_47_2602.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_53_3614.jpg', '/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_58_2652.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_23_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_40_2814.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_44_3668.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_47_2602.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_53_3614.jpg
/home/pi/Desktop/images/29102025/22/27/image_29102025_22_27_58_2652.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_23_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532853","1391532843","1391532837","1391532831","1391532848","1391532833"],"photo_ids_order":["1391532831","1391532833","1391532837","1391532843","1391532848","1391532853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddbf3028733568508a6632aa83ced293.jpg","text":"TemporaryFile(/tmp/multipartBody2450102995130283674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_28_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82404f0812f09863f7a8d55a9572cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody1729920220245909369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_27_53_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3104912f21f0da009719f47bdefc9b1.jpg","text":"TemporaryFile(/tmp/multipartBody7491525546914119719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_27_47_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1e84eeda4601217d756c29cf5870b1c.jpg","text":"TemporaryFile(/tmp/multipartBody784283948177501321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_27_40_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cc245431d9c885e0c5e3a0eade7ed1d.jpg","text":"TemporaryFile(/tmp/multipartBody7969276445449344168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_27_58_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9031f2ab184cc53cee4c4d7c3fe704a7.jpg","text":"TemporaryFile(/tmp/multipartBody3441084948105143755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975145520,"filename":"image_29102025_22_27_44_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532837","file1":"1391532833","file0":"1391532831","file4":"1391532848","file5":"1391532853","file3":"1391532843"},"map_files_photo_id_array":[{"photo_id":"1391532853","filename":"file5"},{"photo_id":"1391532837","filename":"file2"},{"photo_id":"1391532848","filename":"file4"},{"photo_id":"1391532833","filename":"file1"},{"photo_id":"1391532831","filename":"file0"},{"photo_id":"1391532843","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532853":["hashtag1","hashtag2"]},{"1391532843":["hashtag1","hashtag2"]},{"1391532837":["hashtag1","hashtag2"]},{"1391532831":["hashtag1","hashtag2"]},{"1391532848":["hashtag1","hashtag2"]},{"1391532833":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532853, 1391532843, 1391532837, 1391532831, 1391532848, 1391532833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9121515750885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:32:22.036134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_26_2854.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_35_3687.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_38_2685.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_44_3640.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_47_2871.jpg', '/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_50_2980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_26_2854.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_35_3687.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_38_2685.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_44_3640.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_47_2871.jpg
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_50_2980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532886","1391532877","1391532888","1391532881","1391532890","1391532884"],"photo_ids_order":["1391532877","1391532881","1391532884","1391532886","1391532888","1391532890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acb0bac1339e60d593f212d926a243d0.jpg","text":"TemporaryFile(/tmp/multipartBody4883443900910327627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_44_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cadf95ed0ef84a42702eb9029af7dbe9.jpg","text":"TemporaryFile(/tmp/multipartBody4918674921085086615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_26_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b136a02a2acbd62388504c863712c73.jpg","text":"TemporaryFile(/tmp/multipartBody8519429081747063370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_47_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/698ca5af639582362d68c04051d50093.jpg","text":"TemporaryFile(/tmp/multipartBody8174606615663272598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_35_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adfe6147ec72d35ed7091783f281fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1363766361239551452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_50_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ff2631f4a2ef3bf7a9afe92779c4db0.jpg","text":"TemporaryFile(/tmp/multipartBody2833857526750417935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975204766,"filename":"image_29102025_22_28_38_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532884","file1":"1391532881","file0":"1391532877","file4":"1391532888","file5":"1391532890","file3":"1391532886"},"map_files_photo_id_array":[{"photo_id":"1391532890","filename":"file5"},{"photo_id":"1391532884","filename":"file2"},{"photo_id":"1391532888","filename":"file4"},{"photo_id":"1391532881","filename":"file1"},{"photo_id":"1391532877","filename":"file0"},{"photo_id":"1391532886","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532886":["hashtag1","hashtag2"]},{"1391532877":["hashtag1","hashtag2"]},{"1391532888":["hashtag1","hashtag2"]},{"1391532881":["hashtag1","hashtag2"]},{"1391532890":["hashtag1","hashtag2"]},{"1391532884":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532886, 1391532877, 1391532888, 1391532881, 1391532890, 1391532884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1250684261322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:33:03.038440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_52_2709.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_04_2602.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_08_3665.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_13_2834.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_17_3717.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_22_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/28/image_29102025_22_28_52_2709.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_04_2602.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_08_3665.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_13_2834.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_17_3717.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_22_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532916","1391532919","1391532904","1391532897","1391532911","1391532908"],"photo_ids_order":["1391532897","1391532904","1391532908","1391532911","1391532916","1391532919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93286c6aee651618cf2485914770ca46.jpg","text":"TemporaryFile(/tmp/multipartBody161836817371852803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_29_17_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ba059b663fa8301c7d7011f350dfc6f.jpg","text":"TemporaryFile(/tmp/multipartBody897698026460325546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_29_22_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e07928e5deb8e756fd33f9240cb15753.jpg","text":"TemporaryFile(/tmp/multipartBody5325969288876365767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_29_04_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3062bda390cc2ebfa227fb499fe60abb.jpg","text":"TemporaryFile(/tmp/multipartBody3680647358617203206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_28_52_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81e400f95a8680ed073da864990b003a.jpg","text":"TemporaryFile(/tmp/multipartBody4145978238748021500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_29_13_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dce6190636b947ebfd60fb1584037a7.jpg","text":"TemporaryFile(/tmp/multipartBody5473756448337717486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975245338,"filename":"image_29102025_22_29_08_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532908","file1":"1391532904","file0":"1391532897","file4":"1391532916","file5":"1391532919","file3":"1391532911"},"map_files_photo_id_array":[{"photo_id":"1391532919","filename":"file5"},{"photo_id":"1391532908","filename":"file2"},{"photo_id":"1391532916","filename":"file4"},{"photo_id":"1391532904","filename":"file1"},{"photo_id":"1391532897","filename":"file0"},{"photo_id":"1391532911","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532916":["hashtag1","hashtag2"]},{"1391532919":["hashtag1","hashtag2"]},{"1391532904":["hashtag1","hashtag2"]},{"1391532897":["hashtag1","hashtag2"]},{"1391532911":["hashtag1","hashtag2"]},{"1391532908":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532916, 1391532919, 1391532904, 1391532897, 1391532911, 1391532908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30483961105347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:33:42.245683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_25_2755.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_41_3872.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_43_2540.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_49_2843.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_55_2701.jpg', '/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_58_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_25_2755.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_41_3872.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_43_2540.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_49_2843.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_55_2701.jpg
/home/pi/Desktop/images/29102025/22/29/image_29102025_22_29_58_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391532976","1391532940","1391533020","1391533014","1391532966","1391532930"],"photo_ids_order":["1391532930","1391532940","1391532966","1391532976","1391533014","1391533020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b9a7a81ffc849934fa9a131376454db.jpg","text":"TemporaryFile(/tmp/multipartBody1669011851601925646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_49_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6d9877c5b3a04de23e8a2ee3703d2b7.jpg","text":"TemporaryFile(/tmp/multipartBody4598829033618820611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_41_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35db9f80234190f97c41ac56a51d9ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2468262128692601570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_58_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7240df94f6ca6ddee46ed30340ad899.jpg","text":"TemporaryFile(/tmp/multipartBody2480273158959874804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_55_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3ebeef9bbb8941a341c3c4c449e2ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3522359756192991672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_43_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3594f308fdcd8c6cf573f3be8acae538.jpg","text":"TemporaryFile(/tmp/multipartBody7497327312545060429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975283380,"filename":"image_29102025_22_29_25_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391532966","file1":"1391532940","file0":"1391532930","file4":"1391533014","file5":"1391533020","file3":"1391532976"},"map_files_photo_id_array":[{"photo_id":"1391533020","filename":"file5"},{"photo_id":"1391532966","filename":"file2"},{"photo_id":"1391533014","filename":"file4"},{"photo_id":"1391532940","filename":"file1"},{"photo_id":"1391532930","filename":"file0"},{"photo_id":"1391532976","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391532976":["hashtag1","hashtag2"]},{"1391532940":["hashtag1","hashtag2"]},{"1391533020":["hashtag1","hashtag2"]},{"1391533014":["hashtag1","hashtag2"]},{"1391532966":["hashtag1","hashtag2"]},{"1391532930":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391532976, 1391532940, 1391533020, 1391533014, 1391532966, 1391532930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25832271575928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:34:22.412663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_11_3771.jpg', '/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_20_3623.jpg', '/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_26_2577.jpg', '/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_38_3578.jpg', '/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_14_3571.jpg', '/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_28_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_11_3771.jpg
/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_20_3623.jpg
/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_26_2577.jpg
/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_38_3578.jpg
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_14_3571.jpg
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_28_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533107","1391533056","1391533101","1391533091","1391533096","1391533084"],"photo_ids_order":["1391533056","1391533084","1391533091","1391533096","1391533101","1391533107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cd4bce030e0cdf52e169d7ef1c28ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2087702543780459574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_31_28_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1112354564525f215d4e672589672ba8.jpg","text":"TemporaryFile(/tmp/multipartBody7307035065269875338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_30_11_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8f78e36df37e1554c21f8270567dbaf.jpg","text":"TemporaryFile(/tmp/multipartBody54310952204739808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_31_14_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48f6f00b13feb60523cc4c79e7ed90ca.jpg","text":"TemporaryFile(/tmp/multipartBody6705581549283584069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_30_26_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8cdaa9fad64b713d50c06c01c864fec.jpg","text":"TemporaryFile(/tmp/multipartBody7441656983022083754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_30_38_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/695c632f054d3434d84aa261b82c8c25.jpg","text":"TemporaryFile(/tmp/multipartBody504268328102203192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975325136,"filename":"image_29102025_22_30_20_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533091","file1":"1391533084","file0":"1391533056","file4":"1391533101","file5":"1391533107","file3":"1391533096"},"map_files_photo_id_array":[{"photo_id":"1391533107","filename":"file5"},{"photo_id":"1391533091","filename":"file2"},{"photo_id":"1391533101","filename":"file4"},{"photo_id":"1391533084","filename":"file1"},{"photo_id":"1391533056","filename":"file0"},{"photo_id":"1391533096","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533107":["hashtag1","hashtag2"]},{"1391533056":["hashtag1","hashtag2"]},{"1391533101":["hashtag1","hashtag2"]},{"1391533091":["hashtag1","hashtag2"]},{"1391533096":["hashtag1","hashtag2"]},{"1391533084":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533107, 1391533056, 1391533101, 1391533091, 1391533096, 1391533084)","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 = 1391533091 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29102025/22/30/image_29102025_22_30_26_2577.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.52000212669373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:35:42.427721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:36:02.956685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:36:22.684959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_31_2905.jpg', '/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_47_2785.jpg', '/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_49_2543.jpg', '/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_52_2790.jpg', '/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_08_3613.jpg', '/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_13_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_31_2905.jpg
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_47_2785.jpg
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_49_2543.jpg
/home/pi/Desktop/images/29102025/22/31/image_29102025_22_31_52_2790.jpg
/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_08_3613.jpg
/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_13_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533354","1391533327","1391533347","1391533340","1391533334","1391533331"],"photo_ids_order":["1391533327","1391533331","1391533334","1391533340","1391533347","1391533354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2798bd1463d76b3c058162277eccba23.jpg","text":"TemporaryFile(/tmp/multipartBody7412742690864373128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_32_13_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0029865c742958a6f43d217ff706e2da.jpg","text":"TemporaryFile(/tmp/multipartBody7184227066035753699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_31_31_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ceb945a23626f2fe7a53ff606caac683.jpg","text":"TemporaryFile(/tmp/multipartBody2655856099623263826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_32_08_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9de6ac577de1cc4d2fcb2d32c837ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody8662247491651895583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_31_52_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2f9d4aaebf0c5ea7a538f8c228e0e4c.jpg","text":"TemporaryFile(/tmp/multipartBody119731950495590758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_31_49_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac2354d5206d07f98722820b01799414.jpg","text":"TemporaryFile(/tmp/multipartBody2891376517713829004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975452446,"filename":"image_29102025_22_31_47_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533334","file1":"1391533331","file0":"1391533327","file4":"1391533347","file5":"1391533354","file3":"1391533340"},"map_files_photo_id_array":[{"photo_id":"1391533354","filename":"file5"},{"photo_id":"1391533334","filename":"file2"},{"photo_id":"1391533347","filename":"file4"},{"photo_id":"1391533331","filename":"file1"},{"photo_id":"1391533327","filename":"file0"},{"photo_id":"1391533340","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533354":["hashtag1","hashtag2"]},{"1391533327":["hashtag1","hashtag2"]},{"1391533347":["hashtag1","hashtag2"]},{"1391533340":["hashtag1","hashtag2"]},{"1391533334":["hashtag1","hashtag2"]},{"1391533331":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533354, 1391533327, 1391533347, 1391533340, 1391533334, 1391533331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.23139262199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:37:26.608109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_29_2702.jpg', '/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_35_3772.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_07_2593.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_26_2702.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_28_2751.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_35_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_29_2702.jpg
/home/pi/Desktop/images/29102025/22/32/image_29102025_22_32_35_3772.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_07_2593.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_26_2702.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_28_2751.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_35_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533377","1391533373","1391533367","1391533387","1391533381","1391533369"],"photo_ids_order":["1391533367","1391533369","1391533373","1391533377","1391533381","1391533387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/106f3cbc412031b940e897106ecb6c19.jpg","text":"TemporaryFile(/tmp/multipartBody301667123429714515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_33_26_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03a7c9aa0de49960af52e2471b91a2b1.jpg","text":"TemporaryFile(/tmp/multipartBody872831992693654890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_33_07_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76ab441f9795d1027e1be2d1cc04e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody2039797982663748923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_32_29_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d57a591ac3b656243ffe6567f82fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody4695527324680720434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_33_35_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7491f9da0ae38000d303cd8a2536352.jpg","text":"TemporaryFile(/tmp/multipartBody1919790820794956738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_33_28_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84cc610cae514cdbad6991e71efaf9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6084191214060557189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975509655,"filename":"image_29102025_22_32_35_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533373","file1":"1391533369","file0":"1391533367","file4":"1391533381","file5":"1391533387","file3":"1391533377"},"map_files_photo_id_array":[{"photo_id":"1391533387","filename":"file5"},{"photo_id":"1391533373","filename":"file2"},{"photo_id":"1391533381","filename":"file4"},{"photo_id":"1391533369","filename":"file1"},{"photo_id":"1391533367","filename":"file0"},{"photo_id":"1391533377","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533377":["hashtag1","hashtag2"]},{"1391533373":["hashtag1","hashtag2"]},{"1391533367":["hashtag1","hashtag2"]},{"1391533387":["hashtag1","hashtag2"]},{"1391533381":["hashtag1","hashtag2"]},{"1391533369":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533377, 1391533373, 1391533367, 1391533387, 1391533381, 1391533369)","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 = 1391533373 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_07_2593.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.44081449508667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:38:43.675387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_41_3754.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_44_2756.jpg', '/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_46_2693.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_04_2774.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_07_2713.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_11_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_41_3754.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_44_2756.jpg
/home/pi/Desktop/images/29102025/22/33/image_29102025_22_33_46_2693.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_04_2774.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_07_2713.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_11_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533420","1391533449","1391533440","1391533434","1391533445","1391533427"],"photo_ids_order":["1391533420","1391533427","1391533434","1391533440","1391533445","1391533449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/163dcb7f0e19831ffdb60cc4c84a1643.jpg","text":"TemporaryFile(/tmp/multipartBody1831092890864676901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_33_41_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6191ba8ab6ad389eecc2665f75b4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5555878120904724949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_34_11_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1994a5c8e93358b255e7adba762b984.jpg","text":"TemporaryFile(/tmp/multipartBody3045601531926355046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_34_04_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b75fb771feca45b727531c0c799d3ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2284033080450623097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_33_46_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bcf444f5f47030f2b10ee47e56eaad0.jpg","text":"TemporaryFile(/tmp/multipartBody8535831595569316078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_34_07_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c48e11f8b93dd9b1c3cc4606ad6a158.jpg","text":"TemporaryFile(/tmp/multipartBody2651104715840891280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975586688,"filename":"image_29102025_22_33_44_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533434","file1":"1391533427","file0":"1391533420","file4":"1391533445","file5":"1391533449","file3":"1391533440"},"map_files_photo_id_array":[{"photo_id":"1391533449","filename":"file5"},{"photo_id":"1391533434","filename":"file2"},{"photo_id":"1391533445","filename":"file4"},{"photo_id":"1391533427","filename":"file1"},{"photo_id":"1391533420","filename":"file0"},{"photo_id":"1391533440","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533420":["hashtag1","hashtag2"]},{"1391533449":["hashtag1","hashtag2"]},{"1391533440":["hashtag1","hashtag2"]},{"1391533434":["hashtag1","hashtag2"]},{"1391533445":["hashtag1","hashtag2"]},{"1391533427":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533420, 1391533449, 1391533440, 1391533434, 1391533445, 1391533427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69285726547241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:39:41.849337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_13_2651.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_19_2562.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_32_3021.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_34_2618.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_41_3693.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_52_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_13_2651.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_19_2562.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_32_3021.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_34_2618.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_41_3693.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_52_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533470","1391533467","1391533476","1391533480","1391533474","1391533462"],"photo_ids_order":["1391533462","1391533467","1391533470","1391533474","1391533476","1391533480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bff463bc6b9bc61328ddf46fac60d31.jpg","text":"TemporaryFile(/tmp/multipartBody9071679269758705975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_32_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec19cc589689884e81c9e6273ed84c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5192546128926418497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_19_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53c982d95c58291882d83103eb9d8c55.jpg","text":"TemporaryFile(/tmp/multipartBody693832793170489854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_41_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe04ab0eb4b59022a3d96652e204ccce.jpg","text":"TemporaryFile(/tmp/multipartBody602660099932665508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_52_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd6c1a1446ea9eb0350c060bca13ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody2910234312515643110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8abbfab293c5493f49812e10420f6984.jpg","text":"TemporaryFile(/tmp/multipartBody1044172915009853520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975643028,"filename":"image_29102025_22_34_13_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533470","file1":"1391533467","file0":"1391533462","file4":"1391533476","file5":"1391533480","file3":"1391533474"},"map_files_photo_id_array":[{"photo_id":"1391533480","filename":"file5"},{"photo_id":"1391533470","filename":"file2"},{"photo_id":"1391533476","filename":"file4"},{"photo_id":"1391533467","filename":"file1"},{"photo_id":"1391533462","filename":"file0"},{"photo_id":"1391533474","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533470":["hashtag1","hashtag2"]},{"1391533467":["hashtag1","hashtag2"]},{"1391533476":["hashtag1","hashtag2"]},{"1391533480":["hashtag1","hashtag2"]},{"1391533474":["hashtag1","hashtag2"]},{"1391533462":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533470, 1391533467, 1391533476, 1391533480, 1391533474, 1391533462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22623348236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:40:22.018754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_55_2578.jpg', '/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_59_3745.jpg', '/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_22_2644.jpg', '/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_25_2763.jpg', '/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_49_2652.jpg', '/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_53_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_55_2578.jpg
/home/pi/Desktop/images/29102025/22/34/image_29102025_22_34_59_3745.jpg
/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_22_2644.jpg
/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_25_2763.jpg
/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_49_2652.jpg
/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_53_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533497","1391533491","1391533493","1391533529","1391533523","1391533502"],"photo_ids_order":["1391533491","1391533493","1391533497","1391533502","1391533523","1391533529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaf884ef6cea378180aaa7495e359886.jpg","text":"TemporaryFile(/tmp/multipartBody6828839540618688894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_35_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cef6ea503aa3e528a5f953c26f63e06.jpg","text":"TemporaryFile(/tmp/multipartBody3872447423096523253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_34_55_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c3e68b34530385dd6b3a3a6d58e6da1.jpg","text":"TemporaryFile(/tmp/multipartBody5385954853189060551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_34_59_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9ceda4fdb12328af516a7488be8ddea.jpg","text":"TemporaryFile(/tmp/multipartBody7785829563802190180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_35_53_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2b099c205cd3821a8568d684c38db96.jpg","text":"TemporaryFile(/tmp/multipartBody3541059274730281904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_35_49_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b87b913800e52ed108acc2bde4cc181c.jpg","text":"TemporaryFile(/tmp/multipartBody6308688226120214929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975689288,"filename":"image_29102025_22_35_25_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533497","file1":"1391533493","file0":"1391533491","file4":"1391533523","file5":"1391533529","file3":"1391533502"},"map_files_photo_id_array":[{"photo_id":"1391533529","filename":"file5"},{"photo_id":"1391533497","filename":"file2"},{"photo_id":"1391533523","filename":"file4"},{"photo_id":"1391533493","filename":"file1"},{"photo_id":"1391533491","filename":"file0"},{"photo_id":"1391533502","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533497":["hashtag1","hashtag2"]},{"1391533491":["hashtag1","hashtag2"]},{"1391533493":["hashtag1","hashtag2"]},{"1391533529":["hashtag1","hashtag2"]},{"1391533523":["hashtag1","hashtag2"]},{"1391533502":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533497, 1391533491, 1391533493, 1391533529, 1391533523, 1391533502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66021752357483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:41:22.448054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_55_2637.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_11_3628.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_16_2510.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_20_3705.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_23_2658.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_29_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/35/image_29102025_22_35_55_2637.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_11_3628.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_16_2510.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_20_3705.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_23_2658.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_29_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533579","1391533596","1391533583","1391533586","1391533601","1391533591"],"photo_ids_order":["1391533579","1391533583","1391533586","1391533591","1391533596","1391533601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cf172dc4dcf72621def3f43bfdf6713.jpg","text":"TemporaryFile(/tmp/multipartBody3834942215535918068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_35_55_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4876210602f383e6da7d4650ed1f271d.jpg","text":"TemporaryFile(/tmp/multipartBody3889201745383274153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_36_23_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0af61d4ed022431a74a987570ad4c707.jpg","text":"TemporaryFile(/tmp/multipartBody494030064392792494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_36_11_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d8afe6f55a1e6ce77bef3efcbd99fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1897438023170405851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_36_16_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c28eb8e9810a82442f68fdb7547a5b7.jpg","text":"TemporaryFile(/tmp/multipartBody6672320868541431431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_36_29_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c0f2988dca39db0cac38e84978c3a10.jpg","text":"TemporaryFile(/tmp/multipartBody8481143573026957061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975744835,"filename":"image_29102025_22_36_20_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533586","file1":"1391533583","file0":"1391533579","file4":"1391533596","file5":"1391533601","file3":"1391533591"},"map_files_photo_id_array":[{"photo_id":"1391533601","filename":"file5"},{"photo_id":"1391533586","filename":"file2"},{"photo_id":"1391533596","filename":"file4"},{"photo_id":"1391533583","filename":"file1"},{"photo_id":"1391533579","filename":"file0"},{"photo_id":"1391533591","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533579":["hashtag1","hashtag2"]},{"1391533596":["hashtag1","hashtag2"]},{"1391533583":["hashtag1","hashtag2"]},{"1391533586":["hashtag1","hashtag2"]},{"1391533601":["hashtag1","hashtag2"]},{"1391533591":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533579, 1391533596, 1391533583, 1391533586, 1391533601, 1391533591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.364176750183105 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:42:22.398073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_53_3589.jpg', '/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_55_2757.jpg', '/home/pi/Desktop/images/29102025/22/37/image_29102025_22_37_56_2778.jpg', '/home/pi/Desktop/images/29102025/22/37/image_29102025_22_37_58_2872.jpg', '/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_05_3589.jpg', '/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_07_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_53_3589.jpg
/home/pi/Desktop/images/29102025/22/36/image_29102025_22_36_55_2757.jpg
/home/pi/Desktop/images/29102025/22/37/image_29102025_22_37_56_2778.jpg
/home/pi/Desktop/images/29102025/22/37/image_29102025_22_37_58_2872.jpg
/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_05_3589.jpg
/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_07_2842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533621","1391533629","1391533646","1391533625","1391533640","1391533634"],"photo_ids_order":["1391533621","1391533625","1391533629","1391533634","1391533640","1391533646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a781641c50f5fd7c14b2def2b9a162bf.jpg","text":"TemporaryFile(/tmp/multipartBody1339400450634639038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_36_53_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/644368c0b85fa2dd1d3816a173157c34.jpg","text":"TemporaryFile(/tmp/multipartBody1636392125215872917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_37_56_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d727e5366ff0e9e5e6a70683f62567b.jpg","text":"TemporaryFile(/tmp/multipartBody4339111242366557382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_38_07_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff99c7f7e3b316beb532a78c9acc47e8.jpg","text":"TemporaryFile(/tmp/multipartBody295453816868639435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_36_55_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fd243cd405b6a66fe75fc6c8ef9f7fb.jpg","text":"TemporaryFile(/tmp/multipartBody5030412231121443453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_38_05_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cd492a00deeb978880a49647ca1fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody1144531423393763649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975804797,"filename":"image_29102025_22_37_58_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533629","file1":"1391533625","file0":"1391533621","file4":"1391533640","file5":"1391533646","file3":"1391533634"},"map_files_photo_id_array":[{"photo_id":"1391533646","filename":"file5"},{"photo_id":"1391533629","filename":"file2"},{"photo_id":"1391533640","filename":"file4"},{"photo_id":"1391533625","filename":"file1"},{"photo_id":"1391533621","filename":"file0"},{"photo_id":"1391533634","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533621":["hashtag1","hashtag2"]},{"1391533629":["hashtag1","hashtag2"]},{"1391533646":["hashtag1","hashtag2"]},{"1391533625":["hashtag1","hashtag2"]},{"1391533640":["hashtag1","hashtag2"]},{"1391533634":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533621, 1391533629, 1391533646, 1391533625, 1391533640, 1391533634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.393736839294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:43:22.568649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_10_2711.jpg', '/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_17_2750.jpg', '/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_41_3711.jpg', '/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_04_2610.jpg', '/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_14_2881.jpg', '/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_16_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_10_2711.jpg
/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_17_2750.jpg
/home/pi/Desktop/images/29102025/22/38/image_29102025_22_38_41_3711.jpg
/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_04_2610.jpg
/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_14_2881.jpg
/home/pi/Desktop/images/29102025/22/39/image_29102025_22_39_16_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533678","1391533665","1391533659","1391533674","1391533662","1391533669"],"photo_ids_order":["1391533659","1391533662","1391533665","1391533669","1391533674","1391533678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e47e5063889f378e01b5f0c8521dd889.jpg","text":"TemporaryFile(/tmp/multipartBody7474824785755941902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_39_16_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/932d14e66212b61ea9efa07aa5da981c.jpg","text":"TemporaryFile(/tmp/multipartBody7512385298076243714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_38_41_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73c006c8d77ad46666c79655f6d042ae.jpg","text":"TemporaryFile(/tmp/multipartBody1518826032883183927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_38_10_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/632c08ee6ca7b183e70e6d4fad4b7b5f.jpg","text":"TemporaryFile(/tmp/multipartBody125434987043721749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_39_14_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bc5cab10f0e3bdf1161168271387b98.jpg","text":"TemporaryFile(/tmp/multipartBody383222153365170817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_38_17_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb2cb069f3bac2188148178e1081b526.jpg","text":"TemporaryFile(/tmp/multipartBody7302279907729364822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975864965,"filename":"image_29102025_22_39_04_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533665","file1":"1391533662","file0":"1391533659","file4":"1391533674","file5":"1391533678","file3":"1391533669"},"map_files_photo_id_array":[{"photo_id":"1391533678","filename":"file5"},{"photo_id":"1391533665","filename":"file2"},{"photo_id":"1391533674","filename":"file4"},{"photo_id":"1391533662","filename":"file1"},{"photo_id":"1391533659","filename":"file0"},{"photo_id":"1391533669","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533678":["hashtag1","hashtag2"]},{"1391533665":["hashtag1","hashtag2"]},{"1391533659":["hashtag1","hashtag2"]},{"1391533674":["hashtag1","hashtag2"]},{"1391533662":["hashtag1","hashtag2"]},{"1391533669":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533678, 1391533665, 1391533659, 1391533674, 1391533662, 1391533669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24651312828064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:44:21.790303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/40/image_29102025_22_40_19_3647.jpg', '/home/pi/Desktop/images/29102025/22/40/image_29102025_22_40_22_2629.jpg', '/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_22_2651.jpg', '/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_26_3727.jpg', '/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_31_2758.jpg', '/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_55_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/40/image_29102025_22_40_19_3647.jpg
/home/pi/Desktop/images/29102025/22/40/image_29102025_22_40_22_2629.jpg
/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_22_2651.jpg
/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_26_3727.jpg
/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_31_2758.jpg
/home/pi/Desktop/images/29102025/22/41/image_29102025_22_41_55_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533720","1391533717","1391533711","1391533705","1391533708","1391533709"],"photo_ids_order":["1391533705","1391533708","1391533709","1391533711","1391533717","1391533720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af52003b7a4ba0b3e654183b535cecab.jpg","text":"TemporaryFile(/tmp/multipartBody8329064309729417313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_41_55_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a35c57770a28c6cd59ac22166ca4f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1904889255792963144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_41_31_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f099656a97581cee22e7a8fae09ee85.jpg","text":"TemporaryFile(/tmp/multipartBody834140567407402090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_41_26_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65e07423a24e40244a0729000ecdad75.jpg","text":"TemporaryFile(/tmp/multipartBody7562064629062106605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_40_19_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6eff7a0b1e8c434d6c57c60341d8c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1453427374455903522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_40_22_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9badf646351a643edd862680d1ff8ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8181922296769988817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975924177,"filename":"image_29102025_22_41_22_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533709","file1":"1391533708","file0":"1391533705","file4":"1391533717","file5":"1391533720","file3":"1391533711"},"map_files_photo_id_array":[{"photo_id":"1391533720","filename":"file5"},{"photo_id":"1391533709","filename":"file2"},{"photo_id":"1391533717","filename":"file4"},{"photo_id":"1391533708","filename":"file1"},{"photo_id":"1391533705","filename":"file0"},{"photo_id":"1391533711","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533720":["hashtag1","hashtag2"]},{"1391533717":["hashtag1","hashtag2"]},{"1391533711":["hashtag1","hashtag2"]},{"1391533705":["hashtag1","hashtag2"]},{"1391533708":["hashtag1","hashtag2"]},{"1391533709":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533720, 1391533717, 1391533711, 1391533705, 1391533708, 1391533709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.456236124038696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:45:02.661821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_04_2647.jpg', '/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_14_3466.jpg', '/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_19_2719.jpg', '/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_22_2574.jpg', '/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_25_2817.jpg', '/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_49_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_04_2647.jpg
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_14_3466.jpg
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_19_2719.jpg
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_22_2574.jpg
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_25_2817.jpg
/home/pi/Desktop/images/29102025/22/42/image_29102025_22_42_49_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533741","1391533738","1391533740","1391533734","1391533743","1391533742"],"photo_ids_order":["1391533734","1391533738","1391533740","1391533741","1391533742","1391533743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10faa7af860f6d7fe63a174559a4ed91.jpg","text":"TemporaryFile(/tmp/multipartBody7722135678710581744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_22_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d13033de8e92e8992ada6df6efdc2c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2615751889601406325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_14_3466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a420429d042af4764103c24b9b9d5926.jpg","text":"TemporaryFile(/tmp/multipartBody4591348953303829519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_19_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d40b59e66832d418cf190de91ebaf6f.jpg","text":"TemporaryFile(/tmp/multipartBody4541494063843014261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_04_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3dad4ac2a40580952cb4a6297b97371.jpg","text":"TemporaryFile(/tmp/multipartBody6062345037296041726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_49_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f58473b81df5aa7c76988a71c677caab.jpg","text":"TemporaryFile(/tmp/multipartBody2486216907174545196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761975964956,"filename":"image_29102025_22_42_25_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533740","file1":"1391533738","file0":"1391533734","file4":"1391533742","file5":"1391533743","file3":"1391533741"},"map_files_photo_id_array":[{"photo_id":"1391533743","filename":"file5"},{"photo_id":"1391533740","filename":"file2"},{"photo_id":"1391533742","filename":"file4"},{"photo_id":"1391533738","filename":"file1"},{"photo_id":"1391533734","filename":"file0"},{"photo_id":"1391533741","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533741":["hashtag1","hashtag2"]},{"1391533738":["hashtag1","hashtag2"]},{"1391533740":["hashtag1","hashtag2"]},{"1391533734":["hashtag1","hashtag2"]},{"1391533743":["hashtag1","hashtag2"]},{"1391533742":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533741, 1391533738, 1391533740, 1391533734, 1391533743, 1391533742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01701378822327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:45:42.083611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_10_2707.jpg', '/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_13_2606.jpg', '/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_19_3574.jpg', '/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_28_3680.jpg', '/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_31_2589.jpg', '/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_01_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_10_2707.jpg
/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_13_2606.jpg
/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_19_3574.jpg
/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_28_3680.jpg
/home/pi/Desktop/images/29102025/22/43/image_29102025_22_43_31_2589.jpg
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_01_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533759","1391533776","1391533779","1391533773","1391533754","1391533766"],"photo_ids_order":["1391533754","1391533759","1391533766","1391533773","1391533776","1391533779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab7276caf459809205bc807423331014.jpg","text":"TemporaryFile(/tmp/multipartBody1784356505010232527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_43_13_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ce958001203b94bd6871239b9b9e9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8366541070350610536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_43_31_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92017ef8683e2a7ead38f81c4710d444.jpg","text":"TemporaryFile(/tmp/multipartBody974280853106198863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_44_01_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac4308c9c92922c66373d04d9756acdf.jpg","text":"TemporaryFile(/tmp/multipartBody4171130265584582586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_43_28_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce214ec4210435c8253c0817113d496d.jpg","text":"TemporaryFile(/tmp/multipartBody5311479399866948865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_43_10_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ee19166a531fdf7c26940e586487b53.jpg","text":"TemporaryFile(/tmp/multipartBody2698419922338533483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976003214,"filename":"image_29102025_22_43_19_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533766","file1":"1391533759","file0":"1391533754","file4":"1391533776","file5":"1391533779","file3":"1391533773"},"map_files_photo_id_array":[{"photo_id":"1391533779","filename":"file5"},{"photo_id":"1391533766","filename":"file2"},{"photo_id":"1391533776","filename":"file4"},{"photo_id":"1391533759","filename":"file1"},{"photo_id":"1391533754","filename":"file0"},{"photo_id":"1391533773","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533759":["hashtag1","hashtag2"]},{"1391533776":["hashtag1","hashtag2"]},{"1391533779":["hashtag1","hashtag2"]},{"1391533773":["hashtag1","hashtag2"]},{"1391533754":["hashtag1","hashtag2"]},{"1391533766":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533759, 1391533776, 1391533779, 1391533773, 1391533754, 1391533766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92866396903992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:46:22.231487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_04_2684.jpg', '/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_19_3529.jpg', '/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_37_3660.jpg', '/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_40_2582.jpg', '/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_43_3667.jpg', '/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_07_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_04_2684.jpg
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_19_3529.jpg
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_37_3660.jpg
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_40_2582.jpg
/home/pi/Desktop/images/29102025/22/44/image_29102025_22_44_43_3667.jpg
/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_07_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533801","1391533790","1391533806","1391533783","1391533786","1391533795"],"photo_ids_order":["1391533783","1391533786","1391533790","1391533795","1391533801","1391533806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/150f73ace09d871a594c3277155e5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8472613108204853538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_44_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27e3d4172cb2e94087efff21acafb976.jpg","text":"TemporaryFile(/tmp/multipartBody1263948643613755891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_44_37_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56684025ed43ccb10ada24955b753fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5783040930063666472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_45_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/949bcc8e464a6dd45200bc722991753c.jpg","text":"TemporaryFile(/tmp/multipartBody3106711070394589831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_44_04_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d6861fa103fef6804e821166bf32c02.jpg","text":"TemporaryFile(/tmp/multipartBody5208794075353412371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_44_19_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e80392ececf83ca0e0aee71dc0d828ae.jpg","text":"TemporaryFile(/tmp/multipartBody380502076899170879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976044925,"filename":"image_29102025_22_44_40_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533790","file1":"1391533786","file0":"1391533783","file4":"1391533801","file5":"1391533806","file3":"1391533795"},"map_files_photo_id_array":[{"photo_id":"1391533806","filename":"file5"},{"photo_id":"1391533790","filename":"file2"},{"photo_id":"1391533801","filename":"file4"},{"photo_id":"1391533786","filename":"file1"},{"photo_id":"1391533783","filename":"file0"},{"photo_id":"1391533795","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533801":["hashtag1","hashtag2"]},{"1391533790":["hashtag1","hashtag2"]},{"1391533806":["hashtag1","hashtag2"]},{"1391533783":["hashtag1","hashtag2"]},{"1391533786":["hashtag1","hashtag2"]},{"1391533795":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533801, 1391533790, 1391533806, 1391533783, 1391533786, 1391533795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33107805252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:47:03.148936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_31_2680.jpg', '/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_34_2640.jpg', '/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_25_2807.jpg', '/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_34_2611.jpg', '/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_40_2791.jpg', '/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_46_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_31_2680.jpg
/home/pi/Desktop/images/29102025/22/45/image_29102025_22_45_34_2640.jpg
/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_25_2807.jpg
/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_34_2611.jpg
/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_40_2791.jpg
/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_46_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533828","1391533831","1391533825","1391533833","1391533821","1391533818"],"photo_ids_order":["1391533818","1391533821","1391533825","1391533828","1391533831","1391533833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85979e3e85d653281b2cc7db7d60cb8e.jpg","text":"TemporaryFile(/tmp/multipartBody4125043745096819366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_46_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36652182eb3beaa5acfd4e914983c59f.jpg","text":"TemporaryFile(/tmp/multipartBody4637297278610709999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_46_40_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32ec7f09dfc50d9f59ce8f22f11fad44.jpg","text":"TemporaryFile(/tmp/multipartBody1586375549639309164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_46_25_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d4dbdbfa61d47c7950725e8f7c55a88.jpg","text":"TemporaryFile(/tmp/multipartBody3048008271530452127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_46_46_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a74321a63f1a1290b4a172e7dd34cc25.jpg","text":"TemporaryFile(/tmp/multipartBody9200929544407074327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_45_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67f659b06a7caffaef24a77902b65676.jpg","text":"TemporaryFile(/tmp/multipartBody2541164954159739185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976087845,"filename":"image_29102025_22_45_31_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533825","file1":"1391533821","file0":"1391533818","file4":"1391533831","file5":"1391533833","file3":"1391533828"},"map_files_photo_id_array":[{"photo_id":"1391533833","filename":"file5"},{"photo_id":"1391533825","filename":"file2"},{"photo_id":"1391533831","filename":"file4"},{"photo_id":"1391533821","filename":"file1"},{"photo_id":"1391533818","filename":"file0"},{"photo_id":"1391533828","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533828":["hashtag1","hashtag2"]},{"1391533831":["hashtag1","hashtag2"]},{"1391533825":["hashtag1","hashtag2"]},{"1391533833":["hashtag1","hashtag2"]},{"1391533821":["hashtag1","hashtag2"]},{"1391533818":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533828, 1391533831, 1391533825, 1391533833, 1391533821, 1391533818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39633774757385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:48:03.021443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_58_2677.jpg', '/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_04_3683.jpg', '/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_25_3601.jpg', '/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_43_2619.jpg', '/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_52_2724.jpg', '/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_01_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/46/image_29102025_22_46_58_2677.jpg
/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_04_3683.jpg
/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_25_3601.jpg
/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_43_2619.jpg
/home/pi/Desktop/images/29102025/22/47/image_29102025_22_47_52_2724.jpg
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_01_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391533918","1391533968","1391533932","1391534051","1391534012","1391534053"],"photo_ids_order":["1391533918","1391533932","1391533968","1391534012","1391534051","1391534053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed6b0085016a790caba73bc326ab9389.jpg","text":"TemporaryFile(/tmp/multipartBody419213018064110003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_46_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8458ab51dc699f031f0db6dc50e2976.jpg","text":"TemporaryFile(/tmp/multipartBody3452110981200176438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_47_25_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84d0f80cab1a5e9b9f4a99deb67deacd.jpg","text":"TemporaryFile(/tmp/multipartBody6813667230546346515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_47_04_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/087132fae6fb9e1d3d1c8dfeaf7083fd.jpg","text":"TemporaryFile(/tmp/multipartBody756622561899827841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_47_52_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e424b0d90c69d2cb81550a5c443ec234.jpg","text":"TemporaryFile(/tmp/multipartBody167103241229170705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_47_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ab188d28d0ab57641eb9e54e64c66a7.jpg","text":"TemporaryFile(/tmp/multipartBody1542612065399773879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976145182,"filename":"image_29102025_22_48_01_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391533968","file1":"1391533932","file0":"1391533918","file4":"1391534051","file5":"1391534053","file3":"1391534012"},"map_files_photo_id_array":[{"photo_id":"1391534053","filename":"file5"},{"photo_id":"1391533968","filename":"file2"},{"photo_id":"1391534051","filename":"file4"},{"photo_id":"1391533932","filename":"file1"},{"photo_id":"1391533918","filename":"file0"},{"photo_id":"1391534012","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391533918":["hashtag1","hashtag2"]},{"1391533968":["hashtag1","hashtag2"]},{"1391533932":["hashtag1","hashtag2"]},{"1391534051":["hashtag1","hashtag2"]},{"1391534012":["hashtag1","hashtag2"]},{"1391534053":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391533918, 1391533968, 1391533932, 1391534051, 1391534012, 1391534053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.09328031539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:49:03.796792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_04_2654.jpg', '/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_22_2726.jpg', '/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_25_2730.jpg', '/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_36_2703.jpg', '/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_45_2544.jpg', '/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_41_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_04_2654.jpg
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_22_2726.jpg
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_25_2730.jpg
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_36_2703.jpg
/home/pi/Desktop/images/29102025/22/48/image_29102025_22_48_45_2544.jpg
/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_41_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534084","1391534078","1391534087","1391534072","1391534081","1391534077"],"photo_ids_order":["1391534072","1391534077","1391534078","1391534081","1391534084","1391534087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db1966cfc2a79a7f5333fca71485edc1.jpg","text":"TemporaryFile(/tmp/multipartBody7279287039572307024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_48_45_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a22d83021252d0dc4eae4f54eb4a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5644241480203789817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_48_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/695187417ee080b6e67f8a6ea704ace3.jpg","text":"TemporaryFile(/tmp/multipartBody6411671350831428225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_50_41_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08ece06245d61f4da7fbf2a8aa6de893.jpg","text":"TemporaryFile(/tmp/multipartBody5578161962901629997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_48_04_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f4fa45022fab87103fb022d8cc7641.jpg","text":"TemporaryFile(/tmp/multipartBody136887905765373717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_48_36_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74107fd42ebdbcafb054e20a98541171.jpg","text":"TemporaryFile(/tmp/multipartBody2365954414263781913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976206207,"filename":"image_29102025_22_48_22_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534078","file1":"1391534077","file0":"1391534072","file4":"1391534084","file5":"1391534087","file3":"1391534081"},"map_files_photo_id_array":[{"photo_id":"1391534087","filename":"file5"},{"photo_id":"1391534078","filename":"file2"},{"photo_id":"1391534084","filename":"file4"},{"photo_id":"1391534077","filename":"file1"},{"photo_id":"1391534072","filename":"file0"},{"photo_id":"1391534081","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534084":["hashtag1","hashtag2"]},{"1391534078":["hashtag1","hashtag2"]},{"1391534087":["hashtag1","hashtag2"]},{"1391534072":["hashtag1","hashtag2"]},{"1391534081":["hashtag1","hashtag2"]},{"1391534077":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534084, 1391534078, 1391534087, 1391534072, 1391534081, 1391534077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53027939796448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:50:02.420190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_47_3756.jpg', '/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_56_2527.jpg', '/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_23_3746.jpg', '/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_25_2554.jpg', '/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_28_2829.jpg', '/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_49_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_47_3756.jpg
/home/pi/Desktop/images/29102025/22/50/image_29102025_22_50_56_2527.jpg
/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_23_3746.jpg
/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_25_2554.jpg
/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_28_2829.jpg
/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_49_2516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534250","1391534258","1391534261","1391534255","1391534323","1391534266"],"photo_ids_order":["1391534250","1391534255","1391534258","1391534261","1391534266","1391534323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bddd0fae6c1f0587b2e81452a8c02fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1840337102003584674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_50_47_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9477a76bc85d0145c3ecfbc0153089c7.jpg","text":"TemporaryFile(/tmp/multipartBody6365244171813209679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_51_23_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6954fb21d460c68feab6b0395512c831.jpg","text":"TemporaryFile(/tmp/multipartBody403482813756223456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_51_25_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1587a37dd466ff26fe322b4328588d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1535538316624674855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_50_56_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/623fb0e05e5d7c8cc3a80aba31f4435b.jpg","text":"TemporaryFile(/tmp/multipartBody6649436938751260376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_51_49_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87f8aa392e4a5313ef293faa0e952992.jpg","text":"TemporaryFile(/tmp/multipartBody7281215627289089431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976264524,"filename":"image_29102025_22_51_28_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534258","file1":"1391534255","file0":"1391534250","file4":"1391534266","file5":"1391534323","file3":"1391534261"},"map_files_photo_id_array":[{"photo_id":"1391534323","filename":"file5"},{"photo_id":"1391534258","filename":"file2"},{"photo_id":"1391534266","filename":"file4"},{"photo_id":"1391534255","filename":"file1"},{"photo_id":"1391534250","filename":"file0"},{"photo_id":"1391534261","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534250":["hashtag1","hashtag2"]},{"1391534258":["hashtag1","hashtag2"]},{"1391534261":["hashtag1","hashtag2"]},{"1391534255":["hashtag1","hashtag2"]},{"1391534323":["hashtag1","hashtag2"]},{"1391534266":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534250, 1391534258, 1391534261, 1391534255, 1391534323, 1391534266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7317008972168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:51:02.979511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_55_2581.jpg', '/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_26_2799.jpg', '/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_31_2774.jpg', '/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_35_3608.jpg', '/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_29_3605.jpg', '/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_47_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/51/image_29102025_22_51_55_2581.jpg
/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_26_2799.jpg
/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_31_2774.jpg
/home/pi/Desktop/images/29102025/22/52/image_29102025_22_52_35_3608.jpg
/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_29_3605.jpg
/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_47_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534445","1391534439","1391534442","1391534436","1391534372","1391534368"],"photo_ids_order":["1391534368","1391534372","1391534436","1391534439","1391534442","1391534445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e94565b506e48b0a2f8068ae38d72791.jpg","text":"TemporaryFile(/tmp/multipartBody547744290275878564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_53_47_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a65c47e65af78bdbe32c364ec06131e4.jpg","text":"TemporaryFile(/tmp/multipartBody5944304764898133883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_52_35_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b14f1d5bf29c55922bda45d6f65f7b63.jpg","text":"TemporaryFile(/tmp/multipartBody5342579914451936594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_53_29_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5331ac1d39c507c0b1fd69b9a7a959f7.jpg","text":"TemporaryFile(/tmp/multipartBody3573559623927815074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_52_31_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8502c134fc09c08648532bd6954aad5.jpg","text":"TemporaryFile(/tmp/multipartBody6401739989991764064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_52_26_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/946b4d00c6d043165c5ef4510babb6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4496997366802342315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976325281,"filename":"image_29102025_22_51_55_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534436","file1":"1391534372","file0":"1391534368","file4":"1391534442","file5":"1391534445","file3":"1391534439"},"map_files_photo_id_array":[{"photo_id":"1391534445","filename":"file5"},{"photo_id":"1391534436","filename":"file2"},{"photo_id":"1391534442","filename":"file4"},{"photo_id":"1391534372","filename":"file1"},{"photo_id":"1391534368","filename":"file0"},{"photo_id":"1391534439","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534445":["hashtag1","hashtag2"]},{"1391534439":["hashtag1","hashtag2"]},{"1391534442":["hashtag1","hashtag2"]},{"1391534436":["hashtag1","hashtag2"]},{"1391534372":["hashtag1","hashtag2"]},{"1391534368":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534445, 1391534439, 1391534442, 1391534436, 1391534372, 1391534368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.038297176361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:52:02.972694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_56_3717.jpg', '/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_16_1699.jpg', '/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_17_1723.jpg', '/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_43_2624.jpg', '/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_14_2730.jpg', '/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_17_3009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/53/image_29102025_22_53_56_3717.jpg
/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_16_1699.jpg
/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_17_1723.jpg
/home/pi/Desktop/images/29102025/22/54/image_29102025_22_54_43_2624.jpg
/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_14_2730.jpg
/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_17_3009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534472","1391534474","1391534516","1391534491","1391534494","1391534473"],"photo_ids_order":["1391534472","1391534473","1391534474","1391534491","1391534494","1391534516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f79e35a2c2ace91f57af7bd867d55fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4335162217505357721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_53_56_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a90bf712847473d844264b5c72eddc3.jpg","text":"TemporaryFile(/tmp/multipartBody3939046717704880240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_54_17_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b83d709cc29236030d337b42ff3b7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7315862340818797302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_55_17_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d212910cfdfa30dc01c2fee3ae2be187.jpg","text":"TemporaryFile(/tmp/multipartBody1033306633070547246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_54_43_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79d2b50913d7e54a74944520fda10b44.jpg","text":"TemporaryFile(/tmp/multipartBody3159134092316971801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_55_14_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c57ba004ec1ecb4176f94ef4bdf7389.jpg","text":"TemporaryFile(/tmp/multipartBody6788465124868718818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976386596,"filename":"image_29102025_22_54_16_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534474","file1":"1391534473","file0":"1391534472","file4":"1391534494","file5":"1391534516","file3":"1391534491"},"map_files_photo_id_array":[{"photo_id":"1391534516","filename":"file5"},{"photo_id":"1391534474","filename":"file2"},{"photo_id":"1391534494","filename":"file4"},{"photo_id":"1391534473","filename":"file1"},{"photo_id":"1391534472","filename":"file0"},{"photo_id":"1391534491","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534472":["hashtag1","hashtag2"]},{"1391534474":["hashtag1","hashtag2"]},{"1391534516":["hashtag1","hashtag2"]},{"1391534491":["hashtag1","hashtag2"]},{"1391534494":["hashtag1","hashtag2"]},{"1391534473":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534472, 1391534474, 1391534516, 1391534491, 1391534494, 1391534473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53161406517029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:53:03.334609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_26_2698.jpg', '/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_29_2677.jpg', '/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_35_2628.jpg', '/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_02_2606.jpg', '/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_05_3677.jpg', '/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_17_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_26_2698.jpg
/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_29_2677.jpg
/home/pi/Desktop/images/29102025/22/55/image_29102025_22_55_35_2628.jpg
/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_02_2606.jpg
/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_05_3677.jpg
/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_17_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534611","1391534595","1391534608","1391534598","1391534601","1391534604"],"photo_ids_order":["1391534595","1391534598","1391534601","1391534604","1391534608","1391534611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1c55925e14f88aa6e3f66ad2c6f77a9.jpg","text":"TemporaryFile(/tmp/multipartBody2962566916106971914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_56_17_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33166dfe5c181884ea09809e811c4bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1720354409076900789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_55_26_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e6835a282027311916f767c947ae459.jpg","text":"TemporaryFile(/tmp/multipartBody4742084505110062134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_56_05_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5487beec7de82f199bc67f8059260e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5202833296876769714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_55_29_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67ecf9e77ba2c59261322266d723b986.jpg","text":"TemporaryFile(/tmp/multipartBody9087249343221432597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_55_35_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4c65e91b6a2536c4333b4165d508131.jpg","text":"TemporaryFile(/tmp/multipartBody6246766750598824444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976446105,"filename":"image_29102025_22_56_02_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534601","file1":"1391534598","file0":"1391534595","file4":"1391534608","file5":"1391534611","file3":"1391534604"},"map_files_photo_id_array":[{"photo_id":"1391534611","filename":"file5"},{"photo_id":"1391534601","filename":"file2"},{"photo_id":"1391534608","filename":"file4"},{"photo_id":"1391534598","filename":"file1"},{"photo_id":"1391534595","filename":"file0"},{"photo_id":"1391534604","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534611":["hashtag1","hashtag2"]},{"1391534595":["hashtag1","hashtag2"]},{"1391534608":["hashtag1","hashtag2"]},{"1391534598":["hashtag1","hashtag2"]},{"1391534601":["hashtag1","hashtag2"]},{"1391534604":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534611, 1391534595, 1391534608, 1391534598, 1391534601, 1391534604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10630512237549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:54:03.362300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_35_3653.jpg', '/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_41_2636.jpg', '/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_19_2620.jpg', '/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_29_2644.jpg', '/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_32_3614.jpg', '/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_38_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_35_3653.jpg
/home/pi/Desktop/images/29102025/22/56/image_29102025_22_56_41_2636.jpg
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_19_2620.jpg
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_29_2644.jpg
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_32_3614.jpg
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_38_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534835","1391534831","1391534825","1391534878","1391534857","1391534833"],"photo_ids_order":["1391534825","1391534831","1391534833","1391534835","1391534857","1391534878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/321f4dcb57eff7a89a12c2e1ea9c71a5.jpg","text":"TemporaryFile(/tmp/multipartBody3266430303726032698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_57_29_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e1b2f0ba5ebe2e639e0c2ce05094988.jpg","text":"TemporaryFile(/tmp/multipartBody5491732091886355326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_56_41_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/969e4290a7e2f0babaebd5418cc51acb.jpg","text":"TemporaryFile(/tmp/multipartBody1542814110810643819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_56_35_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b75c159c215de17a9ba07f5f260628c.jpg","text":"TemporaryFile(/tmp/multipartBody6366762968755400028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_57_38_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d456a07435af6e446a5616459411b20.jpg","text":"TemporaryFile(/tmp/multipartBody2263358704430712913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_57_32_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b0eee04c2a51aa6ed55d550f228e90a.jpg","text":"TemporaryFile(/tmp/multipartBody8229560250699456046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976505558,"filename":"image_29102025_22_57_19_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534833","file1":"1391534831","file0":"1391534825","file4":"1391534857","file5":"1391534878","file3":"1391534835"},"map_files_photo_id_array":[{"photo_id":"1391534878","filename":"file5"},{"photo_id":"1391534833","filename":"file2"},{"photo_id":"1391534857","filename":"file4"},{"photo_id":"1391534831","filename":"file1"},{"photo_id":"1391534825","filename":"file0"},{"photo_id":"1391534835","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534835":["hashtag1","hashtag2"]},{"1391534831":["hashtag1","hashtag2"]},{"1391534825":["hashtag1","hashtag2"]},{"1391534878":["hashtag1","hashtag2"]},{"1391534857":["hashtag1","hashtag2"]},{"1391534833":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534835, 1391534831, 1391534825, 1391534878, 1391534857, 1391534833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4178352355957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:55:02.612370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_40_2839.jpg', '/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_53_3715.jpg', '/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_26_2689.jpg', '/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_35_3110.jpg', '/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_47_2785.jpg', '/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_53_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_40_2839.jpg
/home/pi/Desktop/images/29102025/22/57/image_29102025_22_57_53_3715.jpg
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_26_2689.jpg
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_35_3110.jpg
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_47_2785.jpg
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_53_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391534952","1391534949","1391535020","1391535022","1391534962","1391535001"],"photo_ids_order":["1391534949","1391534952","1391534962","1391535001","1391535020","1391535022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/125f975902f79817c11edd5ba36d0c77.jpg","text":"TemporaryFile(/tmp/multipartBody6053924278041577982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_57_53_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d5b5ae938fdcbcf5d7de65b788f76ce.jpg","text":"TemporaryFile(/tmp/multipartBody897842393454705434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_57_40_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5a507420e18dcf3958bf1069c9dea4d.jpg","text":"TemporaryFile(/tmp/multipartBody7219724929614550291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_58_47_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a03736046c8b7cf94a00a9462b48e408.jpg","text":"TemporaryFile(/tmp/multipartBody6988868924569682311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_58_53_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d6c57d1f9e6637590930befa23b9dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1891190409810725511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_58_26_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7400c2e9a4a3011971520386ff895eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6664846663851204551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976564872,"filename":"image_29102025_22_58_35_3110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391534962","file1":"1391534952","file0":"1391534949","file4":"1391535020","file5":"1391535022","file3":"1391535001"},"map_files_photo_id_array":[{"photo_id":"1391535022","filename":"file5"},{"photo_id":"1391534962","filename":"file2"},{"photo_id":"1391535020","filename":"file4"},{"photo_id":"1391534952","filename":"file1"},{"photo_id":"1391534949","filename":"file0"},{"photo_id":"1391535001","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391534952":["hashtag1","hashtag2"]},{"1391534949":["hashtag1","hashtag2"]},{"1391535020":["hashtag1","hashtag2"]},{"1391535022":["hashtag1","hashtag2"]},{"1391534962":["hashtag1","hashtag2"]},{"1391535001":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391534952, 1391534949, 1391535020, 1391535022, 1391534962, 1391535001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20040774345398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:55:42.032702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_56_2710.jpg', '/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_59_2697.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_02_3538.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_05_2621.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_07_2656.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_10_2898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_56_2710.jpg
/home/pi/Desktop/images/29102025/22/58/image_29102025_22_58_59_2697.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_02_3538.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_05_2621.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_07_2656.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_10_2898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535039","1391535030","1391535050","1391535044","1391535047","1391535035"],"photo_ids_order":["1391535030","1391535035","1391535039","1391535044","1391535047","1391535050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1bcea417906ef6933ea901301236c0e.jpg","text":"TemporaryFile(/tmp/multipartBody535144177574105404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_59_02_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74c6dfe78994658469a1a75ba60b2a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7467629265612709983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_58_56_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0f809c2f357972c584eca9843182f16.jpg","text":"TemporaryFile(/tmp/multipartBody3058657108692201391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_59_10_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5522d2f7e6b42b0e371cbb66e388bed3.jpg","text":"TemporaryFile(/tmp/multipartBody389289930507363192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_59_05_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c18cd4fe3802e734ac49a40d05ca78a1.jpg","text":"TemporaryFile(/tmp/multipartBody4813568833055113996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_59_07_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1e9813d8ff6ea39efe34c0f386c050d.jpg","text":"TemporaryFile(/tmp/multipartBody3563932597808467351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976605018,"filename":"image_29102025_22_58_59_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535039","file1":"1391535035","file0":"1391535030","file4":"1391535047","file5":"1391535050","file3":"1391535044"},"map_files_photo_id_array":[{"photo_id":"1391535050","filename":"file5"},{"photo_id":"1391535039","filename":"file2"},{"photo_id":"1391535047","filename":"file4"},{"photo_id":"1391535035","filename":"file1"},{"photo_id":"1391535030","filename":"file0"},{"photo_id":"1391535044","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535039":["hashtag1","hashtag2"]},{"1391535030":["hashtag1","hashtag2"]},{"1391535050":["hashtag1","hashtag2"]},{"1391535044":["hashtag1","hashtag2"]},{"1391535047":["hashtag1","hashtag2"]},{"1391535035":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535039, 1391535030, 1391535050, 1391535044, 1391535047, 1391535035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16085481643677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 06:56:42.189820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_17_2682.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_22_2928.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_32_3657.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_41_3713.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_43_2592.jpg', '/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_46_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_17_2682.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_22_2928.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_32_3657.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_41_3713.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_43_2592.jpg
/home/pi/Desktop/images/29102025/22/59/image_29102025_22_59_46_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535138","1391535077","1391535107","1391535148","1391535082","1391535157"],"photo_ids_order":["1391535077","1391535082","1391535107","1391535138","1391535148","1391535157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adbe67a3579e46832b8221df8798240e.jpg","text":"TemporaryFile(/tmp/multipartBody3913452806820652778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_41_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8a119770c3e610f7f8a7f55e7995c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8142363189633584325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_17_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/daaeadab0dee851df89d74a21a523179.jpg","text":"TemporaryFile(/tmp/multipartBody9056520768960327933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_32_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec3bfa3868296888bed34887c5adbc9a.jpg","text":"TemporaryFile(/tmp/multipartBody4518824673142608905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_43_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26ba92cd7106571d65976022b5473b83.jpg","text":"TemporaryFile(/tmp/multipartBody2635719953115679568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_22_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/046f2fb22fea03dd0aaf8afbf5cf7165.jpg","text":"TemporaryFile(/tmp/multipartBody3499963032505504258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976663314,"filename":"image_29102025_22_59_46_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535107","file1":"1391535082","file0":"1391535077","file4":"1391535148","file5":"1391535157","file3":"1391535138"},"map_files_photo_id_array":[{"photo_id":"1391535157","filename":"file5"},{"photo_id":"1391535107","filename":"file2"},{"photo_id":"1391535148","filename":"file4"},{"photo_id":"1391535082","filename":"file1"},{"photo_id":"1391535077","filename":"file0"},{"photo_id":"1391535138","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535138":["hashtag1","hashtag2"]},{"1391535077":["hashtag1","hashtag2"]},{"1391535107":["hashtag1","hashtag2"]},{"1391535148":["hashtag1","hashtag2"]},{"1391535082":["hashtag1","hashtag2"]},{"1391535157":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535138, 1391535077, 1391535107, 1391535148, 1391535082, 1391535157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28806924819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 06:57:22.249099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_14_3601.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_17_2542.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_34_2647.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_37_2640.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_41_3687.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_47_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_14_3601.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_17_2542.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_34_2647.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_37_2640.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_41_3687.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_47_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535201","1391535206","1391535200","1391535203","1391535211","1391535198"],"photo_ids_order":["1391535198","1391535200","1391535201","1391535203","1391535206","1391535211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/693e05c31f5480c67cbc81e45468d324.jpg","text":"TemporaryFile(/tmp/multipartBody8208275542234673310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_34_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/198c5a06edae7bfef9fc5228a7924791.jpg","text":"TemporaryFile(/tmp/multipartBody5241990047334248907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_41_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b444d3f1e6b7a2da350ebec015ae21c0.jpg","text":"TemporaryFile(/tmp/multipartBody1429132901419877932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_17_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57b1927e51b8efdeefcb5abd1ff1e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody266785874645111603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_37_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9409956e984fe188596416a5cc6d70d5.jpg","text":"TemporaryFile(/tmp/multipartBody1858001758990572708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_47_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/961b15c817bbd0cd73805c8e787e59ab.jpg","text":"TemporaryFile(/tmp/multipartBody2609614516948383220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976704935,"filename":"image_29102025_23_00_14_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535201","file1":"1391535200","file0":"1391535198","file4":"1391535206","file5":"1391535211","file3":"1391535203"},"map_files_photo_id_array":[{"photo_id":"1391535211","filename":"file5"},{"photo_id":"1391535201","filename":"file2"},{"photo_id":"1391535206","filename":"file4"},{"photo_id":"1391535200","filename":"file1"},{"photo_id":"1391535198","filename":"file0"},{"photo_id":"1391535203","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535201":["hashtag1","hashtag2"]},{"1391535206":["hashtag1","hashtag2"]},{"1391535200":["hashtag1","hashtag2"]},{"1391535203":["hashtag1","hashtag2"]},{"1391535211":["hashtag1","hashtag2"]},{"1391535198":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535201, 1391535206, 1391535200, 1391535203, 1391535211, 1391535198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.687222480773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 06:59:03.737913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_50_2789.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_52_2569.jpg', '/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_59_3696.jpg', '/home/pi/Desktop/images/29102025/23/01/image_29102025_23_01_28_2638.jpg', '/home/pi/Desktop/images/29102025/23/01/image_29102025_23_01_32_3735.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_08_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_50_2789.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_52_2569.jpg
/home/pi/Desktop/images/29102025/23/00/image_29102025_23_00_59_3696.jpg
/home/pi/Desktop/images/29102025/23/01/image_29102025_23_01_28_2638.jpg
/home/pi/Desktop/images/29102025/23/01/image_29102025_23_01_32_3735.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_08_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535563","1391535659","1391535638","1391535500","1391535514","1391535601"],"photo_ids_order":["1391535500","1391535514","1391535563","1391535601","1391535638","1391535659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20c214088ffb8513a5baf10960619b33.jpg","text":"TemporaryFile(/tmp/multipartBody9021076006299073111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_00_59_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93473b2b1ac39a0461902afe4a41d225.jpg","text":"TemporaryFile(/tmp/multipartBody5392067514526343191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_02_08_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/598f612af41ce602f6759c424cef2f62.jpg","text":"TemporaryFile(/tmp/multipartBody1856893807923537976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_01_32_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb85f405fb0fb7f86a45466357cde3c3.jpg","text":"TemporaryFile(/tmp/multipartBody7312734569753140585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_00_50_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92a87c6568c8e5066695df835f045c28.jpg","text":"TemporaryFile(/tmp/multipartBody2723142567684077387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_00_52_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30c36da9d3671914bfd17f11841ad95b.jpg","text":"TemporaryFile(/tmp/multipartBody2289285907111494642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976806018,"filename":"image_29102025_23_01_28_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535563","file1":"1391535514","file0":"1391535500","file4":"1391535638","file5":"1391535659","file3":"1391535601"},"map_files_photo_id_array":[{"photo_id":"1391535659","filename":"file5"},{"photo_id":"1391535563","filename":"file2"},{"photo_id":"1391535638","filename":"file4"},{"photo_id":"1391535514","filename":"file1"},{"photo_id":"1391535500","filename":"file0"},{"photo_id":"1391535601","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535563":["hashtag1","hashtag2"]},{"1391535659":["hashtag1","hashtag2"]},{"1391535638":["hashtag1","hashtag2"]},{"1391535500":["hashtag1","hashtag2"]},{"1391535514":["hashtag1","hashtag2"]},{"1391535601":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535563, 1391535659, 1391535638, 1391535500, 1391535514, 1391535601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.808356046676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:00:02.263419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_10_2639.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_13_2657.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_29_3681.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_31_2673.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_34_2756.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_40_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_10_2639.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_13_2657.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_29_3681.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_31_2673.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_34_2756.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_40_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535702","1391535705","1391535695","1391535692","1391535696","1391535699"],"photo_ids_order":["1391535692","1391535695","1391535696","1391535699","1391535702","1391535705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/400c237d101fa32e0886e2a572d66b41.jpg","text":"TemporaryFile(/tmp/multipartBody3202938366413090218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_34_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c842b6ae769f60b91d81b7353101cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2345617654012421026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_40_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba597f49e57b68a7e8cca00ddcd54a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6451585679015379382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_13_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fe64b7bf04f365da87e0688fb526c16.jpg","text":"TemporaryFile(/tmp/multipartBody3263157732123970660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_10_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/764df001f8da33a3077d29a0aaf46bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1295482755471652887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_29_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65c6a6f046b856cb9383dcde8d2cc7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5519643123816247060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976864390,"filename":"image_29102025_23_02_31_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535696","file1":"1391535695","file0":"1391535692","file4":"1391535702","file5":"1391535705","file3":"1391535699"},"map_files_photo_id_array":[{"photo_id":"1391535705","filename":"file5"},{"photo_id":"1391535696","filename":"file2"},{"photo_id":"1391535702","filename":"file4"},{"photo_id":"1391535695","filename":"file1"},{"photo_id":"1391535692","filename":"file0"},{"photo_id":"1391535699","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535702":["hashtag1","hashtag2"]},{"1391535705":["hashtag1","hashtag2"]},{"1391535695":["hashtag1","hashtag2"]},{"1391535692":["hashtag1","hashtag2"]},{"1391535696":["hashtag1","hashtag2"]},{"1391535699":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535702, 1391535705, 1391535695, 1391535692, 1391535696, 1391535699)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.093271017074585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:01:02.579558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_43_2635.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_47_3722.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_49_2632.jpg', '/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_52_2559.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_01_2685.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_05_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_43_2635.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_47_3722.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_49_2632.jpg
/home/pi/Desktop/images/29102025/23/02/image_29102025_23_02_52_2559.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_01_2685.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_05_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535726","1391535731","1391535734","1391535728","1391535737","1391535724"],"photo_ids_order":["1391535724","1391535726","1391535728","1391535731","1391535734","1391535737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9c43a988e67acfa1991d7f5353bb3a2.jpg","text":"TemporaryFile(/tmp/multipartBody1748230990827101445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_02_47_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c369a9aa05b5cd1e2e6284aac6ef8885.jpg","text":"TemporaryFile(/tmp/multipartBody4920126560502337943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_02_52_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/deb7e5e6daa8ab7dce1ab70a0e2488d3.jpg","text":"TemporaryFile(/tmp/multipartBody4084261115187354278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_03_01_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/194f296a03e9336edd34fbd9ee29cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody3771027094757930689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_02_49_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2753bb6104413b8998938bf373a51aba.jpg","text":"TemporaryFile(/tmp/multipartBody8209515839266080683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_03_05_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0f6739532939979a4195d2587d9d01b.jpg","text":"TemporaryFile(/tmp/multipartBody1434928980754112034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761976924879,"filename":"image_29102025_23_02_43_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535728","file1":"1391535726","file0":"1391535724","file4":"1391535734","file5":"1391535737","file3":"1391535731"},"map_files_photo_id_array":[{"photo_id":"1391535737","filename":"file5"},{"photo_id":"1391535728","filename":"file2"},{"photo_id":"1391535734","filename":"file4"},{"photo_id":"1391535726","filename":"file1"},{"photo_id":"1391535724","filename":"file0"},{"photo_id":"1391535731","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535726":["hashtag1","hashtag2"]},{"1391535731":["hashtag1","hashtag2"]},{"1391535734":["hashtag1","hashtag2"]},{"1391535728":["hashtag1","hashtag2"]},{"1391535737":["hashtag1","hashtag2"]},{"1391535724":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535726, 1391535731, 1391535734, 1391535728, 1391535737, 1391535724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31506848335266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:02:02.665461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_10_2764.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_14_3699.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_16_2647.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_19_2575.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_23_3674.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_25_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_10_2764.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_14_3699.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_16_2647.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_19_2575.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_23_3674.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_25_2561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.060349225997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:02:22.323015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_10_2764.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_14_3699.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_16_2647.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_19_2575.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_23_3674.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_25_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_10_2764.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_14_3699.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_16_2647.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_19_2575.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_23_3674.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_25_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535909","1391535900","1391535863","1391535914","1391535904","1391535888"],"photo_ids_order":["1391535863","1391535888","1391535900","1391535904","1391535909","1391535914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b07730d5557dcddd55511e492fea54a4.jpg","text":"TemporaryFile(/tmp/multipartBody7095575615769575078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_23_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca2a1ec61ddbb6567c0584d1982d0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody636660031956298795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_16_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8816f7b4cd717625b76cac402f382682.jpg","text":"TemporaryFile(/tmp/multipartBody1430419097107080824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_10_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d6ad6904245d302f17f32140c8f1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1826189656658380027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_25_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d74f33f84666be442b76bcbd54e05c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3138540383235783361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_19_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/252ecf5f4e2d72085fdac75ab297e701.jpg","text":"TemporaryFile(/tmp/multipartBody991435921966542813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977004906,"filename":"image_29102025_23_03_14_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535900","file1":"1391535888","file0":"1391535863","file4":"1391535909","file5":"1391535914","file3":"1391535904"},"map_files_photo_id_array":[{"photo_id":"1391535914","filename":"file5"},{"photo_id":"1391535900","filename":"file2"},{"photo_id":"1391535909","filename":"file4"},{"photo_id":"1391535888","filename":"file1"},{"photo_id":"1391535863","filename":"file0"},{"photo_id":"1391535904","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535909":["hashtag1","hashtag2"]},{"1391535900":["hashtag1","hashtag2"]},{"1391535863":["hashtag1","hashtag2"]},{"1391535914":["hashtag1","hashtag2"]},{"1391535904":["hashtag1","hashtag2"]},{"1391535888":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535909, 1391535900, 1391535863, 1391535914, 1391535904, 1391535888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83017873764038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:03:22.511194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_28_2665.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_32_3794.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_34_2672.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_37_2678.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_43_2446.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_47_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_28_2665.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_32_3794.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_34_2672.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_37_2678.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_43_2446.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_47_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535968","1391535962","1391535956","1391535971","1391535959","1391535964"],"photo_ids_order":["1391535956","1391535959","1391535962","1391535964","1391535968","1391535971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73ee3ddc6420e2a38825c8c5defd4f40.jpg","text":"TemporaryFile(/tmp/multipartBody5791113349862265932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_43_2446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9967ec273df5c6eeb0b7cedb280058a.jpg","text":"TemporaryFile(/tmp/multipartBody6887192256513288696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_34_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e2e0c263d19c646a928974b33bf51d4.jpg","text":"TemporaryFile(/tmp/multipartBody6561733480099825309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f97d086e865a1f8a86ee840c4b95a509.jpg","text":"TemporaryFile(/tmp/multipartBody1382583251880384471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_47_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1312eeb155fa87c784f425f7825c82e1.jpg","text":"TemporaryFile(/tmp/multipartBody2306060715747528448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_32_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fe5fb3dd8d577d077929f9ce8c043d5.jpg","text":"TemporaryFile(/tmp/multipartBody4349167201046547839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977064949,"filename":"image_29102025_23_03_37_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391535962","file1":"1391535959","file0":"1391535956","file4":"1391535968","file5":"1391535971","file3":"1391535964"},"map_files_photo_id_array":[{"photo_id":"1391535971","filename":"file5"},{"photo_id":"1391535962","filename":"file2"},{"photo_id":"1391535968","filename":"file4"},{"photo_id":"1391535959","filename":"file1"},{"photo_id":"1391535956","filename":"file0"},{"photo_id":"1391535964","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535968":["hashtag1","hashtag2"]},{"1391535962":["hashtag1","hashtag2"]},{"1391535956":["hashtag1","hashtag2"]},{"1391535971":["hashtag1","hashtag2"]},{"1391535959":["hashtag1","hashtag2"]},{"1391535964":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535968, 1391535962, 1391535956, 1391535971, 1391535959, 1391535964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57149815559387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:04:03.374633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_49_2565.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_52_2613.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_55_3607.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_58_2562.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_02_3598.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_07_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_49_2565.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_52_2613.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_55_3607.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_58_2562.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_02_3598.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_07_2699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1787898540496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:04:22.750506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_49_2565.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_52_2613.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_55_3607.jpg', '/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_58_2562.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_02_3598.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_07_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_49_2565.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_52_2613.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_55_3607.jpg
/home/pi/Desktop/images/29102025/23/03/image_29102025_23_03_58_2562.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_02_3598.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_07_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391535997","1391536009","1391536003","1391536000","1391535993","1391536014"],"photo_ids_order":["1391535993","1391535997","1391536000","1391536003","1391536009","1391536014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7e458c8a650c59337b936c22edac5e2.jpg","text":"TemporaryFile(/tmp/multipartBody6760719818895464812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_03_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/651798ed52cd94bce82db843eaede88e.jpg","text":"TemporaryFile(/tmp/multipartBody3609629579372924607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_04_02_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b201465a5283cfdf8da7cee6fba4068f.jpg","text":"TemporaryFile(/tmp/multipartBody2142017134328314985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_03_58_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/019234a4bfa427b648cdef40cb161aef.jpg","text":"TemporaryFile(/tmp/multipartBody328866823184040636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_03_55_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb2510ccb28b4af96398ff8a52563809.jpg","text":"TemporaryFile(/tmp/multipartBody284814169574288595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_03_49_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6b5df610ff5b522573c8c2fc906c0f5.jpg","text":"TemporaryFile(/tmp/multipartBody1739906192766093530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977125027,"filename":"image_29102025_23_04_07_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391536000","file1":"1391535997","file0":"1391535993","file4":"1391536009","file5":"1391536014","file3":"1391536003"},"map_files_photo_id_array":[{"photo_id":"1391536014","filename":"file5"},{"photo_id":"1391536000","filename":"file2"},{"photo_id":"1391536009","filename":"file4"},{"photo_id":"1391535997","filename":"file1"},{"photo_id":"1391535993","filename":"file0"},{"photo_id":"1391536003","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391535997":["hashtag1","hashtag2"]},{"1391536009":["hashtag1","hashtag2"]},{"1391536003":["hashtag1","hashtag2"]},{"1391536000":["hashtag1","hashtag2"]},{"1391535993":["hashtag1","hashtag2"]},{"1391536014":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391535997, 1391536009, 1391536003, 1391536000, 1391535993, 1391536014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.857179164886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:05:21.902916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_13_3557.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_19_2679.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_25_2622.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_28_2649.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_34_2678.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_37_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_13_3557.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_19_2679.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_25_2622.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_28_2649.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_34_2678.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_37_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391536049","1391536127","1391536087","1391536188","1391536236","1391536050"],"photo_ids_order":["1391536049","1391536050","1391536087","1391536127","1391536188","1391536236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8790d3e806ef3b36f4785237d0e35acd.jpg","text":"TemporaryFile(/tmp/multipartBody2717833349338080670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_13_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36d90cc784e4834b25abf8c2c6f21038.jpg","text":"TemporaryFile(/tmp/multipartBody4607972377804457245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_28_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/deccb9a7ec21ba2262d7c6094b9f1fae.jpg","text":"TemporaryFile(/tmp/multipartBody452952747992679714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_25_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb90684740148655170e198bca93835e.jpg","text":"TemporaryFile(/tmp/multipartBody579260153130741832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3813ab81735694183a026623eb97dc81.jpg","text":"TemporaryFile(/tmp/multipartBody6847265744788529675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_37_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/847e174512fd859499333d490390f8a0.jpg","text":"TemporaryFile(/tmp/multipartBody2845097121622318169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977184617,"filename":"image_29102025_23_04_19_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391536087","file1":"1391536050","file0":"1391536049","file4":"1391536188","file5":"1391536236","file3":"1391536127"},"map_files_photo_id_array":[{"photo_id":"1391536236","filename":"file5"},{"photo_id":"1391536087","filename":"file2"},{"photo_id":"1391536188","filename":"file4"},{"photo_id":"1391536050","filename":"file1"},{"photo_id":"1391536049","filename":"file0"},{"photo_id":"1391536127","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391536049":["hashtag1","hashtag2"]},{"1391536127":["hashtag1","hashtag2"]},{"1391536087":["hashtag1","hashtag2"]},{"1391536188":["hashtag1","hashtag2"]},{"1391536236":["hashtag1","hashtag2"]},{"1391536050":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391536049, 1391536127, 1391536087, 1391536188, 1391536236, 1391536050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92176175117493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:06:02.634913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_40_3569.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_43_2656.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_46_2818.jpg', '/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_58_2643.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_04_2564.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_07_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_40_3569.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_43_2656.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_46_2818.jpg
/home/pi/Desktop/images/29102025/23/04/image_29102025_23_04_58_2643.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_04_2564.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_07_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391536475","1391536514","1391536429","1391536554","1391536638","1391536592"],"photo_ids_order":["1391536429","1391536475","1391536514","1391536554","1391536592","1391536638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4de56786453b381f268c1923e1a6c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7784373171897076870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_04_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d0626e3cfe992f9d9dd883efac9d191.jpg","text":"TemporaryFile(/tmp/multipartBody434881083858428484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_04_46_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0be6e4e02a7de155dce82e66e9e9139d.jpg","text":"TemporaryFile(/tmp/multipartBody494337345019312400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_04_40_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56bf5de0304b1ec867e213ff12a6f533.jpg","text":"TemporaryFile(/tmp/multipartBody8864661974149037085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_04_58_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a75ee35792c42924c087361bd267f46.jpg","text":"TemporaryFile(/tmp/multipartBody7000138531716482380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_05_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d22a8c1f632d85b76765470399e6327.jpg","text":"TemporaryFile(/tmp/multipartBody2419683915010179011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977224832,"filename":"image_29102025_23_05_04_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391536514","file1":"1391536475","file0":"1391536429","file4":"1391536592","file5":"1391536638","file3":"1391536554"},"map_files_photo_id_array":[{"photo_id":"1391536638","filename":"file5"},{"photo_id":"1391536514","filename":"file2"},{"photo_id":"1391536592","filename":"file4"},{"photo_id":"1391536475","filename":"file1"},{"photo_id":"1391536429","filename":"file0"},{"photo_id":"1391536554","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391536475":["hashtag1","hashtag2"]},{"1391536514":["hashtag1","hashtag2"]},{"1391536429":["hashtag1","hashtag2"]},{"1391536554":["hashtag1","hashtag2"]},{"1391536638":["hashtag1","hashtag2"]},{"1391536592":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391536475, 1391536514, 1391536429, 1391536554, 1391536638, 1391536592)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.96396327018738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:07:02.885953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_13_2661.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_16_3606.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_19_2625.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_22_2667.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_25_3629.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_28_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_13_2661.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_16_3606.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_19_2625.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_22_2667.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_25_3629.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_28_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391537024","1391537182","1391537140","1391537101","1391536983","1391537063"],"photo_ids_order":["1391536983","1391537024","1391537063","1391537101","1391537140","1391537182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb031df3b2797b64f88c9e52eea0ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody5538919031543424484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_16_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bc89e715576dd268e8bcb737754d9bb.jpg","text":"TemporaryFile(/tmp/multipartBody6204473974021840148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef6a6e71ed8b398950af10424988ac89.jpg","text":"TemporaryFile(/tmp/multipartBody290382706448618368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_25_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39700013bad20f02f7c7cb79cb3d2dc6.jpg","text":"TemporaryFile(/tmp/multipartBody286440534031442559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_22_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab1ec6f9208314629e7014d8110fab5a.jpg","text":"TemporaryFile(/tmp/multipartBody1704927579432199660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_13_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23ccf080f0556277e88d4d2d86a8db4e.jpg","text":"TemporaryFile(/tmp/multipartBody9185009938292325297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977285086,"filename":"image_29102025_23_05_19_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391537063","file1":"1391537024","file0":"1391536983","file4":"1391537140","file5":"1391537182","file3":"1391537101"},"map_files_photo_id_array":[{"photo_id":"1391537182","filename":"file5"},{"photo_id":"1391537063","filename":"file2"},{"photo_id":"1391537140","filename":"file4"},{"photo_id":"1391537024","filename":"file1"},{"photo_id":"1391536983","filename":"file0"},{"photo_id":"1391537101","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391537024":["hashtag1","hashtag2"]},{"1391537182":["hashtag1","hashtag2"]},{"1391537140":["hashtag1","hashtag2"]},{"1391537101":["hashtag1","hashtag2"]},{"1391536983":["hashtag1","hashtag2"]},{"1391537063":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391537024, 1391537182, 1391537140, 1391537101, 1391536983, 1391537063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70199108123779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:07:42.255918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_31_2614.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_34_3629.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_37_2643.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_43_3725.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_46_2839.jpg', '/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_52_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_31_2614.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_34_3629.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_37_2643.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_43_3725.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_46_2839.jpg
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_52_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391537368","1391537329","1391537407","1391537364","1391537388","1391537412"],"photo_ids_order":["1391537329","1391537364","1391537368","1391537388","1391537407","1391537412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80dc70506cf84a227b4027ad53d4fd1d.jpg","text":"TemporaryFile(/tmp/multipartBody1181857218647885359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f84282d2c01af6c939f55274a3135b0.jpg","text":"TemporaryFile(/tmp/multipartBody1954659342843850312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_31_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c936927a69e0cd1c420b60a2a3aa8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7024909075151372614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_46_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a75c60983864d725352615a7b785cd68.jpg","text":"TemporaryFile(/tmp/multipartBody3240867181367524993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_34_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f08d51ccd202b0fbd6eaf77fc503759e.jpg","text":"TemporaryFile(/tmp/multipartBody4131704457643119189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_43_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1a53e2ae860b9257c3c5ced9961324f.jpg","text":"TemporaryFile(/tmp/multipartBody2033011869426176955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977323412,"filename":"image_29102025_23_05_52_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391537368","file1":"1391537364","file0":"1391537329","file4":"1391537407","file5":"1391537412","file3":"1391537388"},"map_files_photo_id_array":[{"photo_id":"1391537412","filename":"file5"},{"photo_id":"1391537368","filename":"file2"},{"photo_id":"1391537407","filename":"file4"},{"photo_id":"1391537364","filename":"file1"},{"photo_id":"1391537329","filename":"file0"},{"photo_id":"1391537388","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391537368":["hashtag1","hashtag2"]},{"1391537329":["hashtag1","hashtag2"]},{"1391537407":["hashtag1","hashtag2"]},{"1391537364":["hashtag1","hashtag2"]},{"1391537388":["hashtag1","hashtag2"]},{"1391537412":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391537368, 1391537329, 1391537407, 1391537364, 1391537388, 1391537412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65048027038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:08:22.409264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_55_3791.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_04_3696.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_10_2666.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_16_2704.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_22_3700.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_31_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_55_3791.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_04_3696.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_10_2666.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_16_2704.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_22_3700.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_31_2770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.727808952331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:08:42.462085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_55_3791.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_04_3696.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_10_2666.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_16_2704.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_22_3700.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_31_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/05/image_29102025_23_05_55_3791.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_04_3696.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_10_2666.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_16_2704.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_22_3700.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_31_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391537578","1391537665","1391537488","1391537533","1391537439","1391537625"],"photo_ids_order":["1391537439","1391537488","1391537533","1391537578","1391537625","1391537665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c51a9ee64e87bff8a08f5939d19e7d.jpg","text":"TemporaryFile(/tmp/multipartBody8237834927909029773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_06_16_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e56fe3d800a7b47594ce983801acf19.jpg","text":"TemporaryFile(/tmp/multipartBody153557216415868984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_06_31_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/774c0dc4fc52fdf5d82378cdaa162387.jpg","text":"TemporaryFile(/tmp/multipartBody1431640177232955610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_06_04_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21d8cd789987a2ab703756f194f6d54d.jpg","text":"TemporaryFile(/tmp/multipartBody2477589532077998591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_06_10_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28ffaa10f627ebb114341966e57de853.jpg","text":"TemporaryFile(/tmp/multipartBody2681126878343782569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_05_55_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e65c1f19ba7b14cedb3512e65b66ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8417258829922729446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977383496,"filename":"image_29102025_23_06_22_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391537533","file1":"1391537488","file0":"1391537439","file4":"1391537625","file5":"1391537665","file3":"1391537578"},"map_files_photo_id_array":[{"photo_id":"1391537665","filename":"file5"},{"photo_id":"1391537533","filename":"file2"},{"photo_id":"1391537625","filename":"file4"},{"photo_id":"1391537488","filename":"file1"},{"photo_id":"1391537439","filename":"file0"},{"photo_id":"1391537578","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391537578":["hashtag1","hashtag2"]},{"1391537665":["hashtag1","hashtag2"]},{"1391537488":["hashtag1","hashtag2"]},{"1391537533":["hashtag1","hashtag2"]},{"1391537439":["hashtag1","hashtag2"]},{"1391537625":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391537578, 1391537665, 1391537488, 1391537533, 1391537439, 1391537625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.213775873184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:09:22.525862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_34_3735.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_37_2683.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_40_2630.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_49_2884.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_52_3649.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_55_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_34_3735.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_37_2683.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_40_2630.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_49_2884.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_52_3649.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_55_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391538064","1391538007","1391537961","1391537891","1391538233","1391538134"],"photo_ids_order":["1391537891","1391537961","1391538007","1391538064","1391538134","1391538233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb0f2a52f321e1b958f5b2c5bd919e06.jpg","text":"TemporaryFile(/tmp/multipartBody6611849413907204965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_49_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dfa062d6aa0c081e8b56e4df84bd727.jpg","text":"TemporaryFile(/tmp/multipartBody5981725114960459749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_40_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e196390c5d70f5862a3243a9a831ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8985279004689293633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_37_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/500bca0fa3fb079122b20acefa5806f8.jpg","text":"TemporaryFile(/tmp/multipartBody7551545045446637439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_34_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36be02fae542dd484ce042b1aad29cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5846679708853118257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_55_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd4196a3ac04a79ec7e85f1695e25305.jpg","text":"TemporaryFile(/tmp/multipartBody5179010696693037074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977425301,"filename":"image_29102025_23_06_52_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391538007","file1":"1391537961","file0":"1391537891","file4":"1391538134","file5":"1391538233","file3":"1391538064"},"map_files_photo_id_array":[{"photo_id":"1391538233","filename":"file5"},{"photo_id":"1391538007","filename":"file2"},{"photo_id":"1391538134","filename":"file4"},{"photo_id":"1391537961","filename":"file1"},{"photo_id":"1391537891","filename":"file0"},{"photo_id":"1391538064","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391538064":["hashtag1","hashtag2"]},{"1391538007":["hashtag1","hashtag2"]},{"1391537961":["hashtag1","hashtag2"]},{"1391537891":["hashtag1","hashtag2"]},{"1391538233":["hashtag1","hashtag2"]},{"1391538134":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391538064, 1391538007, 1391537961, 1391537891, 1391538233, 1391538134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68504452705383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:10:21.875341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_58_2674.jpg', '/home/pi/Desktop/images/29102025/23/06/image_29102025_23_07_01_3541.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_13_2679.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_16_2658.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_28_3600.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_31_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_06_58_2674.jpg
/home/pi/Desktop/images/29102025/23/06/image_29102025_23_07_01_3541.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_13_2679.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_16_2658.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_28_3600.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_31_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391538694","1391538781","1391538550","1391538591","1391538633","1391538827"],"photo_ids_order":["1391538550","1391538591","1391538633","1391538694","1391538781","1391538827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bde9fa88cbdd03417c930bccfb32edef.jpg","text":"TemporaryFile(/tmp/multipartBody8653151845094580391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_07_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/460cda67b7405d092bb96c9bf2bb52ee.jpg","text":"TemporaryFile(/tmp/multipartBody986183485450107487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_07_28_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc94cde6d97282fb2554a75ede1f8f6b.jpg","text":"TemporaryFile(/tmp/multipartBody9186699925627415075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_06_58_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1128a25afcae721424ad7ce942b27e5.jpg","text":"TemporaryFile(/tmp/multipartBody8952915066587468488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_07_01_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7756266b867178cd79a0a6cbd1b5f09.jpg","text":"TemporaryFile(/tmp/multipartBody7503416499788090105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_07_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ce8861da2b2957cefb5d74639731193.jpg","text":"TemporaryFile(/tmp/multipartBody2017381749316097454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977484283,"filename":"image_29102025_23_07_31_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391538633","file1":"1391538591","file0":"1391538550","file4":"1391538781","file5":"1391538827","file3":"1391538694"},"map_files_photo_id_array":[{"photo_id":"1391538827","filename":"file5"},{"photo_id":"1391538633","filename":"file2"},{"photo_id":"1391538781","filename":"file4"},{"photo_id":"1391538591","filename":"file1"},{"photo_id":"1391538550","filename":"file0"},{"photo_id":"1391538694","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391538694":["hashtag1","hashtag2"]},{"1391538781":["hashtag1","hashtag2"]},{"1391538550":["hashtag1","hashtag2"]},{"1391538591":["hashtag1","hashtag2"]},{"1391538633":["hashtag1","hashtag2"]},{"1391538827":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391538694, 1391538781, 1391538550, 1391538591, 1391538633, 1391538827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2792809009552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:11:02.824992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_34_2862.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_40_3589.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_43_2626.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_45_2670.jpg', '/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_54_2664.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_01_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_34_2862.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_40_3589.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_43_2626.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_45_2670.jpg
/home/pi/Desktop/images/29102025/23/07/image_29102025_23_07_54_2664.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_01_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391539075","1391539033","1391538988","1391539201","1391539262","1391539127"],"photo_ids_order":["1391538988","1391539033","1391539075","1391539127","1391539201","1391539262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/966d541321b2697186a8848ac16bc2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3559281358493133005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_07_43_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a494bf1f1d0e82e4e2554d4ef1ad56c.jpg","text":"TemporaryFile(/tmp/multipartBody1027167125836066950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_07_40_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/106e9987a918b402a82446430c83935a.jpg","text":"TemporaryFile(/tmp/multipartBody6328856797432797383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_07_34_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d222c9afb65c7f18d19fda033a90091.jpg","text":"TemporaryFile(/tmp/multipartBody5113265991427812083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_07_54_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41e8d7854955e79df77128b40e10bde7.jpg","text":"TemporaryFile(/tmp/multipartBody2821153455692261401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_08_01_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a54d5dba061932db248913832a4e086a.jpg","text":"TemporaryFile(/tmp/multipartBody4976286238572165881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977525065,"filename":"image_29102025_23_07_45_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391539075","file1":"1391539033","file0":"1391538988","file4":"1391539201","file5":"1391539262","file3":"1391539127"},"map_files_photo_id_array":[{"photo_id":"1391539262","filename":"file5"},{"photo_id":"1391539075","filename":"file2"},{"photo_id":"1391539201","filename":"file4"},{"photo_id":"1391539033","filename":"file1"},{"photo_id":"1391538988","filename":"file0"},{"photo_id":"1391539127","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391539075":["hashtag1","hashtag2"]},{"1391539033":["hashtag1","hashtag2"]},{"1391538988":["hashtag1","hashtag2"]},{"1391539201":["hashtag1","hashtag2"]},{"1391539262":["hashtag1","hashtag2"]},{"1391539127":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391539075, 1391539033, 1391538988, 1391539201, 1391539262, 1391539127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0543851852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:12:02.772338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_03_2644.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_07_3763.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_13_2700.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_15_2678.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_19_3535.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_22_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_03_2644.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_07_3763.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_13_2700.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_15_2678.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_19_3535.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_22_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391539401","1391539421","1391539415","1391539418","1391539396","1391539384"],"photo_ids_order":["1391539384","1391539396","1391539401","1391539415","1391539418","1391539421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27dbb7f2dc4e68c38e5e22a0436106e4.jpg","text":"TemporaryFile(/tmp/multipartBody5077027924871298093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbf87bcbb931cdcb3ff31ac6b7ce513a.jpg","text":"TemporaryFile(/tmp/multipartBody2436176194971719564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_22_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91fc87dc7c3009da7f5329a5e14d624b.jpg","text":"TemporaryFile(/tmp/multipartBody5246740749319902241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_15_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a17918495817859da3a54f0a233da0e.jpg","text":"TemporaryFile(/tmp/multipartBody7328109326475397324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_19_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8c46d9dca0bf39d6289f674d67fd9f6.jpg","text":"TemporaryFile(/tmp/multipartBody1985194464919872093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_07_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5961026eec814354a807614aa9629d1.jpg","text":"TemporaryFile(/tmp/multipartBody3451523814137671458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977584937,"filename":"image_29102025_23_08_03_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391539401","file1":"1391539396","file0":"1391539384","file4":"1391539418","file5":"1391539421","file3":"1391539415"},"map_files_photo_id_array":[{"photo_id":"1391539421","filename":"file5"},{"photo_id":"1391539401","filename":"file2"},{"photo_id":"1391539418","filename":"file4"},{"photo_id":"1391539396","filename":"file1"},{"photo_id":"1391539384","filename":"file0"},{"photo_id":"1391539415","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391539401":["hashtag1","hashtag2"]},{"1391539421":["hashtag1","hashtag2"]},{"1391539415":["hashtag1","hashtag2"]},{"1391539418":["hashtag1","hashtag2"]},{"1391539396":["hashtag1","hashtag2"]},{"1391539384":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391539401, 1391539421, 1391539415, 1391539418, 1391539396, 1391539384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69120502471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:12:42.273477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_25_3646.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_28_2704.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_31_2689.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_34_3661.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_37_2680.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_39_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_25_3646.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_28_2704.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_31_2689.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_34_3661.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_37_2680.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_39_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391539450","1391539438","1391539446","1391539458","1391539442","1391539433"],"photo_ids_order":["1391539433","1391539438","1391539442","1391539446","1391539450","1391539458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5c5412811712afba9a2eeb9ebe0ce37.jpg","text":"TemporaryFile(/tmp/multipartBody4967083940308144961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/326718c3b50acdd04aabc5748e2a7c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1715583732767785728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_28_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41e30b54bf80008ea0cfe48aa6370e5b.jpg","text":"TemporaryFile(/tmp/multipartBody852811801821486611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_34_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c37155474a58150383b5334589e51fc.jpg","text":"TemporaryFile(/tmp/multipartBody525637726111596040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_39_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ef1fcdc57dc055d80b98ff8688110c7.jpg","text":"TemporaryFile(/tmp/multipartBody5070222765312633455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_31_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/016a896ef301c26868924af228243e43.jpg","text":"TemporaryFile(/tmp/multipartBody7005610796057254910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977623408,"filename":"image_29102025_23_08_25_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391539442","file1":"1391539438","file0":"1391539433","file4":"1391539450","file5":"1391539458","file3":"1391539446"},"map_files_photo_id_array":[{"photo_id":"1391539458","filename":"file5"},{"photo_id":"1391539442","filename":"file2"},{"photo_id":"1391539450","filename":"file4"},{"photo_id":"1391539438","filename":"file1"},{"photo_id":"1391539433","filename":"file0"},{"photo_id":"1391539446","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391539450":["hashtag1","hashtag2"]},{"1391539438":["hashtag1","hashtag2"]},{"1391539446":["hashtag1","hashtag2"]},{"1391539458":["hashtag1","hashtag2"]},{"1391539442":["hashtag1","hashtag2"]},{"1391539433":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391539450, 1391539438, 1391539446, 1391539458, 1391539442, 1391539433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46609902381897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:13:22.443966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_43_3658.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_49_2812.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_51_2576.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_58_2617.jpg', '/home/pi/Desktop/images/29102025/23/08/image_29102025_23_09_00_2652.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_04_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_43_3658.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_49_2812.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_51_2576.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_08_58_2617.jpg
/home/pi/Desktop/images/29102025/23/08/image_29102025_23_09_00_2652.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_04_3832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391539738","1391539794","1391539542","1391539688","1391539611","1391539852"],"photo_ids_order":["1391539542","1391539611","1391539688","1391539738","1391539794","1391539852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f30f6f2fa2a2b26d7333e4cee81c33a7.jpg","text":"TemporaryFile(/tmp/multipartBody6817023533300789268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_08_58_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79cbf6d5f1adb128f66fbe819f683e19.jpg","text":"TemporaryFile(/tmp/multipartBody1767655075787429468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_09_00_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1fcada551cea9f69c5b7aa24ec96308.jpg","text":"TemporaryFile(/tmp/multipartBody7343728240500753312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_08_43_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b1ab27f5a05ba0848db36a77f6c8441.jpg","text":"TemporaryFile(/tmp/multipartBody7558855882053290575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_08_51_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20838109272e27e631b4ec65ffd67bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2478196336274671778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_08_49_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f7755d33f2a9e7591f530968b5d3495.jpg","text":"TemporaryFile(/tmp/multipartBody5600993056373772188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977666876,"filename":"image_29102025_23_09_04_3832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391539688","file1":"1391539611","file0":"1391539542","file4":"1391539794","file5":"1391539852","file3":"1391539738"},"map_files_photo_id_array":[{"photo_id":"1391539852","filename":"file5"},{"photo_id":"1391539688","filename":"file2"},{"photo_id":"1391539794","filename":"file4"},{"photo_id":"1391539611","filename":"file1"},{"photo_id":"1391539542","filename":"file0"},{"photo_id":"1391539738","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391539738":["hashtag1","hashtag2"]},{"1391539794":["hashtag1","hashtag2"]},{"1391539542":["hashtag1","hashtag2"]},{"1391539688":["hashtag1","hashtag2"]},{"1391539611":["hashtag1","hashtag2"]},{"1391539852":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391539738, 1391539794, 1391539542, 1391539688, 1391539611, 1391539852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.533703088760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:14:22.563751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_07_2518.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_09_2650.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_13_3629.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_16_2936.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_19_2676.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_21_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_07_2518.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_09_2650.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_13_3629.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_16_2936.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_19_2676.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_21_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391540286","1391540349","1391540393","1391540319","1391540324","1391540312"],"photo_ids_order":["1391540286","1391540312","1391540319","1391540324","1391540349","1391540393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c152b33c7de08a865beb54c8eaf18b.jpg","text":"TemporaryFile(/tmp/multipartBody5907042557447327018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_07_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4a24fc3c3af1a4a97e931aae1e9f88d.jpg","text":"TemporaryFile(/tmp/multipartBody973807758445728142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/192b6f7088ac4b1866bf3f02a3809464.jpg","text":"TemporaryFile(/tmp/multipartBody3858131363720851288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_21_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5f0f644b57c2c59ce0265afda9846d3.jpg","text":"TemporaryFile(/tmp/multipartBody8431308642234046560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_13_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c427693231f695a259c0a50aa9864ea.jpg","text":"TemporaryFile(/tmp/multipartBody1381095391630393490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_16_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31237ebf55764fe11025976aeafbf61f.jpg","text":"TemporaryFile(/tmp/multipartBody8642285200692436893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977725008,"filename":"image_29102025_23_09_09_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391540319","file1":"1391540312","file0":"1391540286","file4":"1391540349","file5":"1391540393","file3":"1391540324"},"map_files_photo_id_array":[{"photo_id":"1391540393","filename":"file5"},{"photo_id":"1391540319","filename":"file2"},{"photo_id":"1391540349","filename":"file4"},{"photo_id":"1391540312","filename":"file1"},{"photo_id":"1391540286","filename":"file0"},{"photo_id":"1391540324","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391540286":["hashtag1","hashtag2"]},{"1391540349":["hashtag1","hashtag2"]},{"1391540393":["hashtag1","hashtag2"]},{"1391540319":["hashtag1","hashtag2"]},{"1391540324":["hashtag1","hashtag2"]},{"1391540312":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391540286, 1391540349, 1391540393, 1391540319, 1391540324, 1391540312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18689298629761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:15:21.842322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_25_3665.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_28_2879.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_37_3631.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_40_2724.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_42_2627.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_52_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_25_3665.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_28_2879.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_37_3631.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_40_2724.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_42_2627.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_52_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391540600","1391540629","1391540605","1391540672","1391540573","1391540567"],"photo_ids_order":["1391540567","1391540573","1391540600","1391540605","1391540629","1391540672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/425db8b9e7c1b1d2c501d40ec1f2489a.jpg","text":"TemporaryFile(/tmp/multipartBody2433771016637517931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_37_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c43319a430d5b72c378e02a0ee05c65.jpg","text":"TemporaryFile(/tmp/multipartBody7653434548832318016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_42_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3ca9e9e420d46314a7c28d5c9e31824.jpg","text":"TemporaryFile(/tmp/multipartBody1103568797368426864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95a79d34f02c4f1b841470919aa1b02d.jpg","text":"TemporaryFile(/tmp/multipartBody5647692664966239569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_52_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9fbbccdfd9d65aeb2d4e33766e26c2.jpg","text":"TemporaryFile(/tmp/multipartBody6944754223707558052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_28_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b8e836d36c57a2ab1286f2a42119740.jpg","text":"TemporaryFile(/tmp/multipartBody614354478277445786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977784262,"filename":"image_29102025_23_09_25_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391540600","file1":"1391540573","file0":"1391540567","file4":"1391540629","file5":"1391540672","file3":"1391540605"},"map_files_photo_id_array":[{"photo_id":"1391540672","filename":"file5"},{"photo_id":"1391540600","filename":"file2"},{"photo_id":"1391540629","filename":"file4"},{"photo_id":"1391540573","filename":"file1"},{"photo_id":"1391540567","filename":"file0"},{"photo_id":"1391540605","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391540600":["hashtag1","hashtag2"]},{"1391540629":["hashtag1","hashtag2"]},{"1391540605":["hashtag1","hashtag2"]},{"1391540672":["hashtag1","hashtag2"]},{"1391540573":["hashtag1","hashtag2"]},{"1391540567":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391540600, 1391540629, 1391540605, 1391540672, 1391540573, 1391540567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91075944900513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:16:22.055421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_55_2727.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_57_2507.jpg', '/home/pi/Desktop/images/29102025/23/09/image_29102025_23_10_01_3697.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_04_2697.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_23_1946.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_29_6033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_55_2727.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_09_57_2507.jpg
/home/pi/Desktop/images/29102025/23/09/image_29102025_23_10_01_3697.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_04_2697.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_23_1946.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_29_6033.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391540746","1391540755","1391540742","1391540750","1391540762","1391540744"],"photo_ids_order":["1391540742","1391540744","1391540746","1391540750","1391540755","1391540762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/265028b0bc61a899d5e934a75a6d1484.jpg","text":"TemporaryFile(/tmp/multipartBody8767166459629038176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_10_01_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14d33e436856ac545964ee8a7b03c907.jpg","text":"TemporaryFile(/tmp/multipartBody4080862972491589559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_10_23_1946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08c6e3aa18a70065e54bc732bc896b46.jpg","text":"TemporaryFile(/tmp/multipartBody788682761637085569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_09_55_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a851ee8bd713fed52dd424ba26101bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2420683480871512447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_10_04_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/364f5a6ca98578d06a97764f2631339f.jpg","text":"TemporaryFile(/tmp/multipartBody6771691456102716069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_10_29_6033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c981aa72faa1ee54b7f6b1a22424587.jpg","text":"TemporaryFile(/tmp/multipartBody6697131440077678320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977844466,"filename":"image_29102025_23_09_57_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391540746","file1":"1391540744","file0":"1391540742","file4":"1391540755","file5":"1391540762","file3":"1391540750"},"map_files_photo_id_array":[{"photo_id":"1391540762","filename":"file5"},{"photo_id":"1391540746","filename":"file2"},{"photo_id":"1391540755","filename":"file4"},{"photo_id":"1391540744","filename":"file1"},{"photo_id":"1391540742","filename":"file0"},{"photo_id":"1391540750","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391540746":["hashtag1","hashtag2"]},{"1391540755":["hashtag1","hashtag2"]},{"1391540742":["hashtag1","hashtag2"]},{"1391540750":["hashtag1","hashtag2"]},{"1391540762":["hashtag1","hashtag2"]},{"1391540744":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391540746, 1391540755, 1391540742, 1391540750, 1391540762, 1391540744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09552526473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:17:22.278221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_31_1690.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_33_1715.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_41_8245.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_43_1625.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_44_1599.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_46_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_31_1690.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_33_1715.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_41_8245.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_43_1625.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_44_1599.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_46_1712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391541043","1391540989","1391541103","1391540917","1391540862","1391540788"],"photo_ids_order":["1391540788","1391540862","1391540917","1391540989","1391541043","1391541103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c2396c5ec48cf5a1ad5427961507845.jpg","text":"TemporaryFile(/tmp/multipartBody6359018454316647453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_44_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4ae4d61069aff4531aa60b057396d38.jpg","text":"TemporaryFile(/tmp/multipartBody6787268085010252361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_43_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/672235a4525020ce6a2bf0222b0fd443.jpg","text":"TemporaryFile(/tmp/multipartBody6230000550968154110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_46_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92abe0da8aab65c33fce5936847c0af6.jpg","text":"TemporaryFile(/tmp/multipartBody7242801743203577113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_41_8245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/037b422bc63947cf774378520a798e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5776673559208352434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_33_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94b35b651b6e6c166999ccf02d53cd89.jpg","text":"TemporaryFile(/tmp/multipartBody4032995018221577232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977904681,"filename":"image_29102025_23_10_31_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391540917","file1":"1391540862","file0":"1391540788","file4":"1391541043","file5":"1391541103","file3":"1391540989"},"map_files_photo_id_array":[{"photo_id":"1391541103","filename":"file5"},{"photo_id":"1391540917","filename":"file2"},{"photo_id":"1391541043","filename":"file4"},{"photo_id":"1391540862","filename":"file1"},{"photo_id":"1391540788","filename":"file0"},{"photo_id":"1391540989","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391541043":["hashtag1","hashtag2"]},{"1391540989":["hashtag1","hashtag2"]},{"1391541103":["hashtag1","hashtag2"]},{"1391540917":["hashtag1","hashtag2"]},{"1391540862":["hashtag1","hashtag2"]},{"1391540788":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391541043, 1391540989, 1391541103, 1391540917, 1391540862, 1391540788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.856937408447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:18:22.658889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_49_1631.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_51_1688.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_54_3072.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_55_1574.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_57_1609.jpg', '/home/pi/Desktop/images/29102025/23/10/image_29102025_23_11_01_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_49_1631.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_51_1688.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_54_3072.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_55_1574.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_10_57_1609.jpg
/home/pi/Desktop/images/29102025/23/10/image_29102025_23_11_01_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391541313","1391541261","1391541270","1391541351","1391541395","1391541440"],"photo_ids_order":["1391541261","1391541270","1391541313","1391541351","1391541395","1391541440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3b2cb3b98c0722ebef96b8779997062.jpg","text":"TemporaryFile(/tmp/multipartBody3221670301896883998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_10_54_3072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6311957a412fa40d5e34e581ca005e44.jpg","text":"TemporaryFile(/tmp/multipartBody9175489233077337844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_10_49_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87c9d6b9fa874d66532eeef2e2e8dae7.jpg","text":"TemporaryFile(/tmp/multipartBody609817317436274834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_10_51_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22904c764f08d174dfc12dbb1d984411.jpg","text":"TemporaryFile(/tmp/multipartBody1451767436490721808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_10_55_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3f123177fd97b34d926f6596a94c6e4.jpg","text":"TemporaryFile(/tmp/multipartBody7537672686381733908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_10_57_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c36d54827677d3482c03e3e14d85196.jpg","text":"TemporaryFile(/tmp/multipartBody3405023203948614961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761977965410,"filename":"image_29102025_23_11_01_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391541313","file1":"1391541270","file0":"1391541261","file4":"1391541395","file5":"1391541440","file3":"1391541351"},"map_files_photo_id_array":[{"photo_id":"1391541440","filename":"file5"},{"photo_id":"1391541313","filename":"file2"},{"photo_id":"1391541395","filename":"file4"},{"photo_id":"1391541270","filename":"file1"},{"photo_id":"1391541261","filename":"file0"},{"photo_id":"1391541351","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391541313":["hashtag1","hashtag2"]},{"1391541261":["hashtag1","hashtag2"]},{"1391541270":["hashtag1","hashtag2"]},{"1391541351":["hashtag1","hashtag2"]},{"1391541395":["hashtag1","hashtag2"]},{"1391541440":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391541313, 1391541261, 1391541270, 1391541351, 1391541395, 1391541440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.472228050231934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:19:21.759374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_06_2772.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_09_2767.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_16_3653.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_18_2611.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_21_2611.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_25_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_06_2772.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_09_2767.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_16_3653.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_18_2611.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_21_2611.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_25_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391541547","1391541541","1391541551","1391541536","1391541539","1391541544"],"photo_ids_order":["1391541536","1391541539","1391541541","1391541544","1391541547","1391541551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce28295c933b71d3bfc100ad97c2edfe.jpg","text":"TemporaryFile(/tmp/multipartBody7550420028238179770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_21_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf7bd983d172837e4a10441950064d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8801460225834085468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_16_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4727650f9e9113cbb6a2bcaa6615fb67.jpg","text":"TemporaryFile(/tmp/multipartBody7698246012704777902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_25_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7952521aa972d42469e8476caedc0bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1717698176424796333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_06_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/204276a77215b0d5a10ce105a7027d54.jpg","text":"TemporaryFile(/tmp/multipartBody8487642476663640712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_09_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fcfbaca46d0715bb01e7af9745663ec.jpg","text":"TemporaryFile(/tmp/multipartBody3552430692270094868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978024455,"filename":"image_29102025_23_11_18_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391541541","file1":"1391541539","file0":"1391541536","file4":"1391541547","file5":"1391541551","file3":"1391541544"},"map_files_photo_id_array":[{"photo_id":"1391541551","filename":"file5"},{"photo_id":"1391541541","filename":"file2"},{"photo_id":"1391541547","filename":"file4"},{"photo_id":"1391541539","filename":"file1"},{"photo_id":"1391541536","filename":"file0"},{"photo_id":"1391541544","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391541547":["hashtag1","hashtag2"]},{"1391541541":["hashtag1","hashtag2"]},{"1391541551":["hashtag1","hashtag2"]},{"1391541536":["hashtag1","hashtag2"]},{"1391541539":["hashtag1","hashtag2"]},{"1391541544":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391541547, 1391541541, 1391541551, 1391541536, 1391541539, 1391541544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92920207977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:20:02.268778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_28_2879.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_30_2644.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_37_4259.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_39_1713.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_43_3674.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_45_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_28_2879.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_30_2644.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_37_4259.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_39_1713.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_43_3674.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_45_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391541613","1391541672","1391541660","1391541564","1391541590","1391541593"],"photo_ids_order":["1391541564","1391541590","1391541593","1391541613","1391541660","1391541672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6c06255e6e3f037b804767e50524dde.jpg","text":"TemporaryFile(/tmp/multipartBody8554990668778045343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_39_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/476a506b4f10ae9d1add6d55d9d00509.jpg","text":"TemporaryFile(/tmp/multipartBody1343625211402129272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a34f7e1e7a4c6c44a21c31817040360c.jpg","text":"TemporaryFile(/tmp/multipartBody6396218243503588194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_43_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c48d822091ef2eda0dcd1558c7cbcacb.jpg","text":"TemporaryFile(/tmp/multipartBody2722231911382026388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_28_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0043b718a15b747a49a7488d5919babc.jpg","text":"TemporaryFile(/tmp/multipartBody4252080691498653763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_30_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef93bb58b530a0387c65fff73790f00d.jpg","text":"TemporaryFile(/tmp/multipartBody672013985377866142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978064424,"filename":"image_29102025_23_11_37_4259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391541593","file1":"1391541590","file0":"1391541564","file4":"1391541660","file5":"1391541672","file3":"1391541613"},"map_files_photo_id_array":[{"photo_id":"1391541672","filename":"file5"},{"photo_id":"1391541593","filename":"file2"},{"photo_id":"1391541660","filename":"file4"},{"photo_id":"1391541590","filename":"file1"},{"photo_id":"1391541564","filename":"file0"},{"photo_id":"1391541613","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391541613":["hashtag1","hashtag2"]},{"1391541672":["hashtag1","hashtag2"]},{"1391541660":["hashtag1","hashtag2"]},{"1391541564":["hashtag1","hashtag2"]},{"1391541590":["hashtag1","hashtag2"]},{"1391541593":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391541613, 1391541672, 1391541660, 1391541564, 1391541590, 1391541593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38879132270813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:21:02.811890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_48_2998.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_51_2663.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_55_3740.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_57_2616.jpg', '/home/pi/Desktop/images/29102025/23/11/image_29102025_23_12_00_2624.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_09_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_48_2998.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_51_2663.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_55_3740.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_11_57_2616.jpg
/home/pi/Desktop/images/29102025/23/11/image_29102025_23_12_00_2624.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_09_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391541817","1391541792","1391541774","1391541842","1391541812","1391541784"],"photo_ids_order":["1391541774","1391541784","1391541792","1391541812","1391541817","1391541842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/005774db8c56c80b5d2e278a18e07890.jpg","text":"TemporaryFile(/tmp/multipartBody1931998437779240400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_12_00_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a8d63d2f7f41b8654fadfe54e0465eb.jpg","text":"TemporaryFile(/tmp/multipartBody7937997805923147362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_11_55_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24da90a26d6f7de086228f4e6f4740f8.jpg","text":"TemporaryFile(/tmp/multipartBody6764326114325322348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_11_48_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44e22138941d1db2905eca8372c2d680.jpg","text":"TemporaryFile(/tmp/multipartBody6492760100523954660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_12_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d66c0433f0c7613e0cba26c10bb854c.jpg","text":"TemporaryFile(/tmp/multipartBody3085525790772270743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_11_57_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2618cebf640bc637f7ea3daf9e86983e.jpg","text":"TemporaryFile(/tmp/multipartBody3932418990114798432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978125018,"filename":"image_29102025_23_11_51_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391541792","file1":"1391541784","file0":"1391541774","file4":"1391541817","file5":"1391541842","file3":"1391541812"},"map_files_photo_id_array":[{"photo_id":"1391541842","filename":"file5"},{"photo_id":"1391541792","filename":"file2"},{"photo_id":"1391541817","filename":"file4"},{"photo_id":"1391541784","filename":"file1"},{"photo_id":"1391541774","filename":"file0"},{"photo_id":"1391541812","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391541817":["hashtag1","hashtag2"]},{"1391541792":["hashtag1","hashtag2"]},{"1391541774":["hashtag1","hashtag2"]},{"1391541842":["hashtag1","hashtag2"]},{"1391541812":["hashtag1","hashtag2"]},{"1391541784":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391541817, 1391541792, 1391541774, 1391541842, 1391541812, 1391541784)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.757784605026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:22:02.804885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_15_3096.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_18_2921.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_27_2664.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_31_3606.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_36_2716.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_45_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_15_3096.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_18_2921.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_27_2664.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_31_3606.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_36_2716.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_45_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542014","1391542017","1391541890","1391541887","1391542013","1391542015"],"photo_ids_order":["1391541887","1391541890","1391542013","1391542014","1391542015","1391542017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/befdc44c3490b9baf7a3db7e6309417a.jpg","text":"TemporaryFile(/tmp/multipartBody3943341395908754947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_31_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec7e445846af40eb3b491ed916436008.jpg","text":"TemporaryFile(/tmp/multipartBody4079620733758882698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_45_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e6146918b0695453864ce41f621292.jpg","text":"TemporaryFile(/tmp/multipartBody4809165759893532443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_18_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/138b78f957828f9c36620cd24f24365e.jpg","text":"TemporaryFile(/tmp/multipartBody1210581320186338085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_15_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a74235a3b3986b80ce642da003db350a.jpg","text":"TemporaryFile(/tmp/multipartBody1495539124896834253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_27_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ee58d7dacb4fcb9b12b15ca94927274.jpg","text":"TemporaryFile(/tmp/multipartBody3706340163064868049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978184954,"filename":"image_29102025_23_12_36_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542013","file1":"1391541890","file0":"1391541887","file4":"1391542015","file5":"1391542017","file3":"1391542014"},"map_files_photo_id_array":[{"photo_id":"1391542017","filename":"file5"},{"photo_id":"1391542013","filename":"file2"},{"photo_id":"1391542015","filename":"file4"},{"photo_id":"1391541890","filename":"file1"},{"photo_id":"1391541887","filename":"file0"},{"photo_id":"1391542014","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542014":["hashtag1","hashtag2"]},{"1391542017":["hashtag1","hashtag2"]},{"1391541890":["hashtag1","hashtag2"]},{"1391541887":["hashtag1","hashtag2"]},{"1391542013":["hashtag1","hashtag2"]},{"1391542015":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542014, 1391542017, 1391541890, 1391541887, 1391542013, 1391542015)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.101863384246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:23:03.395403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_50_4454.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_51_1551.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_55_3534.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_57_2564.jpg', '/home/pi/Desktop/images/29102025/23/12/image_29102025_23_13_00_2781.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_04_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_50_4454.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_51_1551.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_55_3534.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_12_57_2564.jpg
/home/pi/Desktop/images/29102025/23/12/image_29102025_23_13_00_2781.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_04_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542392","1391542431","1391542478","1391542367","1391542433","1391542436"],"photo_ids_order":["1391542367","1391542392","1391542431","1391542433","1391542436","1391542478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cc0cb491f2c362319545264a9ad410e.jpg","text":"TemporaryFile(/tmp/multipartBody415145835010308913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_12_51_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01b46e2dece81e3bcd2f904543ed4575.jpg","text":"TemporaryFile(/tmp/multipartBody5246063986992528804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_12_55_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b0330b5e091db5961f2e58f5f3ce1a0.jpg","text":"TemporaryFile(/tmp/multipartBody6516316149288618717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_13_04_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72e7a22660a6dc875f661e74a5ae59b7.jpg","text":"TemporaryFile(/tmp/multipartBody3334927813587167098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_12_50_4454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87e459d450e7bd6c842703a0a37212a1.jpg","text":"TemporaryFile(/tmp/multipartBody8198201554502515300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_12_57_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12f9870b69b7562ac25afe5b3c23eac5.jpg","text":"TemporaryFile(/tmp/multipartBody8334406790528284150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978245594,"filename":"image_29102025_23_13_00_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542431","file1":"1391542392","file0":"1391542367","file4":"1391542436","file5":"1391542478","file3":"1391542433"},"map_files_photo_id_array":[{"photo_id":"1391542478","filename":"file5"},{"photo_id":"1391542431","filename":"file2"},{"photo_id":"1391542436","filename":"file4"},{"photo_id":"1391542392","filename":"file1"},{"photo_id":"1391542367","filename":"file0"},{"photo_id":"1391542433","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542392":["hashtag1","hashtag2"]},{"1391542431":["hashtag1","hashtag2"]},{"1391542478":["hashtag1","hashtag2"]},{"1391542367":["hashtag1","hashtag2"]},{"1391542433":["hashtag1","hashtag2"]},{"1391542436":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542392, 1391542431, 1391542478, 1391542367, 1391542433, 1391542436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22704815864563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:23:42.580740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_09_2568.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_13_3653.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_16_2824.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_18_2541.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_27_2688.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_31_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_09_2568.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_13_3653.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_16_2824.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_18_2541.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_27_2688.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_31_3606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542515","1391542512","1391542506","1391542502","1391542486","1391542510"],"photo_ids_order":["1391542486","1391542502","1391542506","1391542510","1391542512","1391542515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a554205f71cc0fb1ff47c043cb463b35.jpg","text":"TemporaryFile(/tmp/multipartBody2337813117009192575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_31_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/828d2c4b0673e9865b3e671d9358dca2.jpg","text":"TemporaryFile(/tmp/multipartBody1424954416726869295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_27_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cbd242cda57077a99e6eaa0bd6ebea8.jpg","text":"TemporaryFile(/tmp/multipartBody1506912802156600598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_16_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c40b36a2742fad639775cfceb8336b59.jpg","text":"TemporaryFile(/tmp/multipartBody9042709822035714203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_13_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61ff45067228ee7547acdfca08910d09.jpg","text":"TemporaryFile(/tmp/multipartBody7940902648789523854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_09_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b07305c8ad92e5be3e5c16b24a89e991.jpg","text":"TemporaryFile(/tmp/multipartBody5081935785323148907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978283706,"filename":"image_29102025_23_13_18_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542506","file1":"1391542502","file0":"1391542486","file4":"1391542512","file5":"1391542515","file3":"1391542510"},"map_files_photo_id_array":[{"photo_id":"1391542515","filename":"file5"},{"photo_id":"1391542506","filename":"file2"},{"photo_id":"1391542512","filename":"file4"},{"photo_id":"1391542502","filename":"file1"},{"photo_id":"1391542486","filename":"file0"},{"photo_id":"1391542510","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542515":["hashtag1","hashtag2"]},{"1391542512":["hashtag1","hashtag2"]},{"1391542506":["hashtag1","hashtag2"]},{"1391542502":["hashtag1","hashtag2"]},{"1391542486":["hashtag1","hashtag2"]},{"1391542510":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542515, 1391542512, 1391542506, 1391542502, 1391542486, 1391542510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90113592147827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:24:22.718474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_36_2904.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_39_2543.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_45_2691.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_48_2702.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_52_3644.jpg', '/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_54_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_36_2904.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_39_2543.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_45_2691.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_48_2702.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_52_3644.jpg
/home/pi/Desktop/images/29102025/23/13/image_29102025_23_13_54_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542532","1391542526","1391542522","1391542546","1391542525","1391542528"],"photo_ids_order":["1391542522","1391542525","1391542526","1391542528","1391542532","1391542546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/845b3c3758908018853131c5fffd61dc.jpg","text":"TemporaryFile(/tmp/multipartBody5229268286575986537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_52_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78a28c652babb0ed8fc0db86980884b4.jpg","text":"TemporaryFile(/tmp/multipartBody2312126591314860141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_45_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ed8ad5161690fe3853fc1c018f57903.jpg","text":"TemporaryFile(/tmp/multipartBody1509758317735574175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_36_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adf037b590ddb30142337495ad168b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3458157844693574049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_54_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34bd6488cd89033a7834960b88df84c4.jpg","text":"TemporaryFile(/tmp/multipartBody8884472095888523598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_39_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/622db715722270a0932e3022e7ba7a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7305661473925866029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978325437,"filename":"image_29102025_23_13_48_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542526","file1":"1391542525","file0":"1391542522","file4":"1391542532","file5":"1391542546","file3":"1391542528"},"map_files_photo_id_array":[{"photo_id":"1391542546","filename":"file5"},{"photo_id":"1391542526","filename":"file2"},{"photo_id":"1391542532","filename":"file4"},{"photo_id":"1391542525","filename":"file1"},{"photo_id":"1391542522","filename":"file0"},{"photo_id":"1391542528","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542532":["hashtag1","hashtag2"]},{"1391542526":["hashtag1","hashtag2"]},{"1391542522":["hashtag1","hashtag2"]},{"1391542546":["hashtag1","hashtag2"]},{"1391542525":["hashtag1","hashtag2"]},{"1391542528":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542532, 1391542526, 1391542522, 1391542546, 1391542525, 1391542528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05906891822815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:25:02.587499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_06_2536.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_10_3701.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_12_2738.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_15_2642.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_18_2757.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_21_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_06_2536.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_10_3701.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_12_2738.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_15_2642.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_18_2757.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_21_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542662","1391542656","1391542665","1391542659","1391542653","1391542645"],"photo_ids_order":["1391542645","1391542653","1391542656","1391542659","1391542662","1391542665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09b32baccc23eb8ef7bd0f4f64646f23.jpg","text":"TemporaryFile(/tmp/multipartBody7198395868865556277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_18_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e10bc7b7fdf11042ad5b21644df0e3.jpg","text":"TemporaryFile(/tmp/multipartBody8797843789486003585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_12_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f07f92f9151057cb2e7ecfba3f937d7.jpg","text":"TemporaryFile(/tmp/multipartBody4082275933837973368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_21_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ff6b9a83cbc51ca7eb8f8760b7db6b3.jpg","text":"TemporaryFile(/tmp/multipartBody3518480662986609334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_15_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95c07e033ec05f2d4ed6e742d6d4bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3365290594064672846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_10_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef5ffb9da2a3fd4ab169103fd9f40fe4.jpg","text":"TemporaryFile(/tmp/multipartBody769835320854221698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978364881,"filename":"image_29102025_23_14_06_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542656","file1":"1391542653","file0":"1391542645","file4":"1391542662","file5":"1391542665","file3":"1391542659"},"map_files_photo_id_array":[{"photo_id":"1391542665","filename":"file5"},{"photo_id":"1391542656","filename":"file2"},{"photo_id":"1391542662","filename":"file4"},{"photo_id":"1391542653","filename":"file1"},{"photo_id":"1391542645","filename":"file0"},{"photo_id":"1391542659","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542662":["hashtag1","hashtag2"]},{"1391542656":["hashtag1","hashtag2"]},{"1391542665":["hashtag1","hashtag2"]},{"1391542659":["hashtag1","hashtag2"]},{"1391542653":["hashtag1","hashtag2"]},{"1391542645":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542662, 1391542656, 1391542665, 1391542659, 1391542653, 1391542645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.673370361328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:25:41.988898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_24_2759.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_33_2855.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_36_2723.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_40_3595.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_45_2577.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_51_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_24_2759.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_33_2855.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_36_2723.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_40_3595.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_45_2577.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_51_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542683","1391542685","1391542688","1391542679","1391542690","1391542695"],"photo_ids_order":["1391542679","1391542683","1391542685","1391542688","1391542690","1391542695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e13d7faa35b5cd0953153f4a2ab0a71.jpg","text":"TemporaryFile(/tmp/multipartBody1224999167852339293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_33_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b4e01ebde43b3742029de03c5140ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4826504856663669608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_36_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bc1bbd2be88eb15ea8c95949d73ad29.jpg","text":"TemporaryFile(/tmp/multipartBody8639253613433799228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_40_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acb9aab99c03e3d5c7b23168c621f492.jpg","text":"TemporaryFile(/tmp/multipartBody4433440786251090532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_24_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be495ecc17bab56f3223a63859b8c22c.jpg","text":"TemporaryFile(/tmp/multipartBody2489613047149359782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_45_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/283db69a55851fadb3da5a98ebde5e26.jpg","text":"TemporaryFile(/tmp/multipartBody3935934884488458541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978403109,"filename":"image_29102025_23_14_51_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542685","file1":"1391542683","file0":"1391542679","file4":"1391542690","file5":"1391542695","file3":"1391542688"},"map_files_photo_id_array":[{"photo_id":"1391542695","filename":"file5"},{"photo_id":"1391542685","filename":"file2"},{"photo_id":"1391542690","filename":"file4"},{"photo_id":"1391542683","filename":"file1"},{"photo_id":"1391542679","filename":"file0"},{"photo_id":"1391542688","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542683":["hashtag1","hashtag2"]},{"1391542685":["hashtag1","hashtag2"]},{"1391542688":["hashtag1","hashtag2"]},{"1391542679":["hashtag1","hashtag2"]},{"1391542690":["hashtag1","hashtag2"]},{"1391542695":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542683, 1391542685, 1391542688, 1391542679, 1391542690, 1391542695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57267475128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:26:22.207541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_58_3679.jpg', '/home/pi/Desktop/images/29102025/23/14/image_29102025_23_15_00_2861.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_03_2778.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_06_2933.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_09_2939.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_15_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_14_58_3679.jpg
/home/pi/Desktop/images/29102025/23/14/image_29102025_23_15_00_2861.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_03_2778.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_06_2933.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_09_2939.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_15_3800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542731","1391542719","1391542722","1391542724","1391542715","1391542726"],"photo_ids_order":["1391542715","1391542719","1391542722","1391542724","1391542726","1391542731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f09613dc285039059aa2f33fac2a7ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3303485739729406110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_15_15_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e35004fdaf6783f6cd71baf9c0794cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7273103936300610333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_15_00_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e4fe19cde588b2b3e5d2a2d0bae4a71.jpg","text":"TemporaryFile(/tmp/multipartBody3068382429472694006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_15_03_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dcb395fcc7b00a7864fef968e7f079e.jpg","text":"TemporaryFile(/tmp/multipartBody5118203723925427930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_15_06_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd50f9827002e648dd736991b78f9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody6142401015989118848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_14_58_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ba766c600402244bfa1e80f0e3ad9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1560620202497543627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978444940,"filename":"image_29102025_23_15_09_2939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542722","file1":"1391542719","file0":"1391542715","file4":"1391542726","file5":"1391542731","file3":"1391542724"},"map_files_photo_id_array":[{"photo_id":"1391542731","filename":"file5"},{"photo_id":"1391542722","filename":"file2"},{"photo_id":"1391542726","filename":"file4"},{"photo_id":"1391542719","filename":"file1"},{"photo_id":"1391542715","filename":"file0"},{"photo_id":"1391542724","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542731":["hashtag1","hashtag2"]},{"1391542719":["hashtag1","hashtag2"]},{"1391542722":["hashtag1","hashtag2"]},{"1391542724":["hashtag1","hashtag2"]},{"1391542715":["hashtag1","hashtag2"]},{"1391542726":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542731, 1391542719, 1391542722, 1391542724, 1391542715, 1391542726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2077853679657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:27:02.914765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_18_2553.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_21_2723.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_24_3774.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_27_2579.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_30_3021.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_36_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_18_2553.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_21_2723.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_24_3774.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_27_2579.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_30_3021.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_36_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542755","1391542758","1391542752","1391542746","1391542749","1391542751"],"photo_ids_order":["1391542746","1391542749","1391542751","1391542752","1391542755","1391542758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4dfbbf165762c561478385b6ea7e607.jpg","text":"TemporaryFile(/tmp/multipartBody5290018437768996693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_30_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d5d5a6ae233b5a1dfca92f1c54fb9a8.jpg","text":"TemporaryFile(/tmp/multipartBody3544880692171627355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_36_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b20850fd1a0667315cf222e60cf5a160.jpg","text":"TemporaryFile(/tmp/multipartBody8805540655229972751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_27_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e085d214b8e3fa33d558d8c620779007.jpg","text":"TemporaryFile(/tmp/multipartBody9060316709823894605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_18_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42143200065dcf66cae590fc50f8e5e5.jpg","text":"TemporaryFile(/tmp/multipartBody8512022976481555417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_21_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7eda1ca95a331312fa2f23dfd9d2d494.jpg","text":"TemporaryFile(/tmp/multipartBody908840045888759315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978485213,"filename":"image_29102025_23_15_24_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542751","file1":"1391542749","file0":"1391542746","file4":"1391542755","file5":"1391542758","file3":"1391542752"},"map_files_photo_id_array":[{"photo_id":"1391542758","filename":"file5"},{"photo_id":"1391542751","filename":"file2"},{"photo_id":"1391542755","filename":"file4"},{"photo_id":"1391542749","filename":"file1"},{"photo_id":"1391542746","filename":"file0"},{"photo_id":"1391542752","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542755":["hashtag1","hashtag2"]},{"1391542758":["hashtag1","hashtag2"]},{"1391542752":["hashtag1","hashtag2"]},{"1391542746":["hashtag1","hashtag2"]},{"1391542749":["hashtag1","hashtag2"]},{"1391542751":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542755, 1391542758, 1391542752, 1391542746, 1391542749, 1391542751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56696081161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:27:42.414612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_39_2656.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_42_2708.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_45_3550.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_48_2777.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_54_3661.jpg', '/home/pi/Desktop/images/29102025/23/15/image_29102025_23_16_00_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_39_2656.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_42_2708.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_45_3550.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_48_2777.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_15_54_3661.jpg
/home/pi/Desktop/images/29102025/23/15/image_29102025_23_16_00_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542807","1391542803","1391542781","1391542805","1391542786","1391542771"],"photo_ids_order":["1391542771","1391542781","1391542786","1391542803","1391542805","1391542807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7db1f976408708c58d62af958918057.jpg","text":"TemporaryFile(/tmp/multipartBody6351413928161289489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_16_00_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/765e4458650b201b2c39abfc29a30b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6943330616723272821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_15_48_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1906a4e919c1924ece1390108b30f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7569818006957497940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_15_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6227fe4b0921c6fcf9a25f90a8ef034.jpg","text":"TemporaryFile(/tmp/multipartBody6492863907264549260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_15_54_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f68c85f23ffe0402ea4733b18dade162.jpg","text":"TemporaryFile(/tmp/multipartBody7906315057633406105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_15_45_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27a9f3120f12a3275e14bf49d7131373.jpg","text":"TemporaryFile(/tmp/multipartBody1259683294551336374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978523548,"filename":"image_29102025_23_15_39_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542786","file1":"1391542781","file0":"1391542771","file4":"1391542805","file5":"1391542807","file3":"1391542803"},"map_files_photo_id_array":[{"photo_id":"1391542807","filename":"file5"},{"photo_id":"1391542786","filename":"file2"},{"photo_id":"1391542805","filename":"file4"},{"photo_id":"1391542781","filename":"file1"},{"photo_id":"1391542771","filename":"file0"},{"photo_id":"1391542803","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542807":["hashtag1","hashtag2"]},{"1391542803":["hashtag1","hashtag2"]},{"1391542781":["hashtag1","hashtag2"]},{"1391542805":["hashtag1","hashtag2"]},{"1391542786":["hashtag1","hashtag2"]},{"1391542771":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542807, 1391542803, 1391542781, 1391542805, 1391542786, 1391542771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47691464424133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:28:22.676293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_03_2705.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_06_3631.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_12_2914.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_15_3594.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_18_2617.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_21_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_03_2705.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_06_3631.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_12_2914.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_15_3594.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_18_2617.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_21_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391542845","1391542839","1391542868","1391542856","1391542850","1391542872"],"photo_ids_order":["1391542839","1391542845","1391542850","1391542856","1391542868","1391542872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29df3360dd43ae0e000747249afc5893.jpg","text":"TemporaryFile(/tmp/multipartBody7635307949503508614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_06_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/208511d498656e940b4885e88a2e2a92.jpg","text":"TemporaryFile(/tmp/multipartBody3552052776139143756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_03_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e01cf535abd7057d16570e9f7ab944e9.jpg","text":"TemporaryFile(/tmp/multipartBody1412147616018561116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_18_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cd248a85c7af1a5945f3a1c0e04ca64.jpg","text":"TemporaryFile(/tmp/multipartBody9183704459801181159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_15_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39fad1c583c52df6fdf14d5e3082efef.jpg","text":"TemporaryFile(/tmp/multipartBody1412365464561678606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_12_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17db45d369eaeb3dadf5fab167b5a595.jpg","text":"TemporaryFile(/tmp/multipartBody13794355726734772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978565405,"filename":"image_29102025_23_16_21_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391542850","file1":"1391542845","file0":"1391542839","file4":"1391542868","file5":"1391542872","file3":"1391542856"},"map_files_photo_id_array":[{"photo_id":"1391542872","filename":"file5"},{"photo_id":"1391542850","filename":"file2"},{"photo_id":"1391542868","filename":"file4"},{"photo_id":"1391542845","filename":"file1"},{"photo_id":"1391542839","filename":"file0"},{"photo_id":"1391542856","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391542845":["hashtag1","hashtag2"]},{"1391542839":["hashtag1","hashtag2"]},{"1391542868":["hashtag1","hashtag2"]},{"1391542856":["hashtag1","hashtag2"]},{"1391542850":["hashtag1","hashtag2"]},{"1391542872":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391542845, 1391542839, 1391542868, 1391542856, 1391542850, 1391542872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83846998214722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:29:03.734765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_27_3668.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_30_2660.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_33_2730.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_36_3702.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_42_2613.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_45_3841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_27_3668.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_30_2660.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_33_2730.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_36_3702.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_42_2613.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_45_3841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543072","1391543069","1391543054","1391543036","1391543021","1391543076"],"photo_ids_order":["1391543021","1391543036","1391543054","1391543069","1391543072","1391543076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92726cf9523c18751a2a40112cad4bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8625079231062903361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_42_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c4535039a514a8eae926bda17ebb663.jpg","text":"TemporaryFile(/tmp/multipartBody7991182105532385697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_36_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9b7c0faa2a53430c8e83950788f9aff.jpg","text":"TemporaryFile(/tmp/multipartBody2411821847681715480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_33_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b20a246acd725aa5cd8f3f3e732e8de2.jpg","text":"TemporaryFile(/tmp/multipartBody2745559079872926786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_30_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af89f259c0d0eddeb70ba3b528d8b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7386563261827480676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_27_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f65994ff8afc8f918fc172c762b6fcac.jpg","text":"TemporaryFile(/tmp/multipartBody1173714144628368567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978606211,"filename":"image_29102025_23_16_45_3841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543054","file1":"1391543036","file0":"1391543021","file4":"1391543072","file5":"1391543076","file3":"1391543069"},"map_files_photo_id_array":[{"photo_id":"1391543076","filename":"file5"},{"photo_id":"1391543054","filename":"file2"},{"photo_id":"1391543072","filename":"file4"},{"photo_id":"1391543036","filename":"file1"},{"photo_id":"1391543021","filename":"file0"},{"photo_id":"1391543069","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543072":["hashtag1","hashtag2"]},{"1391543069":["hashtag1","hashtag2"]},{"1391543054":["hashtag1","hashtag2"]},{"1391543036":["hashtag1","hashtag2"]},{"1391543021":["hashtag1","hashtag2"]},{"1391543076":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543072, 1391543069, 1391543054, 1391543036, 1391543021, 1391543076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.146525144577026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:30:02.456675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_51_2718.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_56_2074.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_17_00_3752.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_03_2721.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_09_3774.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_12_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_51_2718.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_56_2074.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_17_00_3752.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_03_2721.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_09_3774.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_12_2691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.087239980697632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:30:22.024711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_51_2718.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_56_2074.jpg', '/home/pi/Desktop/images/29102025/23/16/image_29102025_23_17_00_3752.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_03_2721.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_09_3774.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_12_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_51_2718.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_16_56_2074.jpg
/home/pi/Desktop/images/29102025/23/16/image_29102025_23_17_00_3752.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_03_2721.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_09_3774.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_12_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543120","1391543108","1391543125","1391543110","1391543113","1391543116"],"photo_ids_order":["1391543108","1391543110","1391543113","1391543116","1391543120","1391543125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17182f374850aa42cd174d344e89e34b.jpg","text":"TemporaryFile(/tmp/multipartBody7839983805508948500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_17_09_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9c03484dba33f1d8cfa612a717b7391.jpg","text":"TemporaryFile(/tmp/multipartBody2672797210573189507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_16_51_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0bdfa888492a4930b5cb39d09507339.jpg","text":"TemporaryFile(/tmp/multipartBody1147939097965939621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_17_12_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dad4bc1c090aaf7cb4b201de73414e25.jpg","text":"TemporaryFile(/tmp/multipartBody8710394954226946944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_16_56_2074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54b4acd63faf73dff8a9f86adc34054a.jpg","text":"TemporaryFile(/tmp/multipartBody8030039243916223963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_17_00_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b406e816ad6752f91b50028457cbfcbd.jpg","text":"TemporaryFile(/tmp/multipartBody522935840458835519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978684293,"filename":"image_29102025_23_17_03_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543113","file1":"1391543110","file0":"1391543108","file4":"1391543120","file5":"1391543125","file3":"1391543116"},"map_files_photo_id_array":[{"photo_id":"1391543125","filename":"file5"},{"photo_id":"1391543113","filename":"file2"},{"photo_id":"1391543120","filename":"file4"},{"photo_id":"1391543110","filename":"file1"},{"photo_id":"1391543108","filename":"file0"},{"photo_id":"1391543116","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543120":["hashtag1","hashtag2"]},{"1391543108":["hashtag1","hashtag2"]},{"1391543125":["hashtag1","hashtag2"]},{"1391543110":["hashtag1","hashtag2"]},{"1391543113":["hashtag1","hashtag2"]},{"1391543116":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543120, 1391543108, 1391543125, 1391543110, 1391543113, 1391543116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.397944927215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:31:03.049457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_21_3551.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_27_3571.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_30_2727.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_36_2792.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_42_3728.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_45_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_21_3551.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_27_3571.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_30_2727.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_36_2792.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_42_3728.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_45_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543153","1391543155","1391543149","1391543143","1391543146","1391543151"],"photo_ids_order":["1391543143","1391543146","1391543149","1391543151","1391543153","1391543155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8c758041b4270493e3a732965092039.jpg","text":"TemporaryFile(/tmp/multipartBody3333095414927899692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_42_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec5ca97d14765f56d0410ab25d525474.jpg","text":"TemporaryFile(/tmp/multipartBody1920229667077744239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_45_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dce75560c5e0e49c4cb178cedf775b0.jpg","text":"TemporaryFile(/tmp/multipartBody4950653044019884200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_30_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83fd141c942ae5b6bbb2bd1ad948d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7276738269334984521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_21_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3facee79061eb3d1ed267e706aaf061b.jpg","text":"TemporaryFile(/tmp/multipartBody8887259556422913303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_27_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/847555858eb322014951358fc17f155b.jpg","text":"TemporaryFile(/tmp/multipartBody5322101933493519505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978725262,"filename":"image_29102025_23_17_36_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543149","file1":"1391543146","file0":"1391543143","file4":"1391543153","file5":"1391543155","file3":"1391543151"},"map_files_photo_id_array":[{"photo_id":"1391543155","filename":"file5"},{"photo_id":"1391543149","filename":"file2"},{"photo_id":"1391543153","filename":"file4"},{"photo_id":"1391543146","filename":"file1"},{"photo_id":"1391543143","filename":"file0"},{"photo_id":"1391543151","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543153":["hashtag1","hashtag2"]},{"1391543155":["hashtag1","hashtag2"]},{"1391543149":["hashtag1","hashtag2"]},{"1391543143":["hashtag1","hashtag2"]},{"1391543146":["hashtag1","hashtag2"]},{"1391543151":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543153, 1391543155, 1391543149, 1391543143, 1391543146, 1391543151)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.79773020744324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:32:03.026264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_51_3592.jpg', '/home/pi/Desktop/images/29102025/23/17/image_29102025_23_18_00_3833.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_03_2512.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_09_3816.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_12_2655.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_15_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_17_51_3592.jpg
/home/pi/Desktop/images/29102025/23/17/image_29102025_23_18_00_3833.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_03_2512.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_09_3816.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_12_2655.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_15_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543189","1391543183","1391543186","1391543191","1391543196","1391543193"],"photo_ids_order":["1391543183","1391543186","1391543189","1391543191","1391543193","1391543196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f16eb22db4ddf660556920789ecfd12.jpg","text":"TemporaryFile(/tmp/multipartBody404309488880923787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_18_03_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/530f3a0d29545d79d011f46a5bfea37c.jpg","text":"TemporaryFile(/tmp/multipartBody2753264523091237955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_17_51_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a62043f72b59858cc9008ad32b8beba8.jpg","text":"TemporaryFile(/tmp/multipartBody6336724873481345313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_18_00_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ac73c3d5ba220843bc601453b77384a.jpg","text":"TemporaryFile(/tmp/multipartBody5924848213475432256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_18_09_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fc750b915f3b8477503acfdd7ff9683.jpg","text":"TemporaryFile(/tmp/multipartBody7547125388204660815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_18_15_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bea8bb994caa7086db85f313b0a5cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody8196808111390584379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978785165,"filename":"image_29102025_23_18_12_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543189","file1":"1391543186","file0":"1391543183","file4":"1391543193","file5":"1391543196","file3":"1391543191"},"map_files_photo_id_array":[{"photo_id":"1391543196","filename":"file5"},{"photo_id":"1391543189","filename":"file2"},{"photo_id":"1391543193","filename":"file4"},{"photo_id":"1391543186","filename":"file1"},{"photo_id":"1391543183","filename":"file0"},{"photo_id":"1391543191","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543189":["hashtag1","hashtag2"]},{"1391543183":["hashtag1","hashtag2"]},{"1391543186":["hashtag1","hashtag2"]},{"1391543191":["hashtag1","hashtag2"]},{"1391543196":["hashtag1","hashtag2"]},{"1391543193":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543189, 1391543183, 1391543186, 1391543191, 1391543196, 1391543193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36959409713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:32:42.517463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_17_2612.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_21_3553.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_30_2900.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_33_2838.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_38_2551.jpg', '/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_51_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_17_2612.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_21_3553.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_30_2900.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_33_2838.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_38_2551.jpg
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_51_1755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543223","1391543226","1391543213","1391543230","1391543218","1391543209"],"photo_ids_order":["1391543209","1391543213","1391543218","1391543223","1391543226","1391543230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c490f7785eb6a7e5a86383a2e679491.jpg","text":"TemporaryFile(/tmp/multipartBody8148039207405568097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_33_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66ac9961af4d0ac17ff6ebf378a6bdd7.jpg","text":"TemporaryFile(/tmp/multipartBody2535539571381111284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_38_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a803d63a8842f802152527243aa1a5c4.jpg","text":"TemporaryFile(/tmp/multipartBody6175277415655369927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_21_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37723179230fe517be14ced5877e79b8.jpg","text":"TemporaryFile(/tmp/multipartBody3123932685484407404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_51_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dafdd0336d35b186e3bd66529fa6b34.jpg","text":"TemporaryFile(/tmp/multipartBody6436367131416427565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_30_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5822397ef4d8568320dbee0fd2bb9029.jpg","text":"TemporaryFile(/tmp/multipartBody7246709816581666184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978823663,"filename":"image_29102025_23_18_17_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543218","file1":"1391543213","file0":"1391543209","file4":"1391543226","file5":"1391543230","file3":"1391543223"},"map_files_photo_id_array":[{"photo_id":"1391543230","filename":"file5"},{"photo_id":"1391543218","filename":"file2"},{"photo_id":"1391543226","filename":"file4"},{"photo_id":"1391543213","filename":"file1"},{"photo_id":"1391543209","filename":"file0"},{"photo_id":"1391543223","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543223":["hashtag1","hashtag2"]},{"1391543226":["hashtag1","hashtag2"]},{"1391543213":["hashtag1","hashtag2"]},{"1391543230":["hashtag1","hashtag2"]},{"1391543218":["hashtag1","hashtag2"]},{"1391543209":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543223, 1391543226, 1391543213, 1391543230, 1391543218, 1391543209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.272525787353516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:33:22.744504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_53_1715.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_06_3665.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_08_2621.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_15_2686.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_21_3596.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_26_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/18/image_29102025_23_18_53_1715.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_06_3665.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_08_2621.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_15_2686.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_21_3596.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_26_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543258","1391543243","1391543237","1391543240","1391543250","1391543247"],"photo_ids_order":["1391543237","1391543240","1391543243","1391543247","1391543250","1391543258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a863a1afff2319ef24e6a7fd6dd9b99.jpg","text":"TemporaryFile(/tmp/multipartBody1776539078743374639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_19_26_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8be482d3e0e8730a824f1e98f5205a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8547887279530072831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_19_08_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43ef520e491e3bb7c970b28774cc06ab.jpg","text":"TemporaryFile(/tmp/multipartBody880146001840379041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_18_53_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d97e4de3dc14fc0166da376188cf3c17.jpg","text":"TemporaryFile(/tmp/multipartBody1891954001074640531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_19_06_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5101cf0f1b9d8c89062afbaa51f76279.jpg","text":"TemporaryFile(/tmp/multipartBody369578144777675837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_19_21_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a78665c582b36262f526d6fcac0fd91.jpg","text":"TemporaryFile(/tmp/multipartBody2046937617811028208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978865465,"filename":"image_29102025_23_19_15_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543243","file1":"1391543240","file0":"1391543237","file4":"1391543250","file5":"1391543258","file3":"1391543247"},"map_files_photo_id_array":[{"photo_id":"1391543258","filename":"file5"},{"photo_id":"1391543243","filename":"file2"},{"photo_id":"1391543250","filename":"file4"},{"photo_id":"1391543240","filename":"file1"},{"photo_id":"1391543237","filename":"file0"},{"photo_id":"1391543247","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543258":["hashtag1","hashtag2"]},{"1391543243":["hashtag1","hashtag2"]},{"1391543237":["hashtag1","hashtag2"]},{"1391543240":["hashtag1","hashtag2"]},{"1391543250":["hashtag1","hashtag2"]},{"1391543247":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543258, 1391543243, 1391543237, 1391543240, 1391543250, 1391543247)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.875640630722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:34:22.138205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_30_3679.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_33_2897.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_36_2813.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_42_3638.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_45_2781.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_47_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_30_3679.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_33_2897.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_36_2813.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_42_3638.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_45_2781.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_47_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543294","1391543289","1391543283","1391543277","1391543280","1391543274"],"photo_ids_order":["1391543274","1391543277","1391543280","1391543283","1391543289","1391543294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15ef781566e041ebf63b92316905b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1797165465800001573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_47_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4c6eb57c130e74c8a11eb20a038b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody4851195764774567456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_45_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c6482f03bd47c794217bd3ee2c1017d.jpg","text":"TemporaryFile(/tmp/multipartBody6885659756522487818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_42_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de25405dfd7094b57a522afa97af899c.jpg","text":"TemporaryFile(/tmp/multipartBody8920670113846472937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_33_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e784f4b9067acddf9f4b69b55ebea37.jpg","text":"TemporaryFile(/tmp/multipartBody1016797078871095324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_36_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e81210e0a70761c9e4d50e57f4ae06b0.jpg","text":"TemporaryFile(/tmp/multipartBody5170951924252682449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978924552,"filename":"image_29102025_23_19_30_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543280","file1":"1391543277","file0":"1391543274","file4":"1391543289","file5":"1391543294","file3":"1391543283"},"map_files_photo_id_array":[{"photo_id":"1391543294","filename":"file5"},{"photo_id":"1391543280","filename":"file2"},{"photo_id":"1391543289","filename":"file4"},{"photo_id":"1391543277","filename":"file1"},{"photo_id":"1391543274","filename":"file0"},{"photo_id":"1391543283","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543294":["hashtag1","hashtag2"]},{"1391543289":["hashtag1","hashtag2"]},{"1391543283":["hashtag1","hashtag2"]},{"1391543277":["hashtag1","hashtag2"]},{"1391543280":["hashtag1","hashtag2"]},{"1391543274":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543294, 1391543289, 1391543283, 1391543277, 1391543280, 1391543274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20525026321411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:35:22.176722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_50_2799.jpg', '/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_59_2596.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_06_2788.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_11_2569.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_14_2803.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_18_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_50_2799.jpg
/home/pi/Desktop/images/29102025/23/19/image_29102025_23_19_59_2596.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_06_2788.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_11_2569.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_14_2803.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_18_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543328","1391543316","1391543324","1391543320","1391543311","1391543314"],"photo_ids_order":["1391543311","1391543314","1391543316","1391543320","1391543324","1391543328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6407ebc154c15923fdd61e64565ce588.jpg","text":"TemporaryFile(/tmp/multipartBody6856249534636169243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_20_18_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9086351f00fc41897fcc34aff0302a20.jpg","text":"TemporaryFile(/tmp/multipartBody236204562744895326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_20_06_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb1d67a71f047212d5b408480b8d6911.jpg","text":"TemporaryFile(/tmp/multipartBody1739817440434417793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_20_14_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/218043fc7ea5110e9833fd67874994b9.jpg","text":"TemporaryFile(/tmp/multipartBody1620044308640727148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_20_11_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/195f5f2df60e9926e4e3797aa5be9fca.jpg","text":"TemporaryFile(/tmp/multipartBody8680849544937308123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_19_50_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd5d954a97860319f3ab1b69b50d5922.jpg","text":"TemporaryFile(/tmp/multipartBody502514306531174728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761978984572,"filename":"image_29102025_23_19_59_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543316","file1":"1391543314","file0":"1391543311","file4":"1391543324","file5":"1391543328","file3":"1391543320"},"map_files_photo_id_array":[{"photo_id":"1391543328","filename":"file5"},{"photo_id":"1391543316","filename":"file2"},{"photo_id":"1391543324","filename":"file4"},{"photo_id":"1391543314","filename":"file1"},{"photo_id":"1391543311","filename":"file0"},{"photo_id":"1391543320","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543328":["hashtag1","hashtag2"]},{"1391543316":["hashtag1","hashtag2"]},{"1391543324":["hashtag1","hashtag2"]},{"1391543320":["hashtag1","hashtag2"]},{"1391543311":["hashtag1","hashtag2"]},{"1391543314":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543328, 1391543316, 1391543324, 1391543320, 1391543311, 1391543314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.324973583221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:36:02.887502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_21_2677.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_27_3611.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_41_2749.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_44_2746.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_48_3557.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_50_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_21_2677.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_27_3611.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_41_2749.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_44_2746.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_48_3557.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_50_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543412","1391543371","1391543374","1391543377","1391543382","1391543379"],"photo_ids_order":["1391543371","1391543374","1391543377","1391543379","1391543382","1391543412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee34d3bca6019a8d6c859f25ba953b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2765550269653021195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_50_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/518203495b5f2fc4c75343fbcd071967.jpg","text":"TemporaryFile(/tmp/multipartBody2418017669974034216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_21_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6853c56da6c91cf05a34e0a50035eae.jpg","text":"TemporaryFile(/tmp/multipartBody8361511368042713101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_27_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ffff033a43db6a661a9fbfcd2ce3e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2683648021938869463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_41_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6aa5155f76564785829572d60486d60e.jpg","text":"TemporaryFile(/tmp/multipartBody6620785466434998010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_48_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b07758d9b09bcf64db20d36c070c7cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2163512320415812989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979025073,"filename":"image_29102025_23_20_44_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543377","file1":"1391543374","file0":"1391543371","file4":"1391543382","file5":"1391543412","file3":"1391543379"},"map_files_photo_id_array":[{"photo_id":"1391543412","filename":"file5"},{"photo_id":"1391543377","filename":"file2"},{"photo_id":"1391543382","filename":"file4"},{"photo_id":"1391543374","filename":"file1"},{"photo_id":"1391543371","filename":"file0"},{"photo_id":"1391543379","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543412":["hashtag1","hashtag2"]},{"1391543371":["hashtag1","hashtag2"]},{"1391543374":["hashtag1","hashtag2"]},{"1391543377":["hashtag1","hashtag2"]},{"1391543382":["hashtag1","hashtag2"]},{"1391543379":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543412, 1391543371, 1391543374, 1391543377, 1391543382, 1391543379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.368834018707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:36:42.544927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_53_2548.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_57_3641.jpg', '/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_59_2495.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_08_2846.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_17_2606.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_30_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_53_2548.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_57_3641.jpg
/home/pi/Desktop/images/29102025/23/20/image_29102025_23_20_59_2495.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_08_2846.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_17_2606.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_30_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543444","1391543432","1391543440","1391543428","1391543437","1391543422"],"photo_ids_order":["1391543422","1391543428","1391543432","1391543437","1391543440","1391543444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9c2704316798e4179528069ba7b7b67.jpg","text":"TemporaryFile(/tmp/multipartBody8670260070958412728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_21_30_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a2bc42ff0d58ba52814dea695b7ae28.jpg","text":"TemporaryFile(/tmp/multipartBody9075421949182406199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_20_59_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b495c894d707cab75001bf2895529d32.jpg","text":"TemporaryFile(/tmp/multipartBody6381806382017477420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_21_17_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c60e81cf2c2f3db83250b6a4799ce574.jpg","text":"TemporaryFile(/tmp/multipartBody289512642342768113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_20_57_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eace8d69d7fa2c828059d5f776c67d60.jpg","text":"TemporaryFile(/tmp/multipartBody4536019913838447611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_21_08_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16d9ea1b6da9710e7d5a277986e7d63b.jpg","text":"TemporaryFile(/tmp/multipartBody9158765592389249118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979063669,"filename":"image_29102025_23_20_53_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543432","file1":"1391543428","file0":"1391543422","file4":"1391543440","file5":"1391543444","file3":"1391543437"},"map_files_photo_id_array":[{"photo_id":"1391543444","filename":"file5"},{"photo_id":"1391543432","filename":"file2"},{"photo_id":"1391543440","filename":"file4"},{"photo_id":"1391543428","filename":"file1"},{"photo_id":"1391543422","filename":"file0"},{"photo_id":"1391543437","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543444":["hashtag1","hashtag2"]},{"1391543432":["hashtag1","hashtag2"]},{"1391543440":["hashtag1","hashtag2"]},{"1391543428":["hashtag1","hashtag2"]},{"1391543437":["hashtag1","hashtag2"]},{"1391543422":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543444, 1391543432, 1391543440, 1391543428, 1391543437, 1391543422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00837779045105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:37:22.694028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_33_2682.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_35_2663.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_54_2688.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_56_2664.jpg', '/home/pi/Desktop/images/29102025/23/21/image_29102025_23_22_00_3670.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_08_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_33_2682.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_35_2663.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_54_2688.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_21_56_2664.jpg
/home/pi/Desktop/images/29102025/23/21/image_29102025_23_22_00_3670.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_08_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543453","1391543450","1391543458","1391543467","1391543461","1391543455"],"photo_ids_order":["1391543450","1391543453","1391543455","1391543458","1391543461","1391543467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51bfb5f086bb5b4e3d3e8a0f43319e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6450325956857839196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_21_35_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08c8e54409432f18685cd0af6660146d.jpg","text":"TemporaryFile(/tmp/multipartBody4334770802740119146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_21_33_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bc9cd93c5860042fc4ff00d8004101a.jpg","text":"TemporaryFile(/tmp/multipartBody1528351247384464651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_21_56_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce2e3e09edf40969a39683b17cee428e.jpg","text":"TemporaryFile(/tmp/multipartBody6839530735283750151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_22_08_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/453185da3315667eda3daa31c770a2f3.jpg","text":"TemporaryFile(/tmp/multipartBody2617127270151249199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_22_00_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aaf14607ed5e55b7fb1a1622acd70ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2916806050510673356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979105407,"filename":"image_29102025_23_21_54_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543455","file1":"1391543453","file0":"1391543450","file4":"1391543461","file5":"1391543467","file3":"1391543458"},"map_files_photo_id_array":[{"photo_id":"1391543467","filename":"file5"},{"photo_id":"1391543455","filename":"file2"},{"photo_id":"1391543461","filename":"file4"},{"photo_id":"1391543453","filename":"file1"},{"photo_id":"1391543450","filename":"file0"},{"photo_id":"1391543458","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543453":["hashtag1","hashtag2"]},{"1391543450":["hashtag1","hashtag2"]},{"1391543458":["hashtag1","hashtag2"]},{"1391543467":["hashtag1","hashtag2"]},{"1391543461":["hashtag1","hashtag2"]},{"1391543455":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543453, 1391543450, 1391543458, 1391543467, 1391543461, 1391543455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02787971496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:38:02.480093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_12_3714.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_17_2657.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_21_3750.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_26_2596.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_32_2674.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_35_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_12_3714.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_17_2657.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_21_3750.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_26_2596.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_32_2674.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_35_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543498","1391543480","1391543483","1391543494","1391543487","1391543490"],"photo_ids_order":["1391543480","1391543483","1391543487","1391543490","1391543494","1391543498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d34cdea85e9f60abf195b1d45d56d98.jpg","text":"TemporaryFile(/tmp/multipartBody7188005632872819212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_35_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c117a9b65b3399bec3cc2329539bf18.jpg","text":"TemporaryFile(/tmp/multipartBody2845685387258461306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_12_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/750ff6adb20fe888420f81b20244741e.jpg","text":"TemporaryFile(/tmp/multipartBody58433795644188210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_17_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a79650bcf3d2323b0df799af9deb022c.jpg","text":"TemporaryFile(/tmp/multipartBody275426549729393562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_32_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5dd5899e89b4cc6d98c0c9ae554fde2.jpg","text":"TemporaryFile(/tmp/multipartBody295067247706486631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_21_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48053585fa1eb513ec741a4cb3289520.jpg","text":"TemporaryFile(/tmp/multipartBody8658544808301384422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979144632,"filename":"image_29102025_23_22_26_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543487","file1":"1391543483","file0":"1391543480","file4":"1391543494","file5":"1391543498","file3":"1391543490"},"map_files_photo_id_array":[{"photo_id":"1391543498","filename":"file5"},{"photo_id":"1391543487","filename":"file2"},{"photo_id":"1391543494","filename":"file4"},{"photo_id":"1391543483","filename":"file1"},{"photo_id":"1391543480","filename":"file0"},{"photo_id":"1391543490","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543498":["hashtag1","hashtag2"]},{"1391543480":["hashtag1","hashtag2"]},{"1391543483":["hashtag1","hashtag2"]},{"1391543494":["hashtag1","hashtag2"]},{"1391543487":["hashtag1","hashtag2"]},{"1391543490":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543498, 1391543480, 1391543483, 1391543494, 1391543487, 1391543490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18787884712219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:38:41.898184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_47_2796.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_57_3561.jpg', '/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_59_2703.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_05_2703.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_09_3636.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_11_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_47_2796.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_57_3561.jpg
/home/pi/Desktop/images/29102025/23/22/image_29102025_23_22_59_2703.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_05_2703.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_09_3636.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_11_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543508","1391543525","1391543510","1391543513","1391543521","1391543518"],"photo_ids_order":["1391543508","1391543510","1391543513","1391543518","1391543521","1391543525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ea9c76624361c307e5e40d915c168b0.jpg","text":"TemporaryFile(/tmp/multipartBody4428976333331102433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_22_47_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0482cda47cc8164e30ab21eadf46253b.jpg","text":"TemporaryFile(/tmp/multipartBody4793592191097265412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_23_11_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d326989090558466684e1ca634cb4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1770219211910661607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_22_57_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4ca80fa18cb293dd79e2c96fe78aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2653598271878158268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_22_59_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3efd58ad92aadc6f8c6729e0815b85d.jpg","text":"TemporaryFile(/tmp/multipartBody880067806962742265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_23_09_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e0d1b84ef41900ba204e2250bcfb69f.jpg","text":"TemporaryFile(/tmp/multipartBody215807210746079343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979183062,"filename":"image_29102025_23_23_05_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543513","file1":"1391543510","file0":"1391543508","file4":"1391543521","file5":"1391543525","file3":"1391543518"},"map_files_photo_id_array":[{"photo_id":"1391543525","filename":"file5"},{"photo_id":"1391543513","filename":"file2"},{"photo_id":"1391543521","filename":"file4"},{"photo_id":"1391543510","filename":"file1"},{"photo_id":"1391543508","filename":"file0"},{"photo_id":"1391543518","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543508":["hashtag1","hashtag2"]},{"1391543525":["hashtag1","hashtag2"]},{"1391543510":["hashtag1","hashtag2"]},{"1391543513":["hashtag1","hashtag2"]},{"1391543521":["hashtag1","hashtag2"]},{"1391543518":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543508, 1391543525, 1391543510, 1391543513, 1391543521, 1391543518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.109793186187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:39:21.978309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_14_2577.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_17_3673.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_23_2647.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_27_3772.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_32_2697.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_44_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_14_2577.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_17_3673.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_23_2647.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_27_3772.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_32_2697.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_44_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543555","1391543549","1391543540","1391543546","1391543559","1391543544"],"photo_ids_order":["1391543540","1391543544","1391543546","1391543549","1391543555","1391543559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fb4c43538a02942db3bdc18f02c0e74.jpg","text":"TemporaryFile(/tmp/multipartBody6830971922690000199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_32_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69faeb8b60dfe47ddd45d94a80ef5cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2476243277540283823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_27_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afcf129bd2594ee666a1a5a9c1b8cc44.jpg","text":"TemporaryFile(/tmp/multipartBody2353645022066894228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_14_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27814021a7cc57b83a499218ed83dc39.jpg","text":"TemporaryFile(/tmp/multipartBody2906818597458956075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_23_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26a5a2879912aabf8683d597343c1e75.jpg","text":"TemporaryFile(/tmp/multipartBody61355971563271444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_44_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c5aee207799c670ba23a4a0f8504fad.jpg","text":"TemporaryFile(/tmp/multipartBody1666411055089244846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979224712,"filename":"image_29102025_23_23_17_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543546","file1":"1391543544","file0":"1391543540","file4":"1391543555","file5":"1391543559","file3":"1391543549"},"map_files_photo_id_array":[{"photo_id":"1391543559","filename":"file5"},{"photo_id":"1391543546","filename":"file2"},{"photo_id":"1391543555","filename":"file4"},{"photo_id":"1391543544","filename":"file1"},{"photo_id":"1391543540","filename":"file0"},{"photo_id":"1391543549","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543555":["hashtag1","hashtag2"]},{"1391543549":["hashtag1","hashtag2"]},{"1391543540":["hashtag1","hashtag2"]},{"1391543546":["hashtag1","hashtag2"]},{"1391543559":["hashtag1","hashtag2"]},{"1391543544":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543555, 1391543549, 1391543540, 1391543546, 1391543559, 1391543544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65327978134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:40:03.119579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_47_2652.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_51_3928.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_53_1657.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_56_3709.jpg', '/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_59_2844.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_10_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_47_2652.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_51_3928.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_53_1657.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_56_3709.jpg
/home/pi/Desktop/images/29102025/23/23/image_29102025_23_23_59_2844.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_10_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543633","1391543606","1391543599","1391543590","1391543635","1391543608"],"photo_ids_order":["1391543590","1391543599","1391543606","1391543608","1391543633","1391543635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86bf96283b696b76210547f616278674.jpg","text":"TemporaryFile(/tmp/multipartBody6283662269346434898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_23_59_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15b9058329eacd9c4f809c5317d69517.jpg","text":"TemporaryFile(/tmp/multipartBody1508602108056950908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_23_53_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b62e593c685b48ee096d6f64d18be75.jpg","text":"TemporaryFile(/tmp/multipartBody2664115219181780387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_23_51_3928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd42990ad49e8579ccf51a84cc4de370.jpg","text":"TemporaryFile(/tmp/multipartBody2627515563521670911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_23_47_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/562035c97f2657f65b6cff41f05fd694.jpg","text":"TemporaryFile(/tmp/multipartBody6957239314925501189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_24_10_10432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4192f392b43d4b56f9eab7e65ac9f66d.jpg","text":"TemporaryFile(/tmp/multipartBody8528706286751421983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979265258,"filename":"image_29102025_23_23_56_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543606","file1":"1391543599","file0":"1391543590","file4":"1391543633","file5":"1391543635","file3":"1391543608"},"map_files_photo_id_array":[{"photo_id":"1391543635","filename":"file5"},{"photo_id":"1391543606","filename":"file2"},{"photo_id":"1391543633","filename":"file4"},{"photo_id":"1391543599","filename":"file1"},{"photo_id":"1391543590","filename":"file0"},{"photo_id":"1391543608","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543633":["hashtag1","hashtag2"]},{"1391543606":["hashtag1","hashtag2"]},{"1391543599":["hashtag1","hashtag2"]},{"1391543590":["hashtag1","hashtag2"]},{"1391543635":["hashtag1","hashtag2"]},{"1391543608":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543633, 1391543606, 1391543599, 1391543590, 1391543635, 1391543608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23048949241638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:41:02.883107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_16_5993.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_17_1608.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_23_1679.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_25_1708.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_27_1743.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_41_2916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_16_5993.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_17_1608.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_23_1679.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_25_1708.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_27_1743.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_41_2916.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543666","1391543662","1391543659","1391543667","1391543661","1391543664"],"photo_ids_order":["1391543659","1391543661","1391543662","1391543664","1391543666","1391543667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20f99f84640ccc670477d2897b972885.jpg","text":"TemporaryFile(/tmp/multipartBody8237805847451353458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_27_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0418c8e34a0036b96e3845eb08175a80.jpg","text":"TemporaryFile(/tmp/multipartBody5764641288010959260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_23_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/588e55214825e57ca7708d2e1a200f83.jpg","text":"TemporaryFile(/tmp/multipartBody8356635091595651737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_16_5993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4741ae57094df6e7553f03c386db86d4.jpg","text":"TemporaryFile(/tmp/multipartBody392425755530183318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_41_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/509f2fc9e14f09344351b997fc8e5d90.jpg","text":"TemporaryFile(/tmp/multipartBody5285281547906528229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_17_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae57a3aebd6052ffaefac917ad6ebd16.jpg","text":"TemporaryFile(/tmp/multipartBody4279959933081763962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979325102,"filename":"image_29102025_23_24_25_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543662","file1":"1391543661","file0":"1391543659","file4":"1391543666","file5":"1391543667","file3":"1391543664"},"map_files_photo_id_array":[{"photo_id":"1391543667","filename":"file5"},{"photo_id":"1391543662","filename":"file2"},{"photo_id":"1391543666","filename":"file4"},{"photo_id":"1391543661","filename":"file1"},{"photo_id":"1391543659","filename":"file0"},{"photo_id":"1391543664","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543666":["hashtag1","hashtag2"]},{"1391543662":["hashtag1","hashtag2"]},{"1391543659":["hashtag1","hashtag2"]},{"1391543667":["hashtag1","hashtag2"]},{"1391543661":["hashtag1","hashtag2"]},{"1391543664":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543666, 1391543662, 1391543659, 1391543667, 1391543661, 1391543664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11918258666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:41:42.073209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_44_2697.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_50_2535.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_53_2554.jpg', '/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_56_2804.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_14_2988.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_15_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_44_2697.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_50_2535.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_53_2554.jpg
/home/pi/Desktop/images/29102025/23/24/image_29102025_23_24_56_2804.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_14_2988.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_15_1642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543702","1391543689","1391543698","1391543683","1391543677","1391543694"],"photo_ids_order":["1391543677","1391543683","1391543689","1391543694","1391543698","1391543702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ef8adfe3c38f996977e55957299fdfa.jpg","text":"TemporaryFile(/tmp/multipartBody1053531816903745771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_25_15_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bcad05836672a93d8e71556befed7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4281386660664542312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_24_53_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a751d806c66f85b3909b86ebc45d2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7441259221552061533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_25_14_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b5ab265b1192b96f3a8443a64805ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1627434472841561915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_24_50_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f627a3129d4044cd630d244c02a83d25.jpg","text":"TemporaryFile(/tmp/multipartBody7220137020349572516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_24_44_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abe2361d3f400f14d21b7764d20a8372.jpg","text":"TemporaryFile(/tmp/multipartBody4661460533342556439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979363214,"filename":"image_29102025_23_24_56_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543689","file1":"1391543683","file0":"1391543677","file4":"1391543698","file5":"1391543702","file3":"1391543694"},"map_files_photo_id_array":[{"photo_id":"1391543702","filename":"file5"},{"photo_id":"1391543689","filename":"file2"},{"photo_id":"1391543698","filename":"file4"},{"photo_id":"1391543683","filename":"file1"},{"photo_id":"1391543677","filename":"file0"},{"photo_id":"1391543694","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543702":["hashtag1","hashtag2"]},{"1391543689":["hashtag1","hashtag2"]},{"1391543698":["hashtag1","hashtag2"]},{"1391543683":["hashtag1","hashtag2"]},{"1391543677":["hashtag1","hashtag2"]},{"1391543694":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543702, 1391543689, 1391543698, 1391543683, 1391543677, 1391543694)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.35036611557007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:42:42.265399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_17_1788.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_19_1524.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_24_1957.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_32_2567.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_35_3678.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_41_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_17_1788.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_19_1524.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_24_1957.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_32_2567.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_35_3678.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_41_1510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543745","1391543733","1391543741","1391543738","1391543728","1391543722"],"photo_ids_order":["1391543722","1391543728","1391543733","1391543738","1391543741","1391543745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4124881308dc99ea3eb89ef91cd59f59.jpg","text":"TemporaryFile(/tmp/multipartBody1998063570675451327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_41_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f60b7c179e37c8f67ded94375c301865.jpg","text":"TemporaryFile(/tmp/multipartBody1073711340616719953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_24_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6de9fd20fe46a967539d893de6ef0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3682413864976816035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_35_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42602fb14f3654d4f7b3c8bc44c0ed01.jpg","text":"TemporaryFile(/tmp/multipartBody1266414702542682906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_32_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47f64b132e45eaf770044ff62b107e73.jpg","text":"TemporaryFile(/tmp/multipartBody1430622187072563553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_19_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6e11bee69acf7c72fa7e46a3c8c56ad.jpg","text":"TemporaryFile(/tmp/multipartBody4063171234565476737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979423380,"filename":"image_29102025_23_25_17_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543733","file1":"1391543728","file0":"1391543722","file4":"1391543741","file5":"1391543745","file3":"1391543738"},"map_files_photo_id_array":[{"photo_id":"1391543745","filename":"file5"},{"photo_id":"1391543733","filename":"file2"},{"photo_id":"1391543741","filename":"file4"},{"photo_id":"1391543728","filename":"file1"},{"photo_id":"1391543722","filename":"file0"},{"photo_id":"1391543738","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543745":["hashtag1","hashtag2"]},{"1391543733":["hashtag1","hashtag2"]},{"1391543741":["hashtag1","hashtag2"]},{"1391543738":["hashtag1","hashtag2"]},{"1391543728":["hashtag1","hashtag2"]},{"1391543722":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543745, 1391543733, 1391543741, 1391543738, 1391543728, 1391543722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.551581144332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:43:22.416384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_45_3493.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_50_2520.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_53_2899.jpg', '/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_59_3697.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_20_3661.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_23_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_45_3493.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_50_2520.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_53_2899.jpg
/home/pi/Desktop/images/29102025/23/25/image_29102025_23_25_59_3697.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_20_3661.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_23_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543762","1391543759","1391543768","1391543756","1391543752","1391543754"],"photo_ids_order":["1391543752","1391543754","1391543756","1391543759","1391543762","1391543768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb8acfb7ceccfcfcf66f38fedcee045c.jpg","text":"TemporaryFile(/tmp/multipartBody6104970896446772885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_26_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17bbb9ba2e26454c34d78215089293de.jpg","text":"TemporaryFile(/tmp/multipartBody593485937519981030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_25_59_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c9896bd942f41e3df02f486cb4eb42e.jpg","text":"TemporaryFile(/tmp/multipartBody7257095647732399698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_26_23_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffb874df26bf1e91f1e027a17409dc89.jpg","text":"TemporaryFile(/tmp/multipartBody8868202085527208028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_25_53_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f27c0230f0b984065e15728c9c6da0c0.jpg","text":"TemporaryFile(/tmp/multipartBody2595769163172523425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_25_45_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/303764fe09dcd8029babb845783ca601.jpg","text":"TemporaryFile(/tmp/multipartBody164364739626006930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979465179,"filename":"image_29102025_23_25_50_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543756","file1":"1391543754","file0":"1391543752","file4":"1391543762","file5":"1391543768","file3":"1391543759"},"map_files_photo_id_array":[{"photo_id":"1391543768","filename":"file5"},{"photo_id":"1391543756","filename":"file2"},{"photo_id":"1391543762","filename":"file4"},{"photo_id":"1391543754","filename":"file1"},{"photo_id":"1391543752","filename":"file0"},{"photo_id":"1391543759","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543762":["hashtag1","hashtag2"]},{"1391543759":["hashtag1","hashtag2"]},{"1391543768":["hashtag1","hashtag2"]},{"1391543756":["hashtag1","hashtag2"]},{"1391543752":["hashtag1","hashtag2"]},{"1391543754":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543762, 1391543759, 1391543768, 1391543756, 1391543752, 1391543754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47156572341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:44:03.254925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:44:22.583998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_26_2688.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_44_2585.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_47_3667.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_50_2671.jpg', '/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_53_2681.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_05_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_26_2688.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_44_2585.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_47_3667.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_50_2671.jpg
/home/pi/Desktop/images/29102025/23/26/image_29102025_23_26_53_2681.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_05_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543807","1391543801","1391543791","1391543794","1391543788","1391543796"],"photo_ids_order":["1391543788","1391543791","1391543794","1391543796","1391543801","1391543807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7601f6c09d681667834352d1a7ebff6d.jpg","text":"TemporaryFile(/tmp/multipartBody4940451903286287327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_27_05_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0ef30c258bd8264d2163a04dfb26e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7956376090040306822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_26_53_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/573db3c8712455758cf5d7bfb8e716f2.jpg","text":"TemporaryFile(/tmp/multipartBody4353560974870092246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_26_44_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cad0461aff97435b3a317dd8f11a008c.jpg","text":"TemporaryFile(/tmp/multipartBody2571695000944116364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_26_47_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32e0a7c862183179089f61c96395e40f.jpg","text":"TemporaryFile(/tmp/multipartBody4840712616046266821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_26_26_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b39a56aa6b1ea64245936115edea396d.jpg","text":"TemporaryFile(/tmp/multipartBody8488167975728970970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979525306,"filename":"image_29102025_23_26_50_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543794","file1":"1391543791","file0":"1391543788","file4":"1391543801","file5":"1391543807","file3":"1391543796"},"map_files_photo_id_array":[{"photo_id":"1391543807","filename":"file5"},{"photo_id":"1391543794","filename":"file2"},{"photo_id":"1391543801","filename":"file4"},{"photo_id":"1391543791","filename":"file1"},{"photo_id":"1391543788","filename":"file0"},{"photo_id":"1391543796","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543807":["hashtag1","hashtag2"]},{"1391543801":["hashtag1","hashtag2"]},{"1391543791":["hashtag1","hashtag2"]},{"1391543794":["hashtag1","hashtag2"]},{"1391543788":["hashtag1","hashtag2"]},{"1391543796":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543807, 1391543801, 1391543791, 1391543794, 1391543788, 1391543796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96808671951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:45:03.547231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_08_2847.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_10_2641.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_14_3559.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_17_2796.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_23_3617.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_46_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_08_2847.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_10_2641.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_14_3559.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_17_2796.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_23_3617.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_46_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543832","1391543828","1391543824","1391543818","1391543821","1391543820"],"photo_ids_order":["1391543818","1391543820","1391543821","1391543824","1391543828","1391543832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d02e80489ff32bb06492efb9243d837e.jpg","text":"TemporaryFile(/tmp/multipartBody7645985523126765844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6a4e21678022b8e40a81b67e5dcd110.jpg","text":"TemporaryFile(/tmp/multipartBody1275425010452211969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_23_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/111339d7e725b05b6096be79c103c7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2973588692043718186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_17_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/455794bd56bb07399f621092941bfd41.jpg","text":"TemporaryFile(/tmp/multipartBody3144714843687668025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_08_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e46e4cd8376d8c396713ba013255a6.jpg","text":"TemporaryFile(/tmp/multipartBody2442628436236114791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_14_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5cce3a3c3a67e35244f0f019bc23a4c.jpg","text":"TemporaryFile(/tmp/multipartBody903025546759661895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979565772,"filename":"image_29102025_23_27_10_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543821","file1":"1391543820","file0":"1391543818","file4":"1391543828","file5":"1391543832","file3":"1391543824"},"map_files_photo_id_array":[{"photo_id":"1391543832","filename":"file5"},{"photo_id":"1391543821","filename":"file2"},{"photo_id":"1391543828","filename":"file4"},{"photo_id":"1391543820","filename":"file1"},{"photo_id":"1391543818","filename":"file0"},{"photo_id":"1391543824","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543832":["hashtag1","hashtag2"]},{"1391543828":["hashtag1","hashtag2"]},{"1391543824":["hashtag1","hashtag2"]},{"1391543818":["hashtag1","hashtag2"]},{"1391543821":["hashtag1","hashtag2"]},{"1391543820":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543832, 1391543828, 1391543824, 1391543818, 1391543821, 1391543820)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.43829274177551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:46:02.478183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_50_3744.jpg', '/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_53_2708.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_08_2720.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_14_3665.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_19_2650.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_23_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_50_3744.jpg
/home/pi/Desktop/images/29102025/23/27/image_29102025_23_27_53_2708.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_08_2720.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_14_3665.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_19_2650.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_23_3761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543904","1391543913","1391543879","1391543924","1391543927","1391543890"],"photo_ids_order":["1391543879","1391543890","1391543904","1391543913","1391543924","1391543927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c5271e8fd5cbb9cb452b44e8aa7f626.jpg","text":"TemporaryFile(/tmp/multipartBody4430002847465004137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_28_08_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97269ab5a161099ce6259bea964456be.jpg","text":"TemporaryFile(/tmp/multipartBody8902324349300543100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_28_14_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c57df52200be28ddea5ac97e640682f3.jpg","text":"TemporaryFile(/tmp/multipartBody8341529395179921552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_27_50_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1aca2dc84c4f67699bbf1702be216ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1146856204222714858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_28_19_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1fa608abebf3d01c3e6b8b60d0bf881.jpg","text":"TemporaryFile(/tmp/multipartBody1857245613543826894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_28_23_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce7bbdad89e227fbcf014c29a2bd9b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2872461610921541514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979624645,"filename":"image_29102025_23_27_53_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543904","file1":"1391543890","file0":"1391543879","file4":"1391543924","file5":"1391543927","file3":"1391543913"},"map_files_photo_id_array":[{"photo_id":"1391543927","filename":"file5"},{"photo_id":"1391543904","filename":"file2"},{"photo_id":"1391543924","filename":"file4"},{"photo_id":"1391543890","filename":"file1"},{"photo_id":"1391543879","filename":"file0"},{"photo_id":"1391543913","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543904":["hashtag1","hashtag2"]},{"1391543913":["hashtag1","hashtag2"]},{"1391543879":["hashtag1","hashtag2"]},{"1391543924":["hashtag1","hashtag2"]},{"1391543927":["hashtag1","hashtag2"]},{"1391543890":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543904, 1391543913, 1391543879, 1391543924, 1391543927, 1391543890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36304807662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:47:03.708483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_26_2615.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_28_2555.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_32_3578.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_34_2674.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_41_3542.jpg', '/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_55_2866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_26_2615.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_28_2555.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_32_3578.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_34_2674.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_41_3542.jpg
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_55_2866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391543960","1391543957","1391543951","1391543954","1391543953","1391543955"],"photo_ids_order":["1391543951","1391543953","1391543954","1391543955","1391543957","1391543960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ef668c7071bc8d10aaf397803a8661d.jpg","text":"TemporaryFile(/tmp/multipartBody4860163553083593759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_55_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be1098c2cdccecefa540c2c165f88f10.jpg","text":"TemporaryFile(/tmp/multipartBody7696844540947258513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_41_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fce21955697903b5548b1459d7072dd.jpg","text":"TemporaryFile(/tmp/multipartBody167100773175079759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_26_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed8f5231fd430e332bd00fc2153c2e96.jpg","text":"TemporaryFile(/tmp/multipartBody7757654577399669841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_32_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/175832fbec0faf8edaa2637d4e190ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7974874534522366779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_28_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffeaf82e5239dde6d8a6f92655d333d7.jpg","text":"TemporaryFile(/tmp/multipartBody495470872179461548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979685944,"filename":"image_29102025_23_28_34_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391543954","file1":"1391543953","file0":"1391543951","file4":"1391543957","file5":"1391543960","file3":"1391543955"},"map_files_photo_id_array":[{"photo_id":"1391543960","filename":"file5"},{"photo_id":"1391543954","filename":"file2"},{"photo_id":"1391543957","filename":"file4"},{"photo_id":"1391543953","filename":"file1"},{"photo_id":"1391543951","filename":"file0"},{"photo_id":"1391543955","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391543960":["hashtag1","hashtag2"]},{"1391543957":["hashtag1","hashtag2"]},{"1391543951":["hashtag1","hashtag2"]},{"1391543954":["hashtag1","hashtag2"]},{"1391543953":["hashtag1","hashtag2"]},{"1391543955":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391543960, 1391543957, 1391543951, 1391543954, 1391543953, 1391543955)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391543954 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_32_3578.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.846023082733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:48:22.245356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_59_3707.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_06_4286.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_11_2813.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_13_2660.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_17_3676.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_32_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/28/image_29102025_23_28_59_3707.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_06_4286.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_11_2813.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_13_2660.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_17_3676.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_32_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544012","1391544005","1391544014","1391544001","1391544009","1391544018"],"photo_ids_order":["1391544001","1391544005","1391544009","1391544012","1391544014","1391544018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c47fb6d3079e4a327c12e3fe624cdcb1.jpg","text":"TemporaryFile(/tmp/multipartBody6402953094156195771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_29_13_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a35e712ee29b1affc45add515f763113.jpg","text":"TemporaryFile(/tmp/multipartBody2241008367834161810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_29_06_4286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0dfc4893387b19dc2373785729f23ae.jpg","text":"TemporaryFile(/tmp/multipartBody5263427713271443841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_29_17_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12220752cb5d3f8d6259e72724ddc7f8.jpg","text":"TemporaryFile(/tmp/multipartBody4321819442848874144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_28_59_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efee1ac7645a29cee2259bd57afb6ced.jpg","text":"TemporaryFile(/tmp/multipartBody6277142686000712898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_29_11_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b622fe11511b423e078ca5b13ab242bf.jpg","text":"TemporaryFile(/tmp/multipartBody1796979781706370015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979764978,"filename":"image_29102025_23_29_32_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544009","file1":"1391544005","file0":"1391544001","file4":"1391544014","file5":"1391544018","file3":"1391544012"},"map_files_photo_id_array":[{"photo_id":"1391544018","filename":"file5"},{"photo_id":"1391544009","filename":"file2"},{"photo_id":"1391544014","filename":"file4"},{"photo_id":"1391544005","filename":"file1"},{"photo_id":"1391544001","filename":"file0"},{"photo_id":"1391544012","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544012":["hashtag1","hashtag2"]},{"1391544005":["hashtag1","hashtag2"]},{"1391544014":["hashtag1","hashtag2"]},{"1391544001":["hashtag1","hashtag2"]},{"1391544009":["hashtag1","hashtag2"]},{"1391544018":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544012, 1391544005, 1391544014, 1391544001, 1391544009, 1391544018)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 79.83803963661194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:49:50.790470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_43_1651.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_47_3737.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_52_2608.jpg', '/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_56_3686.jpg', '/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_11_2643.jpg', '/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_13_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_43_1651.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_47_3737.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_52_2608.jpg
/home/pi/Desktop/images/29102025/23/29/image_29102025_23_29_56_3686.jpg
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_11_2643.jpg
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_13_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544104","1391544097","1391544101","1391544088","1391544093","1391544084"],"photo_ids_order":["1391544084","1391544088","1391544093","1391544097","1391544101","1391544104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3131f77141369c186a60f5cb33d0c344.jpg","text":"TemporaryFile(/tmp/multipartBody6614863031771273396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_30_13_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bd0bfb68b5db7d92e25daf6a45db5de.jpg","text":"TemporaryFile(/tmp/multipartBody7308865020661410380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_29_56_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d05bfd2d52e859c136ed9290dd1a937.jpg","text":"TemporaryFile(/tmp/multipartBody7042207397627466032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_30_11_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9bf858ce2eecebcb1b348ebe8836ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6384823019701840014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_29_47_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8eb6c5976512538c6691cc805c1cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2001173936633421683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_29_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea46a16a4135420eccb600bb6ab30f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8007500193656079278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979900483,"filename":"image_29102025_23_29_43_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544093","file1":"1391544088","file0":"1391544084","file4":"1391544101","file5":"1391544104","file3":"1391544097"},"map_files_photo_id_array":[{"photo_id":"1391544104","filename":"file5"},{"photo_id":"1391544093","filename":"file2"},{"photo_id":"1391544101","filename":"file4"},{"photo_id":"1391544088","filename":"file1"},{"photo_id":"1391544084","filename":"file0"},{"photo_id":"1391544097","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544104":["hashtag1","hashtag2"]},{"1391544097":["hashtag1","hashtag2"]},{"1391544101":["hashtag1","hashtag2"]},{"1391544088":["hashtag1","hashtag2"]},{"1391544093":["hashtag1","hashtag2"]},{"1391544084":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544104, 1391544097, 1391544101, 1391544088, 1391544093, 1391544084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.06858658790588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:51:22.492494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_16_2714.jpg', '/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_22_2696.jpg', '/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_25_2697.jpg', '/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_52_2611.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_04_2761.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_13_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_16_2714.jpg
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_22_2696.jpg
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_25_2697.jpg
/home/pi/Desktop/images/29102025/23/30/image_29102025_23_30_52_2611.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_04_2761.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_13_2853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544167","1391544148","1391544130","1391544162","1391544156","1391544171"],"photo_ids_order":["1391544130","1391544148","1391544156","1391544162","1391544167","1391544171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bceb298a4235efa89731b53d36c1647.jpg","text":"TemporaryFile(/tmp/multipartBody7174010717372144242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_31_04_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a4256a3cb158a498c01f385e1c7a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5860248542732840076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_30_22_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e5c5d28865fbea6efcfff1a025f1f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5276471431981775116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_30_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69666693045a6cccf06bbb0fd3879e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2662909144630872570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_30_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/390bcbe5cb4da01e4200677df2c84a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4145181088801128393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_30_25_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ff51645c84b079f21239401e17d1dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2310291790134682653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761979958111,"filename":"image_29102025_23_31_13_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544156","file1":"1391544148","file0":"1391544130","file4":"1391544167","file5":"1391544171","file3":"1391544162"},"map_files_photo_id_array":[{"photo_id":"1391544171","filename":"file5"},{"photo_id":"1391544156","filename":"file2"},{"photo_id":"1391544167","filename":"file4"},{"photo_id":"1391544148","filename":"file1"},{"photo_id":"1391544130","filename":"file0"},{"photo_id":"1391544162","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544167":["hashtag1","hashtag2"]},{"1391544148":["hashtag1","hashtag2"]},{"1391544130":["hashtag1","hashtag2"]},{"1391544162":["hashtag1","hashtag2"]},{"1391544156":["hashtag1","hashtag2"]},{"1391544171":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544167, 1391544148, 1391544130, 1391544162, 1391544156, 1391544171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.13116526603699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:52:21.829873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_23_2717.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_28_2689.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_32_3680.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_40_2649.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_44_3710.jpg', '/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_53_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_23_2717.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_28_2689.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_32_3680.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_40_2649.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_44_3710.jpg
/home/pi/Desktop/images/29102025/23/31/image_29102025_23_31_53_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544197","1391544182","1391544190","1391544193","1391544187","1391544185"],"photo_ids_order":["1391544182","1391544185","1391544187","1391544190","1391544193","1391544197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cf48027ce17cbb92bc048c55d47f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody5840815064624785636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_53_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ab7ef994c4431e1abc79ca23c6c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5185398928690599777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_23_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d93d6e2e2f734971fd10f7624d79c158.jpg","text":"TemporaryFile(/tmp/multipartBody8801853518496821645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_40_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd50bbee5d1559639cbc683a874db323.jpg","text":"TemporaryFile(/tmp/multipartBody6008921744597447731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_44_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b31478789d765c5643bb1548d1e97d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5285286139698290097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_32_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9ac21f044aed80b11b4b7fb901d96ec.jpg","text":"TemporaryFile(/tmp/multipartBody3630999221615183030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980004559,"filename":"image_29102025_23_31_28_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544187","file1":"1391544185","file0":"1391544182","file4":"1391544193","file5":"1391544197","file3":"1391544190"},"map_files_photo_id_array":[{"photo_id":"1391544197","filename":"file5"},{"photo_id":"1391544187","filename":"file2"},{"photo_id":"1391544193","filename":"file4"},{"photo_id":"1391544185","filename":"file1"},{"photo_id":"1391544182","filename":"file0"},{"photo_id":"1391544190","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544197":["hashtag1","hashtag2"]},{"1391544182":["hashtag1","hashtag2"]},{"1391544190":["hashtag1","hashtag2"]},{"1391544193":["hashtag1","hashtag2"]},{"1391544187":["hashtag1","hashtag2"]},{"1391544185":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544197, 1391544182, 1391544190, 1391544193, 1391544187, 1391544185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49661731719971 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:53:22.167715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_05_3634.jpg', '/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_10_2811.jpg', '/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_41_2760.jpg', '/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_46_2611.jpg', '/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_52_2731.jpg', '/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_58_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_05_3634.jpg
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_10_2811.jpg
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_41_2760.jpg
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_46_2611.jpg
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_52_2731.jpg
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_32_58_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544221","1391544224","1391544229","1391544217","1391544219","1391544234"],"photo_ids_order":["1391544217","1391544219","1391544221","1391544224","1391544229","1391544234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75b0b521122431959ca131bd665ddb95.jpg","text":"TemporaryFile(/tmp/multipartBody7790722870211379092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_41_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5845571fadf04ce88545d8e8edb88a62.jpg","text":"TemporaryFile(/tmp/multipartBody153094808386959299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_46_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d38f4058e2adfe23e0ba274979564949.jpg","text":"TemporaryFile(/tmp/multipartBody7577502619303110635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_52_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9afb88cc5d896f3f86dacc06547769.jpg","text":"TemporaryFile(/tmp/multipartBody466399049248864448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_05_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be9f7ae500a9d54c6410b4d5ac733de0.jpg","text":"TemporaryFile(/tmp/multipartBody553873125338735512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_10_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/358f48c11399f42420e9914b3974416d.jpg","text":"TemporaryFile(/tmp/multipartBody4251733720712297705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980065038,"filename":"image_29102025_23_32_58_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544221","file1":"1391544219","file0":"1391544217","file4":"1391544229","file5":"1391544234","file3":"1391544224"},"map_files_photo_id_array":[{"photo_id":"1391544234","filename":"file5"},{"photo_id":"1391544221","filename":"file2"},{"photo_id":"1391544229","filename":"file4"},{"photo_id":"1391544219","filename":"file1"},{"photo_id":"1391544217","filename":"file0"},{"photo_id":"1391544224","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544221":["hashtag1","hashtag2"]},{"1391544224":["hashtag1","hashtag2"]},{"1391544229":["hashtag1","hashtag2"]},{"1391544217":["hashtag1","hashtag2"]},{"1391544219":["hashtag1","hashtag2"]},{"1391544234":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544221, 1391544224, 1391544229, 1391544217, 1391544219, 1391544234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.581846714019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:54:02.783295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/32/image_29102025_23_33_01_3549.jpg', '/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_08_3636.jpg', '/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_13_2666.jpg', '/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_17_3671.jpg', '/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_25_2668.jpg', '/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_58_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/32/image_29102025_23_33_01_3549.jpg
/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_08_3636.jpg
/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_13_2666.jpg
/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_17_3671.jpg
/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_25_2668.jpg
/home/pi/Desktop/images/29102025/23/33/image_29102025_23_33_58_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544268","1391544256","1391544276","1391544279","1391544252","1391544249"],"photo_ids_order":["1391544249","1391544252","1391544256","1391544268","1391544276","1391544279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b401401f0c5b1abb2c2fd21094330080.jpg","text":"TemporaryFile(/tmp/multipartBody1066080933430447246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_17_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dda32f84e909ee9ff27decd941c71ea.jpg","text":"TemporaryFile(/tmp/multipartBody5013328404031694832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_13_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94479ddf7d3c063443cb97d23f29ba45.jpg","text":"TemporaryFile(/tmp/multipartBody3320517955990840399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfeb7a0ccb7b5008b458603e4f8f4a82.jpg","text":"TemporaryFile(/tmp/multipartBody6664712472390697554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_58_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/559b1bea5d7ad3ecccae0aca66b2c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4628662663101980928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_08_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/596c86d7841053586cec71edf69cbc67.jpg","text":"TemporaryFile(/tmp/multipartBody793093351103681436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980106267,"filename":"image_29102025_23_33_01_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544256","file1":"1391544252","file0":"1391544249","file4":"1391544276","file5":"1391544279","file3":"1391544268"},"map_files_photo_id_array":[{"photo_id":"1391544279","filename":"file5"},{"photo_id":"1391544256","filename":"file2"},{"photo_id":"1391544276","filename":"file4"},{"photo_id":"1391544252","filename":"file1"},{"photo_id":"1391544249","filename":"file0"},{"photo_id":"1391544268","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544268":["hashtag1","hashtag2"]},{"1391544256":["hashtag1","hashtag2"]},{"1391544276":["hashtag1","hashtag2"]},{"1391544279":["hashtag1","hashtag2"]},{"1391544252":["hashtag1","hashtag2"]},{"1391544249":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544268, 1391544256, 1391544276, 1391544279, 1391544252, 1391544249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06696081161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:55:02.925852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_02_3697.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_04_2802.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_07_2585.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_16_2666.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_19_2775.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_44_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_02_3697.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_04_2802.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_07_2585.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_16_2666.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_19_2775.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_44_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544311","1391544305","1391544307","1391544301","1391544306","1391544309"],"photo_ids_order":["1391544301","1391544305","1391544306","1391544307","1391544309","1391544311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e2608afc3758ae0d12b22b18044cc05.jpg","text":"TemporaryFile(/tmp/multipartBody3210626214475107537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_44_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1275c0920643a4d103efd3aa4707c330.jpg","text":"TemporaryFile(/tmp/multipartBody8722276250673726471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_04_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89785d6cca870c339705a58a46aa5c28.jpg","text":"TemporaryFile(/tmp/multipartBody1122499932730006549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_16_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7f637904add1e07e62a4011cba8eb15.jpg","text":"TemporaryFile(/tmp/multipartBody5579100644065193000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_02_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfc1db5f21118696080192fa89841c20.jpg","text":"TemporaryFile(/tmp/multipartBody8186722076372265184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_07_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31a6bd96cbfa6ed0859115660ab6c4de.jpg","text":"TemporaryFile(/tmp/multipartBody5050501850241759926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980165134,"filename":"image_29102025_23_34_19_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544306","file1":"1391544305","file0":"1391544301","file4":"1391544309","file5":"1391544311","file3":"1391544307"},"map_files_photo_id_array":[{"photo_id":"1391544311","filename":"file5"},{"photo_id":"1391544306","filename":"file2"},{"photo_id":"1391544309","filename":"file4"},{"photo_id":"1391544305","filename":"file1"},{"photo_id":"1391544301","filename":"file0"},{"photo_id":"1391544307","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544311":["hashtag1","hashtag2"]},{"1391544305":["hashtag1","hashtag2"]},{"1391544307":["hashtag1","hashtag2"]},{"1391544301":["hashtag1","hashtag2"]},{"1391544306":["hashtag1","hashtag2"]},{"1391544309":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544311, 1391544305, 1391544307, 1391544301, 1391544306, 1391544309)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.883835554122925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:56:02.851744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_46_2573.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_49_2829.jpg', '/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_58_2778.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_01_2642.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_04_3593.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_10_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_46_2573.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_49_2829.jpg
/home/pi/Desktop/images/29102025/23/34/image_29102025_23_34_58_2778.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_01_2642.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_04_3593.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_10_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544359","1391544353","1391544347","1391544356","1391544350","1391544344"],"photo_ids_order":["1391544344","1391544347","1391544350","1391544353","1391544356","1391544359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d67f6a719de6dd38db491bc6a2a36cc.jpg","text":"TemporaryFile(/tmp/multipartBody2935617440821298635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_35_10_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f066690bffe8ea5a9af06474db7275b2.jpg","text":"TemporaryFile(/tmp/multipartBody7242050408846838351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_35_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6622d1515cb5f927904a97d299473d64.jpg","text":"TemporaryFile(/tmp/multipartBody8285078657755475582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_34_49_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9ef222a8f746621256f49b1f42bbd68.jpg","text":"TemporaryFile(/tmp/multipartBody8166721998687005960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_35_04_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae1fb2871d417eb85a7faf4d496f8fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2987470579556614459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_34_58_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8051776161f53becb8b3d29206d899ea.jpg","text":"TemporaryFile(/tmp/multipartBody684840646592968530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980225023,"filename":"image_29102025_23_34_46_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544350","file1":"1391544347","file0":"1391544344","file4":"1391544356","file5":"1391544359","file3":"1391544353"},"map_files_photo_id_array":[{"photo_id":"1391544359","filename":"file5"},{"photo_id":"1391544350","filename":"file2"},{"photo_id":"1391544356","filename":"file4"},{"photo_id":"1391544347","filename":"file1"},{"photo_id":"1391544344","filename":"file0"},{"photo_id":"1391544353","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544359":["hashtag1","hashtag2"]},{"1391544353":["hashtag1","hashtag2"]},{"1391544347":["hashtag1","hashtag2"]},{"1391544356":["hashtag1","hashtag2"]},{"1391544350":["hashtag1","hashtag2"]},{"1391544344":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544359, 1391544353, 1391544347, 1391544356, 1391544350, 1391544344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7501745223999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 07:56:42.457561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_16_2670.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_19_3559.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_22_2716.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_28_2778.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_40_2630.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_46_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_16_2670.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_19_3559.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_22_2716.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_28_2778.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_40_2630.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_46_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544386","1391544365","1391544380","1391544375","1391544369","1391544383"],"photo_ids_order":["1391544365","1391544369","1391544375","1391544380","1391544383","1391544386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d73c0ef983176a8bce3cba63fecd42b.jpg","text":"TemporaryFile(/tmp/multipartBody7834622241957427113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_46_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50911ca4b865e348dd23c554c47ae1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7112504238105915557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87ffc096ab889cfb562973f374435518.jpg","text":"TemporaryFile(/tmp/multipartBody8539901977123037801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_28_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f563998f75d548c8a4774012af4378cd.jpg","text":"TemporaryFile(/tmp/multipartBody85513261597489247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_22_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bea0c4d4c56ab80f0db27aaed5f7ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody4496138725447726175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_19_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/580c66a8ac5bd8ce3601d139a72ae967.jpg","text":"TemporaryFile(/tmp/multipartBody4598229519568152891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980263589,"filename":"image_29102025_23_35_40_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544375","file1":"1391544369","file0":"1391544365","file4":"1391544383","file5":"1391544386","file3":"1391544380"},"map_files_photo_id_array":[{"photo_id":"1391544386","filename":"file5"},{"photo_id":"1391544375","filename":"file2"},{"photo_id":"1391544383","filename":"file4"},{"photo_id":"1391544369","filename":"file1"},{"photo_id":"1391544365","filename":"file0"},{"photo_id":"1391544380","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544386":["hashtag1","hashtag2"]},{"1391544365":["hashtag1","hashtag2"]},{"1391544380":["hashtag1","hashtag2"]},{"1391544375":["hashtag1","hashtag2"]},{"1391544369":["hashtag1","hashtag2"]},{"1391544383":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544386, 1391544365, 1391544380, 1391544375, 1391544369, 1391544383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.946892738342285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 07:57:22.548070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_54_2896.jpg', '/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_58_3694.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_01_2679.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_07_3607.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_10_2826.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_13_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_54_2896.jpg
/home/pi/Desktop/images/29102025/23/35/image_29102025_23_35_58_3694.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_01_2679.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_07_3607.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_10_2826.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_13_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544402","1391544410","1391544394","1391544406","1391544390","1391544398"],"photo_ids_order":["1391544390","1391544394","1391544398","1391544402","1391544406","1391544410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47ff94764a2f4e2422418579405b13e9.jpg","text":"TemporaryFile(/tmp/multipartBody2246516248746780422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_36_07_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6eb5fb4c0b2817d45eb8abb78ab6aa33.jpg","text":"TemporaryFile(/tmp/multipartBody5137231652896988735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_36_13_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4781018e39430a49c67bc0e4eb945eb.jpg","text":"TemporaryFile(/tmp/multipartBody8404173988669891971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_35_58_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6abbddad2eb96f8816e7710b5584c11e.jpg","text":"TemporaryFile(/tmp/multipartBody4480380770223890918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_36_10_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f230aaacb8b8a24b802ebeda5f38e85e.jpg","text":"TemporaryFile(/tmp/multipartBody8170823235584982188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_35_54_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10759462f0c9d55f9f60196aed2bbf30.jpg","text":"TemporaryFile(/tmp/multipartBody6851689884338314964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980305290,"filename":"image_29102025_23_36_01_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544398","file1":"1391544394","file0":"1391544390","file4":"1391544406","file5":"1391544410","file3":"1391544402"},"map_files_photo_id_array":[{"photo_id":"1391544410","filename":"file5"},{"photo_id":"1391544398","filename":"file2"},{"photo_id":"1391544406","filename":"file4"},{"photo_id":"1391544394","filename":"file1"},{"photo_id":"1391544390","filename":"file0"},{"photo_id":"1391544402","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544402":["hashtag1","hashtag2"]},{"1391544410":["hashtag1","hashtag2"]},{"1391544394":["hashtag1","hashtag2"]},{"1391544406":["hashtag1","hashtag2"]},{"1391544390":["hashtag1","hashtag2"]},{"1391544398":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544402, 1391544410, 1391544394, 1391544406, 1391544390, 1391544398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94979500770569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 07:59:02.485155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_16_2577.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_19_3640.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_22_2658.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_24_2548.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_31_2762.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_40_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_16_2577.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_19_3640.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_22_2658.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_24_2548.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_31_2762.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_40_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544431","1391544427","1391544436","1391544421","1391544441","1391544423"],"photo_ids_order":["1391544421","1391544423","1391544427","1391544431","1391544436","1391544441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be33b9fde80c0fe27fff22761e31e212.jpg","text":"TemporaryFile(/tmp/multipartBody3250001204839105917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_24_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ee37e87c9b8d32ca95b105d1bb91d6d.jpg","text":"TemporaryFile(/tmp/multipartBody740460531532571753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_22_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fef2079f83bcee7a6bfd1984022da7b.jpg","text":"TemporaryFile(/tmp/multipartBody1143320482284685067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_31_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65958182459c5578f30e6d12d7d14e42.jpg","text":"TemporaryFile(/tmp/multipartBody6398466102170709202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_16_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2c3dbf7c5cc18a3f3e95944f019f7db.jpg","text":"TemporaryFile(/tmp/multipartBody4930851500021579805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_40_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c096dd93e7184abf1cdc663e3747d18.jpg","text":"TemporaryFile(/tmp/multipartBody6241406326429700325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980404806,"filename":"image_29102025_23_36_19_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544427","file1":"1391544423","file0":"1391544421","file4":"1391544436","file5":"1391544441","file3":"1391544431"},"map_files_photo_id_array":[{"photo_id":"1391544441","filename":"file5"},{"photo_id":"1391544427","filename":"file2"},{"photo_id":"1391544436","filename":"file4"},{"photo_id":"1391544423","filename":"file1"},{"photo_id":"1391544421","filename":"file0"},{"photo_id":"1391544431","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544431":["hashtag1","hashtag2"]},{"1391544427":["hashtag1","hashtag2"]},{"1391544436":["hashtag1","hashtag2"]},{"1391544421":["hashtag1","hashtag2"]},{"1391544441":["hashtag1","hashtag2"]},{"1391544423":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544431, 1391544427, 1391544436, 1391544421, 1391544441, 1391544423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84575414657593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:00:02.596535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_42_2601.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_46_3777.jpg', '/home/pi/Desktop/images/29102025/23/36/image_29102025_23_37_00_2788.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_04_3665.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_07_2525.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_09_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_42_2601.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_36_46_3777.jpg
/home/pi/Desktop/images/29102025/23/36/image_29102025_23_37_00_2788.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_04_3665.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_07_2525.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_09_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544501","1391544485","1391544467","1391544493","1391544498","1391544510"],"photo_ids_order":["1391544467","1391544485","1391544493","1391544498","1391544501","1391544510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2444554792c5586c2dd2a2f6ec45385f.jpg","text":"TemporaryFile(/tmp/multipartBody4468780430030246572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_37_07_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdf2362142a8f3d696c38710ff12acab.jpg","text":"TemporaryFile(/tmp/multipartBody1434161092089864993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_36_46_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f000a62fec444debc6bf076232893b40.jpg","text":"TemporaryFile(/tmp/multipartBody1413591428920710234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_36_42_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2742f10d237f9b044b22e0e34d69c469.jpg","text":"TemporaryFile(/tmp/multipartBody8555050499643341780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_37_00_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/585402f4730bb2c62fec5591e8bc91d9.jpg","text":"TemporaryFile(/tmp/multipartBody6083897483281334392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_37_04_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98ff3c9a2a49e11cef4dd87226454a98.jpg","text":"TemporaryFile(/tmp/multipartBody3000273357702353734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980464726,"filename":"image_29102025_23_37_09_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544493","file1":"1391544485","file0":"1391544467","file4":"1391544501","file5":"1391544510","file3":"1391544498"},"map_files_photo_id_array":[{"photo_id":"1391544510","filename":"file5"},{"photo_id":"1391544493","filename":"file2"},{"photo_id":"1391544501","filename":"file4"},{"photo_id":"1391544485","filename":"file1"},{"photo_id":"1391544467","filename":"file0"},{"photo_id":"1391544498","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544501":["hashtag1","hashtag2"]},{"1391544485":["hashtag1","hashtag2"]},{"1391544467":["hashtag1","hashtag2"]},{"1391544493":["hashtag1","hashtag2"]},{"1391544498":["hashtag1","hashtag2"]},{"1391544510":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544501, 1391544485, 1391544467, 1391544493, 1391544498, 1391544510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60903525352478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:01:02.982332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_13_3784.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_16_2708.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_52_2628.jpg', '/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_54_2553.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_04_2843.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_10_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_13_3784.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_16_2708.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_52_2628.jpg
/home/pi/Desktop/images/29102025/23/37/image_29102025_23_37_54_2553.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_04_2843.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_10_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544592","1391544586","1391544589","1391544574","1391544577","1391544609"],"photo_ids_order":["1391544574","1391544577","1391544586","1391544589","1391544592","1391544609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9a663fe0214bdd6b28131be740d508a.jpg","text":"TemporaryFile(/tmp/multipartBody3184758603205222704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_38_04_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5fefca1969d9b4dfc38ad5bded59648.jpg","text":"TemporaryFile(/tmp/multipartBody753043375817526919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_37_52_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/591808bcc4a82185148b3f3e130cb2d3.jpg","text":"TemporaryFile(/tmp/multipartBody2935622184960267991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_37_54_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad014b04a689cdbb1e442258f30f5280.jpg","text":"TemporaryFile(/tmp/multipartBody2567329041972339113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_37_13_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8295a88b2e371aa738513713d9a330f5.jpg","text":"TemporaryFile(/tmp/multipartBody1390861755106073753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_37_16_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20d446d3691c7c76d9ccce9a89c7585b.jpg","text":"TemporaryFile(/tmp/multipartBody6378566153101051325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980525286,"filename":"image_29102025_23_38_10_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544586","file1":"1391544577","file0":"1391544574","file4":"1391544592","file5":"1391544609","file3":"1391544589"},"map_files_photo_id_array":[{"photo_id":"1391544609","filename":"file5"},{"photo_id":"1391544586","filename":"file2"},{"photo_id":"1391544592","filename":"file4"},{"photo_id":"1391544577","filename":"file1"},{"photo_id":"1391544574","filename":"file0"},{"photo_id":"1391544589","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544592":["hashtag1","hashtag2"]},{"1391544586":["hashtag1","hashtag2"]},{"1391544589":["hashtag1","hashtag2"]},{"1391544574":["hashtag1","hashtag2"]},{"1391544577":["hashtag1","hashtag2"]},{"1391544609":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544592, 1391544586, 1391544589, 1391544574, 1391544577, 1391544609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.018651723861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:02:02.871298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_12_2792.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_16_3639.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_19_2808.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_28_3543.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_33_2698.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_37_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_12_2792.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_16_3639.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_19_2808.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_28_3543.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_33_2698.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_37_3571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391544785","1391544740","1391544859","1391545003","1391544916","1391544957"],"photo_ids_order":["1391544740","1391544785","1391544859","1391544916","1391544957","1391545003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3b797e423077cf937954eb19eb28836.jpg","text":"TemporaryFile(/tmp/multipartBody2837040712475189386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_16_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/131944afc217ee8c3f80c0811be44980.jpg","text":"TemporaryFile(/tmp/multipartBody7902555003592335095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_12_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eea0bd8a7f755932d6cf4fe5a446a230.jpg","text":"TemporaryFile(/tmp/multipartBody8940280454923516349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_19_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c80bf86bcf63845386c4760095396b7a.jpg","text":"TemporaryFile(/tmp/multipartBody566623359575031665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_37_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/453f3a3219263610d9098e8a2a10afc0.jpg","text":"TemporaryFile(/tmp/multipartBody884779746860387912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_28_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb96228de5a7ddf8b16f24b7736d3f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1627343478594555312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980585084,"filename":"image_29102025_23_38_33_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391544859","file1":"1391544785","file0":"1391544740","file4":"1391544957","file5":"1391545003","file3":"1391544916"},"map_files_photo_id_array":[{"photo_id":"1391545003","filename":"file5"},{"photo_id":"1391544859","filename":"file2"},{"photo_id":"1391544957","filename":"file4"},{"photo_id":"1391544785","filename":"file1"},{"photo_id":"1391544740","filename":"file0"},{"photo_id":"1391544916","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391544785":["hashtag1","hashtag2"]},{"1391544740":["hashtag1","hashtag2"]},{"1391544859":["hashtag1","hashtag2"]},{"1391545003":["hashtag1","hashtag2"]},{"1391544916":["hashtag1","hashtag2"]},{"1391544957":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391544785, 1391544740, 1391544859, 1391545003, 1391544916, 1391544957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84385657310486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:03:03.398339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_40_2586.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_42_2802.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_49_2577.jpg', '/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_51_2725.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_04_3740.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_07_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_40_2586.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_42_2802.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_49_2577.jpg
/home/pi/Desktop/images/29102025/23/38/image_29102025_23_38_51_2725.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_04_3740.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_07_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391545408","1391545584","1391545578","1391545371","1391545329","1391545472"],"photo_ids_order":["1391545329","1391545371","1391545408","1391545472","1391545578","1391545584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d26320a054bdd9865f21af57f8539bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5048085634403429879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_38_49_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a43c51c38c7560813467817169601c2.jpg","text":"TemporaryFile(/tmp/multipartBody7248239272796609791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_39_07_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec70579cef1d58831a9300ebfb1de8b0.jpg","text":"TemporaryFile(/tmp/multipartBody7388772110645275105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_39_04_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc67634aa77937798491b125a028918c.jpg","text":"TemporaryFile(/tmp/multipartBody7776242086743845326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_38_42_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0d42152cf2da0f2684fb300c541a426.jpg","text":"TemporaryFile(/tmp/multipartBody1821020336307934175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_38_40_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff70b30e8f0eff8d2bdd348c4b0fcbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4574139508459212980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980645621,"filename":"image_29102025_23_38_51_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391545408","file1":"1391545371","file0":"1391545329","file4":"1391545578","file5":"1391545584","file3":"1391545472"},"map_files_photo_id_array":[{"photo_id":"1391545584","filename":"file5"},{"photo_id":"1391545408","filename":"file2"},{"photo_id":"1391545578","filename":"file4"},{"photo_id":"1391545371","filename":"file1"},{"photo_id":"1391545329","filename":"file0"},{"photo_id":"1391545472","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391545408":["hashtag1","hashtag2"]},{"1391545584":["hashtag1","hashtag2"]},{"1391545578":["hashtag1","hashtag2"]},{"1391545371":["hashtag1","hashtag2"]},{"1391545329":["hashtag1","hashtag2"]},{"1391545472":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391545408, 1391545584, 1391545578, 1391545371, 1391545329, 1391545472)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.6194281578064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:04:03.333270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_10_2690.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_12_2653.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_19_2722.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_21_2773.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_28_2796.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_33_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_10_2690.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_12_2653.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_19_2722.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_21_2773.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_28_2796.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_33_2744.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4668071269989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:04:22.820314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_10_2690.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_12_2653.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_19_2722.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_21_2773.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_28_2796.jpg', '/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_33_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_10_2690.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_12_2653.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_19_2722.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_21_2773.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_28_2796.jpg
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_33_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391545922","1391545888","1391545761","1391545842","1391545917","1391545803"],"photo_ids_order":["1391545761","1391545803","1391545842","1391545888","1391545917","1391545922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61c930698f7ecbf1dbb97293b69ada7a.jpg","text":"TemporaryFile(/tmp/multipartBody2608655486086702190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_33_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd1a5e52f1e54ea3172d6bbbbc9308b4.jpg","text":"TemporaryFile(/tmp/multipartBody510144349281942449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_21_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30e070a59ee97501a5bec4c197eb7c03.jpg","text":"TemporaryFile(/tmp/multipartBody8607472632306706503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_10_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee7930b1caff75fc428540e26b2b5609.jpg","text":"TemporaryFile(/tmp/multipartBody1473737491228635969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_19_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bcb6cdd8e94ece82b542bcf9d944d27.jpg","text":"TemporaryFile(/tmp/multipartBody8818003676594079518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_28_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b16979b4defa98d134598609038770f.jpg","text":"TemporaryFile(/tmp/multipartBody1537550453134722630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980725422,"filename":"image_29102025_23_39_12_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391545842","file1":"1391545803","file0":"1391545761","file4":"1391545917","file5":"1391545922","file3":"1391545888"},"map_files_photo_id_array":[{"photo_id":"1391545922","filename":"file5"},{"photo_id":"1391545842","filename":"file2"},{"photo_id":"1391545917","filename":"file4"},{"photo_id":"1391545803","filename":"file1"},{"photo_id":"1391545761","filename":"file0"},{"photo_id":"1391545888","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391545922":["hashtag1","hashtag2"]},{"1391545888":["hashtag1","hashtag2"]},{"1391545761":["hashtag1","hashtag2"]},{"1391545842":["hashtag1","hashtag2"]},{"1391545917":["hashtag1","hashtag2"]},{"1391545803":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391545922, 1391545888, 1391545761, 1391545842, 1391545917, 1391545803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58073353767395 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:05:21.867685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_37_3720.jpg', '/home/pi/Desktop/images/29102025/23/40/image_29102025_23_40_03_2737.jpg', '/home/pi/Desktop/images/29102025/23/40/image_29102025_23_40_10_3656.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_18_1688.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_23_1648.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_25_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/39/image_29102025_23_39_37_3720.jpg
/home/pi/Desktop/images/29102025/23/40/image_29102025_23_40_03_2737.jpg
/home/pi/Desktop/images/29102025/23/40/image_29102025_23_40_10_3656.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_18_1688.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_23_1648.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_25_1556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391546257","1391546422","1391546379","1391546340","1391546205","1391546300"],"photo_ids_order":["1391546205","1391546257","1391546300","1391546340","1391546379","1391546422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14c28afe98eaa92389e7a1177da861d4.jpg","text":"TemporaryFile(/tmp/multipartBody8731132749303720311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_40_03_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1818d4a598182a293658daae1676ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8245515088773431275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_41_25_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a0e738606f947670ad006dd5b88f1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5590979569068951272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_41_23_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5218681b05c2d50e1da65f64c1328fec.jpg","text":"TemporaryFile(/tmp/multipartBody6634248304242419608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_41_18_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/333ae8768e40f22aa18741cbad0bafc8.jpg","text":"TemporaryFile(/tmp/multipartBody6831087924946886835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_39_37_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24cbf2580219b8f6a4962a09956601a8.jpg","text":"TemporaryFile(/tmp/multipartBody2345737388974958302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980784435,"filename":"image_29102025_23_40_10_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391546300","file1":"1391546257","file0":"1391546205","file4":"1391546379","file5":"1391546422","file3":"1391546340"},"map_files_photo_id_array":[{"photo_id":"1391546422","filename":"file5"},{"photo_id":"1391546300","filename":"file2"},{"photo_id":"1391546379","filename":"file4"},{"photo_id":"1391546257","filename":"file1"},{"photo_id":"1391546205","filename":"file0"},{"photo_id":"1391546340","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391546257":["hashtag1","hashtag2"]},{"1391546422":["hashtag1","hashtag2"]},{"1391546379":["hashtag1","hashtag2"]},{"1391546340":["hashtag1","hashtag2"]},{"1391546205":["hashtag1","hashtag2"]},{"1391546300":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391546257, 1391546422, 1391546379, 1391546340, 1391546205, 1391546300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80551290512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:06:02.626920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_26_1634.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_28_1615.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_31_1571.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_33_1649.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_35_1727.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_36_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_26_1634.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_28_1615.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_31_1571.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_33_1649.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_35_1727.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_36_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391546590","1391546491","1391546464","1391546572","1391546538","1391546609"],"photo_ids_order":["1391546464","1391546491","1391546538","1391546572","1391546590","1391546609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/221c66f558bd83feccd770bfd24ddfdc.jpg","text":"TemporaryFile(/tmp/multipartBody1733116329670657423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_35_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73d3789ca5e1eed476b8e41e6c712215.jpg","text":"TemporaryFile(/tmp/multipartBody6538170986953318605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_28_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1dd49a1742a9b1110462fabf9824cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1215123185944166154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_26_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee8bbc744e4942c02f706560c96bacdc.jpg","text":"TemporaryFile(/tmp/multipartBody306479594539254028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_33_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee874e8193c38fc77b737791f6ca0fe1.jpg","text":"TemporaryFile(/tmp/multipartBody539050403995876639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_31_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3399f7c3882b07c1484d9deeaf5e4292.jpg","text":"TemporaryFile(/tmp/multipartBody3269373483617915956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980829590,"filename":"image_29102025_23_41_36_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391546538","file1":"1391546491","file0":"1391546464","file4":"1391546590","file5":"1391546609","file3":"1391546572"},"map_files_photo_id_array":[{"photo_id":"1391546609","filename":"file5"},{"photo_id":"1391546538","filename":"file2"},{"photo_id":"1391546590","filename":"file4"},{"photo_id":"1391546491","filename":"file1"},{"photo_id":"1391546464","filename":"file0"},{"photo_id":"1391546572","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391546590":["hashtag1","hashtag2"]},{"1391546491":["hashtag1","hashtag2"]},{"1391546464":["hashtag1","hashtag2"]},{"1391546572":["hashtag1","hashtag2"]},{"1391546538":["hashtag1","hashtag2"]},{"1391546609":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391546590, 1391546491, 1391546464, 1391546572, 1391546538, 1391546609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.459388256073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:07:03.069815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_41_1618.jpg', '/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_56_1633.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_02_1670.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_03_1662.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_06_1629.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_08_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_41_1618.jpg
/home/pi/Desktop/images/29102025/23/41/image_29102025_23_41_56_1633.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_02_1670.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_03_1662.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_06_1629.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_08_1742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391546935","1391546722","1391546892","1391546805","1391546765","1391546846"],"photo_ids_order":["1391546722","1391546765","1391546805","1391546846","1391546892","1391546935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13e73731731d7535cadf12383754a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody6025638004978923729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_42_08_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d53ac0006bf3c7760c0bab105ddb23d5.jpg","text":"TemporaryFile(/tmp/multipartBody8887615464798496921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_41_41_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c021fc6abdecbfa6d5b28947a73e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody6972531201026954375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_42_06_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d1370b396f8f53b73821b9a49a171c2.jpg","text":"TemporaryFile(/tmp/multipartBody3366017138581839662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_42_02_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e71cc6555f642fc1fcf190b071338ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8412549596547599633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_41_56_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae207129d080163361094f19ccb7f8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3317996949118185437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980885419,"filename":"image_29102025_23_42_03_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391546805","file1":"1391546765","file0":"1391546722","file4":"1391546892","file5":"1391546935","file3":"1391546846"},"map_files_photo_id_array":[{"photo_id":"1391546935","filename":"file5"},{"photo_id":"1391546805","filename":"file2"},{"photo_id":"1391546892","filename":"file4"},{"photo_id":"1391546765","filename":"file1"},{"photo_id":"1391546722","filename":"file0"},{"photo_id":"1391546846","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391546935":["hashtag1","hashtag2"]},{"1391546722":["hashtag1","hashtag2"]},{"1391546892":["hashtag1","hashtag2"]},{"1391546805":["hashtag1","hashtag2"]},{"1391546765":["hashtag1","hashtag2"]},{"1391546846":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391546935, 1391546722, 1391546892, 1391546805, 1391546765, 1391546846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20439529418945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:08:03.167812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_10_1676.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_13_1609.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_16_1565.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_20_1660.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_23_1549.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_29_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_10_1676.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_13_1609.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_16_1565.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_20_1660.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_23_1549.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_29_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391547322","1391547441","1391547402","1391547362","1391547280","1391547481"],"photo_ids_order":["1391547280","1391547322","1391547362","1391547402","1391547441","1391547481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc970471804c97b1b3210609434bc8e7.jpg","text":"TemporaryFile(/tmp/multipartBody8641316414852264030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_13_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d0221cbd442bf01d34ce769d7baaa36.jpg","text":"TemporaryFile(/tmp/multipartBody3099381494455765881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_23_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3911608a3391540cafaf80d3916a8753.jpg","text":"TemporaryFile(/tmp/multipartBody4502847562621044128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_20_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c4cbf69f80cbaf2ce9e9dd74e58b42a.jpg","text":"TemporaryFile(/tmp/multipartBody2139947034869071339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_16_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e336d17be9741671384fca12da66a57a.jpg","text":"TemporaryFile(/tmp/multipartBody1412599289939776265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_10_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0639eeec570d05069efc02cef2990b8.jpg","text":"TemporaryFile(/tmp/multipartBody2857652793895284899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761980947117,"filename":"image_29102025_23_42_29_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391547362","file1":"1391547322","file0":"1391547280","file4":"1391547441","file5":"1391547481","file3":"1391547402"},"map_files_photo_id_array":[{"photo_id":"1391547481","filename":"file5"},{"photo_id":"1391547362","filename":"file2"},{"photo_id":"1391547441","filename":"file4"},{"photo_id":"1391547322","filename":"file1"},{"photo_id":"1391547280","filename":"file0"},{"photo_id":"1391547402","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391547322":["hashtag1","hashtag2"]},{"1391547441":["hashtag1","hashtag2"]},{"1391547402":["hashtag1","hashtag2"]},{"1391547362":["hashtag1","hashtag2"]},{"1391547280":["hashtag1","hashtag2"]},{"1391547481":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391547322, 1391547441, 1391547402, 1391547362, 1391547280, 1391547481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15738606452942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:09:04.858232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_31_1592.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_36_1570.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_48_2701.jpg', '/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_51_2842.jpg', '/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_07_3564.jpg', '/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_24_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_31_1592.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_36_1570.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_48_2701.jpg
/home/pi/Desktop/images/29102025/23/42/image_29102025_23_42_51_2842.jpg
/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_07_3564.jpg
/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_24_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391547873","1391547912","1391547921","1391547836","1391547917","1391547925"],"photo_ids_order":["1391547836","1391547873","1391547912","1391547917","1391547921","1391547925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3932338b7405eb9bcaaf1df366e7b659.jpg","text":"TemporaryFile(/tmp/multipartBody2665153132663622982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_42_36_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26b2ff1f410fe4c8d3f9785197d8e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody6083008097844656938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_42_48_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/892a6d69e2be0cc56d38cd52f3773141.jpg","text":"TemporaryFile(/tmp/multipartBody7598533108026250540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_43_07_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74bdbcc3dd3d188338b7ba4ffe5cf425.jpg","text":"TemporaryFile(/tmp/multipartBody1637279043181965320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_42_31_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91cfd310de8f90eb9ed1e3c81c04200f.jpg","text":"TemporaryFile(/tmp/multipartBody1167653550589094835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_42_51_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3883d426ac3a398574675285fb24823f.jpg","text":"TemporaryFile(/tmp/multipartBody377239860121285710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981007234,"filename":"image_29102025_23_43_24_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391547912","file1":"1391547873","file0":"1391547836","file4":"1391547921","file5":"1391547925","file3":"1391547917"},"map_files_photo_id_array":[{"photo_id":"1391547925","filename":"file5"},{"photo_id":"1391547912","filename":"file2"},{"photo_id":"1391547921","filename":"file4"},{"photo_id":"1391547873","filename":"file1"},{"photo_id":"1391547836","filename":"file0"},{"photo_id":"1391547917","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391547873":["hashtag1","hashtag2"]},{"1391547912":["hashtag1","hashtag2"]},{"1391547921":["hashtag1","hashtag2"]},{"1391547836":["hashtag1","hashtag2"]},{"1391547917":["hashtag1","hashtag2"]},{"1391547925":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391547873, 1391547912, 1391547921, 1391547836, 1391547917, 1391547925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.458714723587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:10:02.603761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_33_2780.jpg', '/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_36_2817.jpg', '/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_40_3643.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_01_2682.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_03_1647.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_09_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_33_2780.jpg
/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_36_2817.jpg
/home/pi/Desktop/images/29102025/23/43/image_29102025_23_43_40_3643.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_01_2682.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_03_1647.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_09_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391547999","1391547972","1391547996","1391547983","1391548001","1391547955"],"photo_ids_order":["1391547955","1391547972","1391547983","1391547996","1391547999","1391548001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eac5cfe8d6b5d76e83263b0b41b0d094.jpg","text":"TemporaryFile(/tmp/multipartBody2714216208045896497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_44_03_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e156aca29bd659704a22edb1ed53c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9221689257259264700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_43_36_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62c318e2aed750529067574b7e9d863b.jpg","text":"TemporaryFile(/tmp/multipartBody5184679997925665389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_44_01_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d42b6d1ee9cc115ed40bdfa71cbe6f55.jpg","text":"TemporaryFile(/tmp/multipartBody1401675634001267516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_43_40_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8e82c2c25366a159ec2836a9484f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody779087620705654064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_44_09_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5c2646fd52f5b60a01fc5f0b9cbc469.jpg","text":"TemporaryFile(/tmp/multipartBody4996993802932358786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981066035,"filename":"image_29102025_23_43_33_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391547983","file1":"1391547972","file0":"1391547955","file4":"1391547999","file5":"1391548001","file3":"1391547996"},"map_files_photo_id_array":[{"photo_id":"1391548001","filename":"file5"},{"photo_id":"1391547983","filename":"file2"},{"photo_id":"1391547999","filename":"file4"},{"photo_id":"1391547972","filename":"file1"},{"photo_id":"1391547955","filename":"file0"},{"photo_id":"1391547996","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391547999":["hashtag1","hashtag2"]},{"1391547972":["hashtag1","hashtag2"]},{"1391547996":["hashtag1","hashtag2"]},{"1391547983":["hashtag1","hashtag2"]},{"1391548001":["hashtag1","hashtag2"]},{"1391547955":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391547999, 1391547972, 1391547996, 1391547983, 1391548001, 1391547955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76796531677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:11:02.881589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_18_2597.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_21_2671.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_25_3818.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_30_2574.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_36_2631.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_45_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_18_2597.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_21_2671.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_25_3818.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_30_2574.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_36_2631.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_45_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391548158","1391548073","1391548027","1391548207","1391548114","1391548021"],"photo_ids_order":["1391548021","1391548027","1391548073","1391548114","1391548158","1391548207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32ec367ddf0dafcd27c7031325275dae.jpg","text":"TemporaryFile(/tmp/multipartBody4823351650571319955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_36_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/796fb0a3ddd85c3361f54ca76624bb24.jpg","text":"TemporaryFile(/tmp/multipartBody988346132005452559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_25_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bccdb304cf9509f2d154b1f89020484.jpg","text":"TemporaryFile(/tmp/multipartBody8263431444788953308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_21_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b689f322f9531482198bb81236a2179f.jpg","text":"TemporaryFile(/tmp/multipartBody9020477812735012870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_45_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/116ebdf6cd41af5ebefe806a7c8a7242.jpg","text":"TemporaryFile(/tmp/multipartBody7995585731028606500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_30_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abba361bddeb038af2d5054a37234972.jpg","text":"TemporaryFile(/tmp/multipartBody5741378949320834400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981129499,"filename":"image_29102025_23_44_18_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391548073","file1":"1391548027","file0":"1391548021","file4":"1391548158","file5":"1391548207","file3":"1391548114"},"map_files_photo_id_array":[{"photo_id":"1391548207","filename":"file5"},{"photo_id":"1391548073","filename":"file2"},{"photo_id":"1391548158","filename":"file4"},{"photo_id":"1391548027","filename":"file1"},{"photo_id":"1391548021","filename":"file0"},{"photo_id":"1391548114","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391548158":["hashtag1","hashtag2"]},{"1391548073":["hashtag1","hashtag2"]},{"1391548027":["hashtag1","hashtag2"]},{"1391548207":["hashtag1","hashtag2"]},{"1391548114":["hashtag1","hashtag2"]},{"1391548021":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391548158, 1391548073, 1391548027, 1391548207, 1391548114, 1391548021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.053422927856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:12:02.861174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_49_3598.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_51_2694.jpg', '/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_57_2741.jpg', '/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_09_2739.jpg', '/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_15_2713.jpg', '/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_18_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_49_3598.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_51_2694.jpg
/home/pi/Desktop/images/29102025/23/44/image_29102025_23_44_57_2741.jpg
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_09_2739.jpg
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_15_2713.jpg
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_18_3746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391548493","1391548655","1391548628","1391548648","1391548534","1391548596"],"photo_ids_order":["1391548493","1391548534","1391548596","1391548628","1391548648","1391548655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f3adc744ffcc38678bf2f01b353e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2499705412531267053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_44_49_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7eb35c821ebf20b606fac9d109b62e7.jpg","text":"TemporaryFile(/tmp/multipartBody4586046664632673538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_45_18_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f05cd8eac5990f047306609d4581d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5381419492701051660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_45_09_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa9b9dd1e224f9a465b514b85e2dd6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2633606292783821232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_45_15_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be41886ce9b70aa66118c4319e9e56f2.jpg","text":"TemporaryFile(/tmp/multipartBody2768172067233579921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_44_51_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb37216509c0be918dc3a8ae426a39c9.jpg","text":"TemporaryFile(/tmp/multipartBody1510668298937061931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981184995,"filename":"image_29102025_23_44_57_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391548596","file1":"1391548534","file0":"1391548493","file4":"1391548648","file5":"1391548655","file3":"1391548628"},"map_files_photo_id_array":[{"photo_id":"1391548655","filename":"file5"},{"photo_id":"1391548596","filename":"file2"},{"photo_id":"1391548648","filename":"file4"},{"photo_id":"1391548534","filename":"file1"},{"photo_id":"1391548493","filename":"file0"},{"photo_id":"1391548628","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391548493":["hashtag1","hashtag2"]},{"1391548655":["hashtag1","hashtag2"]},{"1391548628":["hashtag1","hashtag2"]},{"1391548648":["hashtag1","hashtag2"]},{"1391548534":["hashtag1","hashtag2"]},{"1391548596":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391548493, 1391548655, 1391548628, 1391548648, 1391548534, 1391548596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64782094955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:12:42.503051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_27_3662.jpg', '/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_39_2772.jpg', '/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_58_1790.jpg', '/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_06_3694.jpg', '/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_18_2668.jpg', '/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_33_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_27_3662.jpg
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_39_2772.jpg
/home/pi/Desktop/images/29102025/23/45/image_29102025_23_45_58_1790.jpg
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_06_3694.jpg
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_18_2668.jpg
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_33_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391548731","1391548778","1391548772","1391548826","1391548726","1391548785"],"photo_ids_order":["1391548726","1391548731","1391548772","1391548778","1391548785","1391548826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b3faff22401aaff910258baee1a1070.jpg","text":"TemporaryFile(/tmp/multipartBody9114306207815832041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_45_39_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b807d785c4e4638cfc656bb5ec4d12a.jpg","text":"TemporaryFile(/tmp/multipartBody6595083511779402187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_46_06_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1393f76e9ef0f4730845348dd66c3af6.jpg","text":"TemporaryFile(/tmp/multipartBody6868683195304382482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_45_58_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b955b19aea51a3c929f69fab7dbdd5d.jpg","text":"TemporaryFile(/tmp/multipartBody366396301552206224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_46_33_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/957bab8bf6e58b425d9e2d38a5525a77.jpg","text":"TemporaryFile(/tmp/multipartBody7193093452523124432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_45_27_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe510624abaf193bfe2c240d17ece4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1483652014777314643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981223628,"filename":"image_29102025_23_46_18_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391548772","file1":"1391548731","file0":"1391548726","file4":"1391548785","file5":"1391548826","file3":"1391548778"},"map_files_photo_id_array":[{"photo_id":"1391548826","filename":"file5"},{"photo_id":"1391548772","filename":"file2"},{"photo_id":"1391548785","filename":"file4"},{"photo_id":"1391548731","filename":"file1"},{"photo_id":"1391548726","filename":"file0"},{"photo_id":"1391548778","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391548731":["hashtag1","hashtag2"]},{"1391548778":["hashtag1","hashtag2"]},{"1391548772":["hashtag1","hashtag2"]},{"1391548826":["hashtag1","hashtag2"]},{"1391548726":["hashtag1","hashtag2"]},{"1391548785":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391548731, 1391548778, 1391548772, 1391548826, 1391548726, 1391548785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52172613143921 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:13:42.778319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_36_2711.jpg', '/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_39_2753.jpg', '/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_57_3972.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_06_2952.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_15_2685.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_27_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_36_2711.jpg
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_39_2753.jpg
/home/pi/Desktop/images/29102025/23/46/image_29102025_23_46_57_3972.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_06_2952.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_15_2685.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_27_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391548931","1391548925","1391548928","1391548922","1391548918","1391548927"],"photo_ids_order":["1391548918","1391548922","1391548925","1391548927","1391548928","1391548931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb637d9bcc98208e39a291028c1add8b.jpg","text":"TemporaryFile(/tmp/multipartBody7235163134328420673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_47_27_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b990bea954badd9b3d58beb7e55528e.jpg","text":"TemporaryFile(/tmp/multipartBody7176194645180452311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_46_57_3972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6366899e0b9b432f1e379f20b521fb06.jpg","text":"TemporaryFile(/tmp/multipartBody6758275735840845687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_47_15_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26ed2d86e3a54568c67e0c41c2c0dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4118528937326212495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_46_39_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa400b07ee6fae49c2e75b80f91d9b73.jpg","text":"TemporaryFile(/tmp/multipartBody4794392432743941773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_46_36_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b694d6862176b48f183803516ba0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody6116491219862648015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981283903,"filename":"image_29102025_23_47_06_2952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391548925","file1":"1391548922","file0":"1391548918","file4":"1391548928","file5":"1391548931","file3":"1391548927"},"map_files_photo_id_array":[{"photo_id":"1391548931","filename":"file5"},{"photo_id":"1391548925","filename":"file2"},{"photo_id":"1391548928","filename":"file4"},{"photo_id":"1391548922","filename":"file1"},{"photo_id":"1391548918","filename":"file0"},{"photo_id":"1391548927","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391548931":["hashtag1","hashtag2"]},{"1391548925":["hashtag1","hashtag2"]},{"1391548928":["hashtag1","hashtag2"]},{"1391548922":["hashtag1","hashtag2"]},{"1391548918":["hashtag1","hashtag2"]},{"1391548927":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391548931, 1391548925, 1391548928, 1391548922, 1391548918, 1391548927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77782607078552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:14:21.826115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_30_2602.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_45_2751.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_48_3587.jpg', '/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_51_2793.jpg', '/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_21_2728.jpg', '/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_23_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_30_2602.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_45_2751.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_48_3587.jpg
/home/pi/Desktop/images/29102025/23/47/image_29102025_23_47_51_2793.jpg
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_21_2728.jpg
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_23_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391548950","1391548967","1391548975","1391548957","1391548995","1391548971"],"photo_ids_order":["1391548950","1391548957","1391548967","1391548971","1391548975","1391548995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a188decb867ce34827f80eb8afeb295.jpg","text":"TemporaryFile(/tmp/multipartBody3240504304612036889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_47_30_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f575a2041c7a43c1794a3511f75c4bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8129581992339263743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_47_48_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9eedb98b571c11f5e8e927b9e16af8d1.jpg","text":"TemporaryFile(/tmp/multipartBody2345549741196899175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_48_21_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed657204f42aeff61c37823e101aa92d.jpg","text":"TemporaryFile(/tmp/multipartBody7869318372199300677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_47_45_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51c61d821a1afb298f1a35d3b7bd7831.jpg","text":"TemporaryFile(/tmp/multipartBody2194547497788624416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_48_23_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c3904fd7c5e5269d02878a0b92d1baf.jpg","text":"TemporaryFile(/tmp/multipartBody2246720047476244391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981324559,"filename":"image_29102025_23_47_51_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391548967","file1":"1391548957","file0":"1391548950","file4":"1391548975","file5":"1391548995","file3":"1391548971"},"map_files_photo_id_array":[{"photo_id":"1391548995","filename":"file5"},{"photo_id":"1391548967","filename":"file2"},{"photo_id":"1391548975","filename":"file4"},{"photo_id":"1391548957","filename":"file1"},{"photo_id":"1391548950","filename":"file0"},{"photo_id":"1391548971","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391548950":["hashtag1","hashtag2"]},{"1391548967":["hashtag1","hashtag2"]},{"1391548975":["hashtag1","hashtag2"]},{"1391548957":["hashtag1","hashtag2"]},{"1391548995":["hashtag1","hashtag2"]},{"1391548971":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391548950, 1391548967, 1391548975, 1391548957, 1391548995, 1391548971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91972088813782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:15:02.787472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_41_2582.jpg', '/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_45_3667.jpg', '/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_50_2573.jpg', '/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_54_3592.jpg', '/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_06_3727.jpg', '/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_15_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_41_2582.jpg
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_45_3667.jpg
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_50_2573.jpg
/home/pi/Desktop/images/29102025/23/48/image_29102025_23_48_54_3592.jpg
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_06_3727.jpg
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_15_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549006","1391549009","1391549017","1391549011","1391549014","1391549008"],"photo_ids_order":["1391549006","1391549008","1391549009","1391549011","1391549014","1391549017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd74848b861dd7a48fab5071217c7e01.jpg","text":"TemporaryFile(/tmp/multipartBody2471280721049819368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_48_41_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07fd1a122a2a7f415ed412e113e027df.jpg","text":"TemporaryFile(/tmp/multipartBody2375682896248754509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_48_50_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65db5615ebf7ed58599571221ecd46c0.jpg","text":"TemporaryFile(/tmp/multipartBody1043857283556134734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_49_15_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efa7bc8e08e5c20f26b3ef4764e9e216.jpg","text":"TemporaryFile(/tmp/multipartBody6053513180746352184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_48_54_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24026bb3bfa4b97d207b9f7a0cb29603.jpg","text":"TemporaryFile(/tmp/multipartBody4072738782582282922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_49_06_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7c03a435fe1cc29205b9ed65bcb2560.jpg","text":"TemporaryFile(/tmp/multipartBody8424689690865048917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981365078,"filename":"image_29102025_23_48_45_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549009","file1":"1391549008","file0":"1391549006","file4":"1391549014","file5":"1391549017","file3":"1391549011"},"map_files_photo_id_array":[{"photo_id":"1391549017","filename":"file5"},{"photo_id":"1391549009","filename":"file2"},{"photo_id":"1391549014","filename":"file4"},{"photo_id":"1391549008","filename":"file1"},{"photo_id":"1391549006","filename":"file0"},{"photo_id":"1391549011","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549006":["hashtag1","hashtag2"]},{"1391549009":["hashtag1","hashtag2"]},{"1391549017":["hashtag1","hashtag2"]},{"1391549011":["hashtag1","hashtag2"]},{"1391549014":["hashtag1","hashtag2"]},{"1391549008":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549006, 1391549009, 1391549017, 1391549011, 1391549014, 1391549008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.243783712387085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:16:02.919731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_20_2668.jpg', '/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_24_3322.jpg', '/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_26_2589.jpg', '/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_30_3590.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_06_2775.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_08_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_20_2668.jpg
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_24_3322.jpg
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_26_2589.jpg
/home/pi/Desktop/images/29102025/23/49/image_29102025_23_49_30_3590.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_06_2775.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_08_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549043","1391549054","1391549056","1391549041","1391549050","1391549046"],"photo_ids_order":["1391549041","1391549043","1391549046","1391549050","1391549054","1391549056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/653936aebde7a0f178a28e90277ff25e.jpg","text":"TemporaryFile(/tmp/multipartBody6239919642306654300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_49_24_3322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27284c690a6533c3a2df6ea9aab285d8.jpg","text":"TemporaryFile(/tmp/multipartBody5936667633196566996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_50_06_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0654ee1b93312537cdde608453adc25f.jpg","text":"TemporaryFile(/tmp/multipartBody2312853612858880626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_50_08_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/121b7c212bb40dd876e4ba7ca6c19594.jpg","text":"TemporaryFile(/tmp/multipartBody6109677214251704353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_49_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13971880068d117ca0061b1bcacd1c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4753642439214343398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_49_30_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e73c3ce7d6a054ea2a715979945d235a.jpg","text":"TemporaryFile(/tmp/multipartBody6431691043275228894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981425067,"filename":"image_29102025_23_49_26_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549046","file1":"1391549043","file0":"1391549041","file4":"1391549054","file5":"1391549056","file3":"1391549050"},"map_files_photo_id_array":[{"photo_id":"1391549056","filename":"file5"},{"photo_id":"1391549046","filename":"file2"},{"photo_id":"1391549054","filename":"file4"},{"photo_id":"1391549043","filename":"file1"},{"photo_id":"1391549041","filename":"file0"},{"photo_id":"1391549050","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549043":["hashtag1","hashtag2"]},{"1391549054":["hashtag1","hashtag2"]},{"1391549056":["hashtag1","hashtag2"]},{"1391549041":["hashtag1","hashtag2"]},{"1391549050":["hashtag1","hashtag2"]},{"1391549046":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549043, 1391549054, 1391549056, 1391549041, 1391549050, 1391549046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94527244567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:16:42.609824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_26_2856.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_44_2794.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_47_2606.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_51_3710.jpg', '/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_53_2714.jpg', '/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_02_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_26_2856.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_44_2794.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_47_2606.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_51_3710.jpg
/home/pi/Desktop/images/29102025/23/50/image_29102025_23_50_53_2714.jpg
/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_02_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549081","1391549075","1391549066","1391549086","1391549071","1391549079"],"photo_ids_order":["1391549066","1391549071","1391549075","1391549079","1391549081","1391549086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bd6cd40618605d91154d7d9291029d8.jpg","text":"TemporaryFile(/tmp/multipartBody3047393500414492999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_50_53_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c0ca81ad36e3f332b8756c521148725.jpg","text":"TemporaryFile(/tmp/multipartBody6800172744822987215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_50_47_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bae964abb0b155f2d269339cb64c653.jpg","text":"TemporaryFile(/tmp/multipartBody7601003958531349979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_50_26_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae91384c23f80fb3e2ca420e1ee087c5.jpg","text":"TemporaryFile(/tmp/multipartBody7117176953669745209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_51_02_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/222e5c37acfd52d0a9b84a320d1ff8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7943346135927637771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_50_44_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e658f8bb212adcfcf5104d36fcc77ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1819668913262124962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981463787,"filename":"image_29102025_23_50_51_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549075","file1":"1391549071","file0":"1391549066","file4":"1391549081","file5":"1391549086","file3":"1391549079"},"map_files_photo_id_array":[{"photo_id":"1391549086","filename":"file5"},{"photo_id":"1391549075","filename":"file2"},{"photo_id":"1391549081","filename":"file4"},{"photo_id":"1391549071","filename":"file1"},{"photo_id":"1391549066","filename":"file0"},{"photo_id":"1391549079","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549081":["hashtag1","hashtag2"]},{"1391549075":["hashtag1","hashtag2"]},{"1391549066":["hashtag1","hashtag2"]},{"1391549086":["hashtag1","hashtag2"]},{"1391549071":["hashtag1","hashtag2"]},{"1391549079":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549081, 1391549075, 1391549066, 1391549086, 1391549071, 1391549079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70784854888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:17:22.732744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_05_2662.jpg', '/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_21_2731.jpg', '/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_14_2683.jpg', '/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_20_2744.jpg', '/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_24_3675.jpg', '/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_26_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_05_2662.jpg
/home/pi/Desktop/images/29102025/23/51/image_29102025_23_51_21_2731.jpg
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_14_2683.jpg
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_20_2744.jpg
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_24_3675.jpg
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_26_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549100","1391549096","1391549098","1391549117","1391549110","1391549104"],"photo_ids_order":["1391549096","1391549098","1391549100","1391549104","1391549110","1391549117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5513cdd85e18378d6bcf0c07c2ad0eec.jpg","text":"TemporaryFile(/tmp/multipartBody8164027994509493276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_52_14_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f00c18a254e581ca6736da5e629fa01.jpg","text":"TemporaryFile(/tmp/multipartBody6036429220454498882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_51_05_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2515dd2807a8d2395a7dc9bcb6b00b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7622525381670901649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_51_21_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5214424165e73313d75236f577e9254e.jpg","text":"TemporaryFile(/tmp/multipartBody8314515681474400365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_52_26_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d521a322e25524349cb9d5d084cb1584.jpg","text":"TemporaryFile(/tmp/multipartBody5142974252747350072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_52_24_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a14dbe05306b57b8b4e789dafc501207.jpg","text":"TemporaryFile(/tmp/multipartBody548718918690533529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981505478,"filename":"image_29102025_23_52_20_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549100","file1":"1391549098","file0":"1391549096","file4":"1391549110","file5":"1391549117","file3":"1391549104"},"map_files_photo_id_array":[{"photo_id":"1391549117","filename":"file5"},{"photo_id":"1391549100","filename":"file2"},{"photo_id":"1391549110","filename":"file4"},{"photo_id":"1391549098","filename":"file1"},{"photo_id":"1391549096","filename":"file0"},{"photo_id":"1391549104","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549100":["hashtag1","hashtag2"]},{"1391549096":["hashtag1","hashtag2"]},{"1391549098":["hashtag1","hashtag2"]},{"1391549117":["hashtag1","hashtag2"]},{"1391549110":["hashtag1","hashtag2"]},{"1391549104":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549100, 1391549096, 1391549098, 1391549117, 1391549110, 1391549104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5041401386261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:18:21.861552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_29_2707.jpg', '/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_35_2534.jpg', '/home/pi/Desktop/images/29102025/23/53/image_29102025_23_53_59_2662.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_02_2672.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_05_3678.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_11_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_29_2707.jpg
/home/pi/Desktop/images/29102025/23/52/image_29102025_23_52_35_2534.jpg
/home/pi/Desktop/images/29102025/23/53/image_29102025_23_53_59_2662.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_02_2672.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_05_3678.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_11_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549136","1391549141","1391549132","1391549152","1391549155","1391549146"],"photo_ids_order":["1391549132","1391549136","1391549141","1391549146","1391549152","1391549155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63e8a1bf0fcf42ebeb1bb35bd27943a2.jpg","text":"TemporaryFile(/tmp/multipartBody5380867607604602450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_52_35_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62ddd51829fe1fdfc35935e2d5da1579.jpg","text":"TemporaryFile(/tmp/multipartBody8832126607690367612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_53_59_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e956607fb5e397ff58855d936d51209.jpg","text":"TemporaryFile(/tmp/multipartBody310205829473024801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_52_29_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a616bc1d51e6d1af053823eb6aa55f7.jpg","text":"TemporaryFile(/tmp/multipartBody2516756739898536749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_54_05_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70e52396b7575d587b354400642d9879.jpg","text":"TemporaryFile(/tmp/multipartBody7977409879127236668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_54_11_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68a75120cf8e0f90e507a22ebf234282.jpg","text":"TemporaryFile(/tmp/multipartBody4452621238814387876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981564615,"filename":"image_29102025_23_54_02_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549141","file1":"1391549136","file0":"1391549132","file4":"1391549152","file5":"1391549155","file3":"1391549146"},"map_files_photo_id_array":[{"photo_id":"1391549155","filename":"file5"},{"photo_id":"1391549141","filename":"file2"},{"photo_id":"1391549152","filename":"file4"},{"photo_id":"1391549136","filename":"file1"},{"photo_id":"1391549132","filename":"file0"},{"photo_id":"1391549146","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549136":["hashtag1","hashtag2"]},{"1391549141":["hashtag1","hashtag2"]},{"1391549132":["hashtag1","hashtag2"]},{"1391549152":["hashtag1","hashtag2"]},{"1391549155":["hashtag1","hashtag2"]},{"1391549146":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549136, 1391549141, 1391549132, 1391549152, 1391549155, 1391549146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57495427131653 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:19:22.299912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_26_2577.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_38_2757.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_50_2675.jpg', '/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_53_3666.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_20_3658.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_26_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_26_2577.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_38_2757.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_50_2675.jpg
/home/pi/Desktop/images/29102025/23/54/image_29102025_23_54_53_3666.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_20_3658.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_26_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549223","1391549237","1391549231","1391549216","1391549206","1391549226"],"photo_ids_order":["1391549206","1391549216","1391549223","1391549226","1391549231","1391549237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24345809466ceb7db66c77fe217934c4.jpg","text":"TemporaryFile(/tmp/multipartBody6115691413877805751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_54_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90f636ac7d502985da4e1b12382cc093.jpg","text":"TemporaryFile(/tmp/multipartBody9219280039405899464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_55_26_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fb1eb8587050fadf27e94f5d1b50097.jpg","text":"TemporaryFile(/tmp/multipartBody5373249156345438610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_55_20_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79e80bcc5d46c6cd0cbffa5bfecd7b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4810223738283958640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_54_38_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6702a39932eaf40e746b66e722dfd410.jpg","text":"TemporaryFile(/tmp/multipartBody8868019784095672409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_54_26_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d2d77b8d24eda1051613eba2d13840a.jpg","text":"TemporaryFile(/tmp/multipartBody2638905918339203955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981625038,"filename":"image_29102025_23_54_53_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549223","file1":"1391549216","file0":"1391549206","file4":"1391549231","file5":"1391549237","file3":"1391549226"},"map_files_photo_id_array":[{"photo_id":"1391549237","filename":"file5"},{"photo_id":"1391549223","filename":"file2"},{"photo_id":"1391549231","filename":"file4"},{"photo_id":"1391549216","filename":"file1"},{"photo_id":"1391549206","filename":"file0"},{"photo_id":"1391549226","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549223":["hashtag1","hashtag2"]},{"1391549237":["hashtag1","hashtag2"]},{"1391549231":["hashtag1","hashtag2"]},{"1391549216":["hashtag1","hashtag2"]},{"1391549206":["hashtag1","hashtag2"]},{"1391549226":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549223, 1391549237, 1391549231, 1391549216, 1391549206, 1391549226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35145306587219 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:20:22.259066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_29_3626.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_38_3591.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_47_2608.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_56_2592.jpg', '/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_59_2624.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_02_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_29_3626.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_38_3591.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_47_2608.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_56_2592.jpg
/home/pi/Desktop/images/29102025/23/55/image_29102025_23_55_59_2624.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_02_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549273","1391549279","1391549264","1391549278","1391549275","1391549269"],"photo_ids_order":["1391549264","1391549269","1391549273","1391549275","1391549278","1391549279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d99deffb77f85ce741b81210141cb35.jpg","text":"TemporaryFile(/tmp/multipartBody5659546275933385466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_55_47_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f160440cea91cf0b50030eb37662384.jpg","text":"TemporaryFile(/tmp/multipartBody3373885868978094899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_56_02_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a068ea7c58a14e486ac189a8b431241.jpg","text":"TemporaryFile(/tmp/multipartBody6823831218876886227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_55_29_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b42a90469cf2e9587287df73bd90d071.jpg","text":"TemporaryFile(/tmp/multipartBody3851731769884099252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_55_59_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb7895002b838a9fd2954b48f31ff791.jpg","text":"TemporaryFile(/tmp/multipartBody7506983690857640426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_55_56_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c04390b0720f8de1934c3c55b07dd29e.jpg","text":"TemporaryFile(/tmp/multipartBody7919222783068282394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981700570,"filename":"image_29102025_23_55_38_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549273","file1":"1391549269","file0":"1391549264","file4":"1391549278","file5":"1391549279","file3":"1391549275"},"map_files_photo_id_array":[{"photo_id":"1391549279","filename":"file5"},{"photo_id":"1391549273","filename":"file2"},{"photo_id":"1391549278","filename":"file4"},{"photo_id":"1391549269","filename":"file1"},{"photo_id":"1391549264","filename":"file0"},{"photo_id":"1391549275","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549273":["hashtag1","hashtag2"]},{"1391549279":["hashtag1","hashtag2"]},{"1391549264":["hashtag1","hashtag2"]},{"1391549278":["hashtag1","hashtag2"]},{"1391549275":["hashtag1","hashtag2"]},{"1391549269":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549273, 1391549279, 1391549264, 1391549278, 1391549275, 1391549269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.052123069763184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:21:22.507412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_20_2725.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_23_3668.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_32_3602.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_35_2613.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_41_3622.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_44_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_20_2725.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_23_3668.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_32_3602.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_35_2613.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_41_3622.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_44_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549313","1391549307","1391549316","1391549312","1391549323","1391549319"],"photo_ids_order":["1391549307","1391549312","1391549313","1391549316","1391549319","1391549323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e81f589ddc3d6e689e5e76a1a384208a.jpg","text":"TemporaryFile(/tmp/multipartBody2011107409084865856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_32_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ce241923107056224e91d05f3faae91.jpg","text":"TemporaryFile(/tmp/multipartBody4841854320546338687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_20_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f556ed0ec617b05f896a53ea3e122d5.jpg","text":"TemporaryFile(/tmp/multipartBody722554212478838134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_35_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/620be9ae70be241aa7c07fced4dc0797.jpg","text":"TemporaryFile(/tmp/multipartBody6773615333990398642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_23_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72ad48cdb0e10307e98be0ced588d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody4122059110135590000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_44_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e011a2504e44b48a1ef6c96d46ea918a.jpg","text":"TemporaryFile(/tmp/multipartBody5988210805967162401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981745275,"filename":"image_29102025_23_56_41_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549313","file1":"1391549312","file0":"1391549307","file4":"1391549319","file5":"1391549323","file3":"1391549316"},"map_files_photo_id_array":[{"photo_id":"1391549323","filename":"file5"},{"photo_id":"1391549313","filename":"file2"},{"photo_id":"1391549319","filename":"file4"},{"photo_id":"1391549312","filename":"file1"},{"photo_id":"1391549307","filename":"file0"},{"photo_id":"1391549316","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549313":["hashtag1","hashtag2"]},{"1391549307":["hashtag1","hashtag2"]},{"1391549316":["hashtag1","hashtag2"]},{"1391549312":["hashtag1","hashtag2"]},{"1391549323":["hashtag1","hashtag2"]},{"1391549319":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549313, 1391549307, 1391549316, 1391549312, 1391549323, 1391549319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03242802619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:22:03.139171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_47_2786.jpg', '/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_53_3716.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_02_3900.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_05_2623.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_08_2705.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_19_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_47_2786.jpg
/home/pi/Desktop/images/29102025/23/56/image_29102025_23_56_53_3716.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_02_3900.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_05_2623.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_08_2705.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_19_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549340","1391549345","1391549347","1391549335","1391549361","1391549364"],"photo_ids_order":["1391549335","1391549340","1391549345","1391549347","1391549361","1391549364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c898fff73f98d0f1dabd6fb6201bcb3f.jpg","text":"TemporaryFile(/tmp/multipartBody6962471725701086632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_56_53_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f93e42cfa9c2ce2393fec846538670d3.jpg","text":"TemporaryFile(/tmp/multipartBody3837155834371984542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_57_02_3900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0aa8a8ce22b9bef16da0ff24ae03ef0.jpg","text":"TemporaryFile(/tmp/multipartBody9113799762307248639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_57_05_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2779f2f071da32b7aaf7dc9cdaff982.jpg","text":"TemporaryFile(/tmp/multipartBody8738280446809807057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_56_47_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ef3e803442f4c1bbe21cb9ec97186e0.jpg","text":"TemporaryFile(/tmp/multipartBody4894171473328852500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_57_08_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98ae458b6a3ba04db5d325217c7f3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3762553893916544233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981785268,"filename":"image_29102025_23_57_19_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549345","file1":"1391549340","file0":"1391549335","file4":"1391549361","file5":"1391549364","file3":"1391549347"},"map_files_photo_id_array":[{"photo_id":"1391549364","filename":"file5"},{"photo_id":"1391549345","filename":"file2"},{"photo_id":"1391549361","filename":"file4"},{"photo_id":"1391549340","filename":"file1"},{"photo_id":"1391549335","filename":"file0"},{"photo_id":"1391549347","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549340":["hashtag1","hashtag2"]},{"1391549345":["hashtag1","hashtag2"]},{"1391549347":["hashtag1","hashtag2"]},{"1391549335":["hashtag1","hashtag2"]},{"1391549361":["hashtag1","hashtag2"]},{"1391549364":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549340, 1391549345, 1391549347, 1391549335, 1391549361, 1391549364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76186752319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:22:42.683987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_35_2701.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_37_2668.jpg', '/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_50_3606.jpg', '/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_34_2601.jpg', '/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_37_2776.jpg', '/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_41_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_35_2701.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_37_2668.jpg
/home/pi/Desktop/images/29102025/23/57/image_29102025_23_57_50_3606.jpg
/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_34_2601.jpg
/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_37_2776.jpg
/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_41_3792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549387","1391549375","1391549392","1391549382","1391549385","1391549379"],"photo_ids_order":["1391549375","1391549379","1391549382","1391549385","1391549387","1391549392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b9651ecdb84787855402f876293a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2178496598681610400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_58_37_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fdf570fd92b5e9a21878c19af32569d.jpg","text":"TemporaryFile(/tmp/multipartBody251799190104249826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_57_35_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a29cae44cfef5dcf4699e8ce3135567f.jpg","text":"TemporaryFile(/tmp/multipartBody6934797014160096435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_58_41_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2026c60fbb7e00bc023514e783435173.jpg","text":"TemporaryFile(/tmp/multipartBody2597265774550265673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_57_50_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c4f37253e463a81f288bd8d30f0ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody4943692203778882564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_58_34_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e72955da5903163b6473aacd39c4d68.jpg","text":"TemporaryFile(/tmp/multipartBody8109295613858366028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981823794,"filename":"image_29102025_23_57_37_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549382","file1":"1391549379","file0":"1391549375","file4":"1391549387","file5":"1391549392","file3":"1391549385"},"map_files_photo_id_array":[{"photo_id":"1391549392","filename":"file5"},{"photo_id":"1391549382","filename":"file2"},{"photo_id":"1391549387","filename":"file4"},{"photo_id":"1391549379","filename":"file1"},{"photo_id":"1391549375","filename":"file0"},{"photo_id":"1391549385","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549387":["hashtag1","hashtag2"]},{"1391549375":["hashtag1","hashtag2"]},{"1391549392":["hashtag1","hashtag2"]},{"1391549382":["hashtag1","hashtag2"]},{"1391549385":["hashtag1","hashtag2"]},{"1391549379":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549387, 1391549375, 1391549392, 1391549382, 1391549385, 1391549379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45597982406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:23:21.880684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_56_2715.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_01_5541.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_05_1643.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_07_2552.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_11_3677.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_16_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/58/image_29102025_23_58_56_2715.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_01_5541.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_05_1643.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_07_2552.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_11_3677.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_16_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549406","1391549411","1391549414","1391549408","1391549401","1391549404"],"photo_ids_order":["1391549401","1391549404","1391549406","1391549408","1391549411","1391549414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67b0b45fcfd8d500926741f58b5425f2.jpg","text":"TemporaryFile(/tmp/multipartBody6649097396053094624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_59_05_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d687f3d5509b1340be9f13c141e61e71.jpg","text":"TemporaryFile(/tmp/multipartBody3643663292895296613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_59_11_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85276a41fb59053e1e12dd021c7dadb9.jpg","text":"TemporaryFile(/tmp/multipartBody2977678371860569176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_59_16_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a9e5395e39c62445231416a775de179.jpg","text":"TemporaryFile(/tmp/multipartBody9173585045061058616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_59_07_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d005e4722ee002339fa1a2221ff5895.jpg","text":"TemporaryFile(/tmp/multipartBody4879808020791847122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_58_56_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f3e10e8644da4e45636cd6bce7c1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody585737012372073533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981864597,"filename":"image_29102025_23_59_01_5541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549406","file1":"1391549404","file0":"1391549401","file4":"1391549411","file5":"1391549414","file3":"1391549408"},"map_files_photo_id_array":[{"photo_id":"1391549414","filename":"file5"},{"photo_id":"1391549406","filename":"file2"},{"photo_id":"1391549411","filename":"file4"},{"photo_id":"1391549404","filename":"file1"},{"photo_id":"1391549401","filename":"file0"},{"photo_id":"1391549408","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549406":["hashtag1","hashtag2"]},{"1391549411":["hashtag1","hashtag2"]},{"1391549414":["hashtag1","hashtag2"]},{"1391549408":["hashtag1","hashtag2"]},{"1391549401":["hashtag1","hashtag2"]},{"1391549404":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549406, 1391549411, 1391549414, 1391549408, 1391549401, 1391549404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51445436477661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:24:02.848995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
  port_id : 27909631
  datou_current_id : 3960146
in upload_from_sqlite, uploading in 27909631
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_26_2793.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_32_3579.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_37_2788.jpg', '/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_55_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3960146&datou=0
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_26_2793.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_32_3579.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_37_2788.jpg
/home/pi/Desktop/images/29102025/23/59/image_29102025_23_59_55_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549432","1391549426","1391549431","1391549430"],"photo_ids_order":["1391549426","1391549430","1391549431","1391549432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f012e1332794a209ea9f85a33e57bd27.jpg","text":"TemporaryFile(/tmp/multipartBody2168768099270382193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981904946,"filename":"image_29102025_23_59_55_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3617b08072df102b86393a074d0f3b22.jpg","text":"TemporaryFile(/tmp/multipartBody3645057228755967058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981904946,"filename":"image_29102025_23_59_26_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9294925fedb5889de5d918de15f2468d.jpg","text":"TemporaryFile(/tmp/multipartBody7256915420721741385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981904946,"filename":"image_29102025_23_59_37_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63de1aaefc690b0a8abcb52aa97232dc.jpg","text":"TemporaryFile(/tmp/multipartBody5815392670155337474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981904946,"filename":"image_29102025_23_59_32_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549431","file1":"1391549430","file0":"1391549426","file3":"1391549432"},"map_files_photo_id_array":[{"photo_id":"1391549431","filename":"file2"},{"photo_id":"1391549430","filename":"file1"},{"photo_id":"1391549426","filename":"file0"},{"photo_id":"1391549432","filename":"file3"}],"portfolio_id":27909631,"hashtag_by_photo_ids":[{"1391549432":["hashtag1","hashtag2"]},{"1391549426":["hashtag1","hashtag2"]},{"1391549431":["hashtag1","hashtag2"]},{"1391549430":["hashtag1","hashtag2"]}],"comms":"Portfolio 27909631 used, photo_id : ArrayBuffer(1391549432, 1391549426, 1391549431, 1391549430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.59209179878235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:24:42.217906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_30102025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28055624, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1761981943000}
4220
3978222
4220
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_02_2906.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_16_2704.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_22_2686.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_25_2797.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_28_2783.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_38_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_02_2906.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_16_2704.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_22_2686.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_25_2797.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_28_2783.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_38_3681.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.152333974838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:25:03.087148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_02_2906.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_16_2704.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_22_2686.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_25_2797.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_28_2783.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_38_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_02_2906.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_16_2704.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_22_2686.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_25_2797.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_28_2783.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_38_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549468","1391549470","1391549464","1391549472","1391549460","1391549466"],"photo_ids_order":["1391549460","1391549464","1391549466","1391549468","1391549470","1391549472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7bfce5ce269780d52f0b08fda4dad1a.jpg","text":"TemporaryFile(/tmp/multipartBody3076692797625578934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_25_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f90fa3d2e744395b50de83c4486eb21.jpg","text":"TemporaryFile(/tmp/multipartBody5143393370148874712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_28_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6ed92076d937cf2209aaaf5c73bf905.jpg","text":"TemporaryFile(/tmp/multipartBody4844951856073920385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_16_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/188daf8d146a3ba0bf4a2d5b9240a9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1467367591866012109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_38_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1e71d02f3b9fb128f8cff3045562798.jpg","text":"TemporaryFile(/tmp/multipartBody947357585359264327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_02_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c1b8fe5b172547f33f25543d52d5366.jpg","text":"TemporaryFile(/tmp/multipartBody1493670502293067696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761981965404,"filename":"image_30102025_00_01_22_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549466","file1":"1391549464","file0":"1391549460","file4":"1391549470","file5":"1391549472","file3":"1391549468"},"map_files_photo_id_array":[{"photo_id":"1391549472","filename":"file5"},{"photo_id":"1391549466","filename":"file2"},{"photo_id":"1391549470","filename":"file4"},{"photo_id":"1391549464","filename":"file1"},{"photo_id":"1391549460","filename":"file0"},{"photo_id":"1391549468","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549468":["hashtag1","hashtag2"]},{"1391549470":["hashtag1","hashtag2"]},{"1391549464":["hashtag1","hashtag2"]},{"1391549472":["hashtag1","hashtag2"]},{"1391549460":["hashtag1","hashtag2"]},{"1391549466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549468, 1391549470, 1391549464, 1391549472, 1391549460, 1391549466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88275170326233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:26:03.109003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_41_2705.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_43_2662.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_52_2687.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_55_2746.jpg', '/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_59_3638.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_01_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_41_2705.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_43_2662.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_52_2687.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_55_2746.jpg
/home/pi/Desktop/images/30102025/00/01/image_30102025_00_01_59_3638.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_01_2814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549498","1391549501","1391549494","1391549488","1391549491","1391549485"],"photo_ids_order":["1391549485","1391549488","1391549491","1391549494","1391549498","1391549501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8978a8e44ec9c67b11126dea11f70946.jpg","text":"TemporaryFile(/tmp/multipartBody8428752436739031295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_01_59_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0121fbc3a8b7d02ee5019cf07c54e626.jpg","text":"TemporaryFile(/tmp/multipartBody2169593265297618785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_02_01_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/838390b767e11f436913c21ca62cd161.jpg","text":"TemporaryFile(/tmp/multipartBody5360691703121973628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_01_55_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fde184a93a27622264c0cad80c61d2be.jpg","text":"TemporaryFile(/tmp/multipartBody6670607780462480147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_01_43_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05264d77cbd662973e5abf09b32218d9.jpg","text":"TemporaryFile(/tmp/multipartBody7935172169393015874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_01_52_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30f2d54f2b573d3ec7549f2adc650ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7385681483933855225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982025480,"filename":"image_30102025_00_01_41_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549491","file1":"1391549488","file0":"1391549485","file4":"1391549498","file5":"1391549501","file3":"1391549494"},"map_files_photo_id_array":[{"photo_id":"1391549501","filename":"file5"},{"photo_id":"1391549491","filename":"file2"},{"photo_id":"1391549498","filename":"file4"},{"photo_id":"1391549488","filename":"file1"},{"photo_id":"1391549485","filename":"file0"},{"photo_id":"1391549494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549498":["hashtag1","hashtag2"]},{"1391549501":["hashtag1","hashtag2"]},{"1391549494":["hashtag1","hashtag2"]},{"1391549488":["hashtag1","hashtag2"]},{"1391549491":["hashtag1","hashtag2"]},{"1391549485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549498, 1391549501, 1391549494, 1391549488, 1391549491, 1391549485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.366705894470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:27:03.387142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_08_3779.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_13_2622.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_17_3678.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_25_2729.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_31_2646.jpg', '/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_46_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_08_3779.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_13_2622.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_17_3678.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_25_2729.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_31_2646.jpg
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_46_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391549532","1391549529","1391549537","1391549525","1391549527","1391549535"],"photo_ids_order":["1391549525","1391549527","1391549529","1391549532","1391549535","1391549537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e26f803982749a7a8fec7effb9cb1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4416130067204596879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/997592c55ea3915397fac6fba1544b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1429149331096783699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_17_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c96f592b0b17cbe7aba3218a6b7e88f7.jpg","text":"TemporaryFile(/tmp/multipartBody8262194559343112671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_46_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/522cddb13c7742c38ee5671899faa0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6660250802315331718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_08_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bced8049e477a933632dc36e149d28f5.jpg","text":"TemporaryFile(/tmp/multipartBody7797446620263342567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_13_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/303d47c046e205001359931468d3dca7.jpg","text":"TemporaryFile(/tmp/multipartBody5563324196646231949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982085838,"filename":"image_30102025_00_02_31_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549529","file1":"1391549527","file0":"1391549525","file4":"1391549535","file5":"1391549537","file3":"1391549532"},"map_files_photo_id_array":[{"photo_id":"1391549537","filename":"file5"},{"photo_id":"1391549529","filename":"file2"},{"photo_id":"1391549535","filename":"file4"},{"photo_id":"1391549527","filename":"file1"},{"photo_id":"1391549525","filename":"file0"},{"photo_id":"1391549532","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549532":["hashtag1","hashtag2"]},{"1391549529":["hashtag1","hashtag2"]},{"1391549537":["hashtag1","hashtag2"]},{"1391549525":["hashtag1","hashtag2"]},{"1391549527":["hashtag1","hashtag2"]},{"1391549535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549532, 1391549529, 1391549537, 1391549525, 1391549527, 1391549535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.525259017944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:28:03.181967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:28:22.829986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_58_2705.jpg', '/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_19_2656.jpg', '/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_23_3783.jpg', '/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_50_3685.jpg', '/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_52_2608.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_02_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/02/image_30102025_00_02_58_2705.jpg
/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_19_2656.jpg
/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_23_3783.jpg
/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_50_3685.jpg
/home/pi/Desktop/images/30102025/00/03/image_30102025_00_03_52_2608.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_02_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549564","1391549567","1391549581","1391549571","1391549577","1391549562"],"photo_ids_order":["1391549562","1391549564","1391549567","1391549571","1391549577","1391549581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97b543abee5c62af0f242271952839ab.jpg","text":"TemporaryFile(/tmp/multipartBody1374696767642263162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_03_19_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b50ec99b32bbccda453557fc06b6797.jpg","text":"TemporaryFile(/tmp/multipartBody1836780493307804429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_03_23_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb516fa8fca077755c0cab9927eb0970.jpg","text":"TemporaryFile(/tmp/multipartBody556929731151629849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_04_02_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b29a96d0829712ad73e7e3985ec22c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7949829405542338173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_03_50_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/298dfdb6d97b7fb275a92cad4e8710c1.jpg","text":"TemporaryFile(/tmp/multipartBody2135382402247122996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_03_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a794fbd3b34a8294d969e38da501051.jpg","text":"TemporaryFile(/tmp/multipartBody4902324499801070320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982165773,"filename":"image_30102025_00_02_58_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549567","file1":"1391549564","file0":"1391549562","file4":"1391549577","file5":"1391549581","file3":"1391549571"},"map_files_photo_id_array":[{"photo_id":"1391549581","filename":"file5"},{"photo_id":"1391549567","filename":"file2"},{"photo_id":"1391549577","filename":"file4"},{"photo_id":"1391549564","filename":"file1"},{"photo_id":"1391549562","filename":"file0"},{"photo_id":"1391549571","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549564":["hashtag1","hashtag2"]},{"1391549567":["hashtag1","hashtag2"]},{"1391549581":["hashtag1","hashtag2"]},{"1391549571":["hashtag1","hashtag2"]},{"1391549577":["hashtag1","hashtag2"]},{"1391549562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549564, 1391549567, 1391549581, 1391549571, 1391549577, 1391549562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75526189804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:29:25.633120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_04_2619.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_11_3778.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_13_2601.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_22_2640.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_25_2663.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_31_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_04_2619.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_11_3778.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_13_2601.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_22_2640.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_25_2663.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_31_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549613","1391549601","1391549603","1391549599","1391549598","1391549617"],"photo_ids_order":["1391549598","1391549599","1391549601","1391549603","1391549613","1391549617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3951cff9654392d3291bd085fe83d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody338947767581251243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_25_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32d1508f2211e5391ef44341cd48c037.jpg","text":"TemporaryFile(/tmp/multipartBody7470675019197281505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c7d0d825e86b67b0c1d619ac83bd2ec.jpg","text":"TemporaryFile(/tmp/multipartBody1369246623105770047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17d4d08a027af35758992138eb6cd3c3.jpg","text":"TemporaryFile(/tmp/multipartBody3799308007285188416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_11_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d51db120dce142b40f332ae10a91888.jpg","text":"TemporaryFile(/tmp/multipartBody6480880662947676923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_04_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/542fa5a2c3f5dc1d6b4541fb48fa3b24.jpg","text":"TemporaryFile(/tmp/multipartBody3067116564283195200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982228701,"filename":"image_30102025_00_04_31_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549601","file1":"1391549599","file0":"1391549598","file4":"1391549613","file5":"1391549617","file3":"1391549603"},"map_files_photo_id_array":[{"photo_id":"1391549617","filename":"file5"},{"photo_id":"1391549601","filename":"file2"},{"photo_id":"1391549613","filename":"file4"},{"photo_id":"1391549599","filename":"file1"},{"photo_id":"1391549598","filename":"file0"},{"photo_id":"1391549603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549613":["hashtag1","hashtag2"]},{"1391549601":["hashtag1","hashtag2"]},{"1391549603":["hashtag1","hashtag2"]},{"1391549599":["hashtag1","hashtag2"]},{"1391549598":["hashtag1","hashtag2"]},{"1391549617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549613, 1391549601, 1391549603, 1391549599, 1391549598, 1391549617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37987995147705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:30:22.255403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_34_2515.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_37_3659.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_40_2565.jpg', '/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_43_2626.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_04_3131.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_08_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_34_2515.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_37_3659.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_40_2565.jpg
/home/pi/Desktop/images/30102025/00/04/image_30102025_00_04_43_2626.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_04_3131.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_08_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549636","1391549647","1391549632","1391549629","1391549628","1391549643"],"photo_ids_order":["1391549628","1391549629","1391549632","1391549636","1391549643","1391549647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96a43f101a687f7d51e72730e26c96a1.jpg","text":"TemporaryFile(/tmp/multipartBody5122287150064913002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_04_43_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0133bf1fac5ecfa7294e7c1fb4928cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2516915601427320759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_05_08_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb4253feec4af0dec972d5d53c647bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3028768140713993694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_04_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c1d643ba0a3cb6fd2ef55b8d1afb229.jpg","text":"TemporaryFile(/tmp/multipartBody3643802974273064425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_04_37_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50c7a21396f1b03cc32d8f9d97c4a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody9067837309657706999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_04_34_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aac4c1b3f1c5033f495171e6988b9789.jpg","text":"TemporaryFile(/tmp/multipartBody6632938620371085508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982285218,"filename":"image_30102025_00_05_04_3131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549632","file1":"1391549629","file0":"1391549628","file4":"1391549643","file5":"1391549647","file3":"1391549636"},"map_files_photo_id_array":[{"photo_id":"1391549647","filename":"file5"},{"photo_id":"1391549632","filename":"file2"},{"photo_id":"1391549643","filename":"file4"},{"photo_id":"1391549629","filename":"file1"},{"photo_id":"1391549628","filename":"file0"},{"photo_id":"1391549636","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549636":["hashtag1","hashtag2"]},{"1391549647":["hashtag1","hashtag2"]},{"1391549632":["hashtag1","hashtag2"]},{"1391549629":["hashtag1","hashtag2"]},{"1391549628":["hashtag1","hashtag2"]},{"1391549643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549636, 1391549647, 1391549632, 1391549629, 1391549628, 1391549643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17228031158447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:31:22.461143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_10_2777.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_19_3717.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_22_2797.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_28_2726.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_37_2724.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_40_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_10_2777.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_19_3717.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_22_2797.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_28_2726.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_37_2724.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_40_2578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.538527011871338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 08:31:42.522665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_10_2777.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_19_3717.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_22_2797.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_28_2726.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_37_2724.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_40_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_10_2777.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_19_3717.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_22_2797.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_28_2726.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_37_2724.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_40_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549684","1391549692","1391549695","1391549680","1391549674","1391549688"],"photo_ids_order":["1391549674","1391549680","1391549684","1391549688","1391549692","1391549695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb37b931cbcf192ea739f1366d86fc62.jpg","text":"TemporaryFile(/tmp/multipartBody4914778649816267099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_22_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f82d0e0b11e55eedfbfb9e7565f1aea0.jpg","text":"TemporaryFile(/tmp/multipartBody5681939958973564232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_37_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2ec63bdc6625884c01023fe767f30f2.jpg","text":"TemporaryFile(/tmp/multipartBody7700363322337642734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_40_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b1b4a5e7e15af0df5f34482abfb5358.jpg","text":"TemporaryFile(/tmp/multipartBody4964090129168511698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_19_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0ae1b4ff34bff9e69334c6de77bad10.jpg","text":"TemporaryFile(/tmp/multipartBody3216822520145008212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_10_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78ee9d2dc404af45b4e8587f0f83107a.jpg","text":"TemporaryFile(/tmp/multipartBody2845300234030655397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982363873,"filename":"image_30102025_00_05_28_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549684","file1":"1391549680","file0":"1391549674","file4":"1391549692","file5":"1391549695","file3":"1391549688"},"map_files_photo_id_array":[{"photo_id":"1391549695","filename":"file5"},{"photo_id":"1391549684","filename":"file2"},{"photo_id":"1391549692","filename":"file4"},{"photo_id":"1391549680","filename":"file1"},{"photo_id":"1391549674","filename":"file0"},{"photo_id":"1391549688","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549684":["hashtag1","hashtag2"]},{"1391549692":["hashtag1","hashtag2"]},{"1391549695":["hashtag1","hashtag2"]},{"1391549680":["hashtag1","hashtag2"]},{"1391549674":["hashtag1","hashtag2"]},{"1391549688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549684, 1391549692, 1391549695, 1391549680, 1391549674, 1391549688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65697908401489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:32:22.761373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_46_3008.jpg', '/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_58_2762.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_04_3576.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_16_2621.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_19_2765.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_28_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_46_3008.jpg
/home/pi/Desktop/images/30102025/00/05/image_30102025_00_05_58_2762.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_04_3576.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_16_2621.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_19_2765.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_28_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549798","1391549756","1391549746","1391549751","1391549748","1391549742"],"photo_ids_order":["1391549742","1391549746","1391549748","1391549751","1391549756","1391549798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b702266727d7e214556f39abc81b4aa3.jpg","text":"TemporaryFile(/tmp/multipartBody6792260566926727186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_06_28_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4351a0bc398fc12e4601cf0a48baa126.jpg","text":"TemporaryFile(/tmp/multipartBody7821618967078908333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_06_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9267fe1a5cf3bccdad9da4ab6fb37c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4615450801214300727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_05_58_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fc675e97e050019d60e39e72eb61b18.jpg","text":"TemporaryFile(/tmp/multipartBody170310124531898106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_06_16_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01773075233db6c5a19fa0a0915dfe7c.jpg","text":"TemporaryFile(/tmp/multipartBody5104772601879579105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_06_04_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0032153a4d11987132f35b3c887a5437.jpg","text":"TemporaryFile(/tmp/multipartBody6077099545511062312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982405717,"filename":"image_30102025_00_05_46_3008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549748","file1":"1391549746","file0":"1391549742","file4":"1391549756","file5":"1391549798","file3":"1391549751"},"map_files_photo_id_array":[{"photo_id":"1391549798","filename":"file5"},{"photo_id":"1391549748","filename":"file2"},{"photo_id":"1391549756","filename":"file4"},{"photo_id":"1391549746","filename":"file1"},{"photo_id":"1391549742","filename":"file0"},{"photo_id":"1391549751","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549798":["hashtag1","hashtag2"]},{"1391549756":["hashtag1","hashtag2"]},{"1391549746":["hashtag1","hashtag2"]},{"1391549751":["hashtag1","hashtag2"]},{"1391549748":["hashtag1","hashtag2"]},{"1391549742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549798, 1391549756, 1391549746, 1391549751, 1391549748, 1391549742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33842968940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:33:21.858177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_34_2625.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_36_2614.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_43_2869.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_46_2694.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_48_2558.jpg', '/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_52_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_34_2625.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_36_2614.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_43_2869.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_46_2694.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_48_2558.jpg
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_06_52_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549817","1391549834","1391549824","1391549815","1391549829","1391549820"],"photo_ids_order":["1391549815","1391549817","1391549820","1391549824","1391549829","1391549834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d6f69c1eb02b23090f6f7844fddc0ae.jpg","text":"TemporaryFile(/tmp/multipartBody1803556647327419188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_36_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c482c3e2e77a3c4d46af8cb0bbfcc7f.jpg","text":"TemporaryFile(/tmp/multipartBody7529921364877747981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb125d4689bb26d6b17332ef53423961.jpg","text":"TemporaryFile(/tmp/multipartBody6075675702673530402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_46_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8b80246b9b55402b88ca1ef45274e34.jpg","text":"TemporaryFile(/tmp/multipartBody1890960026261575976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd9769c6c92dd5a6e7cae26009c50482.jpg","text":"TemporaryFile(/tmp/multipartBody2572153306114878040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_48_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0369e2d8a0cc8407598f00a776092203.jpg","text":"TemporaryFile(/tmp/multipartBody7142596975325900463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982464679,"filename":"image_30102025_00_06_43_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549820","file1":"1391549817","file0":"1391549815","file4":"1391549829","file5":"1391549834","file3":"1391549824"},"map_files_photo_id_array":[{"photo_id":"1391549834","filename":"file5"},{"photo_id":"1391549820","filename":"file2"},{"photo_id":"1391549829","filename":"file4"},{"photo_id":"1391549817","filename":"file1"},{"photo_id":"1391549815","filename":"file0"},{"photo_id":"1391549824","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549817":["hashtag1","hashtag2"]},{"1391549834":["hashtag1","hashtag2"]},{"1391549824":["hashtag1","hashtag2"]},{"1391549815":["hashtag1","hashtag2"]},{"1391549829":["hashtag1","hashtag2"]},{"1391549820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549817, 1391549834, 1391549824, 1391549815, 1391549829, 1391549820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.610811948776245 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:34:22.038674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/06/image_30102025_00_07_01_3555.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_04_2739.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_10_3864.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_13_2697.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_16_2782.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_22_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/06/image_30102025_00_07_01_3555.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_04_2739.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_10_3864.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_13_2697.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_16_2782.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_22_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549861","1391549855","1391549864","1391549858","1391549867","1391549859"],"photo_ids_order":["1391549855","1391549858","1391549859","1391549861","1391549864","1391549867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ebb3242d45aebc4d9cd7c95ee01286c.jpg","text":"TemporaryFile(/tmp/multipartBody3516887699906539532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_13_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2371cd2d6d46d6f80d9dec607161e4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4428093125189847075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_01_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf9c4d145173be70bdce0364537ea409.jpg","text":"TemporaryFile(/tmp/multipartBody2878519214892939537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_16_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24edf6273eea1a777ea3458ded4dfa7d.jpg","text":"TemporaryFile(/tmp/multipartBody1428386039973654402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_04_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd5e42772638cc1a927dce0cfa292fd1.jpg","text":"TemporaryFile(/tmp/multipartBody5028392479459094901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_22_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdaffedeefb4599b1910d83decf835b2.jpg","text":"TemporaryFile(/tmp/multipartBody6975618930644987211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982524630,"filename":"image_30102025_00_07_10_3864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549859","file1":"1391549858","file0":"1391549855","file4":"1391549864","file5":"1391549867","file3":"1391549861"},"map_files_photo_id_array":[{"photo_id":"1391549867","filename":"file5"},{"photo_id":"1391549859","filename":"file2"},{"photo_id":"1391549864","filename":"file4"},{"photo_id":"1391549858","filename":"file1"},{"photo_id":"1391549855","filename":"file0"},{"photo_id":"1391549861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549861":["hashtag1","hashtag2"]},{"1391549855":["hashtag1","hashtag2"]},{"1391549864":["hashtag1","hashtag2"]},{"1391549858":["hashtag1","hashtag2"]},{"1391549867":["hashtag1","hashtag2"]},{"1391549859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549861, 1391549855, 1391549864, 1391549858, 1391549867, 1391549859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76055026054382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:35:02.872579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_25_2635.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_43_2703.jpg', '/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_52_2621.jpg', '/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_22_2686.jpg', '/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_31_3664.jpg', '/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_34_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_25_2635.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_43_2703.jpg
/home/pi/Desktop/images/30102025/00/07/image_30102025_00_07_52_2621.jpg
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_22_2686.jpg
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_31_3664.jpg
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_34_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549894","1391549888","1391549896","1391549878","1391549880","1391549883"],"photo_ids_order":["1391549878","1391549880","1391549883","1391549888","1391549894","1391549896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df02d120194b018c97a8984819f7f09f.jpg","text":"TemporaryFile(/tmp/multipartBody1800332667927206074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_08_31_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ce66d26c5a17933abcbc6425dc78803.jpg","text":"TemporaryFile(/tmp/multipartBody3484771040883877536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_08_22_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04f3234b383cd4e3a388ab5c8225f6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1140498461286334087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_08_34_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a57ff2192598e144cbb574622f306344.jpg","text":"TemporaryFile(/tmp/multipartBody3384977645054785495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_07_25_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ba1256817d146e126b30e5d9923903c.jpg","text":"TemporaryFile(/tmp/multipartBody7735859442885002824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_07_43_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85bf1c717b6c2a5105b8cb3db40ab632.jpg","text":"TemporaryFile(/tmp/multipartBody7669899120734397978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982565492,"filename":"image_30102025_00_07_52_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549883","file1":"1391549880","file0":"1391549878","file4":"1391549894","file5":"1391549896","file3":"1391549888"},"map_files_photo_id_array":[{"photo_id":"1391549896","filename":"file5"},{"photo_id":"1391549883","filename":"file2"},{"photo_id":"1391549894","filename":"file4"},{"photo_id":"1391549880","filename":"file1"},{"photo_id":"1391549878","filename":"file0"},{"photo_id":"1391549888","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549894":["hashtag1","hashtag2"]},{"1391549888":["hashtag1","hashtag2"]},{"1391549896":["hashtag1","hashtag2"]},{"1391549878":["hashtag1","hashtag2"]},{"1391549880":["hashtag1","hashtag2"]},{"1391549883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549894, 1391549888, 1391549896, 1391549878, 1391549880, 1391549883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36747932434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:36:02.849857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_36_2731.jpg', '/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_51_2526.jpg', '/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_55_3821.jpg', '/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_04_3564.jpg', '/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_07_2807.jpg', '/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_28_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_36_2731.jpg
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_51_2526.jpg
/home/pi/Desktop/images/30102025/00/08/image_30102025_00_08_55_3821.jpg
/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_04_3564.jpg
/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_07_2807.jpg
/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_28_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391549984","1391549972","1391549981","1391549983","1391549980","1391549953"],"photo_ids_order":["1391549953","1391549972","1391549980","1391549981","1391549983","1391549984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a42a9a15e9761e1e0a5973d0ce020f8.jpg","text":"TemporaryFile(/tmp/multipartBody102948699461047869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_09_28_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3006480e1faaf3b718e482608696233a.jpg","text":"TemporaryFile(/tmp/multipartBody158723428914325506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_08_51_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e40e04b3c368a919ccd909829b3450d9.jpg","text":"TemporaryFile(/tmp/multipartBody4413576619929894962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_09_04_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe9f01ca4d395060b56ffccb494752af.jpg","text":"TemporaryFile(/tmp/multipartBody1504511392101686437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_09_07_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42119e40164a37e74c24774afad3fc19.jpg","text":"TemporaryFile(/tmp/multipartBody8744065256134964758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_08_55_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3952945df49fe89c894073e6255cc02.jpg","text":"TemporaryFile(/tmp/multipartBody2172577898303716617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982625241,"filename":"image_30102025_00_08_36_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391549980","file1":"1391549972","file0":"1391549953","file4":"1391549983","file5":"1391549984","file3":"1391549981"},"map_files_photo_id_array":[{"photo_id":"1391549984","filename":"file5"},{"photo_id":"1391549980","filename":"file2"},{"photo_id":"1391549983","filename":"file4"},{"photo_id":"1391549972","filename":"file1"},{"photo_id":"1391549953","filename":"file0"},{"photo_id":"1391549981","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391549984":["hashtag1","hashtag2"]},{"1391549972":["hashtag1","hashtag2"]},{"1391549981":["hashtag1","hashtag2"]},{"1391549983":["hashtag1","hashtag2"]},{"1391549980":["hashtag1","hashtag2"]},{"1391549953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391549984, 1391549972, 1391549981, 1391549983, 1391549980, 1391549953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54887104034424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:37:03.319987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_37_2675.jpg', '/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_58_2562.jpg', '/home/pi/Desktop/images/30102025/00/10/image_30102025_00_10_19_2892.jpg', '/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_21_2749.jpg', '/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_24_2882.jpg', '/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_28_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_37_2675.jpg
/home/pi/Desktop/images/30102025/00/09/image_30102025_00_09_58_2562.jpg
/home/pi/Desktop/images/30102025/00/10/image_30102025_00_10_19_2892.jpg
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_21_2749.jpg
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_24_2882.jpg
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_28_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550039","1391550228","1391550006","1391550113","1391550020","1391550022"],"photo_ids_order":["1391550006","1391550020","1391550022","1391550039","1391550113","1391550228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba913d8c4418aec2c99bd526c8a6702e.jpg","text":"TemporaryFile(/tmp/multipartBody2618227497186832671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_12_21_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afdb93abbe5e3770589f4e901ae877fb.jpg","text":"TemporaryFile(/tmp/multipartBody668986307575505620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_12_28_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0096bd501920352572e1546046e35e12.jpg","text":"TemporaryFile(/tmp/multipartBody7977252771437013741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_09_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/866452a23ada8456866c2826f2dc5e90.jpg","text":"TemporaryFile(/tmp/multipartBody297202917722137131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_12_24_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d2a15364aa687a530ca3cb9b4530386.jpg","text":"TemporaryFile(/tmp/multipartBody2192463582574239763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_09_58_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3678a091f7139cfd4346d1599bc52703.jpg","text":"TemporaryFile(/tmp/multipartBody3976035046702606650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982685822,"filename":"image_30102025_00_10_19_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550022","file1":"1391550020","file0":"1391550006","file4":"1391550113","file5":"1391550228","file3":"1391550039"},"map_files_photo_id_array":[{"photo_id":"1391550228","filename":"file5"},{"photo_id":"1391550022","filename":"file2"},{"photo_id":"1391550113","filename":"file4"},{"photo_id":"1391550020","filename":"file1"},{"photo_id":"1391550006","filename":"file0"},{"photo_id":"1391550039","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550039":["hashtag1","hashtag2"]},{"1391550228":["hashtag1","hashtag2"]},{"1391550006":["hashtag1","hashtag2"]},{"1391550113":["hashtag1","hashtag2"]},{"1391550020":["hashtag1","hashtag2"]},{"1391550022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550039, 1391550228, 1391550006, 1391550113, 1391550020, 1391550022)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391550022 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/00/10/image_30102025_00_10_19_2892.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.75389885902405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:38:21.914827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_42_2555.jpg', '/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_51_2841.jpg', '/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_54_2628.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_07_3808.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_24_2727.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_39_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_42_2555.jpg
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_51_2841.jpg
/home/pi/Desktop/images/30102025/00/12/image_30102025_00_12_54_2628.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_07_3808.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_24_2727.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_39_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550369","1391550357","1391550365","1391550353","1391550361","1391550379"],"photo_ids_order":["1391550353","1391550357","1391550361","1391550365","1391550369","1391550379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d1ab9b721916d72b3dac816a0e111df.jpg","text":"TemporaryFile(/tmp/multipartBody925722636868956575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_13_24_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d13b691944f8479d2fbe98aecc661d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5557446224431807784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_12_51_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb06f063e08fb4e68a4c115425aa53b6.jpg","text":"TemporaryFile(/tmp/multipartBody7305150553916032603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_13_07_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f7bdbd6495585f164f44b6f44cbc72f.jpg","text":"TemporaryFile(/tmp/multipartBody6820455407586880345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_12_42_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01c5bb7af158952b04c78b09ce1671e4.jpg","text":"TemporaryFile(/tmp/multipartBody8405917095220010057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_12_54_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47fd0ce251b23c37ae788c345de035c5.jpg","text":"TemporaryFile(/tmp/multipartBody3971714626162640976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982764966,"filename":"image_30102025_00_13_39_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550361","file1":"1391550357","file0":"1391550353","file4":"1391550369","file5":"1391550379","file3":"1391550365"},"map_files_photo_id_array":[{"photo_id":"1391550379","filename":"file5"},{"photo_id":"1391550361","filename":"file2"},{"photo_id":"1391550369","filename":"file4"},{"photo_id":"1391550357","filename":"file1"},{"photo_id":"1391550353","filename":"file0"},{"photo_id":"1391550365","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550369":["hashtag1","hashtag2"]},{"1391550357":["hashtag1","hashtag2"]},{"1391550365":["hashtag1","hashtag2"]},{"1391550353":["hashtag1","hashtag2"]},{"1391550361":["hashtag1","hashtag2"]},{"1391550379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550369, 1391550357, 1391550365, 1391550353, 1391550361, 1391550379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01369071006775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:39:24.843397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_42_2637.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_45_2719.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_51_3522.jpg', '/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_57_2728.jpg', '/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_12_2659.jpg', '/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_19_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_42_2637.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_45_2719.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_51_3522.jpg
/home/pi/Desktop/images/30102025/00/13/image_30102025_00_13_57_2728.jpg
/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_12_2659.jpg
/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_19_3778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550402","1391550411","1391550398","1391550419","1391550406","1391550415"],"photo_ids_order":["1391550398","1391550402","1391550406","1391550411","1391550415","1391550419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3971e30487cb9895931a4d42c526c622.jpg","text":"TemporaryFile(/tmp/multipartBody1766628545402155385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_13_45_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8c371816da3d33baffe180a7dd5f551.jpg","text":"TemporaryFile(/tmp/multipartBody8253609291396385834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_13_57_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7ae831c303529efbadc37d1c29c2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4161071072697194358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_13_42_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70537220a0ab427a6af0ab76683efcc4.jpg","text":"TemporaryFile(/tmp/multipartBody438841653632091662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_14_19_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c3f8ca8fff923f2ff7e1bf58a20bb81.jpg","text":"TemporaryFile(/tmp/multipartBody439085718236144081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_13_51_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ed57d3a1ea50560c4f80ed0cb08aa53.jpg","text":"TemporaryFile(/tmp/multipartBody1300375955102177254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982830014,"filename":"image_30102025_00_14_12_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550406","file1":"1391550402","file0":"1391550398","file4":"1391550415","file5":"1391550419","file3":"1391550411"},"map_files_photo_id_array":[{"photo_id":"1391550419","filename":"file5"},{"photo_id":"1391550406","filename":"file2"},{"photo_id":"1391550415","filename":"file4"},{"photo_id":"1391550402","filename":"file1"},{"photo_id":"1391550398","filename":"file0"},{"photo_id":"1391550411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550402":["hashtag1","hashtag2"]},{"1391550411":["hashtag1","hashtag2"]},{"1391550398":["hashtag1","hashtag2"]},{"1391550419":["hashtag1","hashtag2"]},{"1391550406":["hashtag1","hashtag2"]},{"1391550415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550402, 1391550411, 1391550398, 1391550419, 1391550406, 1391550415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.507858991622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:40:22.594398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_28_3675.jpg', '/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_15_2790.jpg', '/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_18_3601.jpg', '/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_30_2522.jpg', '/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_36_2871.jpg', '/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_39_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/14/image_30102025_00_14_28_3675.jpg
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_15_2790.jpg
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_18_3601.jpg
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_30_2522.jpg
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_36_2871.jpg
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_39_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550435","1391550438","1391550452","1391550446","1391550449","1391550443"],"photo_ids_order":["1391550435","1391550438","1391550443","1391550446","1391550449","1391550452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc7dcc2967f4e179eb61c8b009e61c56.jpg","text":"TemporaryFile(/tmp/multipartBody6022152735917958764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_14_28_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e48aea20295401b092161eb82726a92.jpg","text":"TemporaryFile(/tmp/multipartBody3880585557521102179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_15_15_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c3c6ea4ea9f6da53f211631b86f4d8f.jpg","text":"TemporaryFile(/tmp/multipartBody527259094083240692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_15_39_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7e4afee99adcb10a63040ade3496342.jpg","text":"TemporaryFile(/tmp/multipartBody1900501322374213353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_15_30_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46db7e118c9b96256e7d2272a8fd06c9.jpg","text":"TemporaryFile(/tmp/multipartBody2520996647868439806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_15_36_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0c6d2689384baef83e4a777cca94eb5.jpg","text":"TemporaryFile(/tmp/multipartBody5643345816078414497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761982890839,"filename":"image_30102025_00_15_18_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550443","file1":"1391550438","file0":"1391550435","file4":"1391550449","file5":"1391550452","file3":"1391550446"},"map_files_photo_id_array":[{"photo_id":"1391550452","filename":"file5"},{"photo_id":"1391550443","filename":"file2"},{"photo_id":"1391550449","filename":"file4"},{"photo_id":"1391550438","filename":"file1"},{"photo_id":"1391550435","filename":"file0"},{"photo_id":"1391550446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550435":["hashtag1","hashtag2"]},{"1391550438":["hashtag1","hashtag2"]},{"1391550452":["hashtag1","hashtag2"]},{"1391550446":["hashtag1","hashtag2"]},{"1391550449":["hashtag1","hashtag2"]},{"1391550443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550435, 1391550438, 1391550452, 1391550446, 1391550449, 1391550443)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391550443 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_18_3601.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 105.64585566520691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:42:23.169371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_42_2627.jpg', '/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_15_2652.jpg', '/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_39_2786.jpg', '/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_45_3635.jpg', '/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_48_2715.jpg', '/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_51_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/15/image_30102025_00_15_42_2627.jpg
/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_15_2652.jpg
/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_39_2786.jpg
/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_45_3635.jpg
/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_48_2715.jpg
/home/pi/Desktop/images/30102025/00/17/image_30102025_00_17_51_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550567","1391550576","1391550563","1391550560","1391550571","1391550580"],"photo_ids_order":["1391550560","1391550563","1391550567","1391550571","1391550576","1391550580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ec608df8f47931a6684fbbd99ebde74.jpg","text":"TemporaryFile(/tmp/multipartBody6583144550056797974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_17_39_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e78ff788f7ef9e4729eb85125473560d.jpg","text":"TemporaryFile(/tmp/multipartBody8188166288052588896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_17_48_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab452811055b92b74d1ddd377860ba48.jpg","text":"TemporaryFile(/tmp/multipartBody3989355473879885952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_17_15_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a63466bd860603443b1553ab3562b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4398474193600462875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_15_42_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c885203c05d46e5dbf159de2e2682b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4084123444453876044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_17_45_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8c4680abd72e9a384a9bd336cda7a27.jpg","text":"TemporaryFile(/tmp/multipartBody5316286322334101327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983006956,"filename":"image_30102025_00_17_51_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550567","file1":"1391550563","file0":"1391550560","file4":"1391550576","file5":"1391550580","file3":"1391550571"},"map_files_photo_id_array":[{"photo_id":"1391550580","filename":"file5"},{"photo_id":"1391550567","filename":"file2"},{"photo_id":"1391550576","filename":"file4"},{"photo_id":"1391550563","filename":"file1"},{"photo_id":"1391550560","filename":"file0"},{"photo_id":"1391550571","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550567":["hashtag1","hashtag2"]},{"1391550576":["hashtag1","hashtag2"]},{"1391550563":["hashtag1","hashtag2"]},{"1391550560":["hashtag1","hashtag2"]},{"1391550571":["hashtag1","hashtag2"]},{"1391550580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550567, 1391550576, 1391550563, 1391550560, 1391550571, 1391550580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.709266901016235 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-01 08:43:25.253034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_05_2812.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_42_2513.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_48_3716.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_51_2637.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_09_2799.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_15_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_05_2812.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_42_2513.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_48_3716.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_51_2637.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_09_2799.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_15_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 46.08056592941284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:44:25.740110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_05_2812.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_42_2513.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_48_3716.jpg', '/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_51_2637.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_09_2799.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_15_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_05_2812.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_42_2513.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_48_3716.jpg
/home/pi/Desktop/images/30102025/00/18/image_30102025_00_18_51_2637.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_09_2799.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_15_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550638","1391550653","1391550641","1391550652","1391550634","1391550628"],"photo_ids_order":["1391550628","1391550634","1391550638","1391550641","1391550652","1391550653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8176517953282b0e02a219062db6acc.jpg","text":"TemporaryFile(/tmp/multipartBody2344205358471135196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_18_48_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/267eedc94f23ab9be4bc13bdd67ad72b.jpg","text":"TemporaryFile(/tmp/multipartBody6842015166634435921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_19_15_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7804fe8f2970a70b8f8031e1f4a6f71b.jpg","text":"TemporaryFile(/tmp/multipartBody6642087071785499702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_18_51_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ffa5fd27d5a8554d64adee33b2bd6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4109868626279597710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_19_09_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de0bd849b6a5c484ee977cd094a908e8.jpg","text":"TemporaryFile(/tmp/multipartBody4762828382590669475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_18_42_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c0d43765bcc074f7c4ec6470654c44f.jpg","text":"TemporaryFile(/tmp/multipartBody2588573337134007301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983128199,"filename":"image_30102025_00_18_05_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550638","file1":"1391550634","file0":"1391550628","file4":"1391550652","file5":"1391550653","file3":"1391550641"},"map_files_photo_id_array":[{"photo_id":"1391550653","filename":"file5"},{"photo_id":"1391550638","filename":"file2"},{"photo_id":"1391550652","filename":"file4"},{"photo_id":"1391550634","filename":"file1"},{"photo_id":"1391550628","filename":"file0"},{"photo_id":"1391550641","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550638":["hashtag1","hashtag2"]},{"1391550653":["hashtag1","hashtag2"]},{"1391550641":["hashtag1","hashtag2"]},{"1391550652":["hashtag1","hashtag2"]},{"1391550634":["hashtag1","hashtag2"]},{"1391550628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550638, 1391550653, 1391550641, 1391550652, 1391550634, 1391550628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.249414920806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:45:22.000297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_20_2670.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_30_2755.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_36_3573.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_39_2699.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_47_2553.jpg', '/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_51_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_20_2670.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_30_2755.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_36_3573.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_39_2699.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_47_2553.jpg
/home/pi/Desktop/images/30102025/00/19/image_30102025_00_19_51_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550702","1391550686","1391550691","1391550685","1391550694","1391550681"],"photo_ids_order":["1391550681","1391550685","1391550686","1391550691","1391550694","1391550702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87f07568b7f0d0cac20df87841af0626.jpg","text":"TemporaryFile(/tmp/multipartBody397287622393227035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_51_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01bf23987ccaaa5a55e2c6d3983b6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7610528991641893780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_36_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48fc6634ed213318a5fff3a7b536160f.jpg","text":"TemporaryFile(/tmp/multipartBody4030155873315151904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_39_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/491b4e5d529587f13bee9145125ac602.jpg","text":"TemporaryFile(/tmp/multipartBody4242153616760335326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_30_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/845071f075c4d9b0353ba3fe766c3893.jpg","text":"TemporaryFile(/tmp/multipartBody3777937864006290494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_47_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6845f0c98480a45cb4df9fe735e20c2.jpg","text":"TemporaryFile(/tmp/multipartBody7155580055915971510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983184863,"filename":"image_30102025_00_19_20_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550686","file1":"1391550685","file0":"1391550681","file4":"1391550694","file5":"1391550702","file3":"1391550691"},"map_files_photo_id_array":[{"photo_id":"1391550702","filename":"file5"},{"photo_id":"1391550686","filename":"file2"},{"photo_id":"1391550694","filename":"file4"},{"photo_id":"1391550685","filename":"file1"},{"photo_id":"1391550681","filename":"file0"},{"photo_id":"1391550691","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550702":["hashtag1","hashtag2"]},{"1391550686":["hashtag1","hashtag2"]},{"1391550691":["hashtag1","hashtag2"]},{"1391550685":["hashtag1","hashtag2"]},{"1391550694":["hashtag1","hashtag2"]},{"1391550681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550702, 1391550686, 1391550691, 1391550685, 1391550694, 1391550681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.74600005149841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:46:21.973240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_06_2792.jpg', '/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_08_2877.jpg', '/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_11_2699.jpg', '/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_15_3612.jpg', '/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_27_2803.jpg', '/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_30_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_06_2792.jpg
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_08_2877.jpg
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_11_2699.jpg
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_15_3612.jpg
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_27_2803.jpg
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_30_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550729","1391550717","1391550713","1391550733","1391550721","1391550724"],"photo_ids_order":["1391550713","1391550717","1391550721","1391550724","1391550729","1391550733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36e1d6bbb01ad9acee1c2b8f3376ab46.jpg","text":"TemporaryFile(/tmp/multipartBody7443902630189761657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_27_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de0caed2bb74cee07a12922cb008b36a.jpg","text":"TemporaryFile(/tmp/multipartBody5903812490845367675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_08_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5642718d6ea5dad64ec463e50a715f5.jpg","text":"TemporaryFile(/tmp/multipartBody1858749678315198370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_06_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/100ffb976e6f010b58ad7c1c905e1034.jpg","text":"TemporaryFile(/tmp/multipartBody576960377167543099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_30_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af1f8de5c865ab24456e08577cc090a4.jpg","text":"TemporaryFile(/tmp/multipartBody6409776418818001187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_11_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a2e0e9bab5de290cda99fd15011777e.jpg","text":"TemporaryFile(/tmp/multipartBody2305129149074675789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983247243,"filename":"image_30102025_00_20_15_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550721","file1":"1391550717","file0":"1391550713","file4":"1391550729","file5":"1391550733","file3":"1391550724"},"map_files_photo_id_array":[{"photo_id":"1391550733","filename":"file5"},{"photo_id":"1391550721","filename":"file2"},{"photo_id":"1391550729","filename":"file4"},{"photo_id":"1391550717","filename":"file1"},{"photo_id":"1391550713","filename":"file0"},{"photo_id":"1391550724","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550729":["hashtag1","hashtag2"]},{"1391550717":["hashtag1","hashtag2"]},{"1391550713":["hashtag1","hashtag2"]},{"1391550733":["hashtag1","hashtag2"]},{"1391550721":["hashtag1","hashtag2"]},{"1391550724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550729, 1391550717, 1391550713, 1391550733, 1391550721, 1391550724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.826064109802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:47:22.284799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_32_2746.jpg', '/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_11_2618.jpg', '/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_14_2751.jpg', '/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_38_1564.jpg', '/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_41_1552.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_06_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/20/image_30102025_00_20_32_2746.jpg
/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_11_2618.jpg
/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_14_2751.jpg
/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_38_1564.jpg
/home/pi/Desktop/images/30102025/00/21/image_30102025_00_21_41_1552.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_06_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550768","1391550755","1391550758","1391550751","1391550748","1391550745"],"photo_ids_order":["1391550745","1391550748","1391550751","1391550755","1391550758","1391550768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c67a9cc7016029d94314b691e22850b0.jpg","text":"TemporaryFile(/tmp/multipartBody5929040297403428733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_22_06_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61c297f83f5dc29976634b00790fb686.jpg","text":"TemporaryFile(/tmp/multipartBody4793750381289819159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_21_38_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0de9d8e4bbf1aeefc715a355055d7652.jpg","text":"TemporaryFile(/tmp/multipartBody6641828597836407504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_21_41_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82ba8e135cf97286e3f8cd89b8d05aaf.jpg","text":"TemporaryFile(/tmp/multipartBody697073143095204901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_21_14_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0bd829d25f597741a4561709a211f88.jpg","text":"TemporaryFile(/tmp/multipartBody4613960062999109313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_21_11_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09da84058f36660c919865514160c386.jpg","text":"TemporaryFile(/tmp/multipartBody7618078773459955315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983304883,"filename":"image_30102025_00_20_32_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550751","file1":"1391550748","file0":"1391550745","file4":"1391550758","file5":"1391550768","file3":"1391550755"},"map_files_photo_id_array":[{"photo_id":"1391550768","filename":"file5"},{"photo_id":"1391550751","filename":"file2"},{"photo_id":"1391550758","filename":"file4"},{"photo_id":"1391550748","filename":"file1"},{"photo_id":"1391550745","filename":"file0"},{"photo_id":"1391550755","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550768":["hashtag1","hashtag2"]},{"1391550755":["hashtag1","hashtag2"]},{"1391550758":["hashtag1","hashtag2"]},{"1391550751":["hashtag1","hashtag2"]},{"1391550748":["hashtag1","hashtag2"]},{"1391550745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550768, 1391550755, 1391550758, 1391550751, 1391550748, 1391550745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57038116455078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:48:22.389407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_08_2558.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_11_2736.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_15_3701.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_17_2908.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_44_2487.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_50_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_08_2558.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_11_2736.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_15_3701.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_17_2908.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_44_2487.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_50_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550785","1391550788","1391550782","1391550796","1391550784","1391550792"],"photo_ids_order":["1391550782","1391550784","1391550785","1391550788","1391550792","1391550796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d763e031641a570f6a7ee6d5cddd10f0.jpg","text":"TemporaryFile(/tmp/multipartBody3765042520376198191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_15_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/561682852df51c00994c842973215c62.jpg","text":"TemporaryFile(/tmp/multipartBody3649091090697039312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_17_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c71d8052ca329b9292707321728d4c47.jpg","text":"TemporaryFile(/tmp/multipartBody2417346665698884494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_08_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/074c7787cd90ead75a84c58846f3b5e1.jpg","text":"TemporaryFile(/tmp/multipartBody700839185269955391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_50_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/795b786a8ec3406ba2338d5fb97686a5.jpg","text":"TemporaryFile(/tmp/multipartBody3497381069794965944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_11_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d74ab693541663fd94ea52f90d3eaab4.jpg","text":"TemporaryFile(/tmp/multipartBody1102117455315010734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983364991,"filename":"image_30102025_00_22_44_2487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550785","file1":"1391550784","file0":"1391550782","file4":"1391550792","file5":"1391550796","file3":"1391550788"},"map_files_photo_id_array":[{"photo_id":"1391550796","filename":"file5"},{"photo_id":"1391550785","filename":"file2"},{"photo_id":"1391550792","filename":"file4"},{"photo_id":"1391550784","filename":"file1"},{"photo_id":"1391550782","filename":"file0"},{"photo_id":"1391550788","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550785":["hashtag1","hashtag2"]},{"1391550788":["hashtag1","hashtag2"]},{"1391550782":["hashtag1","hashtag2"]},{"1391550796":["hashtag1","hashtag2"]},{"1391550784":["hashtag1","hashtag2"]},{"1391550792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550785, 1391550788, 1391550782, 1391550796, 1391550784, 1391550792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44444489479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:49:22.670003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_57_3665.jpg', '/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_59_2560.jpg', '/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_23_3577.jpg', '/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_32_2682.jpg', '/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_50_2574.jpg', '/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_56_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_57_3665.jpg
/home/pi/Desktop/images/30102025/00/22/image_30102025_00_22_59_2560.jpg
/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_23_3577.jpg
/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_32_2682.jpg
/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_50_2574.jpg
/home/pi/Desktop/images/30102025/00/23/image_30102025_00_23_56_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550858","1391550837","1391550833","1391550820","1391550844","1391550826"],"photo_ids_order":["1391550820","1391550826","1391550833","1391550837","1391550844","1391550858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2a4c0f69c0c9ac1fedf602976f8d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody636035595455842373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_23_56_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa770f17ab253b9b81eec7cb3c778ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7278444703150449918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_23_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79c76f20eeea9447b1fdda6d9ea4089a.jpg","text":"TemporaryFile(/tmp/multipartBody4259460543645708892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_23_23_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f608b27912d25cc024bc2debd7ac5e6.jpg","text":"TemporaryFile(/tmp/multipartBody4677191784213851090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_22_57_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0fdf10d9ac72442253630387d22221a.jpg","text":"TemporaryFile(/tmp/multipartBody5625840627542408385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_23_50_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22695d9c977208443329c356c4bb82f5.jpg","text":"TemporaryFile(/tmp/multipartBody3922248019220241604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983425596,"filename":"image_30102025_00_22_59_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550833","file1":"1391550826","file0":"1391550820","file4":"1391550844","file5":"1391550858","file3":"1391550837"},"map_files_photo_id_array":[{"photo_id":"1391550858","filename":"file5"},{"photo_id":"1391550833","filename":"file2"},{"photo_id":"1391550844","filename":"file4"},{"photo_id":"1391550826","filename":"file1"},{"photo_id":"1391550820","filename":"file0"},{"photo_id":"1391550837","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550858":["hashtag1","hashtag2"]},{"1391550837":["hashtag1","hashtag2"]},{"1391550833":["hashtag1","hashtag2"]},{"1391550820":["hashtag1","hashtag2"]},{"1391550844":["hashtag1","hashtag2"]},{"1391550826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550858, 1391550837, 1391550833, 1391550820, 1391550844, 1391550826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82729911804199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:50:21.841579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/24/image_30102025_00_24_08_2862.jpg', '/home/pi/Desktop/images/30102025/00/24/image_30102025_00_24_14_3671.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_17_2986.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_20_2713.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_29_2591.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_32_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/24/image_30102025_00_24_08_2862.jpg
/home/pi/Desktop/images/30102025/00/24/image_30102025_00_24_14_3671.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_17_2986.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_20_2713.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_29_2591.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_32_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391550879","1391550966","1391550877","1391550919","1391550873","1391550882"],"photo_ids_order":["1391550873","1391550877","1391550879","1391550882","1391550919","1391550966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a409657d26d931e286ba63700fe4e32.jpg","text":"TemporaryFile(/tmp/multipartBody1144471051871313795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_25_17_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79299c19d6d9231bbb40d14a0b02b990.jpg","text":"TemporaryFile(/tmp/multipartBody8104980460492503183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_25_32_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f69fe2f4468cc81ead63c0dc445af4e.jpg","text":"TemporaryFile(/tmp/multipartBody595874126348988903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_24_14_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30fc8701fb2f1540efa8a503a8270038.jpg","text":"TemporaryFile(/tmp/multipartBody5393221481558886316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_25_29_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56b979101a11619dffc622215e4c9572.jpg","text":"TemporaryFile(/tmp/multipartBody8651252491598747657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_24_08_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd6466b66385923712f180fc302cf984.jpg","text":"TemporaryFile(/tmp/multipartBody1793745873588637436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983484429,"filename":"image_30102025_00_25_20_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391550879","file1":"1391550877","file0":"1391550873","file4":"1391550919","file5":"1391550966","file3":"1391550882"},"map_files_photo_id_array":[{"photo_id":"1391550966","filename":"file5"},{"photo_id":"1391550879","filename":"file2"},{"photo_id":"1391550919","filename":"file4"},{"photo_id":"1391550877","filename":"file1"},{"photo_id":"1391550873","filename":"file0"},{"photo_id":"1391550882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391550879":["hashtag1","hashtag2"]},{"1391550966":["hashtag1","hashtag2"]},{"1391550877":["hashtag1","hashtag2"]},{"1391550919":["hashtag1","hashtag2"]},{"1391550873":["hashtag1","hashtag2"]},{"1391550882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391550879, 1391550966, 1391550877, 1391550919, 1391550873, 1391550882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.94231820106506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:51:21.989196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_35_3733.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_38_2580.jpg', '/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_56_2805.jpg', '/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_34_1687.jpg', '/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_54_1657.jpg', '/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_57_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_35_3733.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_38_2580.jpg
/home/pi/Desktop/images/30102025/00/25/image_30102025_00_25_56_2805.jpg
/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_34_1687.jpg
/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_54_1657.jpg
/home/pi/Desktop/images/30102025/00/26/image_30102025_00_26_57_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391551046","1391551030","1391551036","1391551015","1391551018","1391551053"],"photo_ids_order":["1391551015","1391551018","1391551030","1391551036","1391551046","1391551053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33813a0292714e64051c57407926f07f.jpg","text":"TemporaryFile(/tmp/multipartBody6604909819574343182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_26_54_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6336ae798ab50b7b895d92954eae13a.jpg","text":"TemporaryFile(/tmp/multipartBody786091628005052665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_25_56_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d64d21a549cc1e7052991ccdf0213be9.jpg","text":"TemporaryFile(/tmp/multipartBody6323206302009093802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_26_34_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c968ec05084554d1af1ce3a004a65cd.jpg","text":"TemporaryFile(/tmp/multipartBody3341811312571218017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_25_35_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36d072087e74f970ce3d26aa35904b17.jpg","text":"TemporaryFile(/tmp/multipartBody7974331282726389077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_25_38_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfb638b2b277ba42a4b7d1d23f0b2816.jpg","text":"TemporaryFile(/tmp/multipartBody3158978066598888304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983547328,"filename":"image_30102025_00_26_57_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391551030","file1":"1391551018","file0":"1391551015","file4":"1391551046","file5":"1391551053","file3":"1391551036"},"map_files_photo_id_array":[{"photo_id":"1391551053","filename":"file5"},{"photo_id":"1391551030","filename":"file2"},{"photo_id":"1391551046","filename":"file4"},{"photo_id":"1391551018","filename":"file1"},{"photo_id":"1391551015","filename":"file0"},{"photo_id":"1391551036","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391551046":["hashtag1","hashtag2"]},{"1391551030":["hashtag1","hashtag2"]},{"1391551036":["hashtag1","hashtag2"]},{"1391551015":["hashtag1","hashtag2"]},{"1391551018":["hashtag1","hashtag2"]},{"1391551053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391551046, 1391551030, 1391551036, 1391551015, 1391551018, 1391551053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56358003616333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:52:22.130899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_05_2710.jpg', '/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_20_2623.jpg', '/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_26_3827.jpg', '/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_38_2597.jpg', '/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_44_3511.jpg', '/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_49_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_05_2710.jpg
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_20_2623.jpg
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_26_3827.jpg
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_38_2597.jpg
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_44_3511.jpg
/home/pi/Desktop/images/30102025/00/27/image_30102025_00_27_49_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391551361","1391551331","1391551324","1391551228","1391551309","1391551269"],"photo_ids_order":["1391551228","1391551269","1391551309","1391551324","1391551331","1391551361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fc239442819fb2043a4908acab68b9b.jpg","text":"TemporaryFile(/tmp/multipartBody5485420013092359319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bffd527dd37ccb0f48c2a9dd395887d.jpg","text":"TemporaryFile(/tmp/multipartBody199777326631626229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_44_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c317d4769008a69fbe147d4d16a1a58.jpg","text":"TemporaryFile(/tmp/multipartBody5345588875010525420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_38_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7080d995c0562ccc892bbb7db4636dae.jpg","text":"TemporaryFile(/tmp/multipartBody4294881384469008994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_05_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86cfa5b5ce67fe9b2805107811a7aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody2948920469256706372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_26_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a58cd3e1dde693d11ee08fc22239896e.jpg","text":"TemporaryFile(/tmp/multipartBody260110089679189138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983604703,"filename":"image_30102025_00_27_20_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391551309","file1":"1391551269","file0":"1391551228","file4":"1391551331","file5":"1391551361","file3":"1391551324"},"map_files_photo_id_array":[{"photo_id":"1391551361","filename":"file5"},{"photo_id":"1391551309","filename":"file2"},{"photo_id":"1391551331","filename":"file4"},{"photo_id":"1391551269","filename":"file1"},{"photo_id":"1391551228","filename":"file0"},{"photo_id":"1391551324","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391551361":["hashtag1","hashtag2"]},{"1391551331":["hashtag1","hashtag2"]},{"1391551324":["hashtag1","hashtag2"]},{"1391551228":["hashtag1","hashtag2"]},{"1391551309":["hashtag1","hashtag2"]},{"1391551269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391551361, 1391551331, 1391551324, 1391551228, 1391551309, 1391551269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23612880706787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:53:23.552964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/28/image_30102025_00_28_02_3670.jpg', '/home/pi/Desktop/images/30102025/00/28/image_30102025_00_28_10_2642.jpg', '/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_02_2851.jpg', '/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_08_3708.jpg', '/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_28_2841.jpg', '/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_32_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/28/image_30102025_00_28_02_3670.jpg
/home/pi/Desktop/images/30102025/00/28/image_30102025_00_28_10_2642.jpg
/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_02_2851.jpg
/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_08_3708.jpg
/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_28_2841.jpg
/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_32_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391551443","1391551425","1391551410","1391551430","1391551420","1391551417"],"photo_ids_order":["1391551410","1391551417","1391551420","1391551425","1391551430","1391551443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81b3e4bb32dad4c7a8ab954336399d81.jpg","text":"TemporaryFile(/tmp/multipartBody4382736672772108144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_29_32_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10ae8a865f77d6e3a9951bae113501cb.jpg","text":"TemporaryFile(/tmp/multipartBody7346732414269237735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_29_08_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96ed99299be812c679c0d7f78fffe5b7.jpg","text":"TemporaryFile(/tmp/multipartBody4266298186524709535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_28_02_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efc0d8b2328333ed6252703d49abd387.jpg","text":"TemporaryFile(/tmp/multipartBody4486755373571778056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_29_28_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d5e86369566661e2b9a2f16134a21d6.jpg","text":"TemporaryFile(/tmp/multipartBody2603650353616232589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_29_02_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92ad0c83ea82081bcf0bb1b15cbbba4c.jpg","text":"TemporaryFile(/tmp/multipartBody5701040604772933090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983669588,"filename":"image_30102025_00_28_10_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391551420","file1":"1391551417","file0":"1391551410","file4":"1391551430","file5":"1391551443","file3":"1391551425"},"map_files_photo_id_array":[{"photo_id":"1391551443","filename":"file5"},{"photo_id":"1391551420","filename":"file2"},{"photo_id":"1391551430","filename":"file4"},{"photo_id":"1391551417","filename":"file1"},{"photo_id":"1391551410","filename":"file0"},{"photo_id":"1391551425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391551443":["hashtag1","hashtag2"]},{"1391551425":["hashtag1","hashtag2"]},{"1391551410":["hashtag1","hashtag2"]},{"1391551430":["hashtag1","hashtag2"]},{"1391551420":["hashtag1","hashtag2"]},{"1391551417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391551443, 1391551425, 1391551410, 1391551430, 1391551420, 1391551417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58982849121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:54:22.414598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_41_3583.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_01_1741.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_05_3633.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_25_2555.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_31_2547.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_34_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/29/image_30102025_00_29_41_3583.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_01_1741.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_05_3633.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_25_2555.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_31_2547.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_34_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391551487","1391551517","1391551483","1391551480","1391551474","1391551477"],"photo_ids_order":["1391551474","1391551477","1391551480","1391551483","1391551487","1391551517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a96e411e60fa4bffde414f5b02979542.jpg","text":"TemporaryFile(/tmp/multipartBody3466455494324047536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_30_31_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5064d1521e36d17e156d597dce8b958.jpg","text":"TemporaryFile(/tmp/multipartBody6024230955020944887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_30_34_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c75365ec3031c1092f197accc4e752ea.jpg","text":"TemporaryFile(/tmp/multipartBody4635457516297214914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_30_25_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8fe4f1d015b502d7de6210e505d60e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8560859541234124013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_30_05_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b91feb169616ea5ce00c78ada20fe7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6006246954232531180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_29_41_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6a6a40e0dd03c4ad8ce8b1e1624f386.jpg","text":"TemporaryFile(/tmp/multipartBody5596555813811745791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983725483,"filename":"image_30102025_00_30_01_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391551480","file1":"1391551477","file0":"1391551474","file4":"1391551487","file5":"1391551517","file3":"1391551483"},"map_files_photo_id_array":[{"photo_id":"1391551517","filename":"file5"},{"photo_id":"1391551480","filename":"file2"},{"photo_id":"1391551487","filename":"file4"},{"photo_id":"1391551477","filename":"file1"},{"photo_id":"1391551474","filename":"file0"},{"photo_id":"1391551483","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391551487":["hashtag1","hashtag2"]},{"1391551517":["hashtag1","hashtag2"]},{"1391551483":["hashtag1","hashtag2"]},{"1391551480":["hashtag1","hashtag2"]},{"1391551474":["hashtag1","hashtag2"]},{"1391551477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391551487, 1391551517, 1391551483, 1391551480, 1391551474, 1391551477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80849647521973 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:55:25.254606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_38_3785.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_41_2893.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_47_3562.jpg', '/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_50_2612.jpg', '/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_16_2557.jpg', '/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_23_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_38_3785.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_41_2893.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_47_3562.jpg
/home/pi/Desktop/images/30102025/00/30/image_30102025_00_30_50_2612.jpg
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_16_2557.jpg
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_23_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391551745","1391551675","1391551709","1391551700","1391551741","1391551735"],"photo_ids_order":["1391551675","1391551700","1391551709","1391551735","1391551741","1391551745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b61166b0deb8fe8085a6884a391b39e.jpg","text":"TemporaryFile(/tmp/multipartBody7501967564895433266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_31_23_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/394a1eca97c6547026c9bea4040690d6.jpg","text":"TemporaryFile(/tmp/multipartBody5153443588198120548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_30_38_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46967e4f56de8a7812a26a46e920cae2.jpg","text":"TemporaryFile(/tmp/multipartBody2525876265642366831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_30_47_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0bcf208d717e9486b3d1674b2c433c7.jpg","text":"TemporaryFile(/tmp/multipartBody2537479427679271962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_30_41_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b86340980e8b2a8d01cae2d435cc776e.jpg","text":"TemporaryFile(/tmp/multipartBody2874623992426086778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_31_16_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c1e8426f33f3af83266951faf325547.jpg","text":"TemporaryFile(/tmp/multipartBody1773317923188277648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983788339,"filename":"image_30102025_00_30_50_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391551709","file1":"1391551700","file0":"1391551675","file4":"1391551741","file5":"1391551745","file3":"1391551735"},"map_files_photo_id_array":[{"photo_id":"1391551745","filename":"file5"},{"photo_id":"1391551709","filename":"file2"},{"photo_id":"1391551741","filename":"file4"},{"photo_id":"1391551700","filename":"file1"},{"photo_id":"1391551675","filename":"file0"},{"photo_id":"1391551735","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391551745":["hashtag1","hashtag2"]},{"1391551675":["hashtag1","hashtag2"]},{"1391551709":["hashtag1","hashtag2"]},{"1391551700":["hashtag1","hashtag2"]},{"1391551741":["hashtag1","hashtag2"]},{"1391551735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391551745, 1391551675, 1391551709, 1391551700, 1391551741, 1391551735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.328059673309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:56:22.521562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_25_2567.jpg', '/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_41_3702.jpg', '/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_50_3783.jpg', '/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_52_2632.jpg', '/home/pi/Desktop/images/30102025/00/32/image_30102025_00_32_11_3754.jpg', '/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_07_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_25_2567.jpg
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_41_3702.jpg
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_50_3783.jpg
/home/pi/Desktop/images/30102025/00/31/image_30102025_00_31_52_2632.jpg
/home/pi/Desktop/images/30102025/00/32/image_30102025_00_32_11_3754.jpg
/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_07_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391552015","1391552009","1391551987","1391552023","1391552025","1391552019"],"photo_ids_order":["1391551987","1391552009","1391552015","1391552019","1391552023","1391552025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4e98beb29ebd059a36e5b493bfecca1.jpg","text":"TemporaryFile(/tmp/multipartBody5107540342690402603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_31_50_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb035f4eab6ce8756ced8b5e7b8d22fa.jpg","text":"TemporaryFile(/tmp/multipartBody7653118997192084422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_31_41_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/711c935bb15fe7f2e00cebc51e2c8ded.jpg","text":"TemporaryFile(/tmp/multipartBody8899457810220297708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_31_25_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14aec58bef167288fa11edc581639aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6781678418382289433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_32_11_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf6ccb1afe73b634074357b0edca1055.jpg","text":"TemporaryFile(/tmp/multipartBody8412555988971251259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_34_07_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dbdb1da5ed04736b3ead0eefc0bd4de.jpg","text":"TemporaryFile(/tmp/multipartBody4597607794802855950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983848030,"filename":"image_30102025_00_31_52_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391552015","file1":"1391552009","file0":"1391551987","file4":"1391552023","file5":"1391552025","file3":"1391552019"},"map_files_photo_id_array":[{"photo_id":"1391552025","filename":"file5"},{"photo_id":"1391552015","filename":"file2"},{"photo_id":"1391552023","filename":"file4"},{"photo_id":"1391552009","filename":"file1"},{"photo_id":"1391551987","filename":"file0"},{"photo_id":"1391552019","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391552015":["hashtag1","hashtag2"]},{"1391552009":["hashtag1","hashtag2"]},{"1391551987":["hashtag1","hashtag2"]},{"1391552023":["hashtag1","hashtag2"]},{"1391552025":["hashtag1","hashtag2"]},{"1391552019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391552015, 1391552009, 1391551987, 1391552023, 1391552025, 1391552019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.285446643829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 08:57:22.524163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_40_2745.jpg', '/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_49_3681.jpg', '/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_52_2832.jpg', '/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_58_3614.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_04_2913.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_13_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_40_2745.jpg
/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_49_3681.jpg
/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_52_2832.jpg
/home/pi/Desktop/images/30102025/00/34/image_30102025_00_34_58_3614.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_04_2913.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_13_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391552183","1391552084","1391552132","1391552086","1391552089","1391552075"],"photo_ids_order":["1391552075","1391552084","1391552086","1391552089","1391552132","1391552183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9da1d53e44c8307c01c7e77fea315ba.jpg","text":"TemporaryFile(/tmp/multipartBody295079459310019368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_35_13_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bfb1d5e2a72e3c244908900ffcff35c.jpg","text":"TemporaryFile(/tmp/multipartBody2202134418298216260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_34_49_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64e3c777887997948bfc0cdf0b23d2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5927631848446721897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_35_04_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9283d87f78469ef5503f4cb970b1cec8.jpg","text":"TemporaryFile(/tmp/multipartBody1736185102721206814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_34_52_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8ef075582bf9372a8a15a3320220a09.jpg","text":"TemporaryFile(/tmp/multipartBody6885768841916513626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_34_58_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ceae0a30314b8a11d1a8aa113fc931eb.jpg","text":"TemporaryFile(/tmp/multipartBody4955544920631882271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761983905109,"filename":"image_30102025_00_34_40_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391552086","file1":"1391552084","file0":"1391552075","file4":"1391552132","file5":"1391552183","file3":"1391552089"},"map_files_photo_id_array":[{"photo_id":"1391552183","filename":"file5"},{"photo_id":"1391552086","filename":"file2"},{"photo_id":"1391552132","filename":"file4"},{"photo_id":"1391552084","filename":"file1"},{"photo_id":"1391552075","filename":"file0"},{"photo_id":"1391552089","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391552183":["hashtag1","hashtag2"]},{"1391552084":["hashtag1","hashtag2"]},{"1391552132":["hashtag1","hashtag2"]},{"1391552086":["hashtag1","hashtag2"]},{"1391552089":["hashtag1","hashtag2"]},{"1391552075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391552183, 1391552084, 1391552132, 1391552086, 1391552089, 1391552075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76431679725647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 08:59:02.853999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_16_2703.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_25_3698.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_31_2707.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_34_3581.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_40_2656.jpg', '/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_46_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_16_2703.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_25_3698.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_31_2707.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_34_3581.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_40_2656.jpg
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_46_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391553172","1391553142","1391553156","1391553135","1391553140","1391553137"],"photo_ids_order":["1391553135","1391553137","1391553140","1391553142","1391553156","1391553172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d735a2672efcf40b2d7a435752fd0de4.jpg","text":"TemporaryFile(/tmp/multipartBody3797439100631521438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_46_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da785359a53575e0569fc66347dcc1e4.jpg","text":"TemporaryFile(/tmp/multipartBody6600232772545787679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_34_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8136b55e28086460264b77975c23a02.jpg","text":"TemporaryFile(/tmp/multipartBody2634510032440020877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_40_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bedabfd00ec57b3d2a6d623af7bc5fc.jpg","text":"TemporaryFile(/tmp/multipartBody2661877569096717239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_16_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3c2b8e3d003040d7de169842f8ef399.jpg","text":"TemporaryFile(/tmp/multipartBody3792780354326994842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc1bd14936b1f3464ff7c7a1c48812d4.jpg","text":"TemporaryFile(/tmp/multipartBody8721062228955319360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984006208,"filename":"image_30102025_00_35_25_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391553140","file1":"1391553137","file0":"1391553135","file4":"1391553156","file5":"1391553172","file3":"1391553142"},"map_files_photo_id_array":[{"photo_id":"1391553172","filename":"file5"},{"photo_id":"1391553140","filename":"file2"},{"photo_id":"1391553156","filename":"file4"},{"photo_id":"1391553137","filename":"file1"},{"photo_id":"1391553135","filename":"file0"},{"photo_id":"1391553142","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391553172":["hashtag1","hashtag2"]},{"1391553142":["hashtag1","hashtag2"]},{"1391553156":["hashtag1","hashtag2"]},{"1391553135":["hashtag1","hashtag2"]},{"1391553140":["hashtag1","hashtag2"]},{"1391553137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391553172, 1391553142, 1391553156, 1391553135, 1391553140, 1391553137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70102548599243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:00:02.627443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_49_2720.jpg', '/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_10_3593.jpg', '/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_31_5435.jpg', '/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_55_1808.jpg', '/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_07_2728.jpg', '/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_13_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/35/image_30102025_00_35_49_2720.jpg
/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_10_3593.jpg
/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_31_5435.jpg
/home/pi/Desktop/images/30102025/00/36/image_30102025_00_36_55_1808.jpg
/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_07_2728.jpg
/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_13_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391553416","1391553475","1391553529","1391553532","1391553427","1391553406"],"photo_ids_order":["1391553406","1391553416","1391553427","1391553475","1391553529","1391553532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8637a9d66bb4d6034f77cb28a4d17753.jpg","text":"TemporaryFile(/tmp/multipartBody3812019038490597022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_36_10_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e936fecd5f30f36b7e78567994dea5f2.jpg","text":"TemporaryFile(/tmp/multipartBody3996453218011459363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_36_55_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/609affb36f6c6cbd1407597525423451.jpg","text":"TemporaryFile(/tmp/multipartBody8673516947105111255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_37_07_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a3f605b327cb5a8e03e0684c01302a1.jpg","text":"TemporaryFile(/tmp/multipartBody4851101780570183462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_37_13_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af46f218293c74af92bda21f419aae54.jpg","text":"TemporaryFile(/tmp/multipartBody5117456937205633622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_36_31_5435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/add3458b7d8b66dd8b6759d643ad2d8b.jpg","text":"TemporaryFile(/tmp/multipartBody131075520843245547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984064996,"filename":"image_30102025_00_35_49_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391553427","file1":"1391553416","file0":"1391553406","file4":"1391553529","file5":"1391553532","file3":"1391553475"},"map_files_photo_id_array":[{"photo_id":"1391553532","filename":"file5"},{"photo_id":"1391553427","filename":"file2"},{"photo_id":"1391553529","filename":"file4"},{"photo_id":"1391553416","filename":"file1"},{"photo_id":"1391553406","filename":"file0"},{"photo_id":"1391553475","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391553416":["hashtag1","hashtag2"]},{"1391553475":["hashtag1","hashtag2"]},{"1391553529":["hashtag1","hashtag2"]},{"1391553532":["hashtag1","hashtag2"]},{"1391553427":["hashtag1","hashtag2"]},{"1391553406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391553416, 1391553475, 1391553529, 1391553532, 1391553427, 1391553406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0819456577301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:01:03.096930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_19_2715.jpg', '/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_33_1648.jpg', '/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_42_2589.jpg', '/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_31_2587.jpg', '/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_37_3644.jpg', '/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_53_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_19_2715.jpg
/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_33_1648.jpg
/home/pi/Desktop/images/30102025/00/37/image_30102025_00_37_42_2589.jpg
/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_31_2587.jpg
/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_37_3644.jpg
/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_53_1559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391553713","1391553670","1391553589","1391553612","1391553615","1391553638"],"photo_ids_order":["1391553589","1391553612","1391553615","1391553638","1391553670","1391553713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/639d174abc41516c001fc0a7364741a8.jpg","text":"TemporaryFile(/tmp/multipartBody1387610605269239054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_38_53_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dc87c0021dcfb5fa006b710e5958956.jpg","text":"TemporaryFile(/tmp/multipartBody1135325641726853643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_38_37_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f09eb6de81bc4aeb152b93c10111404f.jpg","text":"TemporaryFile(/tmp/multipartBody7485902536104584732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_37_19_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a3155bffcda35002410938e1b02cb1a.jpg","text":"TemporaryFile(/tmp/multipartBody6424984197455242028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_37_33_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0497f03e66f6f90a43ba662c405686a3.jpg","text":"TemporaryFile(/tmp/multipartBody7154139174862458338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_37_42_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9b6034758728dc5769ff7c0f1c7e6a6.jpg","text":"TemporaryFile(/tmp/multipartBody778148029410076010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984125539,"filename":"image_30102025_00_38_31_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391553615","file1":"1391553612","file0":"1391553589","file4":"1391553670","file5":"1391553713","file3":"1391553638"},"map_files_photo_id_array":[{"photo_id":"1391553713","filename":"file5"},{"photo_id":"1391553615","filename":"file2"},{"photo_id":"1391553670","filename":"file4"},{"photo_id":"1391553612","filename":"file1"},{"photo_id":"1391553589","filename":"file0"},{"photo_id":"1391553638","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391553713":["hashtag1","hashtag2"]},{"1391553670":["hashtag1","hashtag2"]},{"1391553589":["hashtag1","hashtag2"]},{"1391553612":["hashtag1","hashtag2"]},{"1391553615":["hashtag1","hashtag2"]},{"1391553638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391553713, 1391553670, 1391553589, 1391553612, 1391553615, 1391553638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.841880559921265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:02:03.107878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_55_1644.jpg', '/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_22_3644.jpg', '/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_33_1656.jpg', '/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_37_1707.jpg', '/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_54_2620.jpg', '/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_07_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/38/image_30102025_00_38_55_1644.jpg
/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_22_3644.jpg
/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_33_1656.jpg
/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_37_1707.jpg
/home/pi/Desktop/images/30102025/00/39/image_30102025_00_39_54_2620.jpg
/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_07_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391554201","1391554485","1391554440","1391554361","1391554283","1391554526"],"photo_ids_order":["1391554201","1391554283","1391554361","1391554440","1391554485","1391554526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21138888b37a31c73613e68222a16bac.jpg","text":"TemporaryFile(/tmp/multipartBody5692393465271699297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_38_55_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/820d0a5ebfb5dab70dc0d9b5d0d82d88.jpg","text":"TemporaryFile(/tmp/multipartBody7364375408568650157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_39_54_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52ec893f872deb74b516d491ab71e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody6163128717647484968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_39_37_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/695c6f76002dd42b1b66ca21488249d6.jpg","text":"TemporaryFile(/tmp/multipartBody1923049451451196805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_39_33_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7b9351a2527ad4a023225a66623a178.jpg","text":"TemporaryFile(/tmp/multipartBody9168518633643350881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_39_22_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5167bf4ba9bfec039a4cc95e53a39004.jpg","text":"TemporaryFile(/tmp/multipartBody2311336635283757995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984185576,"filename":"image_30102025_00_40_07_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391554361","file1":"1391554283","file0":"1391554201","file4":"1391554485","file5":"1391554526","file3":"1391554440"},"map_files_photo_id_array":[{"photo_id":"1391554526","filename":"file5"},{"photo_id":"1391554361","filename":"file2"},{"photo_id":"1391554485","filename":"file4"},{"photo_id":"1391554283","filename":"file1"},{"photo_id":"1391554201","filename":"file0"},{"photo_id":"1391554440","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391554201":["hashtag1","hashtag2"]},{"1391554485":["hashtag1","hashtag2"]},{"1391554440":["hashtag1","hashtag2"]},{"1391554361":["hashtag1","hashtag2"]},{"1391554283":["hashtag1","hashtag2"]},{"1391554526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391554201, 1391554485, 1391554440, 1391554361, 1391554283, 1391554526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2270781993866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:03:02.483876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_12_2663.jpg', '/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_22_3563.jpg', '/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_46_3730.jpg', '/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_07_2602.jpg', '/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_09_2748.jpg', '/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_18_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_12_2663.jpg
/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_22_3563.jpg
/home/pi/Desktop/images/30102025/00/40/image_30102025_00_40_46_3730.jpg
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_07_2602.jpg
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_09_2748.jpg
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_18_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391555355","1391555024","1391555111","1391555272","1391555194","1391555431"],"photo_ids_order":["1391555024","1391555111","1391555194","1391555272","1391555355","1391555431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f7c6dcfcef4757e60492cd959cebaf1.jpg","text":"TemporaryFile(/tmp/multipartBody6219818947698427767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_41_09_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a53368e2a570f157cc7ba823fffb1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2182688987241843702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_40_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7666bb5d31dd037604983541a6cfec3.jpg","text":"TemporaryFile(/tmp/multipartBody6743441141612601315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_40_22_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/446cadf7b3e28617223f3e4f6a7bcbf4.jpg","text":"TemporaryFile(/tmp/multipartBody5185396067643305756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_41_07_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b62093d429dd39080043530f70ae40a.jpg","text":"TemporaryFile(/tmp/multipartBody8043637416549007592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_40_46_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/014113bfbbac9f16c2048b42093e40a8.jpg","text":"TemporaryFile(/tmp/multipartBody289015393851977906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984244938,"filename":"image_30102025_00_41_18_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391555194","file1":"1391555111","file0":"1391555024","file4":"1391555355","file5":"1391555431","file3":"1391555272"},"map_files_photo_id_array":[{"photo_id":"1391555431","filename":"file5"},{"photo_id":"1391555194","filename":"file2"},{"photo_id":"1391555355","filename":"file4"},{"photo_id":"1391555111","filename":"file1"},{"photo_id":"1391555024","filename":"file0"},{"photo_id":"1391555272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391555355":["hashtag1","hashtag2"]},{"1391555024":["hashtag1","hashtag2"]},{"1391555111":["hashtag1","hashtag2"]},{"1391555272":["hashtag1","hashtag2"]},{"1391555194":["hashtag1","hashtag2"]},{"1391555431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391555355, 1391555024, 1391555111, 1391555272, 1391555194, 1391555431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.184831380844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:04:02.572157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_25_3779.jpg', '/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_28_2725.jpg', '/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_51_2861.jpg', '/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_04_3552.jpg', '/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_30_2754.jpg', '/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_39_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_25_3779.jpg
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_28_2725.jpg
/home/pi/Desktop/images/30102025/00/41/image_30102025_00_41_51_2861.jpg
/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_04_3552.jpg
/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_30_2754.jpg
/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_39_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391556084","1391556129","1391556200","1391556017","1391556396","1391556294"],"photo_ids_order":["1391556017","1391556084","1391556129","1391556200","1391556294","1391556396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c83e2fc5c55fe393e7d24374c6df91da.jpg","text":"TemporaryFile(/tmp/multipartBody5495930881583608402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_41_28_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/207d3a844eead227cdce4ba38c547457.jpg","text":"TemporaryFile(/tmp/multipartBody8379532293532683035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_41_51_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8927387a69ab7a7ca1779ccfb07302a3.jpg","text":"TemporaryFile(/tmp/multipartBody6395260705721976888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_42_04_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53d450a2c85271247ac9228cfc99ebf6.jpg","text":"TemporaryFile(/tmp/multipartBody9003727513609665001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_41_25_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d67055a3fcf4e659db633c0ed422e5f.jpg","text":"TemporaryFile(/tmp/multipartBody641494589291884951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_42_39_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/feb40b6f8751b31bf0dbea0d75e72d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4771178891196274964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984305001,"filename":"image_30102025_00_42_30_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391556129","file1":"1391556084","file0":"1391556017","file4":"1391556294","file5":"1391556396","file3":"1391556200"},"map_files_photo_id_array":[{"photo_id":"1391556396","filename":"file5"},{"photo_id":"1391556129","filename":"file2"},{"photo_id":"1391556294","filename":"file4"},{"photo_id":"1391556084","filename":"file1"},{"photo_id":"1391556017","filename":"file0"},{"photo_id":"1391556200","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391556084":["hashtag1","hashtag2"]},{"1391556129":["hashtag1","hashtag2"]},{"1391556200":["hashtag1","hashtag2"]},{"1391556017":["hashtag1","hashtag2"]},{"1391556396":["hashtag1","hashtag2"]},{"1391556294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391556084, 1391556129, 1391556200, 1391556017, 1391556396, 1391556294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71693563461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:05:02.879501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_45_2646.jpg', '/home/pi/Desktop/images/30102025/00/42/image_30102025_00_43_00_2562.jpg', '/home/pi/Desktop/images/30102025/00/43/image_30102025_00_43_03_3597.jpg', '/home/pi/Desktop/images/30102025/00/43/image_30102025_00_43_36_2749.jpg', '/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_13_3685.jpg', '/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_33_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/42/image_30102025_00_42_45_2646.jpg
/home/pi/Desktop/images/30102025/00/42/image_30102025_00_43_00_2562.jpg
/home/pi/Desktop/images/30102025/00/43/image_30102025_00_43_03_3597.jpg
/home/pi/Desktop/images/30102025/00/43/image_30102025_00_43_36_2749.jpg
/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_13_3685.jpg
/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_33_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391557011","1391556822","1391556951","1391556980","1391556906","1391556863"],"photo_ids_order":["1391556822","1391556863","1391556906","1391556951","1391556980","1391557011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9318984cbc6c9be5681115c742f03cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4562221692595159703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_44_33_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a395013a0e1bf39cbe9b24ae57f9b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody5364684813365648161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_42_45_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42c6380f906d0e2c9caae6e0b5e6742d.jpg","text":"TemporaryFile(/tmp/multipartBody8853507855803956971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_43_36_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ba259f677000d2eedbb360481ec4eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1719194087330890381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_44_13_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fb6fdcff4888857219c517f2ededdc5.jpg","text":"TemporaryFile(/tmp/multipartBody6074162940493496848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_43_03_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3d4fc7f1ffd4ff93d70b3f6c37f489a.jpg","text":"TemporaryFile(/tmp/multipartBody1932829395540751364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984365317,"filename":"image_30102025_00_43_00_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391556906","file1":"1391556863","file0":"1391556822","file4":"1391556980","file5":"1391557011","file3":"1391556951"},"map_files_photo_id_array":[{"photo_id":"1391557011","filename":"file5"},{"photo_id":"1391556906","filename":"file2"},{"photo_id":"1391556980","filename":"file4"},{"photo_id":"1391556863","filename":"file1"},{"photo_id":"1391556822","filename":"file0"},{"photo_id":"1391556951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391557011":["hashtag1","hashtag2"]},{"1391556822":["hashtag1","hashtag2"]},{"1391556951":["hashtag1","hashtag2"]},{"1391556980":["hashtag1","hashtag2"]},{"1391556906":["hashtag1","hashtag2"]},{"1391556863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391557011, 1391556822, 1391556951, 1391556980, 1391556906, 1391556863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.709017276763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:06:02.819436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_45_2841.jpg', '/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_48_2617.jpg', '/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_51_3766.jpg', '/home/pi/Desktop/images/30102025/00/45/image_30102025_00_45_24_2622.jpg', '/home/pi/Desktop/images/30102025/00/45/image_30102025_00_45_27_2635.jpg', '/home/pi/Desktop/images/30102025/00/46/image_30102025_00_46_53_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_45_2841.jpg
/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_48_2617.jpg
/home/pi/Desktop/images/30102025/00/44/image_30102025_00_44_51_3766.jpg
/home/pi/Desktop/images/30102025/00/45/image_30102025_00_45_24_2622.jpg
/home/pi/Desktop/images/30102025/00/45/image_30102025_00_45_27_2635.jpg
/home/pi/Desktop/images/30102025/00/46/image_30102025_00_46_53_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391557911","1391557358","1391557657","1391557537","1391557791","1391557446"],"photo_ids_order":["1391557358","1391557446","1391557537","1391557657","1391557791","1391557911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc186dd408f13dab018c9090ebb92471.jpg","text":"TemporaryFile(/tmp/multipartBody3522985284096345252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_46_53_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fd132af9232a9b4535e702cb49aced3.jpg","text":"TemporaryFile(/tmp/multipartBody4740484547384727770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_44_45_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9947cb7727a5a5972266f9d0719fa740.jpg","text":"TemporaryFile(/tmp/multipartBody1066542481938428001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_45_24_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c1a7ec423977571573490578e918ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5772628337185068184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_44_51_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f971417506afcafb65d2f0ce79206a4.jpg","text":"TemporaryFile(/tmp/multipartBody3875966411620735456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_45_27_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ce959b758196c896cc70052b80a465b.jpg","text":"TemporaryFile(/tmp/multipartBody7529528656948692988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984425242,"filename":"image_30102025_00_44_48_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391557537","file1":"1391557446","file0":"1391557358","file4":"1391557791","file5":"1391557911","file3":"1391557657"},"map_files_photo_id_array":[{"photo_id":"1391557911","filename":"file5"},{"photo_id":"1391557537","filename":"file2"},{"photo_id":"1391557791","filename":"file4"},{"photo_id":"1391557446","filename":"file1"},{"photo_id":"1391557358","filename":"file0"},{"photo_id":"1391557657","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391557911":["hashtag1","hashtag2"]},{"1391557358":["hashtag1","hashtag2"]},{"1391557657":["hashtag1","hashtag2"]},{"1391557537":["hashtag1","hashtag2"]},{"1391557791":["hashtag1","hashtag2"]},{"1391557446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391557911, 1391557358, 1391557657, 1391557537, 1391557791, 1391557446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.459070682525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:07:03.267450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/46/image_30102025_00_47_00_2682.jpg', '/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_03_2834.jpg', '/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_36_2837.jpg', '/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_48_2666.jpg', '/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_51_2882.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_26_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/46/image_30102025_00_47_00_2682.jpg
/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_03_2834.jpg
/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_36_2837.jpg
/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_48_2666.jpg
/home/pi/Desktop/images/30102025/00/47/image_30102025_00_47_51_2882.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_26_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391558278","1391558485","1391558326","1391558449","1391558397","1391558471"],"photo_ids_order":["1391558278","1391558326","1391558397","1391558449","1391558471","1391558485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc201b0e131dc52b383223e1bcfe4845.jpg","text":"TemporaryFile(/tmp/multipartBody8114404978267074713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_47_00_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1878356e3b5019f706b2eb0800d3359.jpg","text":"TemporaryFile(/tmp/multipartBody1994711938624107165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_51_26_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57910bde5fa5e968f74a72e82bf77414.jpg","text":"TemporaryFile(/tmp/multipartBody5505005911490398881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_47_03_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ddf354d665555d980fa204baaf0feeb.jpg","text":"TemporaryFile(/tmp/multipartBody5917923081619192086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_47_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98b603e069b1be263bce460d29aa8bc0.jpg","text":"TemporaryFile(/tmp/multipartBody960544762905641344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_47_36_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59cf324184502b1fac4b6200676221c0.jpg","text":"TemporaryFile(/tmp/multipartBody5787328026357862530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984485759,"filename":"image_30102025_00_47_51_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391558397","file1":"1391558326","file0":"1391558278","file4":"1391558471","file5":"1391558485","file3":"1391558449"},"map_files_photo_id_array":[{"photo_id":"1391558485","filename":"file5"},{"photo_id":"1391558397","filename":"file2"},{"photo_id":"1391558471","filename":"file4"},{"photo_id":"1391558326","filename":"file1"},{"photo_id":"1391558278","filename":"file0"},{"photo_id":"1391558449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391558278":["hashtag1","hashtag2"]},{"1391558485":["hashtag1","hashtag2"]},{"1391558326":["hashtag1","hashtag2"]},{"1391558449":["hashtag1","hashtag2"]},{"1391558397":["hashtag1","hashtag2"]},{"1391558471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391558278, 1391558485, 1391558326, 1391558449, 1391558397, 1391558471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.133238315582275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:08:03.242871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_29_2780.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_41_2734.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_44_3559.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_56_2785.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_11_3686.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_17_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_29_2780.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_41_2734.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_44_3559.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_56_2785.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_11_3686.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_17_2830.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.283092975616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:08:22.608579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_29_2780.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_41_2734.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_44_3559.jpg', '/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_56_2785.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_11_3686.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_17_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_29_2780.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_41_2734.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_44_3559.jpg
/home/pi/Desktop/images/30102025/00/51/image_30102025_00_51_56_2785.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_11_3686.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_17_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391558957","1391558950","1391558953","1391558973","1391558966","1391558960"],"photo_ids_order":["1391558950","1391558953","1391558957","1391558960","1391558966","1391558973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02311cdfc0536c8f3e2d385fa668c3f5.jpg","text":"TemporaryFile(/tmp/multipartBody1974581070291682199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_51_44_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09cd81ea08facb47e827099352545d34.jpg","text":"TemporaryFile(/tmp/multipartBody1696635558140234491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_51_29_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f14caa00d77365dced0a62426b8c85d.jpg","text":"TemporaryFile(/tmp/multipartBody1093556700877779361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_51_41_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12850058aba710ce107fabd99bd05458.jpg","text":"TemporaryFile(/tmp/multipartBody1562170810210018857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_53_17_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2eee9b0a115869a61ec9449b1b24711e.jpg","text":"TemporaryFile(/tmp/multipartBody116206644334766441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_53_11_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a4d3bb13efd7cd0ddbb9f7555f051be.jpg","text":"TemporaryFile(/tmp/multipartBody4927605223251196534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984565420,"filename":"image_30102025_00_51_56_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391558957","file1":"1391558953","file0":"1391558950","file4":"1391558966","file5":"1391558973","file3":"1391558960"},"map_files_photo_id_array":[{"photo_id":"1391558973","filename":"file5"},{"photo_id":"1391558957","filename":"file2"},{"photo_id":"1391558966","filename":"file4"},{"photo_id":"1391558953","filename":"file1"},{"photo_id":"1391558950","filename":"file0"},{"photo_id":"1391558960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391558957":["hashtag1","hashtag2"]},{"1391558950":["hashtag1","hashtag2"]},{"1391558953":["hashtag1","hashtag2"]},{"1391558973":["hashtag1","hashtag2"]},{"1391558966":["hashtag1","hashtag2"]},{"1391558960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391558957, 1391558950, 1391558953, 1391558973, 1391558966, 1391558960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.61585760116577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:09:21.881209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_41_2673.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_44_2784.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_47_2766.jpg', '/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_57_4305.jpg', '/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_03_4002.jpg', '/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_11_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_41_2673.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_44_2784.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_47_2766.jpg
/home/pi/Desktop/images/30102025/00/53/image_30102025_00_53_57_4305.jpg
/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_03_4002.jpg
/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_11_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559005","1391558995","1391558983","1391558986","1391558999","1391558990"],"photo_ids_order":["1391558983","1391558986","1391558990","1391558995","1391558999","1391559005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52939b19bb10f1398f042398d3f605aa.jpg","text":"TemporaryFile(/tmp/multipartBody3105127354193325357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_54_11_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/870a1912bb0120f6f52941ff5d69f5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2677695514837783755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_53_57_4305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b18c2ebd576c131c09e4f8b740c427c6.jpg","text":"TemporaryFile(/tmp/multipartBody8652118183093567355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_53_41_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3d85351dd5fd13fcc7845b5a3b5de6f.jpg","text":"TemporaryFile(/tmp/multipartBody3354405490202725806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_53_44_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8955d6a490e1c4768214ca51559a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1630090511798681829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_54_03_4002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/346f332c8d31b66e1d2abe5faa6be88a.jpg","text":"TemporaryFile(/tmp/multipartBody6410757401516866680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984624802,"filename":"image_30102025_00_53_47_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391558990","file1":"1391558986","file0":"1391558983","file4":"1391558999","file5":"1391559005","file3":"1391558995"},"map_files_photo_id_array":[{"photo_id":"1391559005","filename":"file5"},{"photo_id":"1391558990","filename":"file2"},{"photo_id":"1391558999","filename":"file4"},{"photo_id":"1391558986","filename":"file1"},{"photo_id":"1391558983","filename":"file0"},{"photo_id":"1391558995","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559005":["hashtag1","hashtag2"]},{"1391558995":["hashtag1","hashtag2"]},{"1391558983":["hashtag1","hashtag2"]},{"1391558986":["hashtag1","hashtag2"]},{"1391558999":["hashtag1","hashtag2"]},{"1391558990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559005, 1391558995, 1391558983, 1391558986, 1391558999, 1391558990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98067617416382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:10:21.920730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_14_2589.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_05_2982.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_08_2692.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_22_2634.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_26_3706.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_38_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/54/image_30102025_00_54_14_2589.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_05_2982.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_08_2692.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_22_2634.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_26_3706.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_38_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559193","1391559190","1391559223","1391559231","1391559227","1391559155"],"photo_ids_order":["1391559155","1391559190","1391559193","1391559223","1391559227","1391559231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bfd95d699eb081a8e074e7a40f162d1.jpg","text":"TemporaryFile(/tmp/multipartBody8991345597904842379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_56_08_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a38f67e67f87a34863a25620db84e87f.jpg","text":"TemporaryFile(/tmp/multipartBody1818600717952486252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_56_05_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e320db85927dc1399f23bcd5f1b1980.jpg","text":"TemporaryFile(/tmp/multipartBody419865534342459866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_56_22_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/108ca8ae0757e6bd09fb095e2ec5c32f.jpg","text":"TemporaryFile(/tmp/multipartBody8381337421105396501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_56_38_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40c8d58793f8728b220335e3f88f7936.jpg","text":"TemporaryFile(/tmp/multipartBody4892656123132907425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_56_26_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45d78f50cf8e2534843521e736307016.jpg","text":"TemporaryFile(/tmp/multipartBody4520609209133999279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984684907,"filename":"image_30102025_00_54_14_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391559193","file1":"1391559190","file0":"1391559155","file4":"1391559227","file5":"1391559231","file3":"1391559223"},"map_files_photo_id_array":[{"photo_id":"1391559231","filename":"file5"},{"photo_id":"1391559193","filename":"file2"},{"photo_id":"1391559227","filename":"file4"},{"photo_id":"1391559190","filename":"file1"},{"photo_id":"1391559155","filename":"file0"},{"photo_id":"1391559223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559193":["hashtag1","hashtag2"]},{"1391559190":["hashtag1","hashtag2"]},{"1391559223":["hashtag1","hashtag2"]},{"1391559231":["hashtag1","hashtag2"]},{"1391559227":["hashtag1","hashtag2"]},{"1391559155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559193, 1391559190, 1391559223, 1391559231, 1391559227, 1391559155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60222005844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:11:22.055436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_41_3678.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_44_2614.jpg', '/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_53_2667.jpg', '/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_29_3607.jpg', '/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_41_2697.jpg', '/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_47_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_41_3678.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_44_2614.jpg
/home/pi/Desktop/images/30102025/00/56/image_30102025_00_56_53_2667.jpg
/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_29_3607.jpg
/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_41_2697.jpg
/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_47_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559514","1391559511","1391559505","1391559501","1391559482","1391559496"],"photo_ids_order":["1391559482","1391559496","1391559501","1391559505","1391559511","1391559514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acf03b821ac4fd6e911314add8d2180f.jpg","text":"TemporaryFile(/tmp/multipartBody2055580373145406367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_57_47_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a5c7962e85861d982da407a7c87a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6782976530348206265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_57_41_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39bb3520a57d9813b9b741fbfb8e3024.jpg","text":"TemporaryFile(/tmp/multipartBody6075634603617441575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_57_29_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c997c535cf18c5d084d76f0e81478100.jpg","text":"TemporaryFile(/tmp/multipartBody6906349087232678305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_56_53_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dddf05f709f8253a04d122237ded8304.jpg","text":"TemporaryFile(/tmp/multipartBody3023800024083144888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_56_41_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68452aea7668b7acfefddd7e3854a101.jpg","text":"TemporaryFile(/tmp/multipartBody1886518115263467961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984744986,"filename":"image_30102025_00_56_44_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391559501","file1":"1391559496","file0":"1391559482","file4":"1391559511","file5":"1391559514","file3":"1391559505"},"map_files_photo_id_array":[{"photo_id":"1391559514","filename":"file5"},{"photo_id":"1391559501","filename":"file2"},{"photo_id":"1391559511","filename":"file4"},{"photo_id":"1391559496","filename":"file1"},{"photo_id":"1391559482","filename":"file0"},{"photo_id":"1391559505","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559514":["hashtag1","hashtag2"]},{"1391559511":["hashtag1","hashtag2"]},{"1391559505":["hashtag1","hashtag2"]},{"1391559501":["hashtag1","hashtag2"]},{"1391559482":["hashtag1","hashtag2"]},{"1391559496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559514, 1391559511, 1391559505, 1391559501, 1391559482, 1391559496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.99592685699463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:12:22.301325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_55_2624.jpg', '/home/pi/Desktop/images/30102025/00/58/image_30102025_00_58_20_2823.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_08_3538.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_10_2696.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_13_2784.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_44_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/00/57/image_30102025_00_57_55_2624.jpg
/home/pi/Desktop/images/30102025/00/58/image_30102025_00_58_20_2823.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_08_3538.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_10_2696.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_13_2784.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_44_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559565","1391559541","1391559535","1391559570","1391559554","1391559542"],"photo_ids_order":["1391559535","1391559541","1391559542","1391559554","1391559565","1391559570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54cbe5aac42203a32a1535c61e650239.jpg","text":"TemporaryFile(/tmp/multipartBody1461367615555046407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_01_00_13_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13866edb763430618e57d948aa3a5319.jpg","text":"TemporaryFile(/tmp/multipartBody1945876131957530037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_00_58_20_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c928f3110559e45db085fdbcbefe7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8240121995074076095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_00_57_55_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93110a706ce2c429bf15858b3aa35a16.jpg","text":"TemporaryFile(/tmp/multipartBody4955995185142631687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_01_00_44_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fbdf48f33587801eedcfafef2ee4063.jpg","text":"TemporaryFile(/tmp/multipartBody3559812234522061444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_01_00_10_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ddc1e99a9a8c7859e02710f8bae4273.jpg","text":"TemporaryFile(/tmp/multipartBody876420233199917880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984804866,"filename":"image_30102025_01_00_08_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391559542","file1":"1391559541","file0":"1391559535","file4":"1391559565","file5":"1391559570","file3":"1391559554"},"map_files_photo_id_array":[{"photo_id":"1391559570","filename":"file5"},{"photo_id":"1391559542","filename":"file2"},{"photo_id":"1391559565","filename":"file4"},{"photo_id":"1391559541","filename":"file1"},{"photo_id":"1391559535","filename":"file0"},{"photo_id":"1391559554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559565":["hashtag1","hashtag2"]},{"1391559541":["hashtag1","hashtag2"]},{"1391559535":["hashtag1","hashtag2"]},{"1391559570":["hashtag1","hashtag2"]},{"1391559554":["hashtag1","hashtag2"]},{"1391559542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559565, 1391559541, 1391559535, 1391559570, 1391559554, 1391559542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79776334762573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:13:22.475155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_50_3616.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_52_2550.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_55_2880.jpg', '/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_58_2775.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_04_2754.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_16_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_50_3616.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_52_2550.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_55_2880.jpg
/home/pi/Desktop/images/30102025/01/00/image_30102025_01_00_58_2775.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_04_2754.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_16_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559775","1391559691","1391559772","1391559733","1391559736","1391559716"],"photo_ids_order":["1391559691","1391559716","1391559733","1391559736","1391559772","1391559775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ed199cc2258bd49ee2d49c8793f7c55.jpg","text":"TemporaryFile(/tmp/multipartBody3731366189913177253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_01_16_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa177c8b422daab7660fa326c375498c.jpg","text":"TemporaryFile(/tmp/multipartBody8965481379103782837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_00_50_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce757948bbae4f4d301ed4d33440bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody3439195882177669634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_01_04_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c70483fedc47e5c7aa649c1e70f12790.jpg","text":"TemporaryFile(/tmp/multipartBody9214903520447351002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_00_55_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d072e2225a4f8aa828d4a5c44d4a9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5540407351265045936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_00_58_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/074775412de346a4b3ec6bddb46c28b2.jpg","text":"TemporaryFile(/tmp/multipartBody2026267793289013240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984865068,"filename":"image_30102025_01_00_52_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391559733","file1":"1391559716","file0":"1391559691","file4":"1391559772","file5":"1391559775","file3":"1391559736"},"map_files_photo_id_array":[{"photo_id":"1391559775","filename":"file5"},{"photo_id":"1391559733","filename":"file2"},{"photo_id":"1391559772","filename":"file4"},{"photo_id":"1391559716","filename":"file1"},{"photo_id":"1391559691","filename":"file0"},{"photo_id":"1391559736","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559775":["hashtag1","hashtag2"]},{"1391559691":["hashtag1","hashtag2"]},{"1391559772":["hashtag1","hashtag2"]},{"1391559733":["hashtag1","hashtag2"]},{"1391559736":["hashtag1","hashtag2"]},{"1391559716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559775, 1391559691, 1391559772, 1391559733, 1391559736, 1391559716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32820439338684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:14:22.622055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_19_2772.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_23_3596.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_32_3530.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_35_2711.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_37_2657.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_41_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_19_2772.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_23_3596.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_32_3530.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_35_2711.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_37_2657.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_41_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391559955","1391559949","1391559964","1391559993","1391559983","1391559977"],"photo_ids_order":["1391559949","1391559955","1391559964","1391559977","1391559983","1391559993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a59697a1790eb6a1ca0efc20c9b9aae3.jpg","text":"TemporaryFile(/tmp/multipartBody159926772159392481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_23_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4105a20735dc91f272994c92d4b34393.jpg","text":"TemporaryFile(/tmp/multipartBody8589401872313883342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_19_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20623dddf02a8ed1cc04f14b5c9e4215.jpg","text":"TemporaryFile(/tmp/multipartBody6731641774259984009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_32_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d670cd83f22b25dbedc852688d74e324.jpg","text":"TemporaryFile(/tmp/multipartBody9195726128929184951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_41_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/827fbc63fee47afcd5eae359714bafe5.jpg","text":"TemporaryFile(/tmp/multipartBody4785947342604694931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_37_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02df9094df2d561d6a56884691e1c22c.jpg","text":"TemporaryFile(/tmp/multipartBody5517031524764249765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984925477,"filename":"image_30102025_01_01_35_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391559964","file1":"1391559955","file0":"1391559949","file4":"1391559983","file5":"1391559993","file3":"1391559977"},"map_files_photo_id_array":[{"photo_id":"1391559993","filename":"file5"},{"photo_id":"1391559964","filename":"file2"},{"photo_id":"1391559983","filename":"file4"},{"photo_id":"1391559955","filename":"file1"},{"photo_id":"1391559949","filename":"file0"},{"photo_id":"1391559977","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391559955":["hashtag1","hashtag2"]},{"1391559949":["hashtag1","hashtag2"]},{"1391559964":["hashtag1","hashtag2"]},{"1391559993":["hashtag1","hashtag2"]},{"1391559983":["hashtag1","hashtag2"]},{"1391559977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391559955, 1391559949, 1391559964, 1391559993, 1391559983, 1391559977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40016984939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:15:21.787675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_50_3560.jpg', '/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_58_2924.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_04_2745.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_07_2670.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_14_2740.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_16_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_50_3560.jpg
/home/pi/Desktop/images/30102025/01/01/image_30102025_01_01_58_2924.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_04_2745.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_07_2670.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_14_2740.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_16_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391560055","1391560028","1391560013","1391560051","1391560038","1391560070"],"photo_ids_order":["1391560013","1391560028","1391560038","1391560051","1391560055","1391560070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6de7cbc914c7f5f0423fd87563b716cd.jpg","text":"TemporaryFile(/tmp/multipartBody1133540492677381123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_02_14_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78b9366822f039571a64ced004b7e815.jpg","text":"TemporaryFile(/tmp/multipartBody2874838033760424522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_01_58_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd135f1ec1d4eec8f3175b9cfb7cf03b.jpg","text":"TemporaryFile(/tmp/multipartBody6094631280969315743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_01_50_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7c1b34f4f8f87b85dac2a87411faf06.jpg","text":"TemporaryFile(/tmp/multipartBody6307916506792819834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_02_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5f7cf6ca702fa20a70dac6d13bcf6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7117263896161767409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_02_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28d105d77c9de0eec8620970b90a5ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5986103599686077442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761984984453,"filename":"image_30102025_01_02_16_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391560038","file1":"1391560028","file0":"1391560013","file4":"1391560055","file5":"1391560070","file3":"1391560051"},"map_files_photo_id_array":[{"photo_id":"1391560070","filename":"file5"},{"photo_id":"1391560038","filename":"file2"},{"photo_id":"1391560055","filename":"file4"},{"photo_id":"1391560028","filename":"file1"},{"photo_id":"1391560013","filename":"file0"},{"photo_id":"1391560051","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391560055":["hashtag1","hashtag2"]},{"1391560028":["hashtag1","hashtag2"]},{"1391560013":["hashtag1","hashtag2"]},{"1391560051":["hashtag1","hashtag2"]},{"1391560038":["hashtag1","hashtag2"]},{"1391560070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391560055, 1391560028, 1391560013, 1391560051, 1391560038, 1391560070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79944157600403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:16:21.978922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_22_2852.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_26_3752.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_37_2782.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_40_2661.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_44_3749.jpg', '/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_46_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_22_2852.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_26_3752.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_37_2782.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_40_2661.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_44_3749.jpg
/home/pi/Desktop/images/30102025/01/02/image_30102025_01_02_46_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391560396","1391560462","1391560501","1391560504","1391560484","1391560496"],"photo_ids_order":["1391560396","1391560462","1391560484","1391560496","1391560501","1391560504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7577754975c5ebf9175dd1b266609dd0.jpg","text":"TemporaryFile(/tmp/multipartBody687896677864661941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_22_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1c57bfda8384b09fe97e5c8fbc7712f.jpg","text":"TemporaryFile(/tmp/multipartBody4565553337208309449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_26_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6557bae4fda4b4c7ff0e714a21b7cb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6298458290869652538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_44_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f42c8c6eaddddce62b5ee9ec29adaa.jpg","text":"TemporaryFile(/tmp/multipartBody704108108118138324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_46_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92e7f19e235f2018a57be5c823a2e195.jpg","text":"TemporaryFile(/tmp/multipartBody5386539224167055560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_37_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25d286238171b2f74b50b5fe85d95ce9.jpg","text":"TemporaryFile(/tmp/multipartBody3705524286555850818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985045021,"filename":"image_30102025_01_02_40_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391560484","file1":"1391560462","file0":"1391560396","file4":"1391560501","file5":"1391560504","file3":"1391560496"},"map_files_photo_id_array":[{"photo_id":"1391560504","filename":"file5"},{"photo_id":"1391560484","filename":"file2"},{"photo_id":"1391560501","filename":"file4"},{"photo_id":"1391560462","filename":"file1"},{"photo_id":"1391560396","filename":"file0"},{"photo_id":"1391560496","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391560396":["hashtag1","hashtag2"]},{"1391560462":["hashtag1","hashtag2"]},{"1391560501":["hashtag1","hashtag2"]},{"1391560504":["hashtag1","hashtag2"]},{"1391560484":["hashtag1","hashtag2"]},{"1391560496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391560396, 1391560462, 1391560501, 1391560504, 1391560484, 1391560496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01993942260742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:17:22.077211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_07_2571.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_10_2829.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_13_3520.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_19_2698.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_22_3597.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_25_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_07_2571.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_10_2829.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_13_3520.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_19_2698.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_22_3597.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_25_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391560742","1391560795","1391560809","1391560803","1391560799","1391560766"],"photo_ids_order":["1391560742","1391560766","1391560795","1391560799","1391560803","1391560809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ae81ca1ddff44930f4e33fcd20750eb.jpg","text":"TemporaryFile(/tmp/multipartBody7966553491320477478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_07_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/feebf5ee994105b16ef6ac126e7301b6.jpg","text":"TemporaryFile(/tmp/multipartBody5024896709555337379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_13_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d86de448f422e509296719e086cb6f9.jpg","text":"TemporaryFile(/tmp/multipartBody7156793434783791772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_25_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a20b87f048b231edf44895f8e530a086.jpg","text":"TemporaryFile(/tmp/multipartBody5688202749787603168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_22_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c30e6d2c1fd264f4cea0accf30a50810.jpg","text":"TemporaryFile(/tmp/multipartBody4899092421278233862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_19_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0238027a27baada5976b052fe0aa5323.jpg","text":"TemporaryFile(/tmp/multipartBody2415898592393663296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985104636,"filename":"image_30102025_01_03_10_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391560795","file1":"1391560766","file0":"1391560742","file4":"1391560803","file5":"1391560809","file3":"1391560799"},"map_files_photo_id_array":[{"photo_id":"1391560809","filename":"file5"},{"photo_id":"1391560795","filename":"file2"},{"photo_id":"1391560803","filename":"file4"},{"photo_id":"1391560766","filename":"file1"},{"photo_id":"1391560742","filename":"file0"},{"photo_id":"1391560799","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391560742":["hashtag1","hashtag2"]},{"1391560795":["hashtag1","hashtag2"]},{"1391560809":["hashtag1","hashtag2"]},{"1391560803":["hashtag1","hashtag2"]},{"1391560799":["hashtag1","hashtag2"]},{"1391560766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391560742, 1391560795, 1391560809, 1391560803, 1391560799, 1391560766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53026819229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:18:22.297538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_28_2695.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_44_1574.jpg', '/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_58_2677.jpg', '/home/pi/Desktop/images/30102025/01/04/image_30102025_01_04_01_2640.jpg', '/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_25_3766.jpg', '/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_37_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_28_2695.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_44_1574.jpg
/home/pi/Desktop/images/30102025/01/03/image_30102025_01_03_58_2677.jpg
/home/pi/Desktop/images/30102025/01/04/image_30102025_01_04_01_2640.jpg
/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_25_3766.jpg
/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_37_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391560832","1391560829","1391560817","1391560822","1391560825","1391560819"],"photo_ids_order":["1391560817","1391560819","1391560822","1391560825","1391560829","1391560832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bfbbdd9f419b22e61974fdbe418c0ac.jpg","text":"TemporaryFile(/tmp/multipartBody5420052858482739847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_05_37_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7bb38c0a2869db00342469332b277b1.jpg","text":"TemporaryFile(/tmp/multipartBody715096055862664503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_05_25_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d18a57f5579e29b90e61edb8fa7f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2800657383446433214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_03_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6768f28a7d8024bcfdc84d9c95f5f080.jpg","text":"TemporaryFile(/tmp/multipartBody7867052503875665903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_03_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1faf82cd668920d6fb03f847d008d2da.jpg","text":"TemporaryFile(/tmp/multipartBody4059742332553673246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_04_01_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbfe04064668fede061bfde231e1a014.jpg","text":"TemporaryFile(/tmp/multipartBody7744697952950077729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985166093,"filename":"image_30102025_01_03_44_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391560822","file1":"1391560819","file0":"1391560817","file4":"1391560829","file5":"1391560832","file3":"1391560825"},"map_files_photo_id_array":[{"photo_id":"1391560832","filename":"file5"},{"photo_id":"1391560822","filename":"file2"},{"photo_id":"1391560829","filename":"file4"},{"photo_id":"1391560819","filename":"file1"},{"photo_id":"1391560817","filename":"file0"},{"photo_id":"1391560825","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391560832":["hashtag1","hashtag2"]},{"1391560829":["hashtag1","hashtag2"]},{"1391560817":["hashtag1","hashtag2"]},{"1391560822":["hashtag1","hashtag2"]},{"1391560825":["hashtag1","hashtag2"]},{"1391560819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391560832, 1391560829, 1391560817, 1391560822, 1391560825, 1391560819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42844581604004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:19:22.464167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_43_3736.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_13_2781.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_19_3619.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_25_2699.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_31_2777.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_34_2896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/05/image_30102025_01_05_43_3736.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_13_2781.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_19_3619.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_25_2699.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_31_2777.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_34_2896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391560853","1391560847","1391560916","1391561011","1391560857","1391560844"],"photo_ids_order":["1391560844","1391560847","1391560853","1391560857","1391560916","1391561011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c579e3360bc9906c74ac7b1f5192c58c.jpg","text":"TemporaryFile(/tmp/multipartBody8368216667039682223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_06_19_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6379a66b07529515a7518f7d31816a9f.jpg","text":"TemporaryFile(/tmp/multipartBody583589057879959355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_06_13_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfeddf5cb2b363a0a9b17f6145b15bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3748208178457195077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_06_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32ad2156e7528f5be0b4c6aaf1834bae.jpg","text":"TemporaryFile(/tmp/multipartBody2274108164954205341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_06_34_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e42af9ed33fd18109791072dce13b034.jpg","text":"TemporaryFile(/tmp/multipartBody5627153999088430313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_06_25_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96dbdcc5784a35de9a7dc5aa0e589160.jpg","text":"TemporaryFile(/tmp/multipartBody7952521295284115071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985225442,"filename":"image_30102025_01_05_43_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391560853","file1":"1391560847","file0":"1391560844","file4":"1391560916","file5":"1391561011","file3":"1391560857"},"map_files_photo_id_array":[{"photo_id":"1391561011","filename":"file5"},{"photo_id":"1391560853","filename":"file2"},{"photo_id":"1391560916","filename":"file4"},{"photo_id":"1391560847","filename":"file1"},{"photo_id":"1391560844","filename":"file0"},{"photo_id":"1391560857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391560853":["hashtag1","hashtag2"]},{"1391560847":["hashtag1","hashtag2"]},{"1391560916":["hashtag1","hashtag2"]},{"1391561011":["hashtag1","hashtag2"]},{"1391560857":["hashtag1","hashtag2"]},{"1391560844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391560853, 1391560847, 1391560916, 1391561011, 1391560857, 1391560844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.521695375442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:20:22.597771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_36_2535.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_43_2742.jpg', '/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_45_2564.jpg', '/home/pi/Desktop/images/30102025/01/08/image_30102025_01_08_55_3746.jpg', '/home/pi/Desktop/images/30102025/01/08/image_30102025_01_09_00_2678.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_10_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_36_2535.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_43_2742.jpg
/home/pi/Desktop/images/30102025/01/06/image_30102025_01_06_45_2564.jpg
/home/pi/Desktop/images/30102025/01/08/image_30102025_01_08_55_3746.jpg
/home/pi/Desktop/images/30102025/01/08/image_30102025_01_09_00_2678.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_10_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391561656","1391561557","1391561793","1391561710","1391561507","1391561600"],"photo_ids_order":["1391561507","1391561557","1391561600","1391561656","1391561710","1391561793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87894bba2566c3603c12b83322043463.jpg","text":"TemporaryFile(/tmp/multipartBody2131654577628887647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_08_55_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/592156f52915bd851ffd3965e12757ca.jpg","text":"TemporaryFile(/tmp/multipartBody8035596164067055571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_06_43_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8715792e0a5dfd2fd4002d3a0c32d832.jpg","text":"TemporaryFile(/tmp/multipartBody8589668883207284087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_09_10_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d77d85017d1eadd0fc451cb5dd51f63.jpg","text":"TemporaryFile(/tmp/multipartBody6038746236462360842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_09_00_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79a63e1849bbc49785eb4635ffe39070.jpg","text":"TemporaryFile(/tmp/multipartBody8256889344941130581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_06_36_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73b1f01fa8b472c5c277148c465920b6.jpg","text":"TemporaryFile(/tmp/multipartBody1095604443364265949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985285547,"filename":"image_30102025_01_06_45_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391561600","file1":"1391561557","file0":"1391561507","file4":"1391561710","file5":"1391561793","file3":"1391561656"},"map_files_photo_id_array":[{"photo_id":"1391561793","filename":"file5"},{"photo_id":"1391561600","filename":"file2"},{"photo_id":"1391561710","filename":"file4"},{"photo_id":"1391561557","filename":"file1"},{"photo_id":"1391561507","filename":"file0"},{"photo_id":"1391561656","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391561656":["hashtag1","hashtag2"]},{"1391561557":["hashtag1","hashtag2"]},{"1391561793":["hashtag1","hashtag2"]},{"1391561710":["hashtag1","hashtag2"]},{"1391561507":["hashtag1","hashtag2"]},{"1391561600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391561656, 1391561557, 1391561793, 1391561710, 1391561507, 1391561600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.542301654815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:21:22.714148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_13_2668.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_18_2662.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_34_2795.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_43_2708.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_45_2669.jpg', '/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_52_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_13_2668.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_18_2662.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_34_2795.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_43_2708.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_45_2669.jpg
/home/pi/Desktop/images/30102025/01/09/image_30102025_01_09_52_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391562090","1391562078","1391562086","1391562065","1391562062","1391562104"],"photo_ids_order":["1391562062","1391562065","1391562078","1391562086","1391562090","1391562104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7e44e6dd9986749c92dc7dd75c690ee.jpg","text":"TemporaryFile(/tmp/multipartBody8828657150771675295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_45_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e49d9f3869b7cdee5157bf37d108d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6620003543459719764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_34_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e01523121dfed9d793da1a5d5ae70c8.jpg","text":"TemporaryFile(/tmp/multipartBody4503226201402966858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_43_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bef610179016c6723c2af43e627f7e83.jpg","text":"TemporaryFile(/tmp/multipartBody7194017115415009529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_18_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/856bf7559086c3ae9e1933a33684185d.jpg","text":"TemporaryFile(/tmp/multipartBody4217501061276928469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5f25c9500e98024282162fa46398c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6871991809171343335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985345672,"filename":"image_30102025_01_09_52_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391562078","file1":"1391562065","file0":"1391562062","file4":"1391562090","file5":"1391562104","file3":"1391562086"},"map_files_photo_id_array":[{"photo_id":"1391562104","filename":"file5"},{"photo_id":"1391562078","filename":"file2"},{"photo_id":"1391562090","filename":"file4"},{"photo_id":"1391562065","filename":"file1"},{"photo_id":"1391562062","filename":"file0"},{"photo_id":"1391562086","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391562090":["hashtag1","hashtag2"]},{"1391562078":["hashtag1","hashtag2"]},{"1391562086":["hashtag1","hashtag2"]},{"1391562065":["hashtag1","hashtag2"]},{"1391562062":["hashtag1","hashtag2"]},{"1391562104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391562090, 1391562078, 1391562086, 1391562065, 1391562062, 1391562104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.265461921691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:22:21.950290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_04_3597.jpg', '/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_07_2981.jpg', '/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_49_1814.jpg', '/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_51_1556.jpg', '/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_21_1692.jpg', '/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_24_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_04_3597.jpg
/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_07_2981.jpg
/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_49_1814.jpg
/home/pi/Desktop/images/30102025/01/10/image_30102025_01_10_51_1556.jpg
/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_21_1692.jpg
/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_24_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391562183","1391562186","1391562230","1391562323","1391562187","1391562404"],"photo_ids_order":["1391562183","1391562186","1391562187","1391562230","1391562323","1391562404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea9d68ff53e8a4c04ac92a902374bc74.jpg","text":"TemporaryFile(/tmp/multipartBody1290572155747542275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_10_04_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fea7164848d3881e702fdad9f4a00e17.jpg","text":"TemporaryFile(/tmp/multipartBody5358593500552442398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_10_07_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1aea0a05518b9ad85bc6668364297c55.jpg","text":"TemporaryFile(/tmp/multipartBody5080712323717821255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_10_51_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0b9d107e7d89cfb048b6ae4ab2fe35f.jpg","text":"TemporaryFile(/tmp/multipartBody1320749376668227782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_11_21_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/910c82daa90a18732fac887831e4064e.jpg","text":"TemporaryFile(/tmp/multipartBody7679147560015310307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_10_49_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f06d4b8ebc7b7cb9610fb063c25a4bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1550190227207683733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985404890,"filename":"image_30102025_01_11_24_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391562187","file1":"1391562186","file0":"1391562183","file4":"1391562323","file5":"1391562404","file3":"1391562230"},"map_files_photo_id_array":[{"photo_id":"1391562404","filename":"file5"},{"photo_id":"1391562187","filename":"file2"},{"photo_id":"1391562323","filename":"file4"},{"photo_id":"1391562186","filename":"file1"},{"photo_id":"1391562183","filename":"file0"},{"photo_id":"1391562230","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391562183":["hashtag1","hashtag2"]},{"1391562186":["hashtag1","hashtag2"]},{"1391562230":["hashtag1","hashtag2"]},{"1391562323":["hashtag1","hashtag2"]},{"1391562187":["hashtag1","hashtag2"]},{"1391562404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391562183, 1391562186, 1391562230, 1391562323, 1391562187, 1391562404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31770086288452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:23:22.185780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_26_1732.jpg', '/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_43_1739.jpg', '/home/pi/Desktop/images/30102025/01/11/image_30102025_01_12_01_3742.jpg', '/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_09_2843.jpg', '/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_13_3547.jpg', '/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_31_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_26_1732.jpg
/home/pi/Desktop/images/30102025/01/11/image_30102025_01_11_43_1739.jpg
/home/pi/Desktop/images/30102025/01/11/image_30102025_01_12_01_3742.jpg
/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_09_2843.jpg
/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_13_3547.jpg
/home/pi/Desktop/images/30102025/01/12/image_30102025_01_12_31_2826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391563009","1391562952","1391562969","1391562924","1391562918","1391562949"],"photo_ids_order":["1391562918","1391562924","1391562949","1391562952","1391562969","1391563009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91709f84f4e5704f05e43fd353739c98.jpg","text":"TemporaryFile(/tmp/multipartBody4166481914169938642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_12_31_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/402d2ed65e81ea1351e2b7f127d72f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6551728083291602586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_12_09_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a62339db6444689aa50e34ae0586e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3617297892662432547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_12_13_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba2bb3f96b2298c81cf8bc03db56ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody592979036157831952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_11_43_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2d583ce001cc83bcdc3e8d7f6cf17b7.jpg","text":"TemporaryFile(/tmp/multipartBody6785120048003361940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_11_26_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05cd6e279ce57044b332912cb46ffa34.jpg","text":"TemporaryFile(/tmp/multipartBody283937839646686983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985465162,"filename":"image_30102025_01_12_01_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391562949","file1":"1391562924","file0":"1391562918","file4":"1391562969","file5":"1391563009","file3":"1391562952"},"map_files_photo_id_array":[{"photo_id":"1391563009","filename":"file5"},{"photo_id":"1391562949","filename":"file2"},{"photo_id":"1391562969","filename":"file4"},{"photo_id":"1391562924","filename":"file1"},{"photo_id":"1391562918","filename":"file0"},{"photo_id":"1391562952","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391563009":["hashtag1","hashtag2"]},{"1391562952":["hashtag1","hashtag2"]},{"1391562969":["hashtag1","hashtag2"]},{"1391562924":["hashtag1","hashtag2"]},{"1391562918":["hashtag1","hashtag2"]},{"1391562949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391563009, 1391562952, 1391562969, 1391562924, 1391562918, 1391562949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.438050270080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:24:22.350392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/12/image_30102025_01_13_01_3770.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_06_2796.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_15_2722.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_21_3676.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_31_3667.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_36_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/12/image_30102025_01_13_01_3770.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_06_2796.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_15_2722.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_21_3676.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_31_3667.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_36_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391563487","1391563538","1391563511","1391563483","1391563507","1391563501"],"photo_ids_order":["1391563483","1391563487","1391563501","1391563507","1391563511","1391563538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea7b4a3fb52cab6d9066e49fe6612a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7461592608159916895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_06_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d64bf276a17b7d02432002947fdcb149.jpg","text":"TemporaryFile(/tmp/multipartBody1794386883060279447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_36_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/587e51cafc0a6def0b03b7e49f7bd7da.jpg","text":"TemporaryFile(/tmp/multipartBody5401551308307732476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_31_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a3b8a71168075a8f1cf6ed3dc652429.jpg","text":"TemporaryFile(/tmp/multipartBody2916250164935370129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_01_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26f9a2195eb78d8d43f9e81f95468b29.jpg","text":"TemporaryFile(/tmp/multipartBody8279962974929877366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_21_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f9daa386a1eeeac5d0095eaefb59cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1951408000711698026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985525304,"filename":"image_30102025_01_13_15_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391563501","file1":"1391563487","file0":"1391563483","file4":"1391563511","file5":"1391563538","file3":"1391563507"},"map_files_photo_id_array":[{"photo_id":"1391563538","filename":"file5"},{"photo_id":"1391563501","filename":"file2"},{"photo_id":"1391563511","filename":"file4"},{"photo_id":"1391563487","filename":"file1"},{"photo_id":"1391563483","filename":"file0"},{"photo_id":"1391563507","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391563487":["hashtag1","hashtag2"]},{"1391563538":["hashtag1","hashtag2"]},{"1391563511":["hashtag1","hashtag2"]},{"1391563483":["hashtag1","hashtag2"]},{"1391563507":["hashtag1","hashtag2"]},{"1391563501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391563487, 1391563538, 1391563511, 1391563483, 1391563507, 1391563501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48901867866516 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:25:22.563545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_52_3689.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_54_2527.jpg', '/home/pi/Desktop/images/30102025/01/13/image_30102025_01_14_00_3587.jpg', '/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_03_2623.jpg', '/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_09_2692.jpg', '/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_42_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_52_3689.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_13_54_2527.jpg
/home/pi/Desktop/images/30102025/01/13/image_30102025_01_14_00_3587.jpg
/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_03_2623.jpg
/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_09_2692.jpg
/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_42_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391564208","1391563792","1391563972","1391564116","1391563849","1391564187"],"photo_ids_order":["1391563792","1391563849","1391563972","1391564116","1391564187","1391564208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7b2a7d634cf1cb4949364544927bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody5841145509388696831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_14_42_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/728210ecbccee8fc4713df4fe5738635.jpg","text":"TemporaryFile(/tmp/multipartBody6380288964819752261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_13_52_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bfbd162e459018606926f9c262b361a.jpg","text":"TemporaryFile(/tmp/multipartBody7927595738099084256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_14_00_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e33c973228105e546f493202428bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6581986299257040926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_14_03_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/546c5cf685a746ca8010f718370f9230.jpg","text":"TemporaryFile(/tmp/multipartBody2360717822364600653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_13_54_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebc7e06f5396a87956890ec5034c49e3.jpg","text":"TemporaryFile(/tmp/multipartBody2716933179200944936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985585116,"filename":"image_30102025_01_14_09_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391563972","file1":"1391563849","file0":"1391563792","file4":"1391564187","file5":"1391564208","file3":"1391564116"},"map_files_photo_id_array":[{"photo_id":"1391564208","filename":"file5"},{"photo_id":"1391563972","filename":"file2"},{"photo_id":"1391564187","filename":"file4"},{"photo_id":"1391563849","filename":"file1"},{"photo_id":"1391563792","filename":"file0"},{"photo_id":"1391564116","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391564208":["hashtag1","hashtag2"]},{"1391563792":["hashtag1","hashtag2"]},{"1391563972":["hashtag1","hashtag2"]},{"1391564116":["hashtag1","hashtag2"]},{"1391563849":["hashtag1","hashtag2"]},{"1391564187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391564208, 1391563792, 1391563972, 1391564116, 1391563849, 1391564187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19189715385437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:26:22.599624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_45_3645.jpg', '/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_57_2599.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_09_2565.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_12_2545.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_18_2766.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_27_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_45_3645.jpg
/home/pi/Desktop/images/30102025/01/14/image_30102025_01_14_57_2599.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_09_2565.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_12_2545.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_18_2766.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_27_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391564634","1391564628","1391564619","1391564648","1391564578","1391564631"],"photo_ids_order":["1391564578","1391564619","1391564628","1391564631","1391564634","1391564648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a889e630930d2f7261e2c47fe9f575e2.jpg","text":"TemporaryFile(/tmp/multipartBody1873171391871923191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_15_18_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a9be12122a5c7ac8a3f421792742b06.jpg","text":"TemporaryFile(/tmp/multipartBody6037780650171107770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_15_09_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ea54d738800806baae09f4aeb49c5da.jpg","text":"TemporaryFile(/tmp/multipartBody4326435081248901975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_14_57_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1adaa8be19c93adbfcbb0014ebeca9b.jpg","text":"TemporaryFile(/tmp/multipartBody6578491744340096929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_15_27_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0de2f9eb8f03863da497f096d283479.jpg","text":"TemporaryFile(/tmp/multipartBody2122264423907109048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_14_45_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68a88166ae8f0ffe6f930ba48babe804.jpg","text":"TemporaryFile(/tmp/multipartBody4989425235280556998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985645357,"filename":"image_30102025_01_15_12_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391564628","file1":"1391564619","file0":"1391564578","file4":"1391564634","file5":"1391564648","file3":"1391564631"},"map_files_photo_id_array":[{"photo_id":"1391564648","filename":"file5"},{"photo_id":"1391564628","filename":"file2"},{"photo_id":"1391564634","filename":"file4"},{"photo_id":"1391564619","filename":"file1"},{"photo_id":"1391564578","filename":"file0"},{"photo_id":"1391564631","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391564634":["hashtag1","hashtag2"]},{"1391564628":["hashtag1","hashtag2"]},{"1391564619":["hashtag1","hashtag2"]},{"1391564648":["hashtag1","hashtag2"]},{"1391564578":["hashtag1","hashtag2"]},{"1391564631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391564634, 1391564628, 1391564619, 1391564648, 1391564578, 1391564631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86855387687683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:27:21.836543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_36_2620.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_42_3654.jpg', '/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_51_3651.jpg', '/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_12_2587.jpg', '/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_21_2700.jpg', '/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_32_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_36_2620.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_42_3654.jpg
/home/pi/Desktop/images/30102025/01/15/image_30102025_01_15_51_3651.jpg
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_12_2587.jpg
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_21_2700.jpg
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_32_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391564802","1391564786","1391564810","1391564804","1391564800","1391564743"],"photo_ids_order":["1391564743","1391564786","1391564800","1391564802","1391564804","1391564810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f14ca8bca3e90069eb22002cccee64f7.jpg","text":"TemporaryFile(/tmp/multipartBody8792296968016556071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_16_12_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/407ca9d6fd66420a8d770f2f504ae780.jpg","text":"TemporaryFile(/tmp/multipartBody4672119252279073112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_15_42_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e65c7aa340b621ae4c6ebba8b24c5e89.jpg","text":"TemporaryFile(/tmp/multipartBody7636983198199981668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_16_32_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad60003b16394fdb13ffd1faaf6544d8.jpg","text":"TemporaryFile(/tmp/multipartBody4774305911106410386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_16_21_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/161593a60f0f3e7109f517c62355a926.jpg","text":"TemporaryFile(/tmp/multipartBody6885327645108102750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_15_51_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e4eb23613a0a997737e374a7fa3eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody3921700862614537412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985704762,"filename":"image_30102025_01_15_36_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391564800","file1":"1391564786","file0":"1391564743","file4":"1391564804","file5":"1391564810","file3":"1391564802"},"map_files_photo_id_array":[{"photo_id":"1391564810","filename":"file5"},{"photo_id":"1391564800","filename":"file2"},{"photo_id":"1391564804","filename":"file4"},{"photo_id":"1391564786","filename":"file1"},{"photo_id":"1391564743","filename":"file0"},{"photo_id":"1391564802","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391564802":["hashtag1","hashtag2"]},{"1391564786":["hashtag1","hashtag2"]},{"1391564810":["hashtag1","hashtag2"]},{"1391564804":["hashtag1","hashtag2"]},{"1391564800":["hashtag1","hashtag2"]},{"1391564743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391564802, 1391564786, 1391564810, 1391564804, 1391564800, 1391564743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08256268501282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:28:02.546449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_36_3654.jpg', '/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_39_2664.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_23_2654.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_27_3673.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_36_3681.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_42_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_36_3654.jpg
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_39_2664.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_23_2654.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_27_3673.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_36_3681.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_42_2705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.271897554397583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:28:22.055575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_36_3654.jpg', '/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_39_2664.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_23_2654.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_27_3673.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_36_3681.jpg', '/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_42_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_36_3654.jpg
/home/pi/Desktop/images/30102025/01/16/image_30102025_01_16_39_2664.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_23_2654.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_27_3673.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_36_3681.jpg
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_42_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391564888","1391564873","1391564878","1391564866","1391564869","1391564883"],"photo_ids_order":["1391564866","1391564869","1391564873","1391564878","1391564883","1391564888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/492791abc524cfaebc5c0aa091349a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3157365650909143972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_17_42_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8d98abd06349dc80a4088344310cf88.jpg","text":"TemporaryFile(/tmp/multipartBody6554367915058357834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_17_23_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b654ccb1c939fc1b399e762d95c5252.jpg","text":"TemporaryFile(/tmp/multipartBody3091751001881710914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_17_27_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6967f2cbd50ab1f08848e337b78b0233.jpg","text":"TemporaryFile(/tmp/multipartBody8796281695815021185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_16_36_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17d40736b972c7021aa211afad6179fb.jpg","text":"TemporaryFile(/tmp/multipartBody9191272427763557721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_16_39_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/351b322cc3954665a5d0d751d69338d5.jpg","text":"TemporaryFile(/tmp/multipartBody2032906683792581964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985764875,"filename":"image_30102025_01_17_36_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391564873","file1":"1391564869","file0":"1391564866","file4":"1391564883","file5":"1391564888","file3":"1391564878"},"map_files_photo_id_array":[{"photo_id":"1391564888","filename":"file5"},{"photo_id":"1391564873","filename":"file2"},{"photo_id":"1391564883","filename":"file4"},{"photo_id":"1391564869","filename":"file1"},{"photo_id":"1391564866","filename":"file0"},{"photo_id":"1391564878","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391564888":["hashtag1","hashtag2"]},{"1391564873":["hashtag1","hashtag2"]},{"1391564878":["hashtag1","hashtag2"]},{"1391564866":["hashtag1","hashtag2"]},{"1391564869":["hashtag1","hashtag2"]},{"1391564883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391564888, 1391564873, 1391564878, 1391564866, 1391564869, 1391564883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31890416145325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:29:03.023051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_53_2611.jpg', '/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_15_3720.jpg', '/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_36_3531.jpg', '/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_42_3801.jpg', '/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_51_3674.jpg', '/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_59_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/17/image_30102025_01_17_53_2611.jpg
/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_15_3720.jpg
/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_36_3531.jpg
/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_42_3801.jpg
/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_51_3674.jpg
/home/pi/Desktop/images/30102025/01/18/image_30102025_01_18_59_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391564897","1391564942","1391564903","1391564906","1391564900","1391564895"],"photo_ids_order":["1391564895","1391564897","1391564900","1391564903","1391564906","1391564942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b6fafe73400c1f455e1795693bb7756.jpg","text":"TemporaryFile(/tmp/multipartBody3409669611873089899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_18_15_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a147b456d32cfbc2ad2a1f3ea9692a13.jpg","text":"TemporaryFile(/tmp/multipartBody8343271571111850331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_18_59_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02642256ad4fd079249c29baa2e34169.jpg","text":"TemporaryFile(/tmp/multipartBody2537363789603998830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_18_42_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/628d3a25e34d48a2cf9282f2cfb68416.jpg","text":"TemporaryFile(/tmp/multipartBody510168291084353783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_18_51_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76d9417b460c9e57b0a5259eada03818.jpg","text":"TemporaryFile(/tmp/multipartBody3310250122374498585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_18_36_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d13ca0d755aa199336c6eb8efaac6172.jpg","text":"TemporaryFile(/tmp/multipartBody6262489587964692488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985805469,"filename":"image_30102025_01_17_53_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391564900","file1":"1391564897","file0":"1391564895","file4":"1391564906","file5":"1391564942","file3":"1391564903"},"map_files_photo_id_array":[{"photo_id":"1391564942","filename":"file5"},{"photo_id":"1391564900","filename":"file2"},{"photo_id":"1391564906","filename":"file4"},{"photo_id":"1391564897","filename":"file1"},{"photo_id":"1391564895","filename":"file0"},{"photo_id":"1391564903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391564897":["hashtag1","hashtag2"]},{"1391564942":["hashtag1","hashtag2"]},{"1391564903":["hashtag1","hashtag2"]},{"1391564906":["hashtag1","hashtag2"]},{"1391564900":["hashtag1","hashtag2"]},{"1391564895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391564897, 1391564942, 1391564903, 1391564906, 1391564900, 1391564895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90496516227722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:30:02.919177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_06_2675.jpg', '/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_21_3612.jpg', '/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_36_2567.jpg', '/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_53_2630.jpg', '/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_08_2775.jpg', '/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_15_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_06_2675.jpg
/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_21_3612.jpg
/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_36_2567.jpg
/home/pi/Desktop/images/30102025/01/19/image_30102025_01_19_53_2630.jpg
/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_08_2775.jpg
/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_15_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391565068","1391565070","1391565072","1391565066","1391565075","1391565063"],"photo_ids_order":["1391565063","1391565066","1391565068","1391565070","1391565072","1391565075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e10651742d6a20834b5ba0f9b4ac0cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1576105017539695980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_19_36_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07c6f8ce772fff82eb5ff00f7ff40714.jpg","text":"TemporaryFile(/tmp/multipartBody794109935924483397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_19_53_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a90a7f79aa57e2f96351e9152cd0f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody7387444136407304943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_21_08_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e786c669231beee53a408224ea1911c5.jpg","text":"TemporaryFile(/tmp/multipartBody2069060447700140120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_19_21_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e2373b7fb3599d821d2e3e9ea3f20b4.jpg","text":"TemporaryFile(/tmp/multipartBody742002885176458390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_21_15_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31f3d2e25d2742f13322e763925198c1.jpg","text":"TemporaryFile(/tmp/multipartBody5502497938292829510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985865305,"filename":"image_30102025_01_19_06_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391565068","file1":"1391565066","file0":"1391565063","file4":"1391565072","file5":"1391565075","file3":"1391565070"},"map_files_photo_id_array":[{"photo_id":"1391565075","filename":"file5"},{"photo_id":"1391565068","filename":"file2"},{"photo_id":"1391565072","filename":"file4"},{"photo_id":"1391565066","filename":"file1"},{"photo_id":"1391565063","filename":"file0"},{"photo_id":"1391565070","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391565068":["hashtag1","hashtag2"]},{"1391565070":["hashtag1","hashtag2"]},{"1391565072":["hashtag1","hashtag2"]},{"1391565066":["hashtag1","hashtag2"]},{"1391565075":["hashtag1","hashtag2"]},{"1391565063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391565068, 1391565070, 1391565072, 1391565066, 1391565075, 1391565063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.596373319625854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:30:42.529656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_29_2756.jpg', '/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_59_2519.jpg', '/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_05_2758.jpg', '/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_08_2812.jpg', '/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_42_3728.jpg', '/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_53_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_29_2756.jpg
/home/pi/Desktop/images/30102025/01/21/image_30102025_01_21_59_2519.jpg
/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_05_2758.jpg
/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_08_2812.jpg
/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_42_3728.jpg
/home/pi/Desktop/images/30102025/01/22/image_30102025_01_22_53_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391565169","1391565082","1391565106","1391565198","1391565109","1391565084"],"photo_ids_order":["1391565082","1391565084","1391565106","1391565109","1391565169","1391565198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1ccaca6b944ced67936fefb44f0c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody237991782796591295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_22_42_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16a763c5e64d97d9caff3d48e8d357e2.jpg","text":"TemporaryFile(/tmp/multipartBody3501423489980927559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_21_29_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd3cd57d8e8d92176bfec10a768e4fc2.jpg","text":"TemporaryFile(/tmp/multipartBody443875742213014827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_22_05_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec9ed12b87ba24ad17c4a141d27dad77.jpg","text":"TemporaryFile(/tmp/multipartBody5395103347627187962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_22_53_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d69e3499951b76315a0bb47ad28c2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2533645067637014630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_22_08_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8822770e7797ddabca8f13e2cee53c98.jpg","text":"TemporaryFile(/tmp/multipartBody3524059168930160203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985903888,"filename":"image_30102025_01_21_59_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391565106","file1":"1391565084","file0":"1391565082","file4":"1391565169","file5":"1391565198","file3":"1391565109"},"map_files_photo_id_array":[{"photo_id":"1391565198","filename":"file5"},{"photo_id":"1391565106","filename":"file2"},{"photo_id":"1391565169","filename":"file4"},{"photo_id":"1391565084","filename":"file1"},{"photo_id":"1391565082","filename":"file0"},{"photo_id":"1391565109","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391565169":["hashtag1","hashtag2"]},{"1391565082":["hashtag1","hashtag2"]},{"1391565106":["hashtag1","hashtag2"]},{"1391565198":["hashtag1","hashtag2"]},{"1391565109":["hashtag1","hashtag2"]},{"1391565084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391565169, 1391565082, 1391565106, 1391565198, 1391565109, 1391565084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.425737380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:31:22.681075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/22/image_30102025_01_23_00_3654.jpg', '/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_05_2740.jpg', '/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_09_3751.jpg', '/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_20_3540.jpg', '/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_05_2558.jpg', '/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_35_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/22/image_30102025_01_23_00_3654.jpg
/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_05_2740.jpg
/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_09_3751.jpg
/home/pi/Desktop/images/30102025/01/23/image_30102025_01_23_20_3540.jpg
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_05_2558.jpg
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_35_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391565290","1391565359","1391565283","1391565328","1391565345","1391565287"],"photo_ids_order":["1391565283","1391565287","1391565290","1391565328","1391565345","1391565359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6069ea5b313c988117467ebb503bcea0.jpg","text":"TemporaryFile(/tmp/multipartBody462090005793513055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_23_09_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81af87706641bc6897c7dc883d4fa480.jpg","text":"TemporaryFile(/tmp/multipartBody5311339523300893323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_24_35_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a258026565b1fa5b987cadaa361ea1a.jpg","text":"TemporaryFile(/tmp/multipartBody8166574036994097817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_23_00_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8c8a0d6c7c0de1388ac73d7614b769a.jpg","text":"TemporaryFile(/tmp/multipartBody6009905225741682201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_23_20_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19800c8e1c94c53c25ece011db3ad0b4.jpg","text":"TemporaryFile(/tmp/multipartBody5784640778141609678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_24_05_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccaf02a4ddf712e633264b5ea1e1b7ef.jpg","text":"TemporaryFile(/tmp/multipartBody3170453231529437120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761985945625,"filename":"image_30102025_01_23_05_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391565290","file1":"1391565287","file0":"1391565283","file4":"1391565345","file5":"1391565359","file3":"1391565328"},"map_files_photo_id_array":[{"photo_id":"1391565359","filename":"file5"},{"photo_id":"1391565290","filename":"file2"},{"photo_id":"1391565345","filename":"file4"},{"photo_id":"1391565287","filename":"file1"},{"photo_id":"1391565283","filename":"file0"},{"photo_id":"1391565328","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391565290":["hashtag1","hashtag2"]},{"1391565359":["hashtag1","hashtag2"]},{"1391565283":["hashtag1","hashtag2"]},{"1391565328":["hashtag1","hashtag2"]},{"1391565345":["hashtag1","hashtag2"]},{"1391565287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391565290, 1391565359, 1391565283, 1391565328, 1391565345, 1391565287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.023563385009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:32:21.919575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_44_2678.jpg', '/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_50_1729.jpg', '/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_56_2718.jpg', '/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_59_3571.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_02_2673.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_08_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_44_2678.jpg
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_50_1729.jpg
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_56_2718.jpg
/home/pi/Desktop/images/30102025/01/24/image_30102025_01_24_59_3571.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_02_2673.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_08_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391565572","1391565577","1391565579","1391565564","1391565567","1391565584"],"photo_ids_order":["1391565564","1391565567","1391565572","1391565577","1391565579","1391565584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a80bfdb6fd7732ec489ec4c3ff8b548.jpg","text":"TemporaryFile(/tmp/multipartBody3262111221372257126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_24_56_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3093d7c093d897c4aa9538c4633728d7.jpg","text":"TemporaryFile(/tmp/multipartBody2299363284497067603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_24_59_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f148b184f33b23bea5ade28497f40592.jpg","text":"TemporaryFile(/tmp/multipartBody5411439897464548888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_25_02_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe34fb37cbec69a447113066308e4cd1.jpg","text":"TemporaryFile(/tmp/multipartBody679910584175127779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_24_44_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23c4fa55a30d465c246959679d5118f7.jpg","text":"TemporaryFile(/tmp/multipartBody5757831358458569001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_24_50_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c8010fee5b2a274c3131cf9711fb505.jpg","text":"TemporaryFile(/tmp/multipartBody4583148880565808910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986004842,"filename":"image_30102025_01_25_08_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391565572","file1":"1391565567","file0":"1391565564","file4":"1391565579","file5":"1391565584","file3":"1391565577"},"map_files_photo_id_array":[{"photo_id":"1391565584","filename":"file5"},{"photo_id":"1391565572","filename":"file2"},{"photo_id":"1391565579","filename":"file4"},{"photo_id":"1391565567","filename":"file1"},{"photo_id":"1391565564","filename":"file0"},{"photo_id":"1391565577","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391565572":["hashtag1","hashtag2"]},{"1391565577":["hashtag1","hashtag2"]},{"1391565579":["hashtag1","hashtag2"]},{"1391565564":["hashtag1","hashtag2"]},{"1391565567":["hashtag1","hashtag2"]},{"1391565584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391565572, 1391565577, 1391565579, 1391565564, 1391565567, 1391565584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.835920333862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:33:22.147658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_14_3697.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_41_2822.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_44_3656.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_47_2641.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_50_2748.jpg', '/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_53_3807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_14_3697.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_41_2822.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_44_3656.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_47_2641.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_50_2748.jpg
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_53_3807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391565755","1391565725","1391565745","1391565733","1391565738","1391565729"],"photo_ids_order":["1391565725","1391565729","1391565733","1391565738","1391565745","1391565755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0bb2c19c37102a002ead346cdb91dd4.jpg","text":"TemporaryFile(/tmp/multipartBody834152188259166259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_53_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94ef82f0ce3a0b50c7ad941e878b5f84.jpg","text":"TemporaryFile(/tmp/multipartBody321721396989497335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_14_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f4316b791a56828391cddb96c4faa9f.jpg","text":"TemporaryFile(/tmp/multipartBody967934344242366275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_50_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/495076cf485b4294895b3835cac0d9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4920656700856499171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_44_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da868b389915ff24281ed316de9bd57d.jpg","text":"TemporaryFile(/tmp/multipartBody7371778077314862917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_47_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1bdfea72db3dff2f16c728fc0a5ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody706895930347975852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986064772,"filename":"image_30102025_01_25_41_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391565733","file1":"1391565729","file0":"1391565725","file4":"1391565745","file5":"1391565755","file3":"1391565738"},"map_files_photo_id_array":[{"photo_id":"1391565755","filename":"file5"},{"photo_id":"1391565733","filename":"file2"},{"photo_id":"1391565745","filename":"file4"},{"photo_id":"1391565729","filename":"file1"},{"photo_id":"1391565725","filename":"file0"},{"photo_id":"1391565738","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391565755":["hashtag1","hashtag2"]},{"1391565725":["hashtag1","hashtag2"]},{"1391565745":["hashtag1","hashtag2"]},{"1391565733":["hashtag1","hashtag2"]},{"1391565738":["hashtag1","hashtag2"]},{"1391565729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391565755, 1391565725, 1391565745, 1391565733, 1391565738, 1391565729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0491201877594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:34:22.393517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_56_2693.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_38_2590.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_47_3697.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_59_2671.jpg', '/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_05_3694.jpg', '/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_50_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_56_2693.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_38_2590.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_47_3697.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_59_2671.jpg
/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_05_3694.jpg
/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_50_2656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.0610716342926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:34:42.407486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_56_2693.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_38_2590.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_47_3697.jpg', '/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_59_2671.jpg', '/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_05_3694.jpg', '/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_50_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/25/image_30102025_01_25_56_2693.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_38_2590.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_47_3697.jpg
/home/pi/Desktop/images/30102025/01/26/image_30102025_01_26_59_2671.jpg
/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_05_3694.jpg
/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_50_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391566409","1391566444","1391566342","1391566449","1391566446","1391566289"],"photo_ids_order":["1391566289","1391566342","1391566409","1391566444","1391566446","1391566449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e04ff244bee25556d05f0aff57912a.jpg","text":"TemporaryFile(/tmp/multipartBody9151419520038520664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_26_47_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c73bbe27e6b707411e411bf17f9d882.jpg","text":"TemporaryFile(/tmp/multipartBody5069306781299139927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_26_59_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3453860cca7b584d639f1b72e20f1b81.jpg","text":"TemporaryFile(/tmp/multipartBody6310019079698248103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_26_38_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4152e7d0805d39fb0f1a8f52e5577034.jpg","text":"TemporaryFile(/tmp/multipartBody3791855143926158891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_27_50_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea10f02efd4a729b75d7b49520483aa1.jpg","text":"TemporaryFile(/tmp/multipartBody438227560499978694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_27_05_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c0702a4319aec4645b82d7ac3e822fe.jpg","text":"TemporaryFile(/tmp/multipartBody394651588191767418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986143676,"filename":"image_30102025_01_25_56_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391566409","file1":"1391566342","file0":"1391566289","file4":"1391566446","file5":"1391566449","file3":"1391566444"},"map_files_photo_id_array":[{"photo_id":"1391566449","filename":"file5"},{"photo_id":"1391566409","filename":"file2"},{"photo_id":"1391566446","filename":"file4"},{"photo_id":"1391566342","filename":"file1"},{"photo_id":"1391566289","filename":"file0"},{"photo_id":"1391566444","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391566409":["hashtag1","hashtag2"]},{"1391566444":["hashtag1","hashtag2"]},{"1391566342":["hashtag1","hashtag2"]},{"1391566449":["hashtag1","hashtag2"]},{"1391566446":["hashtag1","hashtag2"]},{"1391566289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391566409, 1391566444, 1391566342, 1391566449, 1391566446, 1391566289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23261570930481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:35:22.495611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_53_2706.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_02_2743.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_04_2583.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_08_3702.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_20_2696.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_26_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/27/image_30102025_01_27_53_2706.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_02_2743.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_04_2583.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_08_3702.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_20_2696.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_26_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391566456","1391566459","1391566473","1391566464","1391566458","1391566469"],"photo_ids_order":["1391566456","1391566458","1391566459","1391566464","1391566469","1391566473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bee495b01478fafbbefca520d9f2d278.jpg","text":"TemporaryFile(/tmp/multipartBody4928834471085871594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_27_53_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b693a19f8144e68a8e6b0b996db818d.jpg","text":"TemporaryFile(/tmp/multipartBody5862502063570049249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_28_04_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14e53b743e98e9aa2b8a1c7aab2d81d1.jpg","text":"TemporaryFile(/tmp/multipartBody7152096077382812718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_28_26_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbc5d589713d3a43fea3f08e891d5917.jpg","text":"TemporaryFile(/tmp/multipartBody4437858420859884862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_28_08_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d106047cf7b46d0ca70958ec5aaabd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6194348224439597161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_28_02_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acdba63b9dfdc944b1c73cd2e1a7e20f.jpg","text":"TemporaryFile(/tmp/multipartBody7769525811309569898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986185426,"filename":"image_30102025_01_28_20_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391566459","file1":"1391566458","file0":"1391566456","file4":"1391566469","file5":"1391566473","file3":"1391566464"},"map_files_photo_id_array":[{"photo_id":"1391566473","filename":"file5"},{"photo_id":"1391566459","filename":"file2"},{"photo_id":"1391566469","filename":"file4"},{"photo_id":"1391566458","filename":"file1"},{"photo_id":"1391566456","filename":"file0"},{"photo_id":"1391566464","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391566456":["hashtag1","hashtag2"]},{"1391566459":["hashtag1","hashtag2"]},{"1391566473":["hashtag1","hashtag2"]},{"1391566464":["hashtag1","hashtag2"]},{"1391566458":["hashtag1","hashtag2"]},{"1391566469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391566456, 1391566459, 1391566473, 1391566464, 1391566458, 1391566469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17181730270386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:36:22.691226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_29_2581.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_31_2751.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_47_3584.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_52_2599.jpg', '/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_59_2870.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_07_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_29_2581.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_31_2751.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_47_3584.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_52_2599.jpg
/home/pi/Desktop/images/30102025/01/28/image_30102025_01_28_59_2870.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_07_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391566541","1391566505","1391566537","1391566530","1391566490","1391566493"],"photo_ids_order":["1391566490","1391566493","1391566505","1391566530","1391566537","1391566541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd606d18afed60ee47e342fddb2e9d96.jpg","text":"TemporaryFile(/tmp/multipartBody5799470873185823931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_29_07_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4809008005e845d4d9a3b6bc4cdf198.jpg","text":"TemporaryFile(/tmp/multipartBody1496032122160274156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_28_47_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1c0efb8b2810d0a18e85f7688bca426.jpg","text":"TemporaryFile(/tmp/multipartBody2757752297512900105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_28_59_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d6a052d78e1e78d981bee3f9c90bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody6197522656241750212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_28_52_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7863699d6e5519d103efaeed77a89f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4681577667528941202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_28_29_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f974b840b073d84ad1c18c35affb39ae.jpg","text":"TemporaryFile(/tmp/multipartBody5285826723841302365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986245729,"filename":"image_30102025_01_28_31_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391566505","file1":"1391566493","file0":"1391566490","file4":"1391566537","file5":"1391566541","file3":"1391566530"},"map_files_photo_id_array":[{"photo_id":"1391566541","filename":"file5"},{"photo_id":"1391566505","filename":"file2"},{"photo_id":"1391566537","filename":"file4"},{"photo_id":"1391566493","filename":"file1"},{"photo_id":"1391566490","filename":"file0"},{"photo_id":"1391566530","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391566541":["hashtag1","hashtag2"]},{"1391566505":["hashtag1","hashtag2"]},{"1391566537":["hashtag1","hashtag2"]},{"1391566530":["hashtag1","hashtag2"]},{"1391566490":["hashtag1","hashtag2"]},{"1391566493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391566541, 1391566505, 1391566537, 1391566530, 1391566490, 1391566493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93139171600342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:37:21.924546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_11_3674.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_14_2671.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_23_3683.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_28_2671.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_46_2603.jpg', '/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_53_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_11_3674.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_14_2671.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_23_3683.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_28_2671.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_46_2603.jpg
/home/pi/Desktop/images/30102025/01/29/image_30102025_01_29_53_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391566690","1391566681","1391566657","1391566686","1391566707","1391566673"],"photo_ids_order":["1391566657","1391566673","1391566681","1391566686","1391566690","1391566707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df1512133b766d756265a9c4d77d5f34.jpg","text":"TemporaryFile(/tmp/multipartBody1141020061283299445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_46_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea0838facc5ffec08c55b5f8d4b74ece.jpg","text":"TemporaryFile(/tmp/multipartBody8756359234280319709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_23_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b25e26fdcad3027da79cd9053838500b.jpg","text":"TemporaryFile(/tmp/multipartBody5982018784337336699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_11_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47cbcab388c927c396e9b88843cf7a39.jpg","text":"TemporaryFile(/tmp/multipartBody8445449150793005045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d36446bb9169e23a01399fad187d5cad.jpg","text":"TemporaryFile(/tmp/multipartBody6699341635373145236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_53_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87db9bb7e9582208e03797d3cf277507.jpg","text":"TemporaryFile(/tmp/multipartBody1709479119724535343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986304866,"filename":"image_30102025_01_29_14_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391566681","file1":"1391566673","file0":"1391566657","file4":"1391566690","file5":"1391566707","file3":"1391566686"},"map_files_photo_id_array":[{"photo_id":"1391566707","filename":"file5"},{"photo_id":"1391566681","filename":"file2"},{"photo_id":"1391566690","filename":"file4"},{"photo_id":"1391566673","filename":"file1"},{"photo_id":"1391566657","filename":"file0"},{"photo_id":"1391566686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391566690":["hashtag1","hashtag2"]},{"1391566681":["hashtag1","hashtag2"]},{"1391566657":["hashtag1","hashtag2"]},{"1391566686":["hashtag1","hashtag2"]},{"1391566707":["hashtag1","hashtag2"]},{"1391566673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391566690, 1391566681, 1391566657, 1391566686, 1391566707, 1391566673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21869158744812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:38:02.504879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/31/image_30102025_01_31_46_2570.jpg', '/home/pi/Desktop/images/30102025/01/31/image_30102025_01_31_52_2813.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_10_2563.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_17_3676.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_25_3548.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_43_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/31/image_30102025_01_31_46_2570.jpg
/home/pi/Desktop/images/30102025/01/31/image_30102025_01_31_52_2813.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_10_2563.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_17_3676.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_25_3548.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_43_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391566857","1391566851","1391566860","1391566854","1391566848","1391566844"],"photo_ids_order":["1391566844","1391566848","1391566851","1391566854","1391566857","1391566860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ce5d56cef23624bb3813eb7a770c6fb.jpg","text":"TemporaryFile(/tmp/multipartBody3748715182889504578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_32_25_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a54136e4ab7f7370465cb02cbd3fd72d.jpg","text":"TemporaryFile(/tmp/multipartBody6252365643884820786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_32_10_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7122484bc8bf125ead827615ec9aea43.jpg","text":"TemporaryFile(/tmp/multipartBody2941755667270061835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_32_43_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d5cc7ad5d21fd21d1e8b24a6e37919b.jpg","text":"TemporaryFile(/tmp/multipartBody3235216568261973460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_32_17_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/730020eac18328d359d53b6f387b6766.jpg","text":"TemporaryFile(/tmp/multipartBody1567133249014377599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_31_52_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ae75b41c9d95d768ba139df8bf95c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8099686529218781229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986344877,"filename":"image_30102025_01_31_46_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391566851","file1":"1391566848","file0":"1391566844","file4":"1391566857","file5":"1391566860","file3":"1391566854"},"map_files_photo_id_array":[{"photo_id":"1391566860","filename":"file5"},{"photo_id":"1391566851","filename":"file2"},{"photo_id":"1391566857","filename":"file4"},{"photo_id":"1391566848","filename":"file1"},{"photo_id":"1391566844","filename":"file0"},{"photo_id":"1391566854","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391566857":["hashtag1","hashtag2"]},{"1391566851":["hashtag1","hashtag2"]},{"1391566860":["hashtag1","hashtag2"]},{"1391566854":["hashtag1","hashtag2"]},{"1391566848":["hashtag1","hashtag2"]},{"1391566844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391566857, 1391566851, 1391566860, 1391566854, 1391566848, 1391566844)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.00750923156738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:39:03.378246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_46_2785.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_55_2606.jpg', '/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_58_2621.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_19_2688.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_23_3610.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_31_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_46_2785.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_55_2606.jpg
/home/pi/Desktop/images/30102025/01/32/image_30102025_01_32_58_2621.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_19_2688.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_23_3610.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_31_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391567015","1391567050","1391566978","1391567046","1391567048","1391567045"],"photo_ids_order":["1391566978","1391567015","1391567045","1391567046","1391567048","1391567050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35d6bf602ddc35661c1f779ffa223bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6017560676752487806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_32_55_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7d4984d7894a70076bc10b6725620ab.jpg","text":"TemporaryFile(/tmp/multipartBody7781478453650947968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_33_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8fb045e3564147bb5349b73ab952c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2595622293706691052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_32_46_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5f77b95e55ec08feec847cc35aa708e.jpg","text":"TemporaryFile(/tmp/multipartBody6408990084100992144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_33_19_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efd28ccccf7a5c327584098cabebb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody1939136861662264402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_33_23_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e094122a182157a3228b73c8c6cd7865.jpg","text":"TemporaryFile(/tmp/multipartBody3751604588844254301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986405928,"filename":"image_30102025_01_32_58_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391567045","file1":"1391567015","file0":"1391566978","file4":"1391567048","file5":"1391567050","file3":"1391567046"},"map_files_photo_id_array":[{"photo_id":"1391567050","filename":"file5"},{"photo_id":"1391567045","filename":"file2"},{"photo_id":"1391567048","filename":"file4"},{"photo_id":"1391567015","filename":"file1"},{"photo_id":"1391566978","filename":"file0"},{"photo_id":"1391567046","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391567015":["hashtag1","hashtag2"]},{"1391567050":["hashtag1","hashtag2"]},{"1391566978":["hashtag1","hashtag2"]},{"1391567046":["hashtag1","hashtag2"]},{"1391567048":["hashtag1","hashtag2"]},{"1391567045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391567015, 1391567050, 1391566978, 1391567046, 1391567048, 1391567045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90613579750061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:40:02.908436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_37_2581.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_41_3638.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_43_2591.jpg', '/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_53_3835.jpg', '/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_02_3695.jpg', '/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_07_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_37_2581.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_41_3638.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_43_2591.jpg
/home/pi/Desktop/images/30102025/01/33/image_30102025_01_33_53_3835.jpg
/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_02_3695.jpg
/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_07_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391567077","1391567068","1391567110","1391567103","1391567072","1391567123"],"photo_ids_order":["1391567068","1391567072","1391567077","1391567103","1391567110","1391567123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dfd045a2cfd3a4b8eae9d6a80c9dd76.jpg","text":"TemporaryFile(/tmp/multipartBody1357547141860153138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_33_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/176cfb05a012859e188e13ffdda87c93.jpg","text":"TemporaryFile(/tmp/multipartBody4477357373592173615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_33_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5ebd14c8d248d0f8d87ef5f2ec45576.jpg","text":"TemporaryFile(/tmp/multipartBody6421235086967741900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_34_02_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f1fe9dc47de597947a00cfa611d2a17.jpg","text":"TemporaryFile(/tmp/multipartBody6515824379819589190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_33_53_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78118308cae214693e24e5bd8a198153.jpg","text":"TemporaryFile(/tmp/multipartBody6601173899344183691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_33_41_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d8e44f8884002d6ecb8f23132585c34.jpg","text":"TemporaryFile(/tmp/multipartBody5815505378095612764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986468281,"filename":"image_30102025_01_34_07_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391567077","file1":"1391567072","file0":"1391567068","file4":"1391567110","file5":"1391567123","file3":"1391567103"},"map_files_photo_id_array":[{"photo_id":"1391567123","filename":"file5"},{"photo_id":"1391567077","filename":"file2"},{"photo_id":"1391567110","filename":"file4"},{"photo_id":"1391567072","filename":"file1"},{"photo_id":"1391567068","filename":"file0"},{"photo_id":"1391567103","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391567077":["hashtag1","hashtag2"]},{"1391567068":["hashtag1","hashtag2"]},{"1391567110":["hashtag1","hashtag2"]},{"1391567103":["hashtag1","hashtag2"]},{"1391567072":["hashtag1","hashtag2"]},{"1391567123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391567077, 1391567068, 1391567110, 1391567103, 1391567072, 1391567123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.129809617996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:41:05.170064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_19_1606.jpg', '/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_22_2620.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_19_3643.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_22_2652.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_31_3783.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_34_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_19_1606.jpg
/home/pi/Desktop/images/30102025/01/34/image_30102025_01_34_22_2620.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_19_3643.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_22_2652.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_31_3783.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_34_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391567187","1391567175","1391567163","1391567186","1391567165","1391567147"],"photo_ids_order":["1391567147","1391567163","1391567165","1391567175","1391567186","1391567187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f316b698c2657f996b4bfd5cc3b07757.jpg","text":"TemporaryFile(/tmp/multipartBody138947189386984017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_35_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc2b911c85e70b40fd5e09ce1174fa6d.jpg","text":"TemporaryFile(/tmp/multipartBody5957666368680474417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_35_22_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b03ed6844aa1a7d7b65a584ed0e027b.jpg","text":"TemporaryFile(/tmp/multipartBody7263458548334292824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_34_22_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04898be1669fb35697b403fa441480a1.jpg","text":"TemporaryFile(/tmp/multipartBody8570758962740426680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_35_31_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7298959470ca2f9687ab2b85bcdc7b3.jpg","text":"TemporaryFile(/tmp/multipartBody7502224096221524947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_35_19_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39b044f69bca80fe839ed5f9937928ff.jpg","text":"TemporaryFile(/tmp/multipartBody3778568886833287461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986527505,"filename":"image_30102025_01_34_19_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391567165","file1":"1391567163","file0":"1391567147","file4":"1391567186","file5":"1391567187","file3":"1391567175"},"map_files_photo_id_array":[{"photo_id":"1391567187","filename":"file5"},{"photo_id":"1391567165","filename":"file2"},{"photo_id":"1391567186","filename":"file4"},{"photo_id":"1391567163","filename":"file1"},{"photo_id":"1391567147","filename":"file0"},{"photo_id":"1391567175","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391567187":["hashtag1","hashtag2"]},{"1391567175":["hashtag1","hashtag2"]},{"1391567163":["hashtag1","hashtag2"]},{"1391567186":["hashtag1","hashtag2"]},{"1391567165":["hashtag1","hashtag2"]},{"1391567147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391567187, 1391567175, 1391567163, 1391567186, 1391567165, 1391567147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82823157310486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:42:02.356243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_37_2643.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_40_3872.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_49_3628.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_54_2577.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_58_3556.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_01_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_37_2643.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_40_3872.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_49_3628.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_54_2577.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_58_3556.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_01_2550.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.274385929107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:42:21.782497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_37_2643.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_40_3872.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_49_3628.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_54_2577.jpg', '/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_58_3556.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_01_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_37_2643.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_40_3872.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_49_3628.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_54_2577.jpg
/home/pi/Desktop/images/30102025/01/35/image_30102025_01_35_58_3556.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_01_2550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391567548","1391567713","1391567690","1391567718","1391567666","1391567615"],"photo_ids_order":["1391567548","1391567615","1391567666","1391567690","1391567713","1391567718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b252ea35d8a0e112d1660020278699e.jpg","text":"TemporaryFile(/tmp/multipartBody3027033180953553797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_35_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dc9fa5180726224c9a90c66fcafdcc3.jpg","text":"TemporaryFile(/tmp/multipartBody7456060854377520314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_35_58_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a729db9f72444b696e292d04c28d5e6d.jpg","text":"TemporaryFile(/tmp/multipartBody8135098121377924011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_35_54_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a914458ab145127a95c38fd219ac0eab.jpg","text":"TemporaryFile(/tmp/multipartBody3852400706669232668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_36_01_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f9ada8d4e9cec8128cdd30a76bf93db.jpg","text":"TemporaryFile(/tmp/multipartBody4079466373933483206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_35_49_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa90188b601cd8475740a090eab30e17.jpg","text":"TemporaryFile(/tmp/multipartBody4921186183241821379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986604559,"filename":"image_30102025_01_35_40_3872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391567666","file1":"1391567615","file0":"1391567548","file4":"1391567713","file5":"1391567718","file3":"1391567690"},"map_files_photo_id_array":[{"photo_id":"1391567718","filename":"file5"},{"photo_id":"1391567666","filename":"file2"},{"photo_id":"1391567713","filename":"file4"},{"photo_id":"1391567615","filename":"file1"},{"photo_id":"1391567548","filename":"file0"},{"photo_id":"1391567690","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391567548":["hashtag1","hashtag2"]},{"1391567713":["hashtag1","hashtag2"]},{"1391567690":["hashtag1","hashtag2"]},{"1391567718":["hashtag1","hashtag2"]},{"1391567666":["hashtag1","hashtag2"]},{"1391567615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391567548, 1391567713, 1391567690, 1391567718, 1391567666, 1391567615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81504702568054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:43:02.682622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_07_2658.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_34_3610.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_43_3615.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_48_2691.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_57_2801.jpg', '/home/pi/Desktop/images/30102025/01/36/image_30102025_01_37_01_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_07_2658.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_34_3610.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_43_3615.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_48_2691.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_36_57_2801.jpg
/home/pi/Desktop/images/30102025/01/36/image_30102025_01_37_01_3758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391567857","1391567743","1391567784","1391567729","1391567723","1391567726"],"photo_ids_order":["1391567723","1391567726","1391567729","1391567743","1391567784","1391567857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ae277bb4caa9079718ae86089a08bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5214131820027022330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_37_01_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/375406f151462eea01247c271b82255c.jpg","text":"TemporaryFile(/tmp/multipartBody5667216776399349945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_36_48_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63dc7ef671d067e1207889043d203772.jpg","text":"TemporaryFile(/tmp/multipartBody5331795120704282617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_36_57_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bed01777345325c4b3e4ede2e2a418e4.jpg","text":"TemporaryFile(/tmp/multipartBody6915674765870819100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_36_43_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bbb05dab926a5844f09283c1c26196e.jpg","text":"TemporaryFile(/tmp/multipartBody4854587265231945328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_36_07_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4af46377263b2646a21555581123aceb.jpg","text":"TemporaryFile(/tmp/multipartBody3359747685962287367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986647626,"filename":"image_30102025_01_36_34_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391567729","file1":"1391567726","file0":"1391567723","file4":"1391567784","file5":"1391567857","file3":"1391567743"},"map_files_photo_id_array":[{"photo_id":"1391567857","filename":"file5"},{"photo_id":"1391567729","filename":"file2"},{"photo_id":"1391567784","filename":"file4"},{"photo_id":"1391567726","filename":"file1"},{"photo_id":"1391567723","filename":"file0"},{"photo_id":"1391567743","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391567857":["hashtag1","hashtag2"]},{"1391567743":["hashtag1","hashtag2"]},{"1391567784":["hashtag1","hashtag2"]},{"1391567729":["hashtag1","hashtag2"]},{"1391567723":["hashtag1","hashtag2"]},{"1391567726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391567857, 1391567743, 1391567784, 1391567729, 1391567723, 1391567726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.429529905319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:44:02.823724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_10_3631.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_19_3536.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_22_2640.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_37_3707.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_42_2708.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_54_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_10_3631.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_19_3536.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_22_2640.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_37_3707.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_42_2708.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_54_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391568556","1391568459","1391568772","1391568598","1391568664","1391568493"],"photo_ids_order":["1391568459","1391568493","1391568556","1391568598","1391568664","1391568772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2696d52726dc5cebc8167fc2f914316b.jpg","text":"TemporaryFile(/tmp/multipartBody6430453048813964673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e182d7b29211adfb57d7924c26952f1.jpg","text":"TemporaryFile(/tmp/multipartBody3365458515156453258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_10_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc5f934576a54add1357909173fae45a.jpg","text":"TemporaryFile(/tmp/multipartBody2090615121173140431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_54_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3645fee8af4f89a80006c33b08c5b012.jpg","text":"TemporaryFile(/tmp/multipartBody9123950821615926946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_37_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edb378427e4cf68f07e935ed8c33e5de.jpg","text":"TemporaryFile(/tmp/multipartBody8458033388255721567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/106c1c47cf6db5f932fd6e4b45254f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3982736246805668137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986705230,"filename":"image_30102025_01_37_19_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391568556","file1":"1391568493","file0":"1391568459","file4":"1391568664","file5":"1391568772","file3":"1391568598"},"map_files_photo_id_array":[{"photo_id":"1391568772","filename":"file5"},{"photo_id":"1391568556","filename":"file2"},{"photo_id":"1391568664","filename":"file4"},{"photo_id":"1391568493","filename":"file1"},{"photo_id":"1391568459","filename":"file0"},{"photo_id":"1391568598","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391568556":["hashtag1","hashtag2"]},{"1391568459":["hashtag1","hashtag2"]},{"1391568772":["hashtag1","hashtag2"]},{"1391568598":["hashtag1","hashtag2"]},{"1391568664":["hashtag1","hashtag2"]},{"1391568493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391568556, 1391568459, 1391568772, 1391568598, 1391568664, 1391568493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.003278732299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:45:02.988188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_58_3597.jpg', '/home/pi/Desktop/images/30102025/01/37/image_30102025_01_38_00_2526.jpg', '/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_07_2869.jpg', '/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_10_2638.jpg', '/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_12_2691.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_24_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_37_58_3597.jpg
/home/pi/Desktop/images/30102025/01/37/image_30102025_01_38_00_2526.jpg
/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_07_2869.jpg
/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_10_2638.jpg
/home/pi/Desktop/images/30102025/01/38/image_30102025_01_38_12_2691.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_24_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391569388","1391569367","1391569393","1391569384","1391569398","1391569386"],"photo_ids_order":["1391569367","1391569384","1391569386","1391569388","1391569393","1391569398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4cacb9bbcf707b7611cdc52bd5372b5.jpg","text":"TemporaryFile(/tmp/multipartBody582149068660327045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_38_10_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97176b38d9474266c0f4092380c05eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1079957032229497050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_37_58_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e58d77c23478b860825aff19f6f5736.jpg","text":"TemporaryFile(/tmp/multipartBody3576976032176939104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_38_12_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b3e31a2c5cc5841f02ce2ac7ba6b07b.jpg","text":"TemporaryFile(/tmp/multipartBody1847342873388686128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_38_00_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/102086a3d11607bead9e2fb40c8b39b8.jpg","text":"TemporaryFile(/tmp/multipartBody7436911515766933602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_39_24_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72c2c12b0644acfa1b88f460a33f5174.jpg","text":"TemporaryFile(/tmp/multipartBody773250702981183285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986765457,"filename":"image_30102025_01_38_07_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391569386","file1":"1391569384","file0":"1391569367","file4":"1391569393","file5":"1391569398","file3":"1391569388"},"map_files_photo_id_array":[{"photo_id":"1391569398","filename":"file5"},{"photo_id":"1391569386","filename":"file2"},{"photo_id":"1391569393","filename":"file4"},{"photo_id":"1391569384","filename":"file1"},{"photo_id":"1391569367","filename":"file0"},{"photo_id":"1391569388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391569388":["hashtag1","hashtag2"]},{"1391569367":["hashtag1","hashtag2"]},{"1391569393":["hashtag1","hashtag2"]},{"1391569384":["hashtag1","hashtag2"]},{"1391569398":["hashtag1","hashtag2"]},{"1391569386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391569388, 1391569367, 1391569393, 1391569384, 1391569398, 1391569386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.138628005981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:45:42.440468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_28_3684.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_33_2648.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_40_2909.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_43_2770.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_45_2654.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_49_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_28_3684.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_33_2648.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_40_2909.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_43_2770.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_45_2654.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_49_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391569476","1391569487","1391569469","1391569492","1391569486","1391569474"],"photo_ids_order":["1391569469","1391569474","1391569476","1391569486","1391569487","1391569492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4a8f3fbd4f4ce2dc934b2182c9ef219.jpg","text":"TemporaryFile(/tmp/multipartBody3096450911198736024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_40_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd636d3d585c13d2e336d8a224c8c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody6079036523964568590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_45_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da1bae3292429ab89e26f005d66368e3.jpg","text":"TemporaryFile(/tmp/multipartBody8200216326415541353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_28_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31ce5385e8af7a5c2d8d1031a7ab9c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1284285065864465438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_49_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2572fe2652cf75c8ceb1cb66ccdd436c.jpg","text":"TemporaryFile(/tmp/multipartBody143914807121754930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_43_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ecb1ad45b8467084f8e261dffa0d487.jpg","text":"TemporaryFile(/tmp/multipartBody155389199137706872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986803811,"filename":"image_30102025_01_39_33_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391569476","file1":"1391569474","file0":"1391569469","file4":"1391569487","file5":"1391569492","file3":"1391569486"},"map_files_photo_id_array":[{"photo_id":"1391569492","filename":"file5"},{"photo_id":"1391569476","filename":"file2"},{"photo_id":"1391569487","filename":"file4"},{"photo_id":"1391569474","filename":"file1"},{"photo_id":"1391569469","filename":"file0"},{"photo_id":"1391569486","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391569476":["hashtag1","hashtag2"]},{"1391569487":["hashtag1","hashtag2"]},{"1391569469":["hashtag1","hashtag2"]},{"1391569492":["hashtag1","hashtag2"]},{"1391569486":["hashtag1","hashtag2"]},{"1391569474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391569476, 1391569487, 1391569469, 1391569492, 1391569486, 1391569474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73498845100403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:46:22.615394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_52_2723.jpg', '/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_54_2729.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_06_2699.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_13_3803.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_15_2595.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_34_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_52_2723.jpg
/home/pi/Desktop/images/30102025/01/39/image_30102025_01_39_54_2729.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_06_2699.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_13_3803.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_15_2595.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_34_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391569551","1391569585","1391569588","1391569596","1391569600","1391569584"],"photo_ids_order":["1391569551","1391569584","1391569585","1391569588","1391569596","1391569600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81a1a7239ba5367c2974f9cdf1b1e6be.jpg","text":"TemporaryFile(/tmp/multipartBody5887205528188386662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_39_52_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6cda1a9f49f5c85ce98ac6c4c45143b.jpg","text":"TemporaryFile(/tmp/multipartBody8432496334573109018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_40_06_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa24a534fb27a2ad36a8bbbfb6e303b5.jpg","text":"TemporaryFile(/tmp/multipartBody4822962911598718234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_40_13_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5da8dd22e30fbd079a8d81672a1df4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3506297060966579847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_40_15_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/956affbc883925642144617c39a61937.jpg","text":"TemporaryFile(/tmp/multipartBody1085668426163057127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_40_34_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f119da2c1aa966dc55162f1a19321b3b.jpg","text":"TemporaryFile(/tmp/multipartBody107619051047834266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986845583,"filename":"image_30102025_01_39_54_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391569585","file1":"1391569584","file0":"1391569551","file4":"1391569596","file5":"1391569600","file3":"1391569588"},"map_files_photo_id_array":[{"photo_id":"1391569600","filename":"file5"},{"photo_id":"1391569585","filename":"file2"},{"photo_id":"1391569596","filename":"file4"},{"photo_id":"1391569584","filename":"file1"},{"photo_id":"1391569551","filename":"file0"},{"photo_id":"1391569588","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391569551":["hashtag1","hashtag2"]},{"1391569585":["hashtag1","hashtag2"]},{"1391569588":["hashtag1","hashtag2"]},{"1391569596":["hashtag1","hashtag2"]},{"1391569600":["hashtag1","hashtag2"]},{"1391569584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391569551, 1391569585, 1391569588, 1391569596, 1391569600, 1391569584)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.39896559715271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:47:22.718604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_36_2653.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_48_2777.jpg', '/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_51_2766.jpg', '/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_03_2810.jpg', '/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_09_2680.jpg', '/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_27_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_36_2653.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_48_2777.jpg
/home/pi/Desktop/images/30102025/01/40/image_30102025_01_40_51_2766.jpg
/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_03_2810.jpg
/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_09_2680.jpg
/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_27_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391569692","1391569710","1391569707","1391569699","1391569703","1391569696"],"photo_ids_order":["1391569692","1391569696","1391569699","1391569703","1391569707","1391569710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18ecd443517182943b33c3c9984debbd.jpg","text":"TemporaryFile(/tmp/multipartBody485186747997919407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_40_36_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbbb1b029d07dcbcc03a7197dad7ec09.jpg","text":"TemporaryFile(/tmp/multipartBody5957009088923384675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_42_27_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dded56b7927728e26ac2ff7389a0db0.jpg","text":"TemporaryFile(/tmp/multipartBody6705127383009154199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_42_09_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab3afad50a87cf17b502aa5c59f9b598.jpg","text":"TemporaryFile(/tmp/multipartBody4559415195732236001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_40_51_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea271aace52a0a95ccb601e40bf678e1.jpg","text":"TemporaryFile(/tmp/multipartBody991568843951211204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_42_03_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84b0661ae4c205f2d226017283ec57f3.jpg","text":"TemporaryFile(/tmp/multipartBody6587453800811658218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986905462,"filename":"image_30102025_01_40_48_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391569699","file1":"1391569696","file0":"1391569692","file4":"1391569707","file5":"1391569710","file3":"1391569703"},"map_files_photo_id_array":[{"photo_id":"1391569710","filename":"file5"},{"photo_id":"1391569699","filename":"file2"},{"photo_id":"1391569707","filename":"file4"},{"photo_id":"1391569696","filename":"file1"},{"photo_id":"1391569692","filename":"file0"},{"photo_id":"1391569703","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391569692":["hashtag1","hashtag2"]},{"1391569710":["hashtag1","hashtag2"]},{"1391569707":["hashtag1","hashtag2"]},{"1391569699":["hashtag1","hashtag2"]},{"1391569703":["hashtag1","hashtag2"]},{"1391569696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391569692, 1391569710, 1391569707, 1391569699, 1391569703, 1391569696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76746225357056 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:48:22.091329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_39_1723.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_24_2929.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_28_1598.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_32_4290.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_45_3757.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_50_4524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/42/image_30102025_01_42_39_1723.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_24_2929.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_28_1598.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_32_4290.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_45_3757.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_50_4524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391569932","1391569934","1391569922","1391569907","1391569939","1391569912"],"photo_ids_order":["1391569907","1391569912","1391569922","1391569932","1391569934","1391569939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f451d901271a458dc25de875569e32c0.jpg","text":"TemporaryFile(/tmp/multipartBody2835921355104273101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_43_32_4290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ca9a40c1cbb2e3e258726095f6e0c80.jpg","text":"TemporaryFile(/tmp/multipartBody8240307708471083958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_43_45_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/296d299e1b46457e46d90584044a7525.jpg","text":"TemporaryFile(/tmp/multipartBody1954471048339776605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_43_28_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a50146625f2228abdc42b2a390fb0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6738806157429494228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_42_39_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e74d2f2244007eec668a640cb9390039.jpg","text":"TemporaryFile(/tmp/multipartBody3889961079385439169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_43_50_4524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9197fd21e5618cd81c42530954b6054.jpg","text":"TemporaryFile(/tmp/multipartBody2166355363730810951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761986965000,"filename":"image_30102025_01_43_24_2929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391569922","file1":"1391569912","file0":"1391569907","file4":"1391569934","file5":"1391569939","file3":"1391569932"},"map_files_photo_id_array":[{"photo_id":"1391569939","filename":"file5"},{"photo_id":"1391569922","filename":"file2"},{"photo_id":"1391569934","filename":"file4"},{"photo_id":"1391569912","filename":"file1"},{"photo_id":"1391569907","filename":"file0"},{"photo_id":"1391569932","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391569932":["hashtag1","hashtag2"]},{"1391569934":["hashtag1","hashtag2"]},{"1391569922":["hashtag1","hashtag2"]},{"1391569907":["hashtag1","hashtag2"]},{"1391569939":["hashtag1","hashtag2"]},{"1391569912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391569932, 1391569934, 1391569922, 1391569907, 1391569939, 1391569912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12334489822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:49:03.305870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_54_2684.jpg', '/home/pi/Desktop/images/30102025/01/43/image_30102025_01_44_00_3654.jpg', '/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_17_1613.jpg', '/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_18_1598.jpg', '/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_21_2602.jpg', '/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_24_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_43_54_2684.jpg
/home/pi/Desktop/images/30102025/01/43/image_30102025_01_44_00_3654.jpg
/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_17_1613.jpg
/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_18_1598.jpg
/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_21_2602.jpg
/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_24_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391570181","1391570079","1391570166","1391570127","1391570034","1391569989"],"photo_ids_order":["1391569989","1391570034","1391570079","1391570127","1391570166","1391570181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e36fb3f2620de50801a1111fc64b1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5106299921643468663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_44_24_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dec70f80dbc0ab51b6f15d8362d51290.jpg","text":"TemporaryFile(/tmp/multipartBody855648573797645684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_44_17_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0766a01e65fec3b091d8c95e9fafe628.jpg","text":"TemporaryFile(/tmp/multipartBody3316996684943838517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_44_21_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/869f0909cd19d1ef57f1d4721a089768.jpg","text":"TemporaryFile(/tmp/multipartBody3355377744383755090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_44_18_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/723a69ba144a00ed8b764d324cd25868.jpg","text":"TemporaryFile(/tmp/multipartBody2204835123628072941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_44_00_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb248bf47fa7535e3de97efbe97e4b77.jpg","text":"TemporaryFile(/tmp/multipartBody46777616886150960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987007897,"filename":"image_30102025_01_43_54_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391570079","file1":"1391570034","file0":"1391569989","file4":"1391570166","file5":"1391570181","file3":"1391570127"},"map_files_photo_id_array":[{"photo_id":"1391570181","filename":"file5"},{"photo_id":"1391570079","filename":"file2"},{"photo_id":"1391570166","filename":"file4"},{"photo_id":"1391570034","filename":"file1"},{"photo_id":"1391569989","filename":"file0"},{"photo_id":"1391570127","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391570181":["hashtag1","hashtag2"]},{"1391570079":["hashtag1","hashtag2"]},{"1391570166":["hashtag1","hashtag2"]},{"1391570127":["hashtag1","hashtag2"]},{"1391570034":["hashtag1","hashtag2"]},{"1391569989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391570181, 1391570079, 1391570166, 1391570127, 1391570034, 1391569989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.544474840164185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:50:02.901614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_57_2628.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_09_2523.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_12_2668.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_18_6412.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_20_1738.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_22_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/44/image_30102025_01_44_57_2628.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_09_2523.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_12_2668.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_18_6412.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_20_1738.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_22_1618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391570487","1391570529","1391570585","1391570618","1391570567","1391570476"],"photo_ids_order":["1391570476","1391570487","1391570529","1391570567","1391570585","1391570618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28b3fb8019f28f3123b7a9912866a95e.jpg","text":"TemporaryFile(/tmp/multipartBody5933935364525748337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_45_09_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/039b8190446adc826e73434ff6c76c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3596924739220192615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_45_12_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e37104bd2de2929e2b222aba5944bde8.jpg","text":"TemporaryFile(/tmp/multipartBody5898471544639935748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_45_20_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2f4014d704d822d3de9bea29ce0e99c.jpg","text":"TemporaryFile(/tmp/multipartBody6969116703345612920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_45_22_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cedfb5893c25ed954c491078b092d18b.jpg","text":"TemporaryFile(/tmp/multipartBody8564474517687653580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_45_18_6412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4a2c1c5be61e463e3cf1605f14d3407.jpg","text":"TemporaryFile(/tmp/multipartBody1571825900777147864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987065263,"filename":"image_30102025_01_44_57_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391570529","file1":"1391570487","file0":"1391570476","file4":"1391570585","file5":"1391570618","file3":"1391570567"},"map_files_photo_id_array":[{"photo_id":"1391570618","filename":"file5"},{"photo_id":"1391570529","filename":"file2"},{"photo_id":"1391570585","filename":"file4"},{"photo_id":"1391570487","filename":"file1"},{"photo_id":"1391570476","filename":"file0"},{"photo_id":"1391570567","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391570487":["hashtag1","hashtag2"]},{"1391570529":["hashtag1","hashtag2"]},{"1391570585":["hashtag1","hashtag2"]},{"1391570618":["hashtag1","hashtag2"]},{"1391570567":["hashtag1","hashtag2"]},{"1391570476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391570487, 1391570529, 1391570585, 1391570618, 1391570567, 1391570476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66061234474182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:50:42.541719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_27_2632.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_33_3695.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_42_3633.jpg', '/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_45_2704.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_27_3656.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_30_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_27_2632.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_33_3695.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_42_3633.jpg
/home/pi/Desktop/images/30102025/01/45/image_30102025_01_45_45_2704.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_27_3656.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_30_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391570682","1391570751","1391570714","1391570758","1391570746","1391570749"],"photo_ids_order":["1391570682","1391570714","1391570746","1391570749","1391570751","1391570758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e613056835af973269f8bfff9c8fbbe.jpg","text":"TemporaryFile(/tmp/multipartBody1408359117903551441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_45_27_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e962881a96e13bcf18787f2cc33198f.jpg","text":"TemporaryFile(/tmp/multipartBody5982476974037000949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_46_27_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2c1c01016c49550592e8c1da0f3269b.jpg","text":"TemporaryFile(/tmp/multipartBody1371556601667138500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_45_33_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23ba9a7aecc3ab4b54fcf76c83f9bff9.jpg","text":"TemporaryFile(/tmp/multipartBody7636232746426700800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_46_30_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54174f25a73cc7a4d5a4ddde230a7267.jpg","text":"TemporaryFile(/tmp/multipartBody811794393998165784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_45_42_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10700d90cfefe082ea542112cace16b2.jpg","text":"TemporaryFile(/tmp/multipartBody2823648837299910365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987103942,"filename":"image_30102025_01_45_45_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391570746","file1":"1391570714","file0":"1391570682","file4":"1391570751","file5":"1391570758","file3":"1391570749"},"map_files_photo_id_array":[{"photo_id":"1391570758","filename":"file5"},{"photo_id":"1391570746","filename":"file2"},{"photo_id":"1391570751","filename":"file4"},{"photo_id":"1391570714","filename":"file1"},{"photo_id":"1391570682","filename":"file0"},{"photo_id":"1391570749","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391570682":["hashtag1","hashtag2"]},{"1391570751":["hashtag1","hashtag2"]},{"1391570714":["hashtag1","hashtag2"]},{"1391570758":["hashtag1","hashtag2"]},{"1391570746":["hashtag1","hashtag2"]},{"1391570749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391570682, 1391570751, 1391570714, 1391570758, 1391570746, 1391570749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28733992576599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:51:22.669209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_33_2799.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_36_3642.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_39_2730.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_48_3156.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_51_3514.jpg', '/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_54_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_33_2799.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_36_3642.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_39_2730.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_48_3156.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_51_3514.jpg
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_46_54_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391570800","1391570805","1391570843","1391570794","1391570797","1391570791"],"photo_ids_order":["1391570791","1391570794","1391570797","1391570800","1391570805","1391570843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a4462bd0d5f93bfe7918b1aedbcaea3.jpg","text":"TemporaryFile(/tmp/multipartBody7308939132849915533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_48_3156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bd8975fdf6d589f32c49768e1ca3b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6326185662641658927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_51_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/210060e90e648fbacfb099a79f5538cd.jpg","text":"TemporaryFile(/tmp/multipartBody8701254120733252827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_54_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88a8a3fe128f1f824758f363e819128e.jpg","text":"TemporaryFile(/tmp/multipartBody5203614301475378043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_36_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b31023684d834a940534c713600a4142.jpg","text":"TemporaryFile(/tmp/multipartBody1721366160330057717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_39_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77c5de67d6fd271f681f32d7cf3e862c.jpg","text":"TemporaryFile(/tmp/multipartBody2762727980899662295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987147234,"filename":"image_30102025_01_46_33_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391570797","file1":"1391570794","file0":"1391570791","file4":"1391570805","file5":"1391570843","file3":"1391570800"},"map_files_photo_id_array":[{"photo_id":"1391570843","filename":"file5"},{"photo_id":"1391570797","filename":"file2"},{"photo_id":"1391570805","filename":"file4"},{"photo_id":"1391570794","filename":"file1"},{"photo_id":"1391570791","filename":"file0"},{"photo_id":"1391570800","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391570800":["hashtag1","hashtag2"]},{"1391570805":["hashtag1","hashtag2"]},{"1391570843":["hashtag1","hashtag2"]},{"1391570794":["hashtag1","hashtag2"]},{"1391570797":["hashtag1","hashtag2"]},{"1391570791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391570800, 1391570805, 1391570843, 1391570794, 1391570797, 1391570791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75193762779236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:52:21.822769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/46/image_30102025_01_47_00_3602.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_03_2668.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_11_2517.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_15_3657.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_20_2563.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_23_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/46/image_30102025_01_47_00_3602.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_03_2668.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_11_2517.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_15_3657.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_20_2563.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_23_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571147","1391571108","1391571158","1391571154","1391571151","1391571145"],"photo_ids_order":["1391571108","1391571145","1391571147","1391571151","1391571154","1391571158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e04fafdf293b9c3971ae4f888157f998.jpg","text":"TemporaryFile(/tmp/multipartBody5785534825783543962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_11_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e8e9144ba31c296229e4f99af5488c1.jpg","text":"TemporaryFile(/tmp/multipartBody276301798701359024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_00_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a618e5afed1c3c5d3403f13df15306b.jpg","text":"TemporaryFile(/tmp/multipartBody8942397391488610756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_23_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/045a8737b9ef1febaf17d1c84ddf9c40.jpg","text":"TemporaryFile(/tmp/multipartBody4675109603915205264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_20_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3cf0e5ba8ab2e8175f25cc77f061c08.jpg","text":"TemporaryFile(/tmp/multipartBody6266061264349584801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_15_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b4f6f1d7c97f12c96287921e4d76284.jpg","text":"TemporaryFile(/tmp/multipartBody6512350317880109236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987204734,"filename":"image_30102025_01_47_03_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571147","file1":"1391571145","file0":"1391571108","file4":"1391571154","file5":"1391571158","file3":"1391571151"},"map_files_photo_id_array":[{"photo_id":"1391571158","filename":"file5"},{"photo_id":"1391571147","filename":"file2"},{"photo_id":"1391571154","filename":"file4"},{"photo_id":"1391571145","filename":"file1"},{"photo_id":"1391571108","filename":"file0"},{"photo_id":"1391571151","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571147":["hashtag1","hashtag2"]},{"1391571108":["hashtag1","hashtag2"]},{"1391571158":["hashtag1","hashtag2"]},{"1391571154":["hashtag1","hashtag2"]},{"1391571151":["hashtag1","hashtag2"]},{"1391571145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571147, 1391571108, 1391571158, 1391571154, 1391571151, 1391571145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52442646026611 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:53:21.936858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_32_2626.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_42_2828.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_44_2733.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_50_5561.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_53_1636.jpg', '/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_59_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_32_2626.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_42_2828.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_44_2733.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_50_5561.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_53_1636.jpg
/home/pi/Desktop/images/30102025/01/47/image_30102025_01_47_59_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571180","1391571176","1391571191","1391571187","1391571178","1391571183"],"photo_ids_order":["1391571176","1391571178","1391571180","1391571183","1391571187","1391571191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2f4f049e1b94078bf955375ce638768.jpg","text":"TemporaryFile(/tmp/multipartBody4011677516667730431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_44_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d73159a932da5704860a629bda72f10.jpg","text":"TemporaryFile(/tmp/multipartBody2476025097516804149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_32_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ca618540b9b7aba9cf411e640a6e388.jpg","text":"TemporaryFile(/tmp/multipartBody7538135460262267920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_59_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e8777faebe1fb0f97d6a55227b8e412.jpg","text":"TemporaryFile(/tmp/multipartBody4945581152841453647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_53_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b1690966b1b96a4c421cc632bb2334c.jpg","text":"TemporaryFile(/tmp/multipartBody6267990641520302744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_42_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4de76eb854829186b2812b45aa73828f.jpg","text":"TemporaryFile(/tmp/multipartBody4820801407327799558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987264828,"filename":"image_30102025_01_47_50_5561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571180","file1":"1391571178","file0":"1391571176","file4":"1391571187","file5":"1391571191","file3":"1391571183"},"map_files_photo_id_array":[{"photo_id":"1391571191","filename":"file5"},{"photo_id":"1391571180","filename":"file2"},{"photo_id":"1391571187","filename":"file4"},{"photo_id":"1391571178","filename":"file1"},{"photo_id":"1391571176","filename":"file0"},{"photo_id":"1391571183","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571180":["hashtag1","hashtag2"]},{"1391571176":["hashtag1","hashtag2"]},{"1391571191":["hashtag1","hashtag2"]},{"1391571187":["hashtag1","hashtag2"]},{"1391571178":["hashtag1","hashtag2"]},{"1391571183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571180, 1391571176, 1391571191, 1391571187, 1391571178, 1391571183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3491690158844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:54:02.888093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_06_2590.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_12_3596.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_15_2557.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_39_3599.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_42_2795.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_47_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_06_2590.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_12_3596.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_15_2557.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_39_3599.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_42_2795.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_47_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571213","1391571210","1391571207","1391571221","1391571203","1391571217"],"photo_ids_order":["1391571203","1391571207","1391571210","1391571213","1391571217","1391571221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/871ea01690154eb3d22e94ec5682008e.jpg","text":"TemporaryFile(/tmp/multipartBody8468319560197175673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_39_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0364e94f122316f0fbd5af13a9898f4.jpg","text":"TemporaryFile(/tmp/multipartBody4504716026345475081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_15_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a470adbb478d9aada1b63222eafb3a5f.jpg","text":"TemporaryFile(/tmp/multipartBody8455254248234603049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_12_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5608dd40b55833adccf34a5c533c9d9.jpg","text":"TemporaryFile(/tmp/multipartBody5440823270666750680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_47_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/489ecf426057bfbdcf8f02cc9192beff.jpg","text":"TemporaryFile(/tmp/multipartBody7349478686147865278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_06_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c66a4cc4a6e117ed61dc480c380756c2.jpg","text":"TemporaryFile(/tmp/multipartBody8601074835261979278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987305380,"filename":"image_30102025_01_48_42_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571210","file1":"1391571207","file0":"1391571203","file4":"1391571217","file5":"1391571221","file3":"1391571213"},"map_files_photo_id_array":[{"photo_id":"1391571221","filename":"file5"},{"photo_id":"1391571210","filename":"file2"},{"photo_id":"1391571217","filename":"file4"},{"photo_id":"1391571207","filename":"file1"},{"photo_id":"1391571203","filename":"file0"},{"photo_id":"1391571213","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571213":["hashtag1","hashtag2"]},{"1391571210":["hashtag1","hashtag2"]},{"1391571207":["hashtag1","hashtag2"]},{"1391571221":["hashtag1","hashtag2"]},{"1391571203":["hashtag1","hashtag2"]},{"1391571217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571213, 1391571210, 1391571207, 1391571221, 1391571203, 1391571217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78920269012451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:54:42.243435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_54_2692.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_56_2685.jpg', '/home/pi/Desktop/images/30102025/01/48/image_30102025_01_49_00_3752.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_21_3660.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_24_2597.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_27_2977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_54_2692.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_48_56_2685.jpg
/home/pi/Desktop/images/30102025/01/48/image_30102025_01_49_00_3752.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_21_3660.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_24_2597.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_27_2977.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571246","1391571243","1391571239","1391571241","1391571235","1391571232"],"photo_ids_order":["1391571232","1391571235","1391571239","1391571241","1391571243","1391571246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e656cb174f6a3fa1f03c39e72c6f2e7.jpg","text":"TemporaryFile(/tmp/multipartBody9134503974592889486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_49_27_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbaa8be118557600c0d57c502b4d90f7.jpg","text":"TemporaryFile(/tmp/multipartBody1460824047758828449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_49_24_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2122656861084d004e445347ae480259.jpg","text":"TemporaryFile(/tmp/multipartBody2650029003452907121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_49_00_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/636164940657d70665bbc27c3d350682.jpg","text":"TemporaryFile(/tmp/multipartBody4989769877695944027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_49_21_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f62b8d7bc8875caf5f2ed9979a392ab.jpg","text":"TemporaryFile(/tmp/multipartBody4128851341008017890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_48_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f956604ed8f6317651d9274ffee6e62.jpg","text":"TemporaryFile(/tmp/multipartBody430272071590331633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987345612,"filename":"image_30102025_01_48_54_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571239","file1":"1391571235","file0":"1391571232","file4":"1391571243","file5":"1391571246","file3":"1391571241"},"map_files_photo_id_array":[{"photo_id":"1391571246","filename":"file5"},{"photo_id":"1391571239","filename":"file2"},{"photo_id":"1391571243","filename":"file4"},{"photo_id":"1391571235","filename":"file1"},{"photo_id":"1391571232","filename":"file0"},{"photo_id":"1391571241","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571246":["hashtag1","hashtag2"]},{"1391571243":["hashtag1","hashtag2"]},{"1391571239":["hashtag1","hashtag2"]},{"1391571241":["hashtag1","hashtag2"]},{"1391571235":["hashtag1","hashtag2"]},{"1391571232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571246, 1391571243, 1391571239, 1391571241, 1391571235, 1391571232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15765881538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:55:22.290210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_36_2649.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_38_2779.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_42_3629.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_45_2700.jpg', '/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_48_2808.jpg', '/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_08_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_36_2649.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_38_2779.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_42_3629.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_45_2700.jpg
/home/pi/Desktop/images/30102025/01/49/image_30102025_01_49_48_2808.jpg
/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_08_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571318","1391571306","1391571275","1391571290","1391571266","1391571313"],"photo_ids_order":["1391571266","1391571275","1391571290","1391571306","1391571313","1391571318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67f9653e8952fed8c3cdd2505a2703f9.jpg","text":"TemporaryFile(/tmp/multipartBody7403622914856217551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_50_08_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/486e3177d2a133f7cfd3af2c81f44c41.jpg","text":"TemporaryFile(/tmp/multipartBody1615068548413532390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_49_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cd18923297533949282160bfab2cd03.jpg","text":"TemporaryFile(/tmp/multipartBody7254553202187732731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_49_38_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f7c3787c72ee84ad0f5eb999e370137.jpg","text":"TemporaryFile(/tmp/multipartBody1759508055193667390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_49_42_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6deb4cdc754793382ce5d4f5a77d4826.jpg","text":"TemporaryFile(/tmp/multipartBody3995547199648037795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_49_36_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b21653aa848fc86b8543f880c359926e.jpg","text":"TemporaryFile(/tmp/multipartBody4530537560764179304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987385369,"filename":"image_30102025_01_49_48_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571290","file1":"1391571275","file0":"1391571266","file4":"1391571313","file5":"1391571318","file3":"1391571306"},"map_files_photo_id_array":[{"photo_id":"1391571318","filename":"file5"},{"photo_id":"1391571290","filename":"file2"},{"photo_id":"1391571313","filename":"file4"},{"photo_id":"1391571275","filename":"file1"},{"photo_id":"1391571266","filename":"file0"},{"photo_id":"1391571306","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571318":["hashtag1","hashtag2"]},{"1391571306":["hashtag1","hashtag2"]},{"1391571275":["hashtag1","hashtag2"]},{"1391571290":["hashtag1","hashtag2"]},{"1391571266":["hashtag1","hashtag2"]},{"1391571313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571318, 1391571306, 1391571275, 1391571290, 1391571266, 1391571313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69780445098877 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:56:22.574057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_11_2921.jpg', '/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_38_1616.jpg', '/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_47_1669.jpg', '/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_50_1625.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_08_2884.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_09_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_11_2921.jpg
/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_38_1616.jpg
/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_47_1669.jpg
/home/pi/Desktop/images/30102025/01/50/image_30102025_01_50_50_1625.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_08_2884.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_09_1648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391571399","1391571426","1391571441","1391571452","1391571419","1391571523"],"photo_ids_order":["1391571399","1391571419","1391571426","1391571441","1391571452","1391571523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d83dade515fc837e24ed937de28070c2.jpg","text":"TemporaryFile(/tmp/multipartBody3210389079794917944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_50_11_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8058c9c754b496f8ed9cb8cdac386402.jpg","text":"TemporaryFile(/tmp/multipartBody490435108256209531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_50_47_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d0eec030518b57381bee5014def3756.jpg","text":"TemporaryFile(/tmp/multipartBody7072413114896089314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_50_50_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e397f70a95cc174a75b3ab7735567326.jpg","text":"TemporaryFile(/tmp/multipartBody4659160417760669843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_51_08_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cf0dd35044a4f8c18982b687cadc682.jpg","text":"TemporaryFile(/tmp/multipartBody3624158195036077949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_50_38_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/917b209c7aa76d3b571111199fa91abe.jpg","text":"TemporaryFile(/tmp/multipartBody6825502843554988900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987445539,"filename":"image_30102025_01_51_09_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391571426","file1":"1391571419","file0":"1391571399","file4":"1391571452","file5":"1391571523","file3":"1391571441"},"map_files_photo_id_array":[{"photo_id":"1391571523","filename":"file5"},{"photo_id":"1391571426","filename":"file2"},{"photo_id":"1391571452","filename":"file4"},{"photo_id":"1391571419","filename":"file1"},{"photo_id":"1391571399","filename":"file0"},{"photo_id":"1391571441","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391571399":["hashtag1","hashtag2"]},{"1391571426":["hashtag1","hashtag2"]},{"1391571441":["hashtag1","hashtag2"]},{"1391571452":["hashtag1","hashtag2"]},{"1391571419":["hashtag1","hashtag2"]},{"1391571523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391571399, 1391571426, 1391571441, 1391571452, 1391571419, 1391571523)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.93643665313721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 09:57:21.902940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_15_3629.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_18_2712.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_20_2652.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_27_3704.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_44_2882.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_48_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_15_3629.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_18_2712.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_20_2652.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_27_3704.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_44_2882.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_48_3640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8582234382629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 09:57:41.950036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_15_3629.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_18_2712.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_20_2652.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_27_3704.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_44_2882.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_48_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_15_3629.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_18_2712.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_20_2652.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_27_3704.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_44_2882.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_48_3640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391572544","1391572301","1391572483","1391572426","1391572185","1391572422"],"photo_ids_order":["1391572185","1391572301","1391572422","1391572426","1391572483","1391572544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9adf1bb934788bfa0c7a5b0971e22974.jpg","text":"TemporaryFile(/tmp/multipartBody428148086588550679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_48_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d1068b6174d13aa51ad4fb1118d8c11.jpg","text":"TemporaryFile(/tmp/multipartBody5980275503359353409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_18_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48b247b7c131b608366541a63e715f07.jpg","text":"TemporaryFile(/tmp/multipartBody2868214968435982564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_44_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28f4f2655da2e8ad8d56266f2d4e6c9c.jpg","text":"TemporaryFile(/tmp/multipartBody3466562411469842043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_27_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5213c650ba534962c1a88326615597e3.jpg","text":"TemporaryFile(/tmp/multipartBody4872256544116753777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_15_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ead787b33e61b9896183143e5b6da59.jpg","text":"TemporaryFile(/tmp/multipartBody5794005770462254445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987523176,"filename":"image_30102025_01_51_20_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391572422","file1":"1391572301","file0":"1391572185","file4":"1391572483","file5":"1391572544","file3":"1391572426"},"map_files_photo_id_array":[{"photo_id":"1391572544","filename":"file5"},{"photo_id":"1391572422","filename":"file2"},{"photo_id":"1391572483","filename":"file4"},{"photo_id":"1391572301","filename":"file1"},{"photo_id":"1391572185","filename":"file0"},{"photo_id":"1391572426","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391572544":["hashtag1","hashtag2"]},{"1391572301":["hashtag1","hashtag2"]},{"1391572483":["hashtag1","hashtag2"]},{"1391572426":["hashtag1","hashtag2"]},{"1391572185":["hashtag1","hashtag2"]},{"1391572422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391572544, 1391572301, 1391572483, 1391572426, 1391572185, 1391572422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69656991958618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 09:59:03.134961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_50_2550.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_53_2783.jpg', '/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_56_2785.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_08_3587.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_11_2735.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_14_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_50_2550.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_53_2783.jpg
/home/pi/Desktop/images/30102025/01/51/image_30102025_01_51_56_2785.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_08_3587.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_11_2735.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_14_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391572999","1391573008","1391573002","1391573005","1391572986","1391572995"],"photo_ids_order":["1391572986","1391572995","1391572999","1391573002","1391573005","1391573008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/443c075537e3447767d7c9a81b0d745f.jpg","text":"TemporaryFile(/tmp/multipartBody73843219656558007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_51_56_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3476c6051d15003077042b7a9ebde3ed.jpg","text":"TemporaryFile(/tmp/multipartBody3689663587950479287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_52_14_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61223d9d85ac8837cbbf74bb048f19d1.jpg","text":"TemporaryFile(/tmp/multipartBody2173036031959607491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_52_08_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55d949413e7f62d060c9f1f7f02548f7.jpg","text":"TemporaryFile(/tmp/multipartBody6849733488458224529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_52_11_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96853582eed4c22c01a4460334250e83.jpg","text":"TemporaryFile(/tmp/multipartBody2233907820188938163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_51_50_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9c7dd4cac6db0a3bfdbf01cf6d7f040.jpg","text":"TemporaryFile(/tmp/multipartBody2961594191437102762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987605731,"filename":"image_30102025_01_51_53_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391572999","file1":"1391572995","file0":"1391572986","file4":"1391573005","file5":"1391573008","file3":"1391573002"},"map_files_photo_id_array":[{"photo_id":"1391573008","filename":"file5"},{"photo_id":"1391572999","filename":"file2"},{"photo_id":"1391573005","filename":"file4"},{"photo_id":"1391572995","filename":"file1"},{"photo_id":"1391572986","filename":"file0"},{"photo_id":"1391573002","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391572999":["hashtag1","hashtag2"]},{"1391573008":["hashtag1","hashtag2"]},{"1391573002":["hashtag1","hashtag2"]},{"1391573005":["hashtag1","hashtag2"]},{"1391572986":["hashtag1","hashtag2"]},{"1391572995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391572999, 1391573008, 1391573002, 1391573005, 1391572986, 1391572995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73024868965149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:00:02.929299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_20_2728.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_23_2656.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_29_2585.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_32_2649.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_36_3726.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_41_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_20_2728.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_23_2656.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_29_2585.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_32_2649.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_36_3726.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_41_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391573036","1391573030","1391573026","1391573023","1391573040","1391573043"],"photo_ids_order":["1391573023","1391573026","1391573030","1391573036","1391573040","1391573043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56cd03ba089b083bb32f292e6c9e3a18.jpg","text":"TemporaryFile(/tmp/multipartBody8358128242808980353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_32_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12faef11df6c1829da3cb2b3c50b9c58.jpg","text":"TemporaryFile(/tmp/multipartBody8904705669238271672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_29_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43b20f63bb41c937e741e9f6b86c025e.jpg","text":"TemporaryFile(/tmp/multipartBody8734829184143629484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_23_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01eda238c281c6057760113da7f4a44d.jpg","text":"TemporaryFile(/tmp/multipartBody7686725783912671447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_20_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e35fea2e7922d9622fb562468c23be4.jpg","text":"TemporaryFile(/tmp/multipartBody3585529774562623730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_36_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dec8fd4f96b3480d3ead8843102ebe5.jpg","text":"TemporaryFile(/tmp/multipartBody2404265806909821738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987665310,"filename":"image_30102025_01_52_41_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391573030","file1":"1391573026","file0":"1391573023","file4":"1391573040","file5":"1391573043","file3":"1391573036"},"map_files_photo_id_array":[{"photo_id":"1391573043","filename":"file5"},{"photo_id":"1391573030","filename":"file2"},{"photo_id":"1391573040","filename":"file4"},{"photo_id":"1391573026","filename":"file1"},{"photo_id":"1391573023","filename":"file0"},{"photo_id":"1391573036","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391573036":["hashtag1","hashtag2"]},{"1391573030":["hashtag1","hashtag2"]},{"1391573026":["hashtag1","hashtag2"]},{"1391573023":["hashtag1","hashtag2"]},{"1391573040":["hashtag1","hashtag2"]},{"1391573043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391573036, 1391573030, 1391573026, 1391573023, 1391573040, 1391573043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05542325973511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:01:03.360134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_45_3614.jpg', '/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_56_2625.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_02_3567.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_05_2793.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_09_3597.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_14_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_45_3614.jpg
/home/pi/Desktop/images/30102025/01/52/image_30102025_01_52_56_2625.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_02_3567.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_05_2793.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_09_3597.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_14_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391573264","1391573060","1391573204","1391573105","1391573062","1391573163"],"photo_ids_order":["1391573060","1391573062","1391573105","1391573163","1391573204","1391573264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/868f2c4f3467683681cb71875f947354.jpg","text":"TemporaryFile(/tmp/multipartBody6867125274130637247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_53_14_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e84d81159474ff2f0a38e79ed8d3cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody9143809782265182974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_52_45_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f0feb9baf0ac0cf1f0ce0efdf00460e.jpg","text":"TemporaryFile(/tmp/multipartBody4868211354838274902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_53_09_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ec492788f791701cb2e3167309f95e9.jpg","text":"TemporaryFile(/tmp/multipartBody6949264079466050317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_53_02_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f298782edc77c0ea44ef226cefb78740.jpg","text":"TemporaryFile(/tmp/multipartBody4767387948903997763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_52_56_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2406332cd09a988e66a26e41879f0d69.jpg","text":"TemporaryFile(/tmp/multipartBody5131216545117285527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987725816,"filename":"image_30102025_01_53_05_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391573105","file1":"1391573062","file0":"1391573060","file4":"1391573204","file5":"1391573264","file3":"1391573163"},"map_files_photo_id_array":[{"photo_id":"1391573264","filename":"file5"},{"photo_id":"1391573105","filename":"file2"},{"photo_id":"1391573204","filename":"file4"},{"photo_id":"1391573062","filename":"file1"},{"photo_id":"1391573060","filename":"file0"},{"photo_id":"1391573163","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391573264":["hashtag1","hashtag2"]},{"1391573060":["hashtag1","hashtag2"]},{"1391573204":["hashtag1","hashtag2"]},{"1391573105":["hashtag1","hashtag2"]},{"1391573062":["hashtag1","hashtag2"]},{"1391573163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391573264, 1391573060, 1391573204, 1391573105, 1391573062, 1391573163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.385106801986694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:01:42.692308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_23_2608.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_26_2607.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_29_3602.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_41_2778.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_45_3740.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_47_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_23_2608.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_26_2607.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_29_3602.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_41_2778.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_45_3740.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_47_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391573498","1391573519","1391573420","1391573551","1391573461","1391573536"],"photo_ids_order":["1391573420","1391573461","1391573498","1391573519","1391573536","1391573551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad968df74826f4583252f48f80457687.jpg","text":"TemporaryFile(/tmp/multipartBody1259359391758494521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_29_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51b4e1ecfa7bd02abbf076315e1e5f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5014804917030227687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_41_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3d53310ed254288e753da72315e83ff.jpg","text":"TemporaryFile(/tmp/multipartBody2518062897531333761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_23_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ab710841bbd212c9ca95896395df705.jpg","text":"TemporaryFile(/tmp/multipartBody6010602753980459834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_47_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9f3e059c51e8bcf2ab7fcbde0413ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6238988629071890440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_26_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/316587dacb94374178ce9d3942d7a797.jpg","text":"TemporaryFile(/tmp/multipartBody3060314345189283149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987764097,"filename":"image_30102025_01_53_45_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391573498","file1":"1391573461","file0":"1391573420","file4":"1391573536","file5":"1391573551","file3":"1391573519"},"map_files_photo_id_array":[{"photo_id":"1391573551","filename":"file5"},{"photo_id":"1391573498","filename":"file2"},{"photo_id":"1391573536","filename":"file4"},{"photo_id":"1391573461","filename":"file1"},{"photo_id":"1391573420","filename":"file0"},{"photo_id":"1391573519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391573498":["hashtag1","hashtag2"]},{"1391573519":["hashtag1","hashtag2"]},{"1391573420":["hashtag1","hashtag2"]},{"1391573551":["hashtag1","hashtag2"]},{"1391573461":["hashtag1","hashtag2"]},{"1391573536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391573498, 1391573519, 1391573420, 1391573551, 1391573461, 1391573536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.916303634643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:02:21.829552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_50_2926.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_53_2567.jpg', '/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_56_3763.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_12_6470.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_15_1644.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_17_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_50_2926.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_53_2567.jpg
/home/pi/Desktop/images/30102025/01/53/image_30102025_01_53_56_3763.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_12_6470.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_15_1644.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_17_1682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391573570","1391573599","1391573578","1391573574","1391573583","1391573646"],"photo_ids_order":["1391573570","1391573574","1391573578","1391573583","1391573599","1391573646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85c3f697784f4624de004f58ad3a976e.jpg","text":"TemporaryFile(/tmp/multipartBody145267935954403625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_53_50_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a63f03fee0b28c455602da28e31a5911.jpg","text":"TemporaryFile(/tmp/multipartBody2286045655691069833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_54_15_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3cbb50caf986992f0100ece5adee2fb.jpg","text":"TemporaryFile(/tmp/multipartBody9187417965700612153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_53_56_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/042fc1ba0c7ef7ac43665e54802e09b7.jpg","text":"TemporaryFile(/tmp/multipartBody2056134966715469868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_53_53_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/952bebf42675fc3b1b0ab4014ed89f84.jpg","text":"TemporaryFile(/tmp/multipartBody8876463342018510782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_54_12_6470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/583bf0405f187684b02c09abfa08d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody8711525457201575883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987804766,"filename":"image_30102025_01_54_17_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391573578","file1":"1391573574","file0":"1391573570","file4":"1391573599","file5":"1391573646","file3":"1391573583"},"map_files_photo_id_array":[{"photo_id":"1391573646","filename":"file5"},{"photo_id":"1391573578","filename":"file2"},{"photo_id":"1391573599","filename":"file4"},{"photo_id":"1391573574","filename":"file1"},{"photo_id":"1391573570","filename":"file0"},{"photo_id":"1391573583","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391573570":["hashtag1","hashtag2"]},{"1391573599":["hashtag1","hashtag2"]},{"1391573578":["hashtag1","hashtag2"]},{"1391573574":["hashtag1","hashtag2"]},{"1391573583":["hashtag1","hashtag2"]},{"1391573646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391573570, 1391573599, 1391573578, 1391573574, 1391573583, 1391573646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.117351055145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:03:02.794611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_35_2724.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_38_2623.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_47_2604.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_51_3706.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_53_2614.jpg', '/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_56_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_35_2724.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_38_2623.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_47_2604.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_51_3706.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_53_2614.jpg
/home/pi/Desktop/images/30102025/01/54/image_30102025_01_54_56_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391574002","1391574325","1391574165","1391574408","1391574089","1391574245"],"photo_ids_order":["1391574002","1391574089","1391574165","1391574245","1391574325","1391574408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1fd8db8c1bc78f47516ede87327f49e.jpg","text":"TemporaryFile(/tmp/multipartBody3585877929057149463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_35_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c95f2a5a83a888846f15cb71b4ae399d.jpg","text":"TemporaryFile(/tmp/multipartBody129319433994764719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_53_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bec9e194088de7b1c183c259a9c64f24.jpg","text":"TemporaryFile(/tmp/multipartBody5980246957828020489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_47_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5ed9b4fb4efdc8fe945a9588cc6e01a.jpg","text":"TemporaryFile(/tmp/multipartBody2290126433808455673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_56_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e15891436cdaf33cd25119ad59c2b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3667337696052685685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_38_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94870915c1085fd632863d4645e9de97.jpg","text":"TemporaryFile(/tmp/multipartBody6454591488903999954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987845227,"filename":"image_30102025_01_54_51_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391574165","file1":"1391574089","file0":"1391574002","file4":"1391574325","file5":"1391574408","file3":"1391574245"},"map_files_photo_id_array":[{"photo_id":"1391574408","filename":"file5"},{"photo_id":"1391574165","filename":"file2"},{"photo_id":"1391574325","filename":"file4"},{"photo_id":"1391574089","filename":"file1"},{"photo_id":"1391574002","filename":"file0"},{"photo_id":"1391574245","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391574002":["hashtag1","hashtag2"]},{"1391574325":["hashtag1","hashtag2"]},{"1391574165":["hashtag1","hashtag2"]},{"1391574408":["hashtag1","hashtag2"]},{"1391574089":["hashtag1","hashtag2"]},{"1391574245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391574002, 1391574325, 1391574165, 1391574408, 1391574089, 1391574245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27390265464783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:03:42.072990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_02_3515.jpg', '/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_08_3622.jpg', '/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_28_2841.jpg', '/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_32_3535.jpg', '/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_41_3655.jpg', '/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_47_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_02_3515.jpg
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_08_3622.jpg
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_28_2841.jpg
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_32_3535.jpg
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_41_3655.jpg
/home/pi/Desktop/images/30102025/01/55/image_30102025_01_55_47_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391574908","1391574790","1391575251","1391575026","1391575139","1391574686"],"photo_ids_order":["1391574686","1391574790","1391574908","1391575026","1391575139","1391575251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/994479ffe8d691081cff5c3eb1aea075.jpg","text":"TemporaryFile(/tmp/multipartBody5812912464372557225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_28_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0138c80a904ba976ce5945627808b97.jpg","text":"TemporaryFile(/tmp/multipartBody3835828940642724132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_08_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a50c04012c60388c43881f90d70e189.jpg","text":"TemporaryFile(/tmp/multipartBody2360955224697666256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_47_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e62c3b9708cc302b13ef4b8fb7881ff.jpg","text":"TemporaryFile(/tmp/multipartBody8549288379966785988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_32_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4db733f50a3ec4c76b3b5c6db65f3c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4269122148856310027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_41_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e42b53d97d1a411bd4a8f6bc68f6076.jpg","text":"TemporaryFile(/tmp/multipartBody6833536222347671423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987883419,"filename":"image_30102025_01_55_02_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391574908","file1":"1391574790","file0":"1391574686","file4":"1391575139","file5":"1391575251","file3":"1391575026"},"map_files_photo_id_array":[{"photo_id":"1391575251","filename":"file5"},{"photo_id":"1391574908","filename":"file2"},{"photo_id":"1391575139","filename":"file4"},{"photo_id":"1391574790","filename":"file1"},{"photo_id":"1391574686","filename":"file0"},{"photo_id":"1391575026","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391574908":["hashtag1","hashtag2"]},{"1391574790":["hashtag1","hashtag2"]},{"1391575251":["hashtag1","hashtag2"]},{"1391575026":["hashtag1","hashtag2"]},{"1391575139":["hashtag1","hashtag2"]},{"1391574686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391574908, 1391574790, 1391575251, 1391575026, 1391575139, 1391574686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3531277179718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:04:22.209518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_05_2629.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_08_2768.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_11_3610.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_14_2742.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_28_2698.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_32_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_05_2629.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_08_2768.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_11_3610.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_14_2742.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_28_2698.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_32_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391575741","1391576174","1391575655","1391575829","1391575943","1391576062"],"photo_ids_order":["1391575655","1391575741","1391575829","1391575943","1391576062","1391576174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/520e8b65a2519d43daa529ece91db53e.jpg","text":"TemporaryFile(/tmp/multipartBody1896733057219783600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_08_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94b84e054b03500edbe5deac16d569c9.jpg","text":"TemporaryFile(/tmp/multipartBody7476653650206491150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_32_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d13986b367261ace85edafe1da7be72.jpg","text":"TemporaryFile(/tmp/multipartBody4298257948191429452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_05_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8525ec4cf9c038b489645d0189f3d35a.jpg","text":"TemporaryFile(/tmp/multipartBody1020604312946754507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_11_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/237775ad50a66d312549e5f98e0dd8a2.jpg","text":"TemporaryFile(/tmp/multipartBody4916902275353319566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_14_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cefc5b47b949ede5f5db92ae362e93dd.jpg","text":"TemporaryFile(/tmp/multipartBody4469329089288511103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987925138,"filename":"image_30102025_01_56_28_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391575829","file1":"1391575741","file0":"1391575655","file4":"1391576062","file5":"1391576174","file3":"1391575943"},"map_files_photo_id_array":[{"photo_id":"1391576174","filename":"file5"},{"photo_id":"1391575829","filename":"file2"},{"photo_id":"1391576062","filename":"file4"},{"photo_id":"1391575741","filename":"file1"},{"photo_id":"1391575655","filename":"file0"},{"photo_id":"1391575943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391575741":["hashtag1","hashtag2"]},{"1391576174":["hashtag1","hashtag2"]},{"1391575655":["hashtag1","hashtag2"]},{"1391575829":["hashtag1","hashtag2"]},{"1391575943":["hashtag1","hashtag2"]},{"1391576062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391575741, 1391576174, 1391575655, 1391575829, 1391575943, 1391576062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99550008773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:05:02.808712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_38_2689.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_41_3572.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_44_2571.jpg', '/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_50_3713.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_08_3651.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_11_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_38_2689.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_41_3572.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_44_2571.jpg
/home/pi/Desktop/images/30102025/01/56/image_30102025_01_56_50_3713.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_08_3651.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_11_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391576565","1391576561","1391576525","1391576485","1391576557","1391576443"],"photo_ids_order":["1391576443","1391576485","1391576525","1391576557","1391576561","1391576565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40a990d442b1bc8e39b149f8df884c17.jpg","text":"TemporaryFile(/tmp/multipartBody5935913906100888835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_57_11_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99434df8b91ec5f4bd661f56054f80d8.jpg","text":"TemporaryFile(/tmp/multipartBody6004231984886105052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_57_08_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c14c7beb83a04009af69162528c4f03.jpg","text":"TemporaryFile(/tmp/multipartBody5186835192723119948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_56_44_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1139766e2a74a2ee753bacf2cc0cd908.jpg","text":"TemporaryFile(/tmp/multipartBody3408216185573929553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_56_41_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a8a1a51de2821b9b46f8eb98ad1aa0f.jpg","text":"TemporaryFile(/tmp/multipartBody7015969767765883627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_56_50_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94014beaf9929437cffe0746d81277cb.jpg","text":"TemporaryFile(/tmp/multipartBody1298000061792838722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761987965392,"filename":"image_30102025_01_56_38_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391576525","file1":"1391576485","file0":"1391576443","file4":"1391576561","file5":"1391576565","file3":"1391576557"},"map_files_photo_id_array":[{"photo_id":"1391576565","filename":"file5"},{"photo_id":"1391576525","filename":"file2"},{"photo_id":"1391576561","filename":"file4"},{"photo_id":"1391576485","filename":"file1"},{"photo_id":"1391576443","filename":"file0"},{"photo_id":"1391576557","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391576565":["hashtag1","hashtag2"]},{"1391576561":["hashtag1","hashtag2"]},{"1391576525":["hashtag1","hashtag2"]},{"1391576485":["hashtag1","hashtag2"]},{"1391576557":["hashtag1","hashtag2"]},{"1391576443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391576565, 1391576561, 1391576525, 1391576485, 1391576557, 1391576443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.353373527526855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:06:03.137097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_13_2551.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_20_2582.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_22_2672.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_25_2960.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_29_3838.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_32_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_13_2551.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_20_2582.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_22_2672.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_25_2960.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_29_3838.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_32_2673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2699360847473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:06:22.582729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_13_2551.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_20_2582.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_22_2672.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_25_2960.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_29_3838.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_32_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_13_2551.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_20_2582.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_22_2672.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_25_2960.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_29_3838.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_32_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391576821","1391576742","1391576700","1391576780","1391576869","1391576656"],"photo_ids_order":["1391576656","1391576700","1391576742","1391576780","1391576821","1391576869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50e64a4f256690c5d553d4df5d2e3a21.jpg","text":"TemporaryFile(/tmp/multipartBody4255869966597334200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_29_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b91f3e94594cbe1472c50b36b0ff4403.jpg","text":"TemporaryFile(/tmp/multipartBody8129591631293137075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c3ceee3f39d994077181e5717ca6d36.jpg","text":"TemporaryFile(/tmp/multipartBody6998345169149619336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_20_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0775df1c9573c9b8d2f2f23e97870150.jpg","text":"TemporaryFile(/tmp/multipartBody1476934381054764313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_25_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0e59d8998fe6fbe755fd05c2518f469.jpg","text":"TemporaryFile(/tmp/multipartBody1498141381142834095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05c17e491fc18cee1d2b8680889dabce.jpg","text":"TemporaryFile(/tmp/multipartBody3981095970996196708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988045030,"filename":"image_30102025_01_57_13_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391576742","file1":"1391576700","file0":"1391576656","file4":"1391576821","file5":"1391576869","file3":"1391576780"},"map_files_photo_id_array":[{"photo_id":"1391576869","filename":"file5"},{"photo_id":"1391576742","filename":"file2"},{"photo_id":"1391576821","filename":"file4"},{"photo_id":"1391576700","filename":"file1"},{"photo_id":"1391576656","filename":"file0"},{"photo_id":"1391576780","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391576821":["hashtag1","hashtag2"]},{"1391576742":["hashtag1","hashtag2"]},{"1391576700":["hashtag1","hashtag2"]},{"1391576780":["hashtag1","hashtag2"]},{"1391576869":["hashtag1","hashtag2"]},{"1391576656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391576821, 1391576742, 1391576700, 1391576780, 1391576869, 1391576656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45539903640747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:07:03.399062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_37_2632.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_53_2937.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_56_2755.jpg', '/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_58_2569.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_02_3757.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_08_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_37_2632.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_53_2937.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_56_2755.jpg
/home/pi/Desktop/images/30102025/01/57/image_30102025_01_57_58_2569.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_02_3757.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_08_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391577351","1391577414","1391577491","1391577161","1391577265","1391577061"],"photo_ids_order":["1391577061","1391577161","1391577265","1391577351","1391577414","1391577491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b40ef427eb1bf2a041ddc3d69f1e1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3022933873383900200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_57_58_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1e6dd93df5cce246e41988483c06433.jpg","text":"TemporaryFile(/tmp/multipartBody7981797920968480270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_58_02_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b567855e512214ff3716e95d0c142f0.jpg","text":"TemporaryFile(/tmp/multipartBody7065718893294144940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_58_08_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ccdbef86ecd2c3c37ed95e5fe6519b9.jpg","text":"TemporaryFile(/tmp/multipartBody3122356525689882402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_57_53_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/328a41eefdfc14d76516a22aed7750bc.jpg","text":"TemporaryFile(/tmp/multipartBody4172210532212567352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_57_56_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56665b60a03f87e81e44e3da43bfb2d0.jpg","text":"TemporaryFile(/tmp/multipartBody5584301711145945594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988085847,"filename":"image_30102025_01_57_37_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391577265","file1":"1391577161","file0":"1391577061","file4":"1391577414","file5":"1391577491","file3":"1391577351"},"map_files_photo_id_array":[{"photo_id":"1391577491","filename":"file5"},{"photo_id":"1391577265","filename":"file2"},{"photo_id":"1391577414","filename":"file4"},{"photo_id":"1391577161","filename":"file1"},{"photo_id":"1391577061","filename":"file0"},{"photo_id":"1391577351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391577351":["hashtag1","hashtag2"]},{"1391577414":["hashtag1","hashtag2"]},{"1391577491":["hashtag1","hashtag2"]},{"1391577161":["hashtag1","hashtag2"]},{"1391577265":["hashtag1","hashtag2"]},{"1391577061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391577351, 1391577414, 1391577491, 1391577161, 1391577265, 1391577061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30130887031555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:07:42.732672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_10_2773.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_14_3742.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_17_2687.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_19_2660.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_23_3571.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_26_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_10_2773.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_14_3742.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_17_2687.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_19_2660.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_23_3571.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_26_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578079","1391577849","1391577890","1391578010","1391577935","1391578098"],"photo_ids_order":["1391577849","1391577890","1391577935","1391578010","1391578079","1391578098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ec3308264e1bd6526fa5c7a0e6f2060.jpg","text":"TemporaryFile(/tmp/multipartBody5350935822905582988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_23_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad7de8294753f3baed32a885bdadb787.jpg","text":"TemporaryFile(/tmp/multipartBody4618082290510499981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_10_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8223e28884cdd9c4a57e4af68dca0b6e.jpg","text":"TemporaryFile(/tmp/multipartBody755019503765285923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_14_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ecf03c82596be8336e2555a7a83eab3.jpg","text":"TemporaryFile(/tmp/multipartBody8139434231979455468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34606486b6bdfcaa41befea3850f14e0.jpg","text":"TemporaryFile(/tmp/multipartBody6494901310386584394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_17_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01470ce8c2d814010d35eb78bacc98b2.jpg","text":"TemporaryFile(/tmp/multipartBody5793175541027586105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988124087,"filename":"image_30102025_01_58_26_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391577935","file1":"1391577890","file0":"1391577849","file4":"1391578079","file5":"1391578098","file3":"1391578010"},"map_files_photo_id_array":[{"photo_id":"1391578098","filename":"file5"},{"photo_id":"1391577935","filename":"file2"},{"photo_id":"1391578079","filename":"file4"},{"photo_id":"1391577890","filename":"file1"},{"photo_id":"1391577849","filename":"file0"},{"photo_id":"1391578010","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578079":["hashtag1","hashtag2"]},{"1391577849":["hashtag1","hashtag2"]},{"1391577890":["hashtag1","hashtag2"]},{"1391578010":["hashtag1","hashtag2"]},{"1391577935":["hashtag1","hashtag2"]},{"1391578098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578079, 1391577849, 1391577890, 1391578010, 1391577935, 1391578098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.319103479385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:08:21.970198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_28_2658.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_53_3663.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_56_2835.jpg', '/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_58_2712.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_02_3556.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_07_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_28_2658.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_53_3663.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_56_2835.jpg
/home/pi/Desktop/images/30102025/01/58/image_30102025_01_58_58_2712.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_02_3556.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_07_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578279","1391578516","1391578417","1391578333","1391578374","1391578458"],"photo_ids_order":["1391578279","1391578333","1391578374","1391578417","1391578458","1391578516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd58fa920e0863a4be06a63aef808423.jpg","text":"TemporaryFile(/tmp/multipartBody1456674768029299433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_58_28_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c2764c346dcc2acea3621998b675882.jpg","text":"TemporaryFile(/tmp/multipartBody3935470224685328355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_59_07_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75c6abb3dcf3be1ab884436ed265a37b.jpg","text":"TemporaryFile(/tmp/multipartBody4170133869426037952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_58_58_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b54d7e328e9ab240ddd7de39f9f015f.jpg","text":"TemporaryFile(/tmp/multipartBody7881346625098879176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_58_53_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae204086374bd973f2af42b24afbf3bc.jpg","text":"TemporaryFile(/tmp/multipartBody4455816704215504160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_58_56_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d7518cf5428d4b0cc815bb68d810a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2925841923844702777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988164910,"filename":"image_30102025_01_59_02_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578374","file1":"1391578333","file0":"1391578279","file4":"1391578458","file5":"1391578516","file3":"1391578417"},"map_files_photo_id_array":[{"photo_id":"1391578516","filename":"file5"},{"photo_id":"1391578374","filename":"file2"},{"photo_id":"1391578458","filename":"file4"},{"photo_id":"1391578333","filename":"file1"},{"photo_id":"1391578279","filename":"file0"},{"photo_id":"1391578417","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578279":["hashtag1","hashtag2"]},{"1391578516":["hashtag1","hashtag2"]},{"1391578417":["hashtag1","hashtag2"]},{"1391578333":["hashtag1","hashtag2"]},{"1391578374":["hashtag1","hashtag2"]},{"1391578458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578279, 1391578516, 1391578417, 1391578333, 1391578374, 1391578458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.24251079559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:09:27.037756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_10_2760.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_14_3730.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_16_2611.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_19_2673.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_23_3834.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_26_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_10_2760.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_14_3730.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_16_2611.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_19_2673.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_23_3834.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_26_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578691","1391578704","1391578697","1391578715","1391578693","1391578711"],"photo_ids_order":["1391578691","1391578693","1391578697","1391578704","1391578711","1391578715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6637dae886e6185d779d6bcd25e52ab9.jpg","text":"TemporaryFile(/tmp/multipartBody8711238266079430314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_10_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f7068b86759d6eec38da6e806144834.jpg","text":"TemporaryFile(/tmp/multipartBody1662289034441437916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_19_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ea00bbdcdbb5339c51fdea2b1404d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6473128374065530988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca1fd9fcd3228f76aceb1be9bf8979a8.jpg","text":"TemporaryFile(/tmp/multipartBody3364165264167729844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_26_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26ed9fed2630312f3eecc3ae1819e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5414152510135473959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_14_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd90f89525f687d70c937bd0c1bbfd21.jpg","text":"TemporaryFile(/tmp/multipartBody3418466681157685210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988230040,"filename":"image_30102025_01_59_23_3834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578697","file1":"1391578693","file0":"1391578691","file4":"1391578711","file5":"1391578715","file3":"1391578704"},"map_files_photo_id_array":[{"photo_id":"1391578715","filename":"file5"},{"photo_id":"1391578697","filename":"file2"},{"photo_id":"1391578711","filename":"file4"},{"photo_id":"1391578693","filename":"file1"},{"photo_id":"1391578691","filename":"file0"},{"photo_id":"1391578704","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578691":["hashtag1","hashtag2"]},{"1391578704":["hashtag1","hashtag2"]},{"1391578697":["hashtag1","hashtag2"]},{"1391578715":["hashtag1","hashtag2"]},{"1391578693":["hashtag1","hashtag2"]},{"1391578711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578691, 1391578704, 1391578697, 1391578715, 1391578693, 1391578711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47101306915283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:10:22.246174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_28_2690.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_32_3573.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_35_2774.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_41_3567.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_44_2874.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_46_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_28_2690.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_32_3573.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_35_2774.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_41_3567.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_44_2874.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_46_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578742","1391578739","1391578747","1391578744","1391578743","1391578752"],"photo_ids_order":["1391578739","1391578742","1391578743","1391578744","1391578747","1391578752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43b57c1c36fd8ceba50c45e933294004.jpg","text":"TemporaryFile(/tmp/multipartBody2818677182155563850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_32_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/178c8fbf7a36a2dda6c93a9753dec7dd.jpg","text":"TemporaryFile(/tmp/multipartBody6695904547963080976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_28_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cdebe971095adec867f906e51fa95ff.jpg","text":"TemporaryFile(/tmp/multipartBody1983077326763044564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_44_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c788e6f8106493e14696b2c397fed928.jpg","text":"TemporaryFile(/tmp/multipartBody2257536501129521412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_41_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d73e40817b679b3a360f8bac89d65c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6738406110480185476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_35_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2021c890463e2d3a006023110c1d07c3.jpg","text":"TemporaryFile(/tmp/multipartBody7777108322782094057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988285212,"filename":"image_30102025_01_59_46_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578743","file1":"1391578742","file0":"1391578739","file4":"1391578747","file5":"1391578752","file3":"1391578744"},"map_files_photo_id_array":[{"photo_id":"1391578752","filename":"file5"},{"photo_id":"1391578743","filename":"file2"},{"photo_id":"1391578747","filename":"file4"},{"photo_id":"1391578742","filename":"file1"},{"photo_id":"1391578739","filename":"file0"},{"photo_id":"1391578744","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578742":["hashtag1","hashtag2"]},{"1391578739":["hashtag1","hashtag2"]},{"1391578747":["hashtag1","hashtag2"]},{"1391578744":["hashtag1","hashtag2"]},{"1391578743":["hashtag1","hashtag2"]},{"1391578752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578742, 1391578739, 1391578747, 1391578744, 1391578743, 1391578752)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.009814977645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:11:26.988431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_58_2614.jpg', '/home/pi/Desktop/images/30102025/01/59/image_30102025_02_00_02_3750.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_08_3599.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_26_2626.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_32_3617.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_35_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/01/59/image_30102025_01_59_58_2614.jpg
/home/pi/Desktop/images/30102025/01/59/image_30102025_02_00_02_3750.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_08_3599.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_26_2626.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_32_3617.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_35_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578793","1391578802","1391578789","1391578798","1391578783","1391578786"],"photo_ids_order":["1391578783","1391578786","1391578789","1391578793","1391578798","1391578802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15453d6f3c539ef9f5db3164e4a7320f.jpg","text":"TemporaryFile(/tmp/multipartBody8916343899883105302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_02_00_26_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/833913d64f1f72e20ea595976025a9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8203993229551640142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_02_00_35_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f219c333ee53e18fde642e0d0214e324.jpg","text":"TemporaryFile(/tmp/multipartBody1092260425421494074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_02_00_08_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f2f186bfe841a02a3970fe526302268.jpg","text":"TemporaryFile(/tmp/multipartBody9120479167180455616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_02_00_32_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75556f6006c59b6c82fb9ee864d0cf89.jpg","text":"TemporaryFile(/tmp/multipartBody2707935620739682292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_01_59_58_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b4cc46437d932505fd8c90f0635b037.jpg","text":"TemporaryFile(/tmp/multipartBody1380302348317077625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988353014,"filename":"image_30102025_02_00_02_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578789","file1":"1391578786","file0":"1391578783","file4":"1391578798","file5":"1391578802","file3":"1391578793"},"map_files_photo_id_array":[{"photo_id":"1391578802","filename":"file5"},{"photo_id":"1391578789","filename":"file2"},{"photo_id":"1391578798","filename":"file4"},{"photo_id":"1391578786","filename":"file1"},{"photo_id":"1391578783","filename":"file0"},{"photo_id":"1391578793","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578793":["hashtag1","hashtag2"]},{"1391578802":["hashtag1","hashtag2"]},{"1391578789":["hashtag1","hashtag2"]},{"1391578798":["hashtag1","hashtag2"]},{"1391578783":["hashtag1","hashtag2"]},{"1391578786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578793, 1391578802, 1391578789, 1391578798, 1391578783, 1391578786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27068281173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:12:22.725676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_41_3716.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_44_2615.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_46_2810.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_53_2675.jpg', '/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_59_3569.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_04_5414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_41_3716.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_44_2615.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_46_2810.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_53_2675.jpg
/home/pi/Desktop/images/30102025/02/00/image_30102025_02_00_59_3569.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_04_5414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578814","1391578822","1391578816","1391578819","1391578824","1391578812"],"photo_ids_order":["1391578812","1391578814","1391578816","1391578819","1391578822","1391578824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5b8efc7cabc94cd020ba117168cb801.jpg","text":"TemporaryFile(/tmp/multipartBody8200430112687886507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_00_44_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff517b0fa188dbb8109825467f757c5b.jpg","text":"TemporaryFile(/tmp/multipartBody8298928477505680780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_00_59_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f266ff9e5f1e3e6cc519fa2ffde15b54.jpg","text":"TemporaryFile(/tmp/multipartBody8560602246359533331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_00_46_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df108846ea8e207d80f0a3e975495706.jpg","text":"TemporaryFile(/tmp/multipartBody1229741114450827602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_00_53_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a5946bf72ce3a62192611410342313f.jpg","text":"TemporaryFile(/tmp/multipartBody3728235021612797990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_01_04_5414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dafba1cb46108ef2ba4591771aa205d.jpg","text":"TemporaryFile(/tmp/multipartBody24789228755143131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988405729,"filename":"image_30102025_02_00_41_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578816","file1":"1391578814","file0":"1391578812","file4":"1391578822","file5":"1391578824","file3":"1391578819"},"map_files_photo_id_array":[{"photo_id":"1391578824","filename":"file5"},{"photo_id":"1391578816","filename":"file2"},{"photo_id":"1391578822","filename":"file4"},{"photo_id":"1391578814","filename":"file1"},{"photo_id":"1391578812","filename":"file0"},{"photo_id":"1391578819","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578814":["hashtag1","hashtag2"]},{"1391578822":["hashtag1","hashtag2"]},{"1391578816":["hashtag1","hashtag2"]},{"1391578819":["hashtag1","hashtag2"]},{"1391578824":["hashtag1","hashtag2"]},{"1391578812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578814, 1391578822, 1391578816, 1391578819, 1391578824, 1391578812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.019607067108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:13:02.437766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_06_1750.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_08_1733.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_13_2667.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_17_3727.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_19_2588.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_22_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_06_1750.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_08_1733.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_13_2667.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_17_3727.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_19_2588.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_22_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578840","1391578860","1391578854","1391578857","1391578851","1391578848"],"photo_ids_order":["1391578840","1391578848","1391578851","1391578854","1391578857","1391578860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3755019946b14cf199664b6614654c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7135297123574296601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_06_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4250add83524648f72676a51db48c46d.jpg","text":"TemporaryFile(/tmp/multipartBody5323396179894195477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_22_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4af0d3186e209a32663c61f5f73a7b09.jpg","text":"TemporaryFile(/tmp/multipartBody3574240965930685147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_17_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b48970ce7f42207d046ca29d0d6513a1.jpg","text":"TemporaryFile(/tmp/multipartBody952661983198448846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_19_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ad99be74e6c14090d4f37904ec7b78a.jpg","text":"TemporaryFile(/tmp/multipartBody645291821650576991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57ec81b896ce706261e051b7c764262a.jpg","text":"TemporaryFile(/tmp/multipartBody2647932632951817529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988444945,"filename":"image_30102025_02_01_08_1733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578851","file1":"1391578848","file0":"1391578840","file4":"1391578857","file5":"1391578860","file3":"1391578854"},"map_files_photo_id_array":[{"photo_id":"1391578860","filename":"file5"},{"photo_id":"1391578851","filename":"file2"},{"photo_id":"1391578857","filename":"file4"},{"photo_id":"1391578848","filename":"file1"},{"photo_id":"1391578840","filename":"file0"},{"photo_id":"1391578854","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578840":["hashtag1","hashtag2"]},{"1391578860":["hashtag1","hashtag2"]},{"1391578854":["hashtag1","hashtag2"]},{"1391578857":["hashtag1","hashtag2"]},{"1391578851":["hashtag1","hashtag2"]},{"1391578848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578840, 1391578860, 1391578854, 1391578857, 1391578851, 1391578848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13080859184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:13:41.881113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_29_3601.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_31_2606.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_35_3614.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_40_2578.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_44_3688.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_46_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_29_3601.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_31_2606.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_35_3614.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_40_2578.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_44_3688.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_46_2642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2572994232177734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:14:02.822660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_29_3601.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_31_2606.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_35_3614.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_40_2578.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_44_3688.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_46_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_29_3601.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_31_2606.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_35_3614.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_40_2578.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_44_3688.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_46_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578913","1391578930","1391578915","1391578909","1391578938","1391578917"],"photo_ids_order":["1391578909","1391578913","1391578915","1391578917","1391578930","1391578938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cf77c893b2465eb41c07567b9bf603a.jpg","text":"TemporaryFile(/tmp/multipartBody3919171217994275093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_31_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b627b7c593e241cbb09018765b5eae81.jpg","text":"TemporaryFile(/tmp/multipartBody7974397246759839294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_44_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83eb4e5a08f43bf113b8e1cbc478e262.jpg","text":"TemporaryFile(/tmp/multipartBody5064861903403919764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_35_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e8bde3ab8e45d85e3e9a1201e97ff57.jpg","text":"TemporaryFile(/tmp/multipartBody3436238003747927484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_29_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d18f148ee3058f750446e0b8212954bf.jpg","text":"TemporaryFile(/tmp/multipartBody6624075731510302341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_46_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0d66f21cb41007b3d402956bcce9b61.jpg","text":"TemporaryFile(/tmp/multipartBody6465190744363760852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988505081,"filename":"image_30102025_02_01_40_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391578915","file1":"1391578913","file0":"1391578909","file4":"1391578930","file5":"1391578938","file3":"1391578917"},"map_files_photo_id_array":[{"photo_id":"1391578938","filename":"file5"},{"photo_id":"1391578915","filename":"file2"},{"photo_id":"1391578930","filename":"file4"},{"photo_id":"1391578913","filename":"file1"},{"photo_id":"1391578909","filename":"file0"},{"photo_id":"1391578917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578913":["hashtag1","hashtag2"]},{"1391578930":["hashtag1","hashtag2"]},{"1391578915":["hashtag1","hashtag2"]},{"1391578909":["hashtag1","hashtag2"]},{"1391578938":["hashtag1","hashtag2"]},{"1391578917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578913, 1391578930, 1391578915, 1391578909, 1391578938, 1391578917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.232003927230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:14:42.052668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_49_2644.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_53_3578.jpg', '/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_55_2833.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_04_2645.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_07_2582.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_11_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_49_2644.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_53_3578.jpg
/home/pi/Desktop/images/30102025/02/01/image_30102025_02_01_55_2833.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_04_2645.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_07_2582.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_11_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391578993","1391579038","1391579116","1391579112","1391579081","1391578965"],"photo_ids_order":["1391578965","1391578993","1391579038","1391579081","1391579112","1391579116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b43e78ec4c815b5b3b03a6804c8c83b4.jpg","text":"TemporaryFile(/tmp/multipartBody7585130087310382092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_01_53_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7e81a84cfe940eb1952ccc0b7128297.jpg","text":"TemporaryFile(/tmp/multipartBody7452450987458191643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_01_55_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dffc96498b069c22c8d2d3e01faaab6.jpg","text":"TemporaryFile(/tmp/multipartBody9157240231866314790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_02_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2811f45c2d03b4b3a3226f073d366c84.jpg","text":"TemporaryFile(/tmp/multipartBody1838544857055280340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_02_07_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/486b13c88acea216432ea16dfeffc0a9.jpg","text":"TemporaryFile(/tmp/multipartBody505318704357182793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_02_04_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6451438555be27ab850e4f9402c4405e.jpg","text":"TemporaryFile(/tmp/multipartBody4750523967341468421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988543393,"filename":"image_30102025_02_01_49_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391579038","file1":"1391578993","file0":"1391578965","file4":"1391579112","file5":"1391579116","file3":"1391579081"},"map_files_photo_id_array":[{"photo_id":"1391579116","filename":"file5"},{"photo_id":"1391579038","filename":"file2"},{"photo_id":"1391579112","filename":"file4"},{"photo_id":"1391578993","filename":"file1"},{"photo_id":"1391578965","filename":"file0"},{"photo_id":"1391579081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391578993":["hashtag1","hashtag2"]},{"1391579038":["hashtag1","hashtag2"]},{"1391579116":["hashtag1","hashtag2"]},{"1391579112":["hashtag1","hashtag2"]},{"1391579081":["hashtag1","hashtag2"]},{"1391578965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391578993, 1391579038, 1391579116, 1391579112, 1391579081, 1391578965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.587496757507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:15:22.205169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_13_2652.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_16_3016.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_44_3732.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_46_2676.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_49_2579.jpg', '/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_55_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_13_2652.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_16_3016.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_44_3732.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_46_2676.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_49_2579.jpg
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_55_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391579302","1391579125","1391579181","1391579262","1391579217","1391579127"],"photo_ids_order":["1391579125","1391579127","1391579181","1391579217","1391579262","1391579302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7afa1373c1241ea158f04688263fbe3e.jpg","text":"TemporaryFile(/tmp/multipartBody6022399630420226464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_55_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b144a3b8083b4bccf319ec6059a41fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4073608450487965096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22dfb4ff0dd2486acf473b84fb267d70.jpg","text":"TemporaryFile(/tmp/multipartBody1852078583365729746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_44_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/540f8914301d53d468776f92faa22c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2251137362779956526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_49_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddce22364be265a6d3a46f6006e4f7bc.jpg","text":"TemporaryFile(/tmp/multipartBody2158947453757290276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbaaf09ae510329e0bb94fcf5b1a7763.jpg","text":"TemporaryFile(/tmp/multipartBody6469125030625716974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988585202,"filename":"image_30102025_02_02_16_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391579181","file1":"1391579127","file0":"1391579125","file4":"1391579262","file5":"1391579302","file3":"1391579217"},"map_files_photo_id_array":[{"photo_id":"1391579302","filename":"file5"},{"photo_id":"1391579181","filename":"file2"},{"photo_id":"1391579262","filename":"file4"},{"photo_id":"1391579127","filename":"file1"},{"photo_id":"1391579125","filename":"file0"},{"photo_id":"1391579217","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391579302":["hashtag1","hashtag2"]},{"1391579125":["hashtag1","hashtag2"]},{"1391579181":["hashtag1","hashtag2"]},{"1391579262":["hashtag1","hashtag2"]},{"1391579217":["hashtag1","hashtag2"]},{"1391579127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391579302, 1391579125, 1391579181, 1391579262, 1391579217, 1391579127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43114471435547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:16:22.443929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_58_2580.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_02_3728.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_04_2559.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_11_3695.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_13_2550.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_16_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/02/image_30102025_02_02_58_2580.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_02_3728.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_04_2559.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_11_3695.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_13_2550.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_16_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391579558","1391579551","1391579554","1391579629","1391579490","1391579604"],"photo_ids_order":["1391579490","1391579551","1391579554","1391579558","1391579604","1391579629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fad7bc91cfa7b8d25f8319e05ef1f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2255696999915886904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_03_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e8dec03524fceee88c8c4932b60f06a.jpg","text":"TemporaryFile(/tmp/multipartBody5189051176598727027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_03_02_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c03ba89add93682673d07df6a8b5fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody6017445952087245426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_03_04_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb58f170c7ee7493bf2cca05097d4c65.jpg","text":"TemporaryFile(/tmp/multipartBody2084618000160863171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_03_16_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f40b8d370ad03a40537cb6b686906b95.jpg","text":"TemporaryFile(/tmp/multipartBody8881907210924343001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_02_58_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c961a2f94bd55f16ca530cc521026319.jpg","text":"TemporaryFile(/tmp/multipartBody5025441478083950841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988645176,"filename":"image_30102025_02_03_13_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391579554","file1":"1391579551","file0":"1391579490","file4":"1391579604","file5":"1391579629","file3":"1391579558"},"map_files_photo_id_array":[{"photo_id":"1391579629","filename":"file5"},{"photo_id":"1391579554","filename":"file2"},{"photo_id":"1391579604","filename":"file4"},{"photo_id":"1391579551","filename":"file1"},{"photo_id":"1391579490","filename":"file0"},{"photo_id":"1391579558","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391579558":["hashtag1","hashtag2"]},{"1391579551":["hashtag1","hashtag2"]},{"1391579554":["hashtag1","hashtag2"]},{"1391579629":["hashtag1","hashtag2"]},{"1391579490":["hashtag1","hashtag2"]},{"1391579604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391579558, 1391579551, 1391579554, 1391579629, 1391579490, 1391579604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39377522468567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:17:22.554908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_19_3628.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_22_2648.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_26_3561.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_28_2775.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_40_2647.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_44_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_19_3628.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_22_2648.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_26_3561.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_28_2775.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_40_2647.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_44_3739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391580188","1391580341","1391580146","1391580227","1391580381","1391580282"],"photo_ids_order":["1391580146","1391580188","1391580227","1391580282","1391580341","1391580381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc4784cb0650eb9a23182f38dab5083d.jpg","text":"TemporaryFile(/tmp/multipartBody3712302254236182058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_22_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c33c99a0ed1b0c5fe5e160705f65b0a.jpg","text":"TemporaryFile(/tmp/multipartBody1254976113470142407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2b3c784e95e26f834814a4d8b830826.jpg","text":"TemporaryFile(/tmp/multipartBody2159216786427714555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_19_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee5689765f69b5815d27f3e5a9cad10f.jpg","text":"TemporaryFile(/tmp/multipartBody9073299708087767591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_26_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4002632a2b1f11b28cd15de29276045.jpg","text":"TemporaryFile(/tmp/multipartBody2701506310284286770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_44_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72e5deeae0e2f91afe4f743972d0de8b.jpg","text":"TemporaryFile(/tmp/multipartBody7939609593739011454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988706241,"filename":"image_30102025_02_03_28_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391580227","file1":"1391580188","file0":"1391580146","file4":"1391580341","file5":"1391580381","file3":"1391580282"},"map_files_photo_id_array":[{"photo_id":"1391580381","filename":"file5"},{"photo_id":"1391580227","filename":"file2"},{"photo_id":"1391580341","filename":"file4"},{"photo_id":"1391580188","filename":"file1"},{"photo_id":"1391580146","filename":"file0"},{"photo_id":"1391580282","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391580188":["hashtag1","hashtag2"]},{"1391580341":["hashtag1","hashtag2"]},{"1391580146":["hashtag1","hashtag2"]},{"1391580227":["hashtag1","hashtag2"]},{"1391580381":["hashtag1","hashtag2"]},{"1391580282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391580188, 1391580341, 1391580146, 1391580227, 1391580381, 1391580282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.408130168914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:18:21.826040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_46_2613.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_49_2624.jpg', '/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_58_2702.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_04_2594.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_10_3547.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_19_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_46_2613.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_49_2624.jpg
/home/pi/Desktop/images/30102025/02/03/image_30102025_02_03_58_2702.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_04_2594.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_10_3547.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_19_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391580815","1391580891","1391581079","1391580954","1391580840","1391580801"],"photo_ids_order":["1391580801","1391580815","1391580840","1391580891","1391580954","1391581079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6eab92af75804331a96c3b9c57eec336.jpg","text":"TemporaryFile(/tmp/multipartBody5981064873115866840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_03_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cac86220bdced656bcb4d6172e7ee722.jpg","text":"TemporaryFile(/tmp/multipartBody6037841874626227125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_04_04_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5693c8e4d9b1edeec63bfc9399a79c3.jpg","text":"TemporaryFile(/tmp/multipartBody8930921585286968193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_04_19_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a4c011b03becf0b33251f55e5abce5e.jpg","text":"TemporaryFile(/tmp/multipartBody1425602341415665695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_04_10_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9a12383a6e11060803230279ace212f.jpg","text":"TemporaryFile(/tmp/multipartBody7733466188275323698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_03_58_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd691a93abb4aeb0c527cc2eecbbdbfd.jpg","text":"TemporaryFile(/tmp/multipartBody9178643556748105323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988764775,"filename":"image_30102025_02_03_46_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391580840","file1":"1391580815","file0":"1391580801","file4":"1391580954","file5":"1391581079","file3":"1391580891"},"map_files_photo_id_array":[{"photo_id":"1391581079","filename":"file5"},{"photo_id":"1391580840","filename":"file2"},{"photo_id":"1391580954","filename":"file4"},{"photo_id":"1391580815","filename":"file1"},{"photo_id":"1391580801","filename":"file0"},{"photo_id":"1391580891","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391580815":["hashtag1","hashtag2"]},{"1391580891":["hashtag1","hashtag2"]},{"1391581079":["hashtag1","hashtag2"]},{"1391580954":["hashtag1","hashtag2"]},{"1391580840":["hashtag1","hashtag2"]},{"1391580801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391580815, 1391580891, 1391581079, 1391580954, 1391580840, 1391580801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.865365505218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:19:21.933768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_22_2718.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_35_3782.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_37_2550.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_43_2725.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_52_2530.jpg', '/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_55_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_22_2718.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_35_3782.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_37_2550.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_43_2725.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_52_2530.jpg
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_55_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391582026","1391581786","1391581893","1391582100","1391581964","1391581847"],"photo_ids_order":["1391581786","1391581847","1391581893","1391581964","1391582026","1391582100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c9edb1aef928b00c92f3fc3c5926ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3990324929189835948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_52_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0ff40187db1ae02d2ee82ea65d7728e.jpg","text":"TemporaryFile(/tmp/multipartBody8170011709906810870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_22_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dae4a40782a38db1f43d38ff72d02c26.jpg","text":"TemporaryFile(/tmp/multipartBody7532893359577186261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_37_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c41671d33dadb58e822ddc6ed04a3755.jpg","text":"TemporaryFile(/tmp/multipartBody4520009861597223467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_55_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fa9a5129f3fd7d05ccd0588b5052585.jpg","text":"TemporaryFile(/tmp/multipartBody5683058653394252717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_43_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee291d8c8cb655ce2a5e8c558836b214.jpg","text":"TemporaryFile(/tmp/multipartBody6491069429056836936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988824901,"filename":"image_30102025_02_04_35_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391581893","file1":"1391581847","file0":"1391581786","file4":"1391582026","file5":"1391582100","file3":"1391581964"},"map_files_photo_id_array":[{"photo_id":"1391582100","filename":"file5"},{"photo_id":"1391581893","filename":"file2"},{"photo_id":"1391582026","filename":"file4"},{"photo_id":"1391581847","filename":"file1"},{"photo_id":"1391581786","filename":"file0"},{"photo_id":"1391581964","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391582026":["hashtag1","hashtag2"]},{"1391581786":["hashtag1","hashtag2"]},{"1391581893":["hashtag1","hashtag2"]},{"1391582100":["hashtag1","hashtag2"]},{"1391581964":["hashtag1","hashtag2"]},{"1391581847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391582026, 1391581786, 1391581893, 1391582100, 1391581964, 1391581847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.29713487625122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:20:22.049423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_58_2705.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_01_2638.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_04_3596.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_07_2640.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_10_2578.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_16_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/04/image_30102025_02_04_58_2705.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_01_2638.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_04_3596.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_07_2640.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_10_2578.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_16_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391582755","1391583174","1391582806","1391582862","1391583059","1391582951"],"photo_ids_order":["1391582755","1391582806","1391582862","1391582951","1391583059","1391583174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/618bf134df84128a08f2268dff1e4eb4.jpg","text":"TemporaryFile(/tmp/multipartBody879301570515145132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_04_58_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/288e322deeea80645cbfdd581ec1096a.jpg","text":"TemporaryFile(/tmp/multipartBody706126604304336212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_05_16_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c997c8cccb3fe352965001d7367b61a.jpg","text":"TemporaryFile(/tmp/multipartBody2564296147881933098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_05_01_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29890aa37c6acfb2534610c8ae4c20d3.jpg","text":"TemporaryFile(/tmp/multipartBody3491787242049410565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_05_04_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/166c8975f345b0c435ef74d6174f4f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5870938777582115118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_05_10_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a5ecbdfe1ee486a12d5445f878ecf34.jpg","text":"TemporaryFile(/tmp/multipartBody5989654004133906722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988884957,"filename":"image_30102025_02_05_07_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391582862","file1":"1391582806","file0":"1391582755","file4":"1391583059","file5":"1391583174","file3":"1391582951"},"map_files_photo_id_array":[{"photo_id":"1391583174","filename":"file5"},{"photo_id":"1391582862","filename":"file2"},{"photo_id":"1391583059","filename":"file4"},{"photo_id":"1391582806","filename":"file1"},{"photo_id":"1391582755","filename":"file0"},{"photo_id":"1391582951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391582755":["hashtag1","hashtag2"]},{"1391583174":["hashtag1","hashtag2"]},{"1391582806":["hashtag1","hashtag2"]},{"1391582862":["hashtag1","hashtag2"]},{"1391583059":["hashtag1","hashtag2"]},{"1391582951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391582755, 1391583174, 1391582806, 1391582862, 1391583059, 1391582951)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.57711124420166 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:21:47.115935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_19_2673.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_31_3720.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_34_2655.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_37_2590.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_40_3654.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_43_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_19_2673.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_31_3720.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_34_2655.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_37_2590.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_40_3654.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_43_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391584123","1391584119","1391584128","1391584145","1391584067","1391584126"],"photo_ids_order":["1391584067","1391584119","1391584123","1391584126","1391584128","1391584145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d8b9945f659f45b76df962435f7f0e3.jpg","text":"TemporaryFile(/tmp/multipartBody767909623746881465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09d53e2c0891bf8320a92159ac3d5927.jpg","text":"TemporaryFile(/tmp/multipartBody6366131111959237887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_31_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ab0b2d1ad4837b9e14a3aea77f5b27d.jpg","text":"TemporaryFile(/tmp/multipartBody5796500213438433588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_40_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/112b640cda89379b8edfcd2ff874d775.jpg","text":"TemporaryFile(/tmp/multipartBody1705963645041852957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_43_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40edbe1e13e065c1e3b62943c8498e64.jpg","text":"TemporaryFile(/tmp/multipartBody1273693390193722455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_19_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7ad8cd1ef9e91adebbad5c36b06bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6796437057235706360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761988970008,"filename":"image_30102025_02_05_37_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391584123","file1":"1391584119","file0":"1391584067","file4":"1391584128","file5":"1391584145","file3":"1391584126"},"map_files_photo_id_array":[{"photo_id":"1391584145","filename":"file5"},{"photo_id":"1391584123","filename":"file2"},{"photo_id":"1391584128","filename":"file4"},{"photo_id":"1391584119","filename":"file1"},{"photo_id":"1391584067","filename":"file0"},{"photo_id":"1391584126","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391584123":["hashtag1","hashtag2"]},{"1391584119":["hashtag1","hashtag2"]},{"1391584128":["hashtag1","hashtag2"]},{"1391584145":["hashtag1","hashtag2"]},{"1391584067":["hashtag1","hashtag2"]},{"1391584126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391584123, 1391584119, 1391584128, 1391584145, 1391584067, 1391584126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.71749138832092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:22:42.310625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_45_2623.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_49_3068.jpg', '/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_58_2588.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_10_3727.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_14_3403.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_19_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_45_2623.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_49_3068.jpg
/home/pi/Desktop/images/30102025/02/05/image_30102025_02_05_58_2588.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_10_3727.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_14_3403.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_19_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391584818","1391584635","1391584814","1391584789","1391584846","1391584717"],"photo_ids_order":["1391584635","1391584717","1391584789","1391584814","1391584818","1391584846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8fe1d92827cfbaa5b5aefa7ef09a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6762519840443470249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_06_14_3403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/225b7a9fe1fea969f03bf8bef4990190.jpg","text":"TemporaryFile(/tmp/multipartBody2442525398063950531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_05_45_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0c58958ec21fa54612e3553fc71bc6b.jpg","text":"TemporaryFile(/tmp/multipartBody592580167157073130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_06_10_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec77cb705d28108e3a05b8c6c34a9c41.jpg","text":"TemporaryFile(/tmp/multipartBody327619712255162940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_05_58_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f87bf15efa039defda68784885236b7.jpg","text":"TemporaryFile(/tmp/multipartBody2790414887226050209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_06_19_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89d6b382eb52c63d44a426b66d4ee35d.jpg","text":"TemporaryFile(/tmp/multipartBody1391633144758983220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989029355,"filename":"image_30102025_02_05_49_3068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391584789","file1":"1391584717","file0":"1391584635","file4":"1391584818","file5":"1391584846","file3":"1391584814"},"map_files_photo_id_array":[{"photo_id":"1391584846","filename":"file5"},{"photo_id":"1391584789","filename":"file2"},{"photo_id":"1391584818","filename":"file4"},{"photo_id":"1391584717","filename":"file1"},{"photo_id":"1391584635","filename":"file0"},{"photo_id":"1391584814","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391584818":["hashtag1","hashtag2"]},{"1391584635":["hashtag1","hashtag2"]},{"1391584814":["hashtag1","hashtag2"]},{"1391584789":["hashtag1","hashtag2"]},{"1391584846":["hashtag1","hashtag2"]},{"1391584717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391584818, 1391584635, 1391584814, 1391584789, 1391584846, 1391584717)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 67.11217284202576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:24:02.506297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:24:32.332219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:24:42.191811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_22_3244.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_25_2808.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_31_3682.jpg', '/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_34_3210.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_04_3778.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_07_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_22_3244.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_25_2808.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_31_3682.jpg
/home/pi/Desktop/images/30102025/02/06/image_30102025_02_06_34_3210.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_04_3778.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_07_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585279","1391585246","1391585219","1391585266","1391585275","1391585260"],"photo_ids_order":["1391585219","1391585246","1391585260","1391585266","1391585275","1391585279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a4fad9b0a231c0e39eaff7f83efd944.jpg","text":"TemporaryFile(/tmp/multipartBody1460905730416538004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_07_07_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/375e2758e9299a966c0e6a0ac664293f.jpg","text":"TemporaryFile(/tmp/multipartBody2062700445003112815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_06_25_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddafd796f777122b06a4c9f22f49112c.jpg","text":"TemporaryFile(/tmp/multipartBody1095371485510440553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_06_22_3244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02470b7d0d16f1d07dbe6e56005ec417.jpg","text":"TemporaryFile(/tmp/multipartBody1327174042844520873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_06_34_3210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6113632abeade4336ac75c5080accfd4.jpg","text":"TemporaryFile(/tmp/multipartBody2223872731601229700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_07_04_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/791ca050f13d1798d2555b086d926d8f.jpg","text":"TemporaryFile(/tmp/multipartBody544763710287944645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989143649,"filename":"image_30102025_02_06_31_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585260","file1":"1391585246","file0":"1391585219","file4":"1391585275","file5":"1391585279","file3":"1391585266"},"map_files_photo_id_array":[{"photo_id":"1391585279","filename":"file5"},{"photo_id":"1391585260","filename":"file2"},{"photo_id":"1391585275","filename":"file4"},{"photo_id":"1391585246","filename":"file1"},{"photo_id":"1391585219","filename":"file0"},{"photo_id":"1391585266","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585279":["hashtag1","hashtag2"]},{"1391585246":["hashtag1","hashtag2"]},{"1391585219":["hashtag1","hashtag2"]},{"1391585266":["hashtag1","hashtag2"]},{"1391585275":["hashtag1","hashtag2"]},{"1391585260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585279, 1391585246, 1391585219, 1391585266, 1391585275, 1391585260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.956873416900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:25:22.342255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_09_2559.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_13_3699.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_40_3646.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_43_2603.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_49_3741.jpg', '/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_58_3202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_09_2559.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_13_3699.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_40_3646.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_43_2603.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_49_3741.jpg
/home/pi/Desktop/images/30102025/02/07/image_30102025_02_07_58_3202.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585472","1391585498","1391585438","1391585333","1391585493","1391585394"],"photo_ids_order":["1391585333","1391585394","1391585438","1391585472","1391585493","1391585498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18accefe406dce556c54edfe5cbcb328.jpg","text":"TemporaryFile(/tmp/multipartBody4333562516022400967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9880dd5906a21968602594c53f2b00e.jpg","text":"TemporaryFile(/tmp/multipartBody1094634417308776730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_58_3202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2aad240a0e90fa40fecc9af4b57cb50.jpg","text":"TemporaryFile(/tmp/multipartBody4714927997349815250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_40_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27fc58429122c09da7bf4b49bff3126a.jpg","text":"TemporaryFile(/tmp/multipartBody7040252860499687812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_09_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dcfc1ddb5811a9860bd656a742bd493.jpg","text":"TemporaryFile(/tmp/multipartBody1369495229378786162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_49_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6950d2ac06cec0c8808da567eb156249.jpg","text":"TemporaryFile(/tmp/multipartBody3212094159443755130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989185280,"filename":"image_30102025_02_07_13_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585438","file1":"1391585394","file0":"1391585333","file4":"1391585493","file5":"1391585498","file3":"1391585472"},"map_files_photo_id_array":[{"photo_id":"1391585498","filename":"file5"},{"photo_id":"1391585438","filename":"file2"},{"photo_id":"1391585493","filename":"file4"},{"photo_id":"1391585394","filename":"file1"},{"photo_id":"1391585333","filename":"file0"},{"photo_id":"1391585472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585472":["hashtag1","hashtag2"]},{"1391585498":["hashtag1","hashtag2"]},{"1391585438":["hashtag1","hashtag2"]},{"1391585333":["hashtag1","hashtag2"]},{"1391585493":["hashtag1","hashtag2"]},{"1391585394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585472, 1391585498, 1391585438, 1391585333, 1391585493, 1391585394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.259623765945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:26:02.958596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_10_3151.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_12_2641.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_22_2724.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_27_2552.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_31_3832.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_46_1916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_10_3151.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_12_2641.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_22_2724.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_27_2552.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_31_3832.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_46_1916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585633","1391585636","1391585615","1391585630","1391585581","1391585640"],"photo_ids_order":["1391585581","1391585615","1391585630","1391585633","1391585636","1391585640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82f6c3dbafccde2c9f1ba7450facc2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5210875274365666159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_27_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6f2ffda2082a67a59c6c3787126b36c.jpg","text":"TemporaryFile(/tmp/multipartBody8129572855722355421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_31_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7dfdab5c1e1d5d7f09b5dc9e3ffac45.jpg","text":"TemporaryFile(/tmp/multipartBody7679724365059049517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_12_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/585713be5f045c74999a6c47dbe82eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1785317210734996844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_22_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4104566e6b6e35270c0dfe1b688fd1c6.jpg","text":"TemporaryFile(/tmp/multipartBody8462864363505210095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_10_3151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60e9a912439f87fca50264cc2b902e12.jpg","text":"TemporaryFile(/tmp/multipartBody6530140438259857811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989225447,"filename":"image_30102025_02_08_46_1916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585630","file1":"1391585615","file0":"1391585581","file4":"1391585636","file5":"1391585640","file3":"1391585633"},"map_files_photo_id_array":[{"photo_id":"1391585640","filename":"file5"},{"photo_id":"1391585630","filename":"file2"},{"photo_id":"1391585636","filename":"file4"},{"photo_id":"1391585615","filename":"file1"},{"photo_id":"1391585581","filename":"file0"},{"photo_id":"1391585633","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585633":["hashtag1","hashtag2"]},{"1391585636":["hashtag1","hashtag2"]},{"1391585615":["hashtag1","hashtag2"]},{"1391585630":["hashtag1","hashtag2"]},{"1391585581":["hashtag1","hashtag2"]},{"1391585640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585633, 1391585636, 1391585615, 1391585630, 1391585581, 1391585640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.651535749435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:27:02.918268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_49_2197.jpg', '/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_54_2896.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_03_2502.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_07_3683.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_16_2562.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_18_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_49_2197.jpg
/home/pi/Desktop/images/30102025/02/08/image_30102025_02_08_54_2896.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_03_2502.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_07_3683.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_16_2562.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_18_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585658","1391585680","1391585668","1391585656","1391585653","1391585661"],"photo_ids_order":["1391585653","1391585656","1391585658","1391585661","1391585668","1391585680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bfcdd9fa3470ac46758c9a7f65e890d.jpg","text":"TemporaryFile(/tmp/multipartBody7539166485494621007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_09_03_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca18d867e51b87db79fb8cb9ebe603dc.jpg","text":"TemporaryFile(/tmp/multipartBody5880570133664266263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_09_18_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a5c776f1c752b41b8e254db019dedb9.jpg","text":"TemporaryFile(/tmp/multipartBody7022003570754995584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_09_16_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb404468351243984b08da3f6f24851c.jpg","text":"TemporaryFile(/tmp/multipartBody6331499699215829309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_08_54_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3257ca5edc263c50676f2cfee6eeb40.jpg","text":"TemporaryFile(/tmp/multipartBody8914113068469623653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_08_49_2197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4f71fa0b7e4001bf47a489c635ba61b.jpg","text":"TemporaryFile(/tmp/multipartBody1306126598900747405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989285379,"filename":"image_30102025_02_09_07_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585658","file1":"1391585656","file0":"1391585653","file4":"1391585668","file5":"1391585680","file3":"1391585661"},"map_files_photo_id_array":[{"photo_id":"1391585680","filename":"file5"},{"photo_id":"1391585658","filename":"file2"},{"photo_id":"1391585668","filename":"file4"},{"photo_id":"1391585656","filename":"file1"},{"photo_id":"1391585653","filename":"file0"},{"photo_id":"1391585661","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585658":["hashtag1","hashtag2"]},{"1391585680":["hashtag1","hashtag2"]},{"1391585668":["hashtag1","hashtag2"]},{"1391585656":["hashtag1","hashtag2"]},{"1391585653":["hashtag1","hashtag2"]},{"1391585661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585658, 1391585680, 1391585668, 1391585656, 1391585653, 1391585661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66393327713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:27:42.271994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_21_2685.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_25_3659.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_27_2670.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_34_2763.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_36_2567.jpg', '/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_39_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_21_2685.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_25_3659.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_27_2670.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_34_2763.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_36_2567.jpg
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_39_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585715","1391585718","1391585709","1391585705","1391585698","1391585713"],"photo_ids_order":["1391585698","1391585705","1391585709","1391585713","1391585715","1391585718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e96d03cbf52148ac5c9d2af6404b4091.jpg","text":"TemporaryFile(/tmp/multipartBody6629416058585688340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_36_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7697b47b66ed526144215823c248f50.jpg","text":"TemporaryFile(/tmp/multipartBody3017589940736714616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_39_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c62c3436533e283fa99b49521e98fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7251945379436867392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_27_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca54971fb8617b4f69ff7297415d5f42.jpg","text":"TemporaryFile(/tmp/multipartBody7836182008377785028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_25_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8e5c244872f5f4a1eb99e8961f21614.jpg","text":"TemporaryFile(/tmp/multipartBody1840168585636920756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3979809e71dc22ebb2121d92988c8816.jpg","text":"TemporaryFile(/tmp/multipartBody7602673067041185310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989323626,"filename":"image_30102025_02_09_34_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585709","file1":"1391585705","file0":"1391585698","file4":"1391585715","file5":"1391585718","file3":"1391585713"},"map_files_photo_id_array":[{"photo_id":"1391585718","filename":"file5"},{"photo_id":"1391585709","filename":"file2"},{"photo_id":"1391585715","filename":"file4"},{"photo_id":"1391585705","filename":"file1"},{"photo_id":"1391585698","filename":"file0"},{"photo_id":"1391585713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585715":["hashtag1","hashtag2"]},{"1391585718":["hashtag1","hashtag2"]},{"1391585709":["hashtag1","hashtag2"]},{"1391585705":["hashtag1","hashtag2"]},{"1391585698":["hashtag1","hashtag2"]},{"1391585713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585715, 1391585718, 1391585709, 1391585705, 1391585698, 1391585713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32443070411682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:28:22.474416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_48_2733.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_10_2906.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_12_2643.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_19_2862.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_21_2726.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_45_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/09/image_30102025_02_09_48_2733.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_10_2906.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_12_2643.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_19_2862.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_21_2726.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_45_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585739","1391585727","1391585744","1391585747","1391585731","1391585734"],"photo_ids_order":["1391585727","1391585731","1391585734","1391585739","1391585744","1391585747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/505083f1def51d2a879f06792e1ef8cc.jpg","text":"TemporaryFile(/tmp/multipartBody7099265024374286539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_10_19_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f1a0670a69aafa90de32755cdd77f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1599535279342213550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_09_48_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d66ebab0393a7b7ec8b27b9057ba1159.jpg","text":"TemporaryFile(/tmp/multipartBody2511476670727960350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_10_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8b04dd84023c5840fa2fbe7c1af9409.jpg","text":"TemporaryFile(/tmp/multipartBody7381985267578181521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_10_45_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/224513d0bba1a3bf3b11d7d47f596f97.jpg","text":"TemporaryFile(/tmp/multipartBody8762148000974445889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_10_10_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b420bb5cd05af0fea0724ecc884c081f.jpg","text":"TemporaryFile(/tmp/multipartBody10942543662451273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989365403,"filename":"image_30102025_02_10_12_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585734","file1":"1391585731","file0":"1391585727","file4":"1391585744","file5":"1391585747","file3":"1391585739"},"map_files_photo_id_array":[{"photo_id":"1391585747","filename":"file5"},{"photo_id":"1391585734","filename":"file2"},{"photo_id":"1391585744","filename":"file4"},{"photo_id":"1391585731","filename":"file1"},{"photo_id":"1391585727","filename":"file0"},{"photo_id":"1391585739","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585739":["hashtag1","hashtag2"]},{"1391585727":["hashtag1","hashtag2"]},{"1391585744":["hashtag1","hashtag2"]},{"1391585747":["hashtag1","hashtag2"]},{"1391585731":["hashtag1","hashtag2"]},{"1391585734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585739, 1391585727, 1391585744, 1391585747, 1391585731, 1391585734)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.82393264770508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:29:22.512240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_49_3627.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_51_2691.jpg', '/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_54_2651.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_15_2686.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_19_3635.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_21_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_49_3627.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_51_2691.jpg
/home/pi/Desktop/images/30102025/02/10/image_30102025_02_10_54_2651.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_15_2686.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_19_3635.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_21_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585786","1391585801","1391585791","1391585804","1391585788","1391585796"],"photo_ids_order":["1391585786","1391585788","1391585791","1391585796","1391585801","1391585804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0cc6e43ec7045067d95826bf93189d0.jpg","text":"TemporaryFile(/tmp/multipartBody9174600117443720479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_10_49_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83b22a5a0b4892b3ef2c79be9a5f3cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3261016501379458997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_11_19_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f3e0a8aa59d2a33e3516df854e9fe74.jpg","text":"TemporaryFile(/tmp/multipartBody3222857711943362495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_10_54_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71c5a5987114f17816a3df82d44eb83b.jpg","text":"TemporaryFile(/tmp/multipartBody1033078871262886850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_11_21_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ce132e8ba50e3f5838a1c62aebeb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3490019283389734236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_10_51_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bae270bc1c924124ca7ee243034961ff.jpg","text":"TemporaryFile(/tmp/multipartBody5797601043700039292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989429390,"filename":"image_30102025_02_11_15_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585791","file1":"1391585788","file0":"1391585786","file4":"1391585801","file5":"1391585804","file3":"1391585796"},"map_files_photo_id_array":[{"photo_id":"1391585804","filename":"file5"},{"photo_id":"1391585791","filename":"file2"},{"photo_id":"1391585801","filename":"file4"},{"photo_id":"1391585788","filename":"file1"},{"photo_id":"1391585786","filename":"file0"},{"photo_id":"1391585796","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585786":["hashtag1","hashtag2"]},{"1391585801":["hashtag1","hashtag2"]},{"1391585791":["hashtag1","hashtag2"]},{"1391585804":["hashtag1","hashtag2"]},{"1391585788":["hashtag1","hashtag2"]},{"1391585796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585786, 1391585801, 1391585791, 1391585804, 1391585788, 1391585796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.01256775856018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:30:22.853165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_28_3839.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_31_2780.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_37_3539.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_40_2868.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_45_2598.jpg', '/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_58_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_28_3839.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_31_2780.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_37_3539.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_40_2868.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_45_2598.jpg
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_11_58_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391585961","1391585972","1391585969","1391585978","1391585965","1391585956"],"photo_ids_order":["1391585956","1391585961","1391585965","1391585969","1391585972","1391585978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5a001a378b26a3a0bb6e2a22e1d6bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3828611865303980126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_31_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf0a9798e100e0d3bff0ccef9cddbe45.jpg","text":"TemporaryFile(/tmp/multipartBody8898386378050432699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_45_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4740c65529b4018cf641be0450a20530.jpg","text":"TemporaryFile(/tmp/multipartBody8457957155096731411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_40_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe0b2a40336526b040d85228a0543640.jpg","text":"TemporaryFile(/tmp/multipartBody995728637607401192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_58_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fdb21c72d89ac9afbc6df26181f0d32.jpg","text":"TemporaryFile(/tmp/multipartBody911966076955770360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_37_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c618cea067aad93c4f1be1ffa188737.jpg","text":"TemporaryFile(/tmp/multipartBody5526995253817225676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989491754,"filename":"image_30102025_02_11_28_3839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391585965","file1":"1391585961","file0":"1391585956","file4":"1391585972","file5":"1391585978","file3":"1391585969"},"map_files_photo_id_array":[{"photo_id":"1391585978","filename":"file5"},{"photo_id":"1391585965","filename":"file2"},{"photo_id":"1391585972","filename":"file4"},{"photo_id":"1391585961","filename":"file1"},{"photo_id":"1391585956","filename":"file0"},{"photo_id":"1391585969","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391585961":["hashtag1","hashtag2"]},{"1391585972":["hashtag1","hashtag2"]},{"1391585969":["hashtag1","hashtag2"]},{"1391585978":["hashtag1","hashtag2"]},{"1391585965":["hashtag1","hashtag2"]},{"1391585956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391585961, 1391585972, 1391585969, 1391585978, 1391585965, 1391585956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.83965992927551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:31:22.714550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/11/image_30102025_02_12_00_2582.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_09_2644.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_12_2631.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_30_2658.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_34_3677.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_36_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/11/image_30102025_02_12_00_2582.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_09_2644.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_12_2631.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_30_2658.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_34_3677.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_36_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391586473","1391586428","1391586320","1391586562","1391586385","1391586516"],"photo_ids_order":["1391586320","1391586385","1391586428","1391586473","1391586516","1391586562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3528b92a18eb3a9341bed32541668c59.jpg","text":"TemporaryFile(/tmp/multipartBody3504037966809490877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_30_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e99f3c38af9884ba6ce264dc7033234a.jpg","text":"TemporaryFile(/tmp/multipartBody4650211799348663961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_12_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4eefecda7fd548c588037c6a8c25cf53.jpg","text":"TemporaryFile(/tmp/multipartBody6312887258424483129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_00_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e076f467c7a0edd2d97fce4654c77612.jpg","text":"TemporaryFile(/tmp/multipartBody9217944837149567734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_36_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76da467a73ba2a86d65fa75be5f2325a.jpg","text":"TemporaryFile(/tmp/multipartBody7478830565948023112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_09_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a267d7121d1cbced2e97d4226856b2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2374130171098522873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989547349,"filename":"image_30102025_02_12_34_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391586428","file1":"1391586385","file0":"1391586320","file4":"1391586516","file5":"1391586562","file3":"1391586473"},"map_files_photo_id_array":[{"photo_id":"1391586562","filename":"file5"},{"photo_id":"1391586428","filename":"file2"},{"photo_id":"1391586516","filename":"file4"},{"photo_id":"1391586385","filename":"file1"},{"photo_id":"1391586320","filename":"file0"},{"photo_id":"1391586473","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391586473":["hashtag1","hashtag2"]},{"1391586428":["hashtag1","hashtag2"]},{"1391586320":["hashtag1","hashtag2"]},{"1391586562":["hashtag1","hashtag2"]},{"1391586385":["hashtag1","hashtag2"]},{"1391586516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391586473, 1391586428, 1391586320, 1391586562, 1391586385, 1391586516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88286280632019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:32:21.998600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_43_3608.jpg', '/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_45_2754.jpg', '/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_06_2671.jpg', '/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_09_2676.jpg', '/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_24_2578.jpg', '/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_57_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_43_3608.jpg
/home/pi/Desktop/images/30102025/02/12/image_30102025_02_12_45_2754.jpg
/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_06_2671.jpg
/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_09_2676.jpg
/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_24_2578.jpg
/home/pi/Desktop/images/30102025/02/13/image_30102025_02_13_57_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391586770","1391586764","1391586766","1391586775","1391586760","1391586802"],"photo_ids_order":["1391586760","1391586764","1391586766","1391586770","1391586775","1391586802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b657c9b203cf9349ec33ef96c6869482.jpg","text":"TemporaryFile(/tmp/multipartBody4812154183468238964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_13_09_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/462c55dca6217f06f5d12a2e7658ee20.jpg","text":"TemporaryFile(/tmp/multipartBody1807717719179362853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_12_45_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7103ba03eba43b24c0d7abb5b5cd222e.jpg","text":"TemporaryFile(/tmp/multipartBody7467287388988084740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_13_06_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2cda10520bb44205636a9e9c943b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2802453303958584551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_13_24_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9574e6a274b79316f55af8e44baf998f.jpg","text":"TemporaryFile(/tmp/multipartBody7735351502266845805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_12_43_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3225287c1b39faf46700a3cbc553846d.jpg","text":"TemporaryFile(/tmp/multipartBody6451146877964120044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989605100,"filename":"image_30102025_02_13_57_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391586766","file1":"1391586764","file0":"1391586760","file4":"1391586775","file5":"1391586802","file3":"1391586770"},"map_files_photo_id_array":[{"photo_id":"1391586802","filename":"file5"},{"photo_id":"1391586766","filename":"file2"},{"photo_id":"1391586775","filename":"file4"},{"photo_id":"1391586764","filename":"file1"},{"photo_id":"1391586760","filename":"file0"},{"photo_id":"1391586770","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391586770":["hashtag1","hashtag2"]},{"1391586764":["hashtag1","hashtag2"]},{"1391586766":["hashtag1","hashtag2"]},{"1391586775":["hashtag1","hashtag2"]},{"1391586760":["hashtag1","hashtag2"]},{"1391586802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391586770, 1391586764, 1391586766, 1391586775, 1391586760, 1391586802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67890763282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:33:02.766471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/13/image_30102025_02_14_00_2842.jpg', '/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_03_3603.jpg', '/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_06_2599.jpg', '/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_12_3691.jpg', '/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_33_3660.jpg', '/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_36_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/13/image_30102025_02_14_00_2842.jpg
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_03_3603.jpg
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_06_2599.jpg
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_12_3691.jpg
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_33_3660.jpg
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_36_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391587433","1391587301","1391587462","1391587378","1391587159","1391587425"],"photo_ids_order":["1391587159","1391587301","1391587378","1391587425","1391587433","1391587462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3443c0c00fbbb6066449bcc284e41f7.jpg","text":"TemporaryFile(/tmp/multipartBody1678753752882021554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_33_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b15224cc2173adaab52cb16e72255512.jpg","text":"TemporaryFile(/tmp/multipartBody2911019547587795671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_03_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cafdc193b2d7ba4dfec06f67dfc7c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4721565240619608109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_36_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f38570b704f293b989e36bdd05703bda.jpg","text":"TemporaryFile(/tmp/multipartBody3602894624543139255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_06_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ba958d9d78230a9c7e37702a0e3a699.jpg","text":"TemporaryFile(/tmp/multipartBody3418403612731371219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_00_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55668c715afbf08d056cfc07791eed44.jpg","text":"TemporaryFile(/tmp/multipartBody8182973075718724868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989645240,"filename":"image_30102025_02_14_12_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391587378","file1":"1391587301","file0":"1391587159","file4":"1391587433","file5":"1391587462","file3":"1391587425"},"map_files_photo_id_array":[{"photo_id":"1391587462","filename":"file5"},{"photo_id":"1391587378","filename":"file2"},{"photo_id":"1391587433","filename":"file4"},{"photo_id":"1391587301","filename":"file1"},{"photo_id":"1391587159","filename":"file0"},{"photo_id":"1391587425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391587433":["hashtag1","hashtag2"]},{"1391587301":["hashtag1","hashtag2"]},{"1391587462":["hashtag1","hashtag2"]},{"1391587378":["hashtag1","hashtag2"]},{"1391587159":["hashtag1","hashtag2"]},{"1391587425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391587433, 1391587301, 1391587462, 1391587378, 1391587159, 1391587425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.640807151794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:34:02.903969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_39_2618.jpg', '/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_12_3549.jpg', '/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_21_2743.jpg', '/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_24_3706.jpg', '/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_33_2716.jpg', '/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_36_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/14/image_30102025_02_14_39_2618.jpg
/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_12_3549.jpg
/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_21_2743.jpg
/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_24_3706.jpg
/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_33_2716.jpg
/home/pi/Desktop/images/30102025/02/15/image_30102025_02_15_36_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391587576","1391587786","1391587768","1391587689","1391587617","1391587535"],"photo_ids_order":["1391587535","1391587576","1391587617","1391587689","1391587768","1391587786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2c106bcc5ace6ed4853e25afe88c020.jpg","text":"TemporaryFile(/tmp/multipartBody8747491272174450919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_15_12_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88b0510caef410cd1bd75bf048f48cad.jpg","text":"TemporaryFile(/tmp/multipartBody5706457639187226673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_15_36_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b49328f4c3ab00084319adc251394e29.jpg","text":"TemporaryFile(/tmp/multipartBody3268084720763425402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_15_33_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40370623fce7ec82e76323c45739b497.jpg","text":"TemporaryFile(/tmp/multipartBody6568961945268666676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_15_24_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12e68ef711051bdeb951f103f5720412.jpg","text":"TemporaryFile(/tmp/multipartBody4473868298335734328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_15_21_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28c2128331984af156be99f343d7a63e.jpg","text":"TemporaryFile(/tmp/multipartBody3206201223807647774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989705342,"filename":"image_30102025_02_14_39_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391587617","file1":"1391587576","file0":"1391587535","file4":"1391587768","file5":"1391587786","file3":"1391587689"},"map_files_photo_id_array":[{"photo_id":"1391587786","filename":"file5"},{"photo_id":"1391587617","filename":"file2"},{"photo_id":"1391587768","filename":"file4"},{"photo_id":"1391587576","filename":"file1"},{"photo_id":"1391587535","filename":"file0"},{"photo_id":"1391587689","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391587576":["hashtag1","hashtag2"]},{"1391587786":["hashtag1","hashtag2"]},{"1391587768":["hashtag1","hashtag2"]},{"1391587689":["hashtag1","hashtag2"]},{"1391587617":["hashtag1","hashtag2"]},{"1391587535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391587576, 1391587786, 1391587768, 1391587689, 1391587617, 1391587535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35911989212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:35:03.453346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_03_2749.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_18_3641.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_21_2604.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_33_3670.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_36_2609.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_48_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_03_2749.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_18_3641.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_21_2604.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_33_3670.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_36_2609.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_48_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391587916","1391587919","1391587927","1391587929","1391587932","1391587967"],"photo_ids_order":["1391587916","1391587919","1391587927","1391587929","1391587932","1391587967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c9f45717f47e022ac9268d065caa29f.jpg","text":"TemporaryFile(/tmp/multipartBody3882253645473388908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_03_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ba8425758e8fcc82850910f47f1635c.jpg","text":"TemporaryFile(/tmp/multipartBody8271988690921351151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_18_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c55c26d2cad1d3fd281fa44315a75a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6101234203539948663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_21_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12ed493c239f8b5a8cee9581278ae79e.jpg","text":"TemporaryFile(/tmp/multipartBody6458454642886923227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_33_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b67db81afaa1a0e62208b77fc20d3321.jpg","text":"TemporaryFile(/tmp/multipartBody890289386141695509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_36_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a15ea4aff2b5db4de797e9f1b63dbb17.jpg","text":"TemporaryFile(/tmp/multipartBody5730841288510952406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989765880,"filename":"image_30102025_02_16_48_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391587927","file1":"1391587919","file0":"1391587916","file4":"1391587932","file5":"1391587967","file3":"1391587929"},"map_files_photo_id_array":[{"photo_id":"1391587967","filename":"file5"},{"photo_id":"1391587927","filename":"file2"},{"photo_id":"1391587932","filename":"file4"},{"photo_id":"1391587919","filename":"file1"},{"photo_id":"1391587916","filename":"file0"},{"photo_id":"1391587929","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391587916":["hashtag1","hashtag2"]},{"1391587919":["hashtag1","hashtag2"]},{"1391587927":["hashtag1","hashtag2"]},{"1391587929":["hashtag1","hashtag2"]},{"1391587932":["hashtag1","hashtag2"]},{"1391587967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391587916, 1391587919, 1391587927, 1391587929, 1391587932, 1391587967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.458531618118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:35:42.664167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_51_2754.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_57_3697.jpg', '/home/pi/Desktop/images/30102025/02/16/image_30102025_02_17_00_2774.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_18_3616.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_21_2784.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_27_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_51_2754.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_16_57_3697.jpg
/home/pi/Desktop/images/30102025/02/16/image_30102025_02_17_00_2774.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_18_3616.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_21_2784.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_27_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391588092","1391588095","1391588101","1391588160","1391588136","1391588098"],"photo_ids_order":["1391588092","1391588095","1391588098","1391588101","1391588136","1391588160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d382a0848bddae30317d3a3fc33b051.jpg","text":"TemporaryFile(/tmp/multipartBody6118490925258852261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_16_51_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18fc11ccedb40822b6a0e4b53fc1c355.jpg","text":"TemporaryFile(/tmp/multipartBody1430429335348168602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_16_57_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66346b0b573681d8f143d943eda31ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2223147617116489091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_17_18_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7748b3ef944d46951bb66d11babbd2f.jpg","text":"TemporaryFile(/tmp/multipartBody8484840570621535661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_17_27_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43b3858c30495e86bfa2b6455acf2dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3829381725672558316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_17_21_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf3d5bfdec8e9ce03a688188dd371726.jpg","text":"TemporaryFile(/tmp/multipartBody83420989279462866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989804078,"filename":"image_30102025_02_17_00_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391588098","file1":"1391588095","file0":"1391588092","file4":"1391588136","file5":"1391588160","file3":"1391588101"},"map_files_photo_id_array":[{"photo_id":"1391588160","filename":"file5"},{"photo_id":"1391588098","filename":"file2"},{"photo_id":"1391588136","filename":"file4"},{"photo_id":"1391588095","filename":"file1"},{"photo_id":"1391588092","filename":"file0"},{"photo_id":"1391588101","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391588092":["hashtag1","hashtag2"]},{"1391588095":["hashtag1","hashtag2"]},{"1391588101":["hashtag1","hashtag2"]},{"1391588160":["hashtag1","hashtag2"]},{"1391588136":["hashtag1","hashtag2"]},{"1391588098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391588092, 1391588095, 1391588101, 1391588160, 1391588136, 1391588098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768781900405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:36:21.834129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_30_2647.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_32_2653.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_39_2658.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_41_2816.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_45_3592.jpg', '/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_54_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_30_2647.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_32_2653.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_39_2658.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_41_2816.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_45_3592.jpg
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_54_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391588575","1391588683","1391588622","1391588441","1391588785","1391588525"],"photo_ids_order":["1391588441","1391588525","1391588575","1391588622","1391588683","1391588785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53dbe7e50a681d266519ee03e2a5047f.jpg","text":"TemporaryFile(/tmp/multipartBody3669778738475770893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2d809bd2a88ca95d6a3bc0b3b0876e6.jpg","text":"TemporaryFile(/tmp/multipartBody760535185936895306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_45_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5989e9744adc94e1623bbd2f70cbf105.jpg","text":"TemporaryFile(/tmp/multipartBody6150927056728342755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_41_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/403851c7f78f07593d70d6ea8f945486.jpg","text":"TemporaryFile(/tmp/multipartBody5533287969881677058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_30_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/802ae44ebbab38aee45fad0d73b4eab9.jpg","text":"TemporaryFile(/tmp/multipartBody6425752459167032410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_54_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f47138932065ea0ac7b3abe1118051cd.jpg","text":"TemporaryFile(/tmp/multipartBody1962915560575664870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989844834,"filename":"image_30102025_02_17_32_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391588575","file1":"1391588525","file0":"1391588441","file4":"1391588683","file5":"1391588785","file3":"1391588622"},"map_files_photo_id_array":[{"photo_id":"1391588785","filename":"file5"},{"photo_id":"1391588575","filename":"file2"},{"photo_id":"1391588683","filename":"file4"},{"photo_id":"1391588525","filename":"file1"},{"photo_id":"1391588441","filename":"file0"},{"photo_id":"1391588622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391588575":["hashtag1","hashtag2"]},{"1391588683":["hashtag1","hashtag2"]},{"1391588622":["hashtag1","hashtag2"]},{"1391588441":["hashtag1","hashtag2"]},{"1391588785":["hashtag1","hashtag2"]},{"1391588525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391588575, 1391588683, 1391588622, 1391588441, 1391588785, 1391588525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.970043897628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:37:22.031463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_57_2910.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_06_2683.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_08_2568.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_15_2556.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_17_2553.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_30_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/17/image_30102025_02_17_57_2910.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_06_2683.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_08_2568.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_15_2556.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_17_2553.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_30_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391589118","1391589075","1391589027","1391589032","1391589029","1391588998"],"photo_ids_order":["1391588998","1391589027","1391589029","1391589032","1391589075","1391589118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/441a3b96dad40fe3a34c7e8325807806.jpg","text":"TemporaryFile(/tmp/multipartBody7010141368020684391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_18_30_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65d0b132b28eefd4de00730e147a74de.jpg","text":"TemporaryFile(/tmp/multipartBody9044542218156431542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_18_17_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e7c90cce93cd94491d8d521fcf01eab.jpg","text":"TemporaryFile(/tmp/multipartBody818111926194756124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_18_06_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccf327135a67830e558b4641f1eb3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody452955622244245253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_18_15_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14075a632101fa9111044e0a5e4a6055.jpg","text":"TemporaryFile(/tmp/multipartBody4743303927885039490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_18_08_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e47fa8b97efded930de24646493c4e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3938860951759002471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989905005,"filename":"image_30102025_02_17_57_2910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589029","file1":"1391589027","file0":"1391588998","file4":"1391589075","file5":"1391589118","file3":"1391589032"},"map_files_photo_id_array":[{"photo_id":"1391589118","filename":"file5"},{"photo_id":"1391589029","filename":"file2"},{"photo_id":"1391589075","filename":"file4"},{"photo_id":"1391589027","filename":"file1"},{"photo_id":"1391588998","filename":"file0"},{"photo_id":"1391589032","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391589118":["hashtag1","hashtag2"]},{"1391589075":["hashtag1","hashtag2"]},{"1391589027":["hashtag1","hashtag2"]},{"1391589032":["hashtag1","hashtag2"]},{"1391589029":["hashtag1","hashtag2"]},{"1391588998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391589118, 1391589075, 1391589027, 1391589032, 1391589029, 1391588998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12823176383972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:38:02.591169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_33_2638.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_35_2696.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_47_2581.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_51_3707.jpg', '/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_59_2825.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_08_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_33_2638.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_35_2696.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_47_2581.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_51_3707.jpg
/home/pi/Desktop/images/30102025/02/18/image_30102025_02_18_59_2825.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_08_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391589424","1391589420","1391589383","1391589359","1391589422","1391589416"],"photo_ids_order":["1391589359","1391589383","1391589416","1391589420","1391589422","1391589424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da295a3d72dcde0af182b2cbc756de8b.jpg","text":"TemporaryFile(/tmp/multipartBody5770449363089010200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_19_08_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9215c7cbd2fff512336cf201ad39d46.jpg","text":"TemporaryFile(/tmp/multipartBody1075423002862161100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_18_51_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a02a44d72162cf8308508ac2d2045df7.jpg","text":"TemporaryFile(/tmp/multipartBody4771234240355404558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_18_35_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9e27525d17f56555bf370a3bcd598e.jpg","text":"TemporaryFile(/tmp/multipartBody5509008288864340550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_18_33_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04d23c8be51c046b6230d4f198d058f6.jpg","text":"TemporaryFile(/tmp/multipartBody702500584778330327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_18_59_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8694401d697a834a79a3246abbba415.jpg","text":"TemporaryFile(/tmp/multipartBody6494769627905339499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989945034,"filename":"image_30102025_02_18_47_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589416","file1":"1391589383","file0":"1391589359","file4":"1391589422","file5":"1391589424","file3":"1391589420"},"map_files_photo_id_array":[{"photo_id":"1391589424","filename":"file5"},{"photo_id":"1391589416","filename":"file2"},{"photo_id":"1391589422","filename":"file4"},{"photo_id":"1391589383","filename":"file1"},{"photo_id":"1391589359","filename":"file0"},{"photo_id":"1391589420","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391589424":["hashtag1","hashtag2"]},{"1391589420":["hashtag1","hashtag2"]},{"1391589383":["hashtag1","hashtag2"]},{"1391589359":["hashtag1","hashtag2"]},{"1391589422":["hashtag1","hashtag2"]},{"1391589416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391589424, 1391589420, 1391589383, 1391589359, 1391589422, 1391589416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.992331743240356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:38:42.268952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_12_3627.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_15_2649.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_17_2686.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_23_2619.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_38_2808.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_45_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_12_3627.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_15_2649.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_17_2686.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_23_2619.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_38_2808.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_45_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391589523","1391589555","1391589462","1391589458","1391589551","1391589553"],"photo_ids_order":["1391589458","1391589462","1391589523","1391589551","1391589553","1391589555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7af9dbf35d866cb6c4095cf2f1582966.jpg","text":"TemporaryFile(/tmp/multipartBody40624369072376763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20b1401d67fe4b9bce37a282433e72da.jpg","text":"TemporaryFile(/tmp/multipartBody4236286747906298555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_45_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8f26eb8756db461ffbd85c53ff7bc84.jpg","text":"TemporaryFile(/tmp/multipartBody8053421044526836353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_15_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/013bd17083045bec1ff1dbb11ffa84c7.jpg","text":"TemporaryFile(/tmp/multipartBody4753691625060096311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_12_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc1967802b107a2f704fa7d776f1c36d.jpg","text":"TemporaryFile(/tmp/multipartBody7494167733002297748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_23_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bf8ccdad956052de2325336f8d4652f.jpg","text":"TemporaryFile(/tmp/multipartBody3823217103377306478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761989983639,"filename":"image_30102025_02_19_38_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589523","file1":"1391589462","file0":"1391589458","file4":"1391589553","file5":"1391589555","file3":"1391589551"},"map_files_photo_id_array":[{"photo_id":"1391589555","filename":"file5"},{"photo_id":"1391589523","filename":"file2"},{"photo_id":"1391589553","filename":"file4"},{"photo_id":"1391589462","filename":"file1"},{"photo_id":"1391589458","filename":"file0"},{"photo_id":"1391589551","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391589523":["hashtag1","hashtag2"]},{"1391589555":["hashtag1","hashtag2"]},{"1391589462":["hashtag1","hashtag2"]},{"1391589458":["hashtag1","hashtag2"]},{"1391589551":["hashtag1","hashtag2"]},{"1391589553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391589523, 1391589555, 1391589462, 1391589458, 1391589551, 1391589553)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.99320602416992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:39:42.430224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_47_2533.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_51_3661.jpg', '/home/pi/Desktop/images/30102025/02/19/image_30102025_02_20_00_2825.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_02_2530.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_11_2725.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_14_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_47_2533.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_19_51_3661.jpg
/home/pi/Desktop/images/30102025/02/19/image_30102025_02_20_00_2825.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_02_2530.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_11_2725.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_14_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391589570","1391589573","1391589567","1391589686","1391589596","1391589635"],"photo_ids_order":["1391589567","1391589570","1391589573","1391589596","1391589635","1391589686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1fcc8558efde26daf25684579e8d23e.jpg","text":"TemporaryFile(/tmp/multipartBody4904847013830684264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_19_51_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7246278719c855fa12f92a7838d92a4.jpg","text":"TemporaryFile(/tmp/multipartBody7865506261805999618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_20_00_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c960a0895c27cdf37340b84bbba0fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4522025872927963801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_19_47_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f7f48e648449c8ca19327f8788b5070.jpg","text":"TemporaryFile(/tmp/multipartBody8634649510703012278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_20_14_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63bf691ec80a37e490750a2957258581.jpg","text":"TemporaryFile(/tmp/multipartBody2316337668345727158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_20_02_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/718387ed1bcd8d42532b8ed415472a46.jpg","text":"TemporaryFile(/tmp/multipartBody8058369491880813585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990043767,"filename":"image_30102025_02_20_11_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589573","file1":"1391589570","file0":"1391589567","file4":"1391589635","file5":"1391589686","file3":"1391589596"},"map_files_photo_id_array":[{"photo_id":"1391589686","filename":"file5"},{"photo_id":"1391589573","filename":"file2"},{"photo_id":"1391589635","filename":"file4"},{"photo_id":"1391589570","filename":"file1"},{"photo_id":"1391589567","filename":"file0"},{"photo_id":"1391589596","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391589570":["hashtag1","hashtag2"]},{"1391589573":["hashtag1","hashtag2"]},{"1391589567":["hashtag1","hashtag2"]},{"1391589686":["hashtag1","hashtag2"]},{"1391589596":["hashtag1","hashtag2"]},{"1391589635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391589570, 1391589573, 1391589567, 1391589686, 1391589596, 1391589635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85323715209961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:40:22.569003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_18_3740.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_53_2571.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_57_3636.jpg', '/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_59_2634.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_05_2629.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_08_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_18_3740.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_53_2571.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_57_3636.jpg
/home/pi/Desktop/images/30102025/02/20/image_30102025_02_20_59_2634.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_05_2629.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_08_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391589907","1391589891","1391589897","1391589882","1391589854","1391589911"],"photo_ids_order":["1391589854","1391589882","1391589891","1391589897","1391589907","1391589911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96fc6d9ba838f016f2f9f50bac827f06.jpg","text":"TemporaryFile(/tmp/multipartBody8337693147465404373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_21_05_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b5feaacbf64535c69aaec7e5bec586a.jpg","text":"TemporaryFile(/tmp/multipartBody3252397916338445623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_20_57_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70fa32e783933f435b85fbe33977e44d.jpg","text":"TemporaryFile(/tmp/multipartBody8616152794807767747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_20_59_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5221319f5f5c3b99a564da9d9f2ce43a.jpg","text":"TemporaryFile(/tmp/multipartBody4896567970076346331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_20_53_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cacecb4ed8158067a3f41fd8168d08ed.jpg","text":"TemporaryFile(/tmp/multipartBody1821621804378909922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_20_18_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b21838f63d0b456cf2084974d738377.jpg","text":"TemporaryFile(/tmp/multipartBody5634834439200293023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990085527,"filename":"image_30102025_02_21_08_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589891","file1":"1391589882","file0":"1391589854","file4":"1391589907","file5":"1391589911","file3":"1391589897"},"map_files_photo_id_array":[{"photo_id":"1391589911","filename":"file5"},{"photo_id":"1391589891","filename":"file2"},{"photo_id":"1391589907","filename":"file4"},{"photo_id":"1391589882","filename":"file1"},{"photo_id":"1391589854","filename":"file0"},{"photo_id":"1391589897","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391589907":["hashtag1","hashtag2"]},{"1391589891":["hashtag1","hashtag2"]},{"1391589897":["hashtag1","hashtag2"]},{"1391589882":["hashtag1","hashtag2"]},{"1391589854":["hashtag1","hashtag2"]},{"1391589911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391589907, 1391589891, 1391589897, 1391589882, 1391589854, 1391589911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42152547836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:41:03.430052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_15_2702.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_17_2569.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_21_3648.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_23_2689.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_33_2880.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_39_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_15_2702.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_17_2569.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_21_3648.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_23_2689.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_33_2880.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_39_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391590033","1391589915","1391589944","1391589994","1391590025","1391590019"],"photo_ids_order":["1391589915","1391589944","1391589994","1391590019","1391590025","1391590033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/790c0dd9925b00b73ad6047c09c21592.jpg","text":"TemporaryFile(/tmp/multipartBody6411873385360676888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_39_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e4d087063f85372c529971ca8de68e8.jpg","text":"TemporaryFile(/tmp/multipartBody2013037910075739294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48388c599ebb7b4d43fae90ec1f4bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3446950356519447712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_17_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/017d0c079855562ad67e5ce66668aa4d.jpg","text":"TemporaryFile(/tmp/multipartBody3286996945708549708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_21_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0e6b1b6d3716595070b3b53c4180a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2961934827494560055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_33_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d72acf2f4dfa1cc1f948dff6dd402b0.jpg","text":"TemporaryFile(/tmp/multipartBody9084860983587135178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990127192,"filename":"image_30102025_02_21_23_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391589994","file1":"1391589944","file0":"1391589915","file4":"1391590025","file5":"1391590033","file3":"1391590019"},"map_files_photo_id_array":[{"photo_id":"1391590033","filename":"file5"},{"photo_id":"1391589994","filename":"file2"},{"photo_id":"1391590025","filename":"file4"},{"photo_id":"1391589944","filename":"file1"},{"photo_id":"1391589915","filename":"file0"},{"photo_id":"1391590019","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391590033":["hashtag1","hashtag2"]},{"1391589915":["hashtag1","hashtag2"]},{"1391589944":["hashtag1","hashtag2"]},{"1391589994":["hashtag1","hashtag2"]},{"1391590025":["hashtag1","hashtag2"]},{"1391590019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391590033, 1391589915, 1391589944, 1391589994, 1391590025, 1391590019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81162929534912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:42:02.528083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_42_2815.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_50_2640.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_53_2723.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_56_2990.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_21_2754.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_23_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_42_2815.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_50_2640.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_53_2723.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_56_2990.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_21_2754.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_23_2787.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2674129009246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:42:22.024824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_42_2815.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_50_2640.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_53_2723.jpg', '/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_56_2990.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_21_2754.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_23_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_42_2815.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_50_2640.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_53_2723.jpg
/home/pi/Desktop/images/30102025/02/21/image_30102025_02_21_56_2990.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_21_2754.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_23_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391590502","1391590417","1391590333","1391590545","1391590460","1391590376"],"photo_ids_order":["1391590333","1391590376","1391590417","1391590460","1391590502","1391590545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2db15e8cfa622a77c2e37e9bee64eac3.jpg","text":"TemporaryFile(/tmp/multipartBody2645443351473523797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_22_21_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75d4d6d02e2d504177a175bc0d16cfa0.jpg","text":"TemporaryFile(/tmp/multipartBody1339916609088155857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_21_53_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/251271c53f7849209b09e437baa15f01.jpg","text":"TemporaryFile(/tmp/multipartBody8675793819463360272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_21_42_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb81596cdf06b3466bb44dae5844adb0.jpg","text":"TemporaryFile(/tmp/multipartBody2592621622399578270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_22_23_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/484f8d082c9064b96daf38a6b8b6bbdb.jpg","text":"TemporaryFile(/tmp/multipartBody5692702941296551733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_21_56_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/007859602d50f654be42668359d8899f.jpg","text":"TemporaryFile(/tmp/multipartBody5798449860850138994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990204652,"filename":"image_30102025_02_21_50_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391590417","file1":"1391590376","file0":"1391590333","file4":"1391590502","file5":"1391590545","file3":"1391590460"},"map_files_photo_id_array":[{"photo_id":"1391590545","filename":"file5"},{"photo_id":"1391590417","filename":"file2"},{"photo_id":"1391590502","filename":"file4"},{"photo_id":"1391590376","filename":"file1"},{"photo_id":"1391590333","filename":"file0"},{"photo_id":"1391590460","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391590502":["hashtag1","hashtag2"]},{"1391590417":["hashtag1","hashtag2"]},{"1391590333":["hashtag1","hashtag2"]},{"1391590545":["hashtag1","hashtag2"]},{"1391590460":["hashtag1","hashtag2"]},{"1391590376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391590502, 1391590417, 1391590333, 1391590545, 1391590460, 1391590376)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.4097101688385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:43:22.199882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_26_2711.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_35_2661.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_39_3515.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_44_2691.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_47_2830.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_53_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_26_2711.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_35_2661.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_39_3515.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_44_2691.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_47_2830.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_53_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391590624","1391590733","1391590658","1391590622","1391590619","1391590696"],"photo_ids_order":["1391590619","1391590622","1391590624","1391590658","1391590696","1391590733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9352784eef967eff7fcb6e829426795.jpg","text":"TemporaryFile(/tmp/multipartBody6226506471697747023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_39_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27c8f4fbd1d660cc92bfb8ea11d13a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8848573762169445498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_53_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13420dff69c1e5c66c4e9d088314da3d.jpg","text":"TemporaryFile(/tmp/multipartBody2136628210657747062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_44_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c02e1c403cbeac0d4be517dce54673d7.jpg","text":"TemporaryFile(/tmp/multipartBody7415266172673807494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_35_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a18239d8482de8fcd57285e4d14ea0d1.jpg","text":"TemporaryFile(/tmp/multipartBody8435271190133977952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_26_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b3efb323329e9c1bc47288a4c201d48.jpg","text":"TemporaryFile(/tmp/multipartBody4088534951496905368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990264936,"filename":"image_30102025_02_22_47_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391590624","file1":"1391590622","file0":"1391590619","file4":"1391590696","file5":"1391590733","file3":"1391590658"},"map_files_photo_id_array":[{"photo_id":"1391590733","filename":"file5"},{"photo_id":"1391590624","filename":"file2"},{"photo_id":"1391590696","filename":"file4"},{"photo_id":"1391590622","filename":"file1"},{"photo_id":"1391590619","filename":"file0"},{"photo_id":"1391590658","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391590624":["hashtag1","hashtag2"]},{"1391590733":["hashtag1","hashtag2"]},{"1391590658":["hashtag1","hashtag2"]},{"1391590622":["hashtag1","hashtag2"]},{"1391590619":["hashtag1","hashtag2"]},{"1391590696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391590624, 1391590733, 1391590658, 1391590622, 1391590619, 1391590696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5181348323822 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:44:22.346080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_57_3560.jpg', '/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_59_2572.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_02_2739.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_05_3589.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_08_2649.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_21_3823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_57_3560.jpg
/home/pi/Desktop/images/30102025/02/22/image_30102025_02_22_59_2572.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_02_2739.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_05_3589.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_08_2649.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_21_3823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391591548","1391591172","1391591400","1391591471","1391591336","1391591248"],"photo_ids_order":["1391591172","1391591248","1391591336","1391591400","1391591471","1391591548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c89422ed51d0b1ff80086f12547b237.jpg","text":"TemporaryFile(/tmp/multipartBody7338678586417745073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_23_21_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/685e26b1f586bffa7800bbb01f54641f.jpg","text":"TemporaryFile(/tmp/multipartBody5266916486823889494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_22_57_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b94bab16ea44988928a33851fd344b1.jpg","text":"TemporaryFile(/tmp/multipartBody8444220351352504966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_23_05_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ecbb5b22332b244e06821de811a6e70.jpg","text":"TemporaryFile(/tmp/multipartBody1710088093054442192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_23_08_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c05bcad8faf4a79ec0f35ec28ea0bb40.jpg","text":"TemporaryFile(/tmp/multipartBody3787911792747764667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_23_02_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/137a88757755ac7cac6997431a848d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6770426116028206274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990325285,"filename":"image_30102025_02_22_59_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391591336","file1":"1391591248","file0":"1391591172","file4":"1391591471","file5":"1391591548","file3":"1391591400"},"map_files_photo_id_array":[{"photo_id":"1391591548","filename":"file5"},{"photo_id":"1391591336","filename":"file2"},{"photo_id":"1391591471","filename":"file4"},{"photo_id":"1391591248","filename":"file1"},{"photo_id":"1391591172","filename":"file0"},{"photo_id":"1391591400","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391591548":["hashtag1","hashtag2"]},{"1391591172":["hashtag1","hashtag2"]},{"1391591400":["hashtag1","hashtag2"]},{"1391591471":["hashtag1","hashtag2"]},{"1391591336":["hashtag1","hashtag2"]},{"1391591248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391591548, 1391591172, 1391591400, 1391591471, 1391591336, 1391591248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2801833152771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:45:22.526771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_23_2708.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_29_2647.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_32_3687.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_38_2796.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_41_2818.jpg', '/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_50_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_23_2708.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_29_2647.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_32_3687.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_38_2796.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_41_2818.jpg
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_50_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592273","1391592222","1391592114","1391592263","1391592226","1391592202"],"photo_ids_order":["1391592114","1391592202","1391592222","1391592226","1391592263","1391592273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed6a20da53a2db9954ce357e2119a8e9.jpg","text":"TemporaryFile(/tmp/multipartBody9115586302913788809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_50_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8b5e87fec26297baf0f5b7ec8294ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7215850283980090077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_32_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb011825ff620dad1e04301459c5c2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1566542249535221691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_23_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1531fcddbed74fd6fa39e61d615efcbf.jpg","text":"TemporaryFile(/tmp/multipartBody5319605426188864131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_41_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbc3f6a9446519dcae12a3e1d38b4166.jpg","text":"TemporaryFile(/tmp/multipartBody7412666212943987115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_38_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6a0847e1ae6a46a051624b11e25fc79.jpg","text":"TemporaryFile(/tmp/multipartBody2238154107131617310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990385330,"filename":"image_30102025_02_23_29_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592222","file1":"1391592202","file0":"1391592114","file4":"1391592263","file5":"1391592273","file3":"1391592226"},"map_files_photo_id_array":[{"photo_id":"1391592273","filename":"file5"},{"photo_id":"1391592222","filename":"file2"},{"photo_id":"1391592263","filename":"file4"},{"photo_id":"1391592202","filename":"file1"},{"photo_id":"1391592114","filename":"file0"},{"photo_id":"1391592226","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592273":["hashtag1","hashtag2"]},{"1391592222":["hashtag1","hashtag2"]},{"1391592114":["hashtag1","hashtag2"]},{"1391592263":["hashtag1","hashtag2"]},{"1391592226":["hashtag1","hashtag2"]},{"1391592202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592273, 1391592222, 1391592114, 1391592263, 1391592226, 1391592202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57162070274353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:46:21.835916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_54_3607.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_12_12916.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_26_5379.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_28_1573.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_43_1672.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_54_1929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_54_3607.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_12_12916.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_26_5379.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_28_1573.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_43_1672.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_54_1929.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8549282550811768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:46:41.931319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_54_3607.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_12_12916.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_26_5379.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_28_1573.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_43_1672.jpg', '/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_54_1929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/23/image_30102025_02_23_54_3607.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_12_12916.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_26_5379.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_28_1573.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_43_1672.jpg
/home/pi/Desktop/images/30102025/02/24/image_30102025_02_24_54_1929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592564","1391592558","1391592656","1391592572","1391592566","1391592620"],"photo_ids_order":["1391592558","1391592564","1391592566","1391592572","1391592620","1391592656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e1509805d606810dc75d1585c3815a.jpg","text":"TemporaryFile(/tmp/multipartBody1613159488261994508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_24_12_12916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2521fea04aa27f731a10e207e2ae42dc.jpg","text":"TemporaryFile(/tmp/multipartBody8510522558842225383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_23_54_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/047e32a240908dc7b393380c22c7712a.jpg","text":"TemporaryFile(/tmp/multipartBody2926475862993274345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_24_54_1929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce28df329d5e7d772a231b0ffc376c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6805265428741763938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_24_28_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9245d30aa26180ea602630d4e6d3632d.jpg","text":"TemporaryFile(/tmp/multipartBody2429646639266156984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_24_26_5379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f373cb76fc56fe0b68c7c651c3585f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1625549269700783930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990463206,"filename":"image_30102025_02_24_43_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592566","file1":"1391592564","file0":"1391592558","file4":"1391592620","file5":"1391592656","file3":"1391592572"},"map_files_photo_id_array":[{"photo_id":"1391592656","filename":"file5"},{"photo_id":"1391592566","filename":"file2"},{"photo_id":"1391592620","filename":"file4"},{"photo_id":"1391592564","filename":"file1"},{"photo_id":"1391592558","filename":"file0"},{"photo_id":"1391592572","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592564":["hashtag1","hashtag2"]},{"1391592558":["hashtag1","hashtag2"]},{"1391592656":["hashtag1","hashtag2"]},{"1391592572":["hashtag1","hashtag2"]},{"1391592566":["hashtag1","hashtag2"]},{"1391592620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592564, 1391592558, 1391592656, 1391592572, 1391592566, 1391592620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65794110298157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:47:22.041932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_04_4252.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_13_2566.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_19_4051.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_20_1520.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_22_1686.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_27_3392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_04_4252.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_13_2566.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_19_4051.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_20_1520.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_22_1686.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_27_3392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592700","1391592738","1391592770","1391592697","1391592778","1391592774"],"photo_ids_order":["1391592697","1391592700","1391592738","1391592770","1391592774","1391592778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2eada81aff188a160a08995fe404e82b.jpg","text":"TemporaryFile(/tmp/multipartBody6376841329732151463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fef9efc7c32e8c873368e65e064a2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody431521856116148204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_19_4051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25b8d280feeaf54a1d5fe4f7881361e5.jpg","text":"TemporaryFile(/tmp/multipartBody2323720046415990198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_20_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d364c7e384459ae8af505571c89821b.jpg","text":"TemporaryFile(/tmp/multipartBody2121555511453753576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_04_4252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a612560f947325b53e21dfcad1a8a5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6364828523415556874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_27_3392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a23b0404e27a969072a889bb3bd21cee.jpg","text":"TemporaryFile(/tmp/multipartBody6446043536903253107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990505054,"filename":"image_30102025_02_25_22_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592738","file1":"1391592700","file0":"1391592697","file4":"1391592774","file5":"1391592778","file3":"1391592770"},"map_files_photo_id_array":[{"photo_id":"1391592778","filename":"file5"},{"photo_id":"1391592738","filename":"file2"},{"photo_id":"1391592774","filename":"file4"},{"photo_id":"1391592700","filename":"file1"},{"photo_id":"1391592697","filename":"file0"},{"photo_id":"1391592770","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592700":["hashtag1","hashtag2"]},{"1391592738":["hashtag1","hashtag2"]},{"1391592770":["hashtag1","hashtag2"]},{"1391592697":["hashtag1","hashtag2"]},{"1391592778":["hashtag1","hashtag2"]},{"1391592774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592700, 1391592738, 1391592770, 1391592697, 1391592778, 1391592774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89106106758118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:48:02.689301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_29_1787.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_32_3536.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_35_2805.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_38_2707.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_46_1651.jpg', '/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_56_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_29_1787.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_32_3536.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_35_2805.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_38_2707.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_46_1651.jpg
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_56_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592822","1391592812","1391592806","1391592820","1391592814","1391592817"],"photo_ids_order":["1391592806","1391592812","1391592814","1391592817","1391592820","1391592822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/423773a2b122737b1efbf189803562ea.jpg","text":"TemporaryFile(/tmp/multipartBody3845311638971991371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_56_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/123e871852c66e6261ae49471ffa3439.jpg","text":"TemporaryFile(/tmp/multipartBody1139289042333575175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_32_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a2c0861e57b95b2974040108e26c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody3291925641574480186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_29_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3beddbb569f259605c4f40208d1dc163.jpg","text":"TemporaryFile(/tmp/multipartBody3616181611355278452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_46_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15f2e95e63e2249ac975c08aa38ccc53.jpg","text":"TemporaryFile(/tmp/multipartBody634496028956204339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_35_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f78fd0a1b577528bf106b3f905fe4a4.jpg","text":"TemporaryFile(/tmp/multipartBody8269312932331450688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990545115,"filename":"image_30102025_02_25_38_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592814","file1":"1391592812","file0":"1391592806","file4":"1391592820","file5":"1391592822","file3":"1391592817"},"map_files_photo_id_array":[{"photo_id":"1391592822","filename":"file5"},{"photo_id":"1391592814","filename":"file2"},{"photo_id":"1391592820","filename":"file4"},{"photo_id":"1391592812","filename":"file1"},{"photo_id":"1391592806","filename":"file0"},{"photo_id":"1391592817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592822":["hashtag1","hashtag2"]},{"1391592812":["hashtag1","hashtag2"]},{"1391592806":["hashtag1","hashtag2"]},{"1391592820":["hashtag1","hashtag2"]},{"1391592814":["hashtag1","hashtag2"]},{"1391592817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592822, 1391592812, 1391592806, 1391592820, 1391592814, 1391592817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40340828895569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:48:42.245808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_59_2602.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_03_4264.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_06_2904.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_41_2676.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_47_2660.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_52_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/25/image_30102025_02_25_59_2602.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_03_4264.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_06_2904.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_41_2676.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_47_2660.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_52_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592833","1391592830","1391592827","1391592844","1391592841","1391592838"],"photo_ids_order":["1391592827","1391592830","1391592833","1391592838","1391592841","1391592844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97dd41105fdb6e6d7cd6297cfd231be4.jpg","text":"TemporaryFile(/tmp/multipartBody920878146851876207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_26_06_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d86450ce56d94799fe3b191b11d566ba.jpg","text":"TemporaryFile(/tmp/multipartBody3384007493965728784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_26_03_4264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b98e70636f2ef6505056755011dc699.jpg","text":"TemporaryFile(/tmp/multipartBody5518665634959477259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_25_59_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de00ba6839053f899692c733c38ac3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2607054209161553460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_26_52_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e0195c8e0d26da3b1c2be99d33c9255.jpg","text":"TemporaryFile(/tmp/multipartBody2779016668962291674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_26_47_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdfa7d8fb033079c5e782398a4fb5755.jpg","text":"TemporaryFile(/tmp/multipartBody8384994281996669262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990583608,"filename":"image_30102025_02_26_41_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592833","file1":"1391592830","file0":"1391592827","file4":"1391592841","file5":"1391592844","file3":"1391592838"},"map_files_photo_id_array":[{"photo_id":"1391592844","filename":"file5"},{"photo_id":"1391592833","filename":"file2"},{"photo_id":"1391592841","filename":"file4"},{"photo_id":"1391592830","filename":"file1"},{"photo_id":"1391592827","filename":"file0"},{"photo_id":"1391592838","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592833":["hashtag1","hashtag2"]},{"1391592830":["hashtag1","hashtag2"]},{"1391592827":["hashtag1","hashtag2"]},{"1391592844":["hashtag1","hashtag2"]},{"1391592841":["hashtag1","hashtag2"]},{"1391592838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592833, 1391592830, 1391592827, 1391592844, 1391592841, 1391592838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92542886734009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:49:22.455851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_56_3643.jpg', '/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_59_2655.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_02_3644.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_08_2703.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_11_3557.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_14_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_56_3643.jpg
/home/pi/Desktop/images/30102025/02/26/image_30102025_02_26_59_2655.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_02_3644.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_08_2703.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_11_3557.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_14_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592867","1391592860","1391592854","1391592880","1391592874","1391592856"],"photo_ids_order":["1391592854","1391592856","1391592860","1391592867","1391592874","1391592880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/727056cbc5a0423c38a2c88815ca0963.jpg","text":"TemporaryFile(/tmp/multipartBody4957275165474491706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_27_08_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96143b1fffb7c23a0033717119fb2755.jpg","text":"TemporaryFile(/tmp/multipartBody2888538632992933884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_27_02_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd00392dbbbe977cf9cd16de19cc84d9.jpg","text":"TemporaryFile(/tmp/multipartBody782332781515085691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_26_56_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d29651abeb8d24f08dc73cb02e24ffa2.jpg","text":"TemporaryFile(/tmp/multipartBody8162442528187605988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_27_14_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc6651cd4489a17a0870ccdd1bf64f8e.jpg","text":"TemporaryFile(/tmp/multipartBody628934555205612389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_27_11_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52ebeeb884df429bc721a20a085d28f1.jpg","text":"TemporaryFile(/tmp/multipartBody4251404595953302272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990625376,"filename":"image_30102025_02_26_59_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592860","file1":"1391592856","file0":"1391592854","file4":"1391592874","file5":"1391592880","file3":"1391592867"},"map_files_photo_id_array":[{"photo_id":"1391592880","filename":"file5"},{"photo_id":"1391592860","filename":"file2"},{"photo_id":"1391592874","filename":"file4"},{"photo_id":"1391592856","filename":"file1"},{"photo_id":"1391592854","filename":"file0"},{"photo_id":"1391592867","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592867":["hashtag1","hashtag2"]},{"1391592860":["hashtag1","hashtag2"]},{"1391592854":["hashtag1","hashtag2"]},{"1391592880":["hashtag1","hashtag2"]},{"1391592874":["hashtag1","hashtag2"]},{"1391592856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592867, 1391592860, 1391592854, 1391592880, 1391592874, 1391592856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.798933267593384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:50:24.527054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_16_2641.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_20_3597.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_23_2733.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_25_2591.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_32_2620.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_34_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_16_2641.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_20_3597.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_23_2733.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_25_2591.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_32_2620.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_34_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592896","1391592909","1391592899","1391592911","1391592901","1391592894"],"photo_ids_order":["1391592894","1391592896","1391592899","1391592901","1391592909","1391592911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36d2a2fdef1c1883d631b09210586b10.jpg","text":"TemporaryFile(/tmp/multipartBody6663126998757599033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_20_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f79727aac8312fd6ad3c13f66d230fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1822370860907469915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_32_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/192dec071103f0544aff78d930bb84db.jpg","text":"TemporaryFile(/tmp/multipartBody7885340194875741798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_23_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/557b5d84e133661966901f1a3e64f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody4026441126449475186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_34_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbafe1ca700fadfda16f438eac2a327e.jpg","text":"TemporaryFile(/tmp/multipartBody6619846886175002027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_25_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06350c46f90676c66aa48f7c1ffad205.jpg","text":"TemporaryFile(/tmp/multipartBody2409984258313926885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990687399,"filename":"image_30102025_02_27_16_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592899","file1":"1391592896","file0":"1391592894","file4":"1391592909","file5":"1391592911","file3":"1391592901"},"map_files_photo_id_array":[{"photo_id":"1391592911","filename":"file5"},{"photo_id":"1391592899","filename":"file2"},{"photo_id":"1391592909","filename":"file4"},{"photo_id":"1391592896","filename":"file1"},{"photo_id":"1391592894","filename":"file0"},{"photo_id":"1391592901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592896":["hashtag1","hashtag2"]},{"1391592909":["hashtag1","hashtag2"]},{"1391592899":["hashtag1","hashtag2"]},{"1391592911":["hashtag1","hashtag2"]},{"1391592901":["hashtag1","hashtag2"]},{"1391592894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592896, 1391592909, 1391592899, 1391592911, 1391592901, 1391592894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.21166634559631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:51:22.689467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_38_3777.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_41_2644.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_47_3661.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_50_2682.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_52_2644.jpg', '/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_56_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_38_3777.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_41_2644.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_47_3661.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_50_2682.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_52_2644.jpg
/home/pi/Desktop/images/30102025/02/27/image_30102025_02_27_56_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391592936","1391592921","1391592932","1391592920","1391592925","1391592928"],"photo_ids_order":["1391592920","1391592921","1391592925","1391592928","1391592932","1391592936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db74664c0130eae934c3daacdf395c30.jpg","text":"TemporaryFile(/tmp/multipartBody8790858826128872241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_56_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3211c0600b0b7e990c88d8992207f344.jpg","text":"TemporaryFile(/tmp/multipartBody4955334878864167495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_41_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01b96ad6a0a02f046a42af051ea59e91.jpg","text":"TemporaryFile(/tmp/multipartBody4877628727430726652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_52_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0389cbf8451cac6152f8efce065ebe1.jpg","text":"TemporaryFile(/tmp/multipartBody6008808893785180302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_38_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01735bedf07bd02d1711db37f26c6823.jpg","text":"TemporaryFile(/tmp/multipartBody2676086856742089220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_47_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9cd3cf4aa55ad09d681b0cb9150f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody609481009980853918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990745645,"filename":"image_30102025_02_27_50_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391592925","file1":"1391592921","file0":"1391592920","file4":"1391592932","file5":"1391592936","file3":"1391592928"},"map_files_photo_id_array":[{"photo_id":"1391592936","filename":"file5"},{"photo_id":"1391592925","filename":"file2"},{"photo_id":"1391592932","filename":"file4"},{"photo_id":"1391592921","filename":"file1"},{"photo_id":"1391592920","filename":"file0"},{"photo_id":"1391592928","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391592936":["hashtag1","hashtag2"]},{"1391592921":["hashtag1","hashtag2"]},{"1391592932":["hashtag1","hashtag2"]},{"1391592920":["hashtag1","hashtag2"]},{"1391592925":["hashtag1","hashtag2"]},{"1391592928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391592936, 1391592921, 1391592932, 1391592920, 1391592925, 1391592928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18631196022034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:52:21.994412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_20_2677.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_22_2597.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_26_3702.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_29_2573.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_31_2727.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_35_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_20_2677.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_22_2597.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_26_3702.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_29_2573.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_31_2727.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_35_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391593305","1391593384","1391593372","1391593225","1391593147","1391593074"],"photo_ids_order":["1391593074","1391593147","1391593225","1391593305","1391593372","1391593384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9ec5d31d6a7d6854a908f9c78b141bc.jpg","text":"TemporaryFile(/tmp/multipartBody3176372228993503699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_29_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/779fe0a5e8d2c9ad15aa70686cbf2015.jpg","text":"TemporaryFile(/tmp/multipartBody1421857397858580912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8401cdb410e92cecd3b50eb8231dc77.jpg","text":"TemporaryFile(/tmp/multipartBody3500992235637529043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_31_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2aed7f07bbfcb1c8db99de1ba1435b17.jpg","text":"TemporaryFile(/tmp/multipartBody298137635250871836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_26_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fca81e840cefdc261d0b2da1f60ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody406231053136107969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_22_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ebfbd0bb6fd7f30ae74c753e5be02e3.jpg","text":"TemporaryFile(/tmp/multipartBody193774679964203716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990804709,"filename":"image_30102025_02_28_20_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391593225","file1":"1391593147","file0":"1391593074","file4":"1391593372","file5":"1391593384","file3":"1391593305"},"map_files_photo_id_array":[{"photo_id":"1391593384","filename":"file5"},{"photo_id":"1391593225","filename":"file2"},{"photo_id":"1391593372","filename":"file4"},{"photo_id":"1391593147","filename":"file1"},{"photo_id":"1391593074","filename":"file0"},{"photo_id":"1391593305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391593305":["hashtag1","hashtag2"]},{"1391593384":["hashtag1","hashtag2"]},{"1391593372":["hashtag1","hashtag2"]},{"1391593225":["hashtag1","hashtag2"]},{"1391593147":["hashtag1","hashtag2"]},{"1391593074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391593305, 1391593384, 1391593372, 1391593225, 1391593147, 1391593074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47322201728821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:53:02.918676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_38_2614.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_40_2779.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_47_2677.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_49_2555.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_52_2785.jpg', '/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_59_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_38_2614.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_40_2779.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_47_2677.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_49_2555.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_52_2785.jpg
/home/pi/Desktop/images/30102025/02/28/image_30102025_02_28_59_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391593905","1391593925","1391593780","1391593587","1391593689","1391593842"],"photo_ids_order":["1391593587","1391593689","1391593780","1391593842","1391593905","1391593925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8716aed7912a78dcc808f85b29f650a8.jpg","text":"TemporaryFile(/tmp/multipartBody8659576330344719776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_52_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8db6ce1fb09d62d9649403eee39f9c07.jpg","text":"TemporaryFile(/tmp/multipartBody8892160055992453118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_59_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e0e22f0fd49a043beeeec86fe18ff10.jpg","text":"TemporaryFile(/tmp/multipartBody4620604826361703399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_47_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/276343c2b070a4a447c73f6275c9253e.jpg","text":"TemporaryFile(/tmp/multipartBody677879730587457488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_38_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/860b916769b3ab430e2cb4fd5984d843.jpg","text":"TemporaryFile(/tmp/multipartBody8863472175929928168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_40_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fba955fdb62417d04bbb24e6c397121.jpg","text":"TemporaryFile(/tmp/multipartBody6137997583269455305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990845417,"filename":"image_30102025_02_28_49_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391593780","file1":"1391593689","file0":"1391593587","file4":"1391593905","file5":"1391593925","file3":"1391593842"},"map_files_photo_id_array":[{"photo_id":"1391593925","filename":"file5"},{"photo_id":"1391593780","filename":"file2"},{"photo_id":"1391593905","filename":"file4"},{"photo_id":"1391593689","filename":"file1"},{"photo_id":"1391593587","filename":"file0"},{"photo_id":"1391593842","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391593905":["hashtag1","hashtag2"]},{"1391593925":["hashtag1","hashtag2"]},{"1391593780":["hashtag1","hashtag2"]},{"1391593587":["hashtag1","hashtag2"]},{"1391593689":["hashtag1","hashtag2"]},{"1391593842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391593905, 1391593925, 1391593780, 1391593587, 1391593689, 1391593842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91975140571594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:54:02.867496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_01_2824.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_08_2654.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_13_2648.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_17_3557.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_20_2608.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_22_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_01_2824.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_08_2654.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_13_2648.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_17_3557.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_20_2608.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_22_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391594372","1391594249","1391594411","1391594473","1391594449","1391594328"],"photo_ids_order":["1391594249","1391594328","1391594372","1391594411","1391594449","1391594473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c16d17ac3aa922e612849bb1466e9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2965088122778521620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_13_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/152bddb3cc9d07f54ebe16db398cf75b.jpg","text":"TemporaryFile(/tmp/multipartBody3904128655770868436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_01_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d6d434b93f56286b7eedac2e1a9606a.jpg","text":"TemporaryFile(/tmp/multipartBody3516502841888116514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_17_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3463dcca3f6ae0b0b44291167c17a79e.jpg","text":"TemporaryFile(/tmp/multipartBody614484056384660616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0265a37d4a5079967e331953404436b.jpg","text":"TemporaryFile(/tmp/multipartBody3421331354405758542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_20_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a334426ef7cfeff442a05f8c3905c3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4749818427074673610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990905273,"filename":"image_30102025_02_29_08_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391594372","file1":"1391594328","file0":"1391594249","file4":"1391594449","file5":"1391594473","file3":"1391594411"},"map_files_photo_id_array":[{"photo_id":"1391594473","filename":"file5"},{"photo_id":"1391594372","filename":"file2"},{"photo_id":"1391594449","filename":"file4"},{"photo_id":"1391594328","filename":"file1"},{"photo_id":"1391594249","filename":"file0"},{"photo_id":"1391594411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391594372":["hashtag1","hashtag2"]},{"1391594249":["hashtag1","hashtag2"]},{"1391594411":["hashtag1","hashtag2"]},{"1391594473":["hashtag1","hashtag2"]},{"1391594449":["hashtag1","hashtag2"]},{"1391594328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391594372, 1391594249, 1391594411, 1391594473, 1391594449, 1391594328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82750725746155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:54:42.391614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_29_2608.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_31_2604.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_38_2732.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_40_2668.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_50_2683.jpg', '/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_52_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_29_2608.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_31_2604.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_38_2732.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_40_2668.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_50_2683.jpg
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_52_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391594537","1391594491","1391594500","1391594487","1391594495","1391594498"],"photo_ids_order":["1391594487","1391594491","1391594495","1391594498","1391594500","1391594537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e044d451dff117e2b942b90de5996b9.jpg","text":"TemporaryFile(/tmp/multipartBody8895104235751191826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf6d67ed21d2e53dd6f51d88f08d2a04.jpg","text":"TemporaryFile(/tmp/multipartBody3190993228290760125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_31_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78491c82ef3638d0333803a7e14fb3bd.jpg","text":"TemporaryFile(/tmp/multipartBody3361387990557281216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_50_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d31b59a537d758e2eea43c3c097dc1e3.jpg","text":"TemporaryFile(/tmp/multipartBody4884673678605721101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_29_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59fe29f4ec45e908b2d5eee376e5b5e8.jpg","text":"TemporaryFile(/tmp/multipartBody146603508646490937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_38_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e62c7f87c9507448ad7d94c020a43dc1.jpg","text":"TemporaryFile(/tmp/multipartBody3624212877072013402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990943731,"filename":"image_30102025_02_29_40_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391594495","file1":"1391594491","file0":"1391594487","file4":"1391594500","file5":"1391594537","file3":"1391594498"},"map_files_photo_id_array":[{"photo_id":"1391594537","filename":"file5"},{"photo_id":"1391594495","filename":"file2"},{"photo_id":"1391594500","filename":"file4"},{"photo_id":"1391594491","filename":"file1"},{"photo_id":"1391594487","filename":"file0"},{"photo_id":"1391594498","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391594537":["hashtag1","hashtag2"]},{"1391594491":["hashtag1","hashtag2"]},{"1391594500":["hashtag1","hashtag2"]},{"1391594487":["hashtag1","hashtag2"]},{"1391594495":["hashtag1","hashtag2"]},{"1391594498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391594537, 1391594491, 1391594500, 1391594487, 1391594495, 1391594498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40966272354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:55:22.471378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_59_3719.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_05_3710.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_17_3637.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_19_2585.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_28_2662.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_38_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/29/image_30102025_02_29_59_3719.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_05_3710.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_17_3637.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_19_2585.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_28_2662.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_38_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391594798","1391594945","1391594872","1391594895","1391594862","1391594868"],"photo_ids_order":["1391594798","1391594862","1391594868","1391594872","1391594895","1391594945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c3206178a3c27a069785abd27a283d.jpg","text":"TemporaryFile(/tmp/multipartBody5698947209209423206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_29_59_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d6d351b33ddf9c0592d3e22b19cc30.jpg","text":"TemporaryFile(/tmp/multipartBody5889841890623512577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_30_38_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62ce820e75b5c8876d196867f73df5ad.jpg","text":"TemporaryFile(/tmp/multipartBody4602814142941808951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_30_19_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa5cea370b33456ce8405992aba75da4.jpg","text":"TemporaryFile(/tmp/multipartBody2702677361448670610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_30_28_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b2cdb9ccd749d69995b62c7e0a75f74.jpg","text":"TemporaryFile(/tmp/multipartBody4071054985741685922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_30_05_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9eb78eaf6f7e1872ed9bc8710a85889.jpg","text":"TemporaryFile(/tmp/multipartBody8884072530825584702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761990985454,"filename":"image_30102025_02_30_17_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391594868","file1":"1391594862","file0":"1391594798","file4":"1391594895","file5":"1391594945","file3":"1391594872"},"map_files_photo_id_array":[{"photo_id":"1391594945","filename":"file5"},{"photo_id":"1391594868","filename":"file2"},{"photo_id":"1391594895","filename":"file4"},{"photo_id":"1391594862","filename":"file1"},{"photo_id":"1391594798","filename":"file0"},{"photo_id":"1391594872","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391594798":["hashtag1","hashtag2"]},{"1391594945":["hashtag1","hashtag2"]},{"1391594872":["hashtag1","hashtag2"]},{"1391594895":["hashtag1","hashtag2"]},{"1391594862":["hashtag1","hashtag2"]},{"1391594868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391594798, 1391594945, 1391594872, 1391594895, 1391594862, 1391594868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71598982810974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:56:03.118864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_43_2560.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_47_3571.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_52_2628.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_56_3580.jpg', '/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_58_2657.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_02_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_43_2560.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_47_3571.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_52_2628.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_56_3580.jpg
/home/pi/Desktop/images/30102025/02/30/image_30102025_02_30_58_2657.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_02_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391595011","1391595181","1391595049","1391595220","1391595217","1391595105"],"photo_ids_order":["1391595011","1391595049","1391595105","1391595181","1391595217","1391595220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3c170551d8e24e608a9b00bf947d671.jpg","text":"TemporaryFile(/tmp/multipartBody7599918870671218328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_30_43_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56a74dbac6335e969ec16e5462ce3d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8092766977853265087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_30_56_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c8800aa82ae2daa11f5de45db9399c7.jpg","text":"TemporaryFile(/tmp/multipartBody7381807424895195184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_30_47_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad24ab405013257d28e6b5c71aa484a8.jpg","text":"TemporaryFile(/tmp/multipartBody2892746345817038783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_31_02_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2985b24c12408576946904ef2216ba3a.jpg","text":"TemporaryFile(/tmp/multipartBody3383329189152208109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_30_58_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2359f9a4d8534edf13e8d65788a71ced.jpg","text":"TemporaryFile(/tmp/multipartBody3458155822764470820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991025486,"filename":"image_30102025_02_30_52_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391595105","file1":"1391595049","file0":"1391595011","file4":"1391595217","file5":"1391595220","file3":"1391595181"},"map_files_photo_id_array":[{"photo_id":"1391595220","filename":"file5"},{"photo_id":"1391595105","filename":"file2"},{"photo_id":"1391595217","filename":"file4"},{"photo_id":"1391595049","filename":"file1"},{"photo_id":"1391595011","filename":"file0"},{"photo_id":"1391595181","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391595011":["hashtag1","hashtag2"]},{"1391595181":["hashtag1","hashtag2"]},{"1391595049":["hashtag1","hashtag2"]},{"1391595220":["hashtag1","hashtag2"]},{"1391595217":["hashtag1","hashtag2"]},{"1391595105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391595011, 1391595181, 1391595049, 1391595220, 1391595217, 1391595105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.134535789489746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 10:56:42.603054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_05_2733.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_07_2641.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_26_14865.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_27_1633.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_29_1641.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_38_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_05_2733.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_07_2641.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_26_14865.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_27_1633.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_29_1641.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_38_1688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391595349","1391595523","1391595546","1391595480","1391595438","1391595392"],"photo_ids_order":["1391595349","1391595392","1391595438","1391595480","1391595523","1391595546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b14031de5787fd76f5a15e87e919d49e.jpg","text":"TemporaryFile(/tmp/multipartBody8662655240745074782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_05_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de70bd970a31522bc8ce19badd790f05.jpg","text":"TemporaryFile(/tmp/multipartBody3693034411581280935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_29_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6940530bd7fbb39662c1407d5e7be59e.jpg","text":"TemporaryFile(/tmp/multipartBody2150097807125931862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_38_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b86281139f32c9a65468c440d8c8e315.jpg","text":"TemporaryFile(/tmp/multipartBody9073674709556113336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_27_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b1fb2ab872397e8bd57702221e090d6.jpg","text":"TemporaryFile(/tmp/multipartBody2668818254183976172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_26_14865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/885238c407abac2fe6001e82b77d8578.jpg","text":"TemporaryFile(/tmp/multipartBody8796597658523216001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991064003,"filename":"image_30102025_02_31_07_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391595438","file1":"1391595392","file0":"1391595349","file4":"1391595523","file5":"1391595546","file3":"1391595480"},"map_files_photo_id_array":[{"photo_id":"1391595546","filename":"file5"},{"photo_id":"1391595438","filename":"file2"},{"photo_id":"1391595523","filename":"file4"},{"photo_id":"1391595392","filename":"file1"},{"photo_id":"1391595349","filename":"file0"},{"photo_id":"1391595480","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391595349":["hashtag1","hashtag2"]},{"1391595523":["hashtag1","hashtag2"]},{"1391595546":["hashtag1","hashtag2"]},{"1391595480":["hashtag1","hashtag2"]},{"1391595438":["hashtag1","hashtag2"]},{"1391595392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391595349, 1391595523, 1391595546, 1391595480, 1391595438, 1391595392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04188394546509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 10:57:22.757235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_41_1746.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_43_1734.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_45_1664.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_47_2344.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_49_1584.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_50_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_41_1746.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_43_1734.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_45_1664.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_47_2344.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_49_1584.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_50_1531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391595757","1391595673","1391595808","1391595813","1391595794","1391595716"],"photo_ids_order":["1391595673","1391595716","1391595757","1391595794","1391595808","1391595813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04b202af8fa91606210faaed98b3fc22.jpg","text":"TemporaryFile(/tmp/multipartBody8119176332571916238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_45_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0011e3b32df876661eb494bd5bb3e34f.jpg","text":"TemporaryFile(/tmp/multipartBody975588536324074992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_41_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f162dd73ac1ad81c448fdb7da70bc75.jpg","text":"TemporaryFile(/tmp/multipartBody9019537411574212261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_49_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4cc92b0d872f6160ef94ff9ac86f297.jpg","text":"TemporaryFile(/tmp/multipartBody1725976931792700874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_50_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33111f5a22e64703c704e86ed9cb72d2.jpg","text":"TemporaryFile(/tmp/multipartBody3376772084712002787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_47_2344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2645bcab4661fbf248a6d0ff85cb0814.jpg","text":"TemporaryFile(/tmp/multipartBody683247044228343527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991105753,"filename":"image_30102025_02_31_43_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391595757","file1":"1391595716","file0":"1391595673","file4":"1391595808","file5":"1391595813","file3":"1391595794"},"map_files_photo_id_array":[{"photo_id":"1391595813","filename":"file5"},{"photo_id":"1391595757","filename":"file2"},{"photo_id":"1391595808","filename":"file4"},{"photo_id":"1391595716","filename":"file1"},{"photo_id":"1391595673","filename":"file0"},{"photo_id":"1391595794","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391595757":["hashtag1","hashtag2"]},{"1391595673":["hashtag1","hashtag2"]},{"1391595808":["hashtag1","hashtag2"]},{"1391595813":["hashtag1","hashtag2"]},{"1391595794":["hashtag1","hashtag2"]},{"1391595716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391595757, 1391595673, 1391595808, 1391595813, 1391595794, 1391595716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.958834171295166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 10:59:03.068448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_52_1617.jpg', '/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_55_1656.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_04_1553.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_07_2766.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_10_2930.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_13_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_52_1617.jpg
/home/pi/Desktop/images/30102025/02/31/image_30102025_02_31_55_1656.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_04_1553.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_07_2766.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_10_2930.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_13_3520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391595865","1391595850","1391595861","1391595855","1391595852","1391595857"],"photo_ids_order":["1391595850","1391595852","1391595855","1391595857","1391595861","1391595865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/619567a70fbb8f8b085daaead183fdea.jpg","text":"TemporaryFile(/tmp/multipartBody6110692775572215806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_32_13_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/386c47cb2ce4b8380154b2e5d49c5575.jpg","text":"TemporaryFile(/tmp/multipartBody1100065106101297707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_31_52_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb1455bad74ab35b198bfafe90d53fdc.jpg","text":"TemporaryFile(/tmp/multipartBody2240445062244624478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_32_10_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68fd20939111400d7a2533faa4e6defb.jpg","text":"TemporaryFile(/tmp/multipartBody9100608604988534689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_32_04_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b616c59f6c1e6b96c188d91caa98d627.jpg","text":"TemporaryFile(/tmp/multipartBody7398445777075292166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_31_55_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bfbc076a5a870eb7f39f434b42e295d.jpg","text":"TemporaryFile(/tmp/multipartBody8785347202483882488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991205627,"filename":"image_30102025_02_32_07_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391595855","file1":"1391595852","file0":"1391595850","file4":"1391595861","file5":"1391595865","file3":"1391595857"},"map_files_photo_id_array":[{"photo_id":"1391595865","filename":"file5"},{"photo_id":"1391595855","filename":"file2"},{"photo_id":"1391595861","filename":"file4"},{"photo_id":"1391595852","filename":"file1"},{"photo_id":"1391595850","filename":"file0"},{"photo_id":"1391595857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391595865":["hashtag1","hashtag2"]},{"1391595850":["hashtag1","hashtag2"]},{"1391595861":["hashtag1","hashtag2"]},{"1391595855":["hashtag1","hashtag2"]},{"1391595852":["hashtag1","hashtag2"]},{"1391595857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391595865, 1391595850, 1391595861, 1391595855, 1391595852, 1391595857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42127728462219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:00:02.732555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_16_2688.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_25_2572.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_28_2885.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_32_3781.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_34_2669.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_44_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_16_2688.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_25_2572.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_28_2885.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_32_3781.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_34_2669.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_44_6389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391595902","1391595894","1391595897","1391595899","1391595884","1391595929"],"photo_ids_order":["1391595884","1391595894","1391595897","1391595899","1391595902","1391595929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a5f4c058bdddd7406a346474723d32f.jpg","text":"TemporaryFile(/tmp/multipartBody3492205410604386842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8fd85e6cc1141d6ca6cf95146bbadcc.jpg","text":"TemporaryFile(/tmp/multipartBody4582989776412482540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_25_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/513ba2fe29c5909f6890681fcbd18ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6024758447820971626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_28_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f17540bdbb3797e0c98374df84f3edf7.jpg","text":"TemporaryFile(/tmp/multipartBody8015650229005274408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_32_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56e6e746c32d3bed1679a0a11b013d94.jpg","text":"TemporaryFile(/tmp/multipartBody3796483531738070375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_16_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e9bf83cb43636666f6a1b96dbac61c2.jpg","text":"TemporaryFile(/tmp/multipartBody6583429243825666426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991265113,"filename":"image_30102025_02_32_44_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391595897","file1":"1391595894","file0":"1391595884","file4":"1391595902","file5":"1391595929","file3":"1391595899"},"map_files_photo_id_array":[{"photo_id":"1391595929","filename":"file5"},{"photo_id":"1391595897","filename":"file2"},{"photo_id":"1391595902","filename":"file4"},{"photo_id":"1391595894","filename":"file1"},{"photo_id":"1391595884","filename":"file0"},{"photo_id":"1391595899","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391595902":["hashtag1","hashtag2"]},{"1391595894":["hashtag1","hashtag2"]},{"1391595897":["hashtag1","hashtag2"]},{"1391595899":["hashtag1","hashtag2"]},{"1391595884":["hashtag1","hashtag2"]},{"1391595929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391595902, 1391595894, 1391595897, 1391595899, 1391595884, 1391595929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89427042007446 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:01:03.754539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_45_1699.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_47_1561.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_52_3032.jpg', '/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_55_2608.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_05_3625.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_07_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_45_1699.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_47_1561.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_52_3032.jpg
/home/pi/Desktop/images/30102025/02/32/image_30102025_02_32_55_2608.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_05_3625.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_07_2531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391596579","1391596486","1391596702","1391596405","1391596820","1391596916"],"photo_ids_order":["1391596405","1391596486","1391596579","1391596702","1391596820","1391596916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d388fa989c63022491c4ab7aae37fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody2633855151843252178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_32_52_3032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1adbe02effa06d26eab510565bba08cc.jpg","text":"TemporaryFile(/tmp/multipartBody9167495786517377712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_32_47_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/702a4f5446a0110deed707fd4fa52e99.jpg","text":"TemporaryFile(/tmp/multipartBody5808099459734988386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_32_55_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8304558380e0eaf1fecee4362b11cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody4982979748153084707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_32_45_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32b582492c536751eef9dbbcf4cdb539.jpg","text":"TemporaryFile(/tmp/multipartBody3689317105476385367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_33_05_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f7e16b4e557912a540b97e4feaab449.jpg","text":"TemporaryFile(/tmp/multipartBody8811672029220433130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991326575,"filename":"image_30102025_02_33_07_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391596579","file1":"1391596486","file0":"1391596405","file4":"1391596820","file5":"1391596916","file3":"1391596702"},"map_files_photo_id_array":[{"photo_id":"1391596916","filename":"file5"},{"photo_id":"1391596579","filename":"file2"},{"photo_id":"1391596820","filename":"file4"},{"photo_id":"1391596486","filename":"file1"},{"photo_id":"1391596405","filename":"file0"},{"photo_id":"1391596702","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391596579":["hashtag1","hashtag2"]},{"1391596486":["hashtag1","hashtag2"]},{"1391596702":["hashtag1","hashtag2"]},{"1391596405":["hashtag1","hashtag2"]},{"1391596820":["hashtag1","hashtag2"]},{"1391596916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391596579, 1391596486, 1391596702, 1391596405, 1391596820, 1391596916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81099843978882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:02:02.788169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_14_3667.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_16_2688.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_22_3586.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_29_3628.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_31_2788.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_34_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_14_3667.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_16_2688.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_22_3586.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_29_3628.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_31_2788.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_34_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391597496","1391597700","1391597581","1391597635","1391597458","1391597545"],"photo_ids_order":["1391597458","1391597496","1391597545","1391597581","1391597635","1391597700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1de34d0c87307198acc473e36af3b757.jpg","text":"TemporaryFile(/tmp/multipartBody2098151887835934216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_16_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1322fec0ea3ca6cee187178f3cbe376.jpg","text":"TemporaryFile(/tmp/multipartBody8537245859183632941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_34_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6aa6de1a25d9636b9609d897ec94f01c.jpg","text":"TemporaryFile(/tmp/multipartBody7393212610046502948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_29_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d11a15f10aab07fb72cf51dc830ee4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5746533540972204866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_31_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/675553811500451d7d51e4c819dcbb7d.jpg","text":"TemporaryFile(/tmp/multipartBody202662911371674118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_14_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b198d3a45e34fe7fab221f4a99616abe.jpg","text":"TemporaryFile(/tmp/multipartBody7317789541171851136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991385263,"filename":"image_30102025_02_33_22_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391597545","file1":"1391597496","file0":"1391597458","file4":"1391597635","file5":"1391597700","file3":"1391597581"},"map_files_photo_id_array":[{"photo_id":"1391597700","filename":"file5"},{"photo_id":"1391597545","filename":"file2"},{"photo_id":"1391597635","filename":"file4"},{"photo_id":"1391597496","filename":"file1"},{"photo_id":"1391597458","filename":"file0"},{"photo_id":"1391597581","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391597496":["hashtag1","hashtag2"]},{"1391597700":["hashtag1","hashtag2"]},{"1391597581":["hashtag1","hashtag2"]},{"1391597635":["hashtag1","hashtag2"]},{"1391597458":["hashtag1","hashtag2"]},{"1391597545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391597496, 1391597700, 1391597581, 1391597635, 1391597458, 1391597545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12306261062622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:03:03.237586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_37_2628.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_40_3728.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_43_2593.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_46_2679.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_49_3672.jpg', '/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_52_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_37_2628.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_40_3728.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_43_2593.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_46_2679.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_49_3672.jpg
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_52_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391598411","1391598167","1391598466","1391598337","1391598253","1391598093"],"photo_ids_order":["1391598093","1391598167","1391598253","1391598337","1391598411","1391598466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f89f9a813b9e12f4ec75992d333b53a.jpg","text":"TemporaryFile(/tmp/multipartBody3435710675389375252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_49_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1b52c75d8a399defb2250df61839c80.jpg","text":"TemporaryFile(/tmp/multipartBody5656791561825102240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_40_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69b2d86c3119a6235135393fee37cca6.jpg","text":"TemporaryFile(/tmp/multipartBody3011028132593845306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/994d37f5a1f99e430e8812f36f305e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2341566399276253408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/934ce8172441b4cb9c58f98861347aef.jpg","text":"TemporaryFile(/tmp/multipartBody5289455148552934756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_43_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e3e6512e864810607cf51562f9492d4.jpg","text":"TemporaryFile(/tmp/multipartBody4392657133206295741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991445732,"filename":"image_30102025_02_33_37_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391598253","file1":"1391598167","file0":"1391598093","file4":"1391598411","file5":"1391598466","file3":"1391598337"},"map_files_photo_id_array":[{"photo_id":"1391598466","filename":"file5"},{"photo_id":"1391598253","filename":"file2"},{"photo_id":"1391598411","filename":"file4"},{"photo_id":"1391598167","filename":"file1"},{"photo_id":"1391598093","filename":"file0"},{"photo_id":"1391598337","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391598411":["hashtag1","hashtag2"]},{"1391598167":["hashtag1","hashtag2"]},{"1391598466":["hashtag1","hashtag2"]},{"1391598337":["hashtag1","hashtag2"]},{"1391598253":["hashtag1","hashtag2"]},{"1391598093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391598411, 1391598167, 1391598466, 1391598337, 1391598253, 1391598093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17898750305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:03:42.446647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_55_2777.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_04_2861.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_13_2573.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_16_2755.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_19_3711.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_22_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/33/image_30102025_02_33_55_2777.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_04_2861.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_13_2573.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_16_2755.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_19_3711.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_22_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391598564","1391598595","1391598592","1391598646","1391598616","1391598508"],"photo_ids_order":["1391598508","1391598564","1391598592","1391598595","1391598616","1391598646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47ab4bfe84e211c80067a209c5f4951c.jpg","text":"TemporaryFile(/tmp/multipartBody4825818480046360237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_34_04_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba34d5449451b458c8fe3d2fc5c38c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3765174381248047139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_34_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65a1d2cd61360213c641b40672358e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4889280483781971393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_34_13_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5091b9ce7a476a9174a7299f0eae48e4.jpg","text":"TemporaryFile(/tmp/multipartBody4035558142679550832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_34_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca08ee2006a28050fbb96fd6c922c219.jpg","text":"TemporaryFile(/tmp/multipartBody2870901986637376058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_34_19_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05b7f61ab43483bcc96b5e283b83ea88.jpg","text":"TemporaryFile(/tmp/multipartBody5264321823698265093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991483795,"filename":"image_30102025_02_33_55_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391598592","file1":"1391598564","file0":"1391598508","file4":"1391598616","file5":"1391598646","file3":"1391598595"},"map_files_photo_id_array":[{"photo_id":"1391598646","filename":"file5"},{"photo_id":"1391598592","filename":"file2"},{"photo_id":"1391598616","filename":"file4"},{"photo_id":"1391598564","filename":"file1"},{"photo_id":"1391598508","filename":"file0"},{"photo_id":"1391598595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391598564":["hashtag1","hashtag2"]},{"1391598595":["hashtag1","hashtag2"]},{"1391598592":["hashtag1","hashtag2"]},{"1391598646":["hashtag1","hashtag2"]},{"1391598616":["hashtag1","hashtag2"]},{"1391598508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391598564, 1391598595, 1391598592, 1391598646, 1391598616, 1391598508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.056926012039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:04:22.568929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_28_3762.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_31_2577.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_34_2974.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_39_5178.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_41_1607.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_43_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_28_3762.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_31_2577.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_34_2974.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_39_5178.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_41_1607.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_43_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391598945","1391598796","1391598757","1391599033","1391598835","1391598873"],"photo_ids_order":["1391598757","1391598796","1391598835","1391598873","1391598945","1391599033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/942e5721052af0a656065b2b7da02dda.jpg","text":"TemporaryFile(/tmp/multipartBody9136670660341499598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_41_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/277e8848bb67831abd8d2fac7e95ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody5455350342375459570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/feb2481e5f34d092cf323fb4b7a60d49.jpg","text":"TemporaryFile(/tmp/multipartBody2370160951890688192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_28_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f7106e0abbe486921d252c7fb965d63.jpg","text":"TemporaryFile(/tmp/multipartBody6026857717668614703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_43_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f205c8453b016201bcd85a88cc5d375.jpg","text":"TemporaryFile(/tmp/multipartBody1635356454604845700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_34_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5ad55f61a0bee2f3350e730fccc39f2.jpg","text":"TemporaryFile(/tmp/multipartBody6166397574786763474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991526406,"filename":"image_30102025_02_34_39_5178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391598835","file1":"1391598796","file0":"1391598757","file4":"1391598945","file5":"1391599033","file3":"1391598873"},"map_files_photo_id_array":[{"photo_id":"1391599033","filename":"file5"},{"photo_id":"1391598835","filename":"file2"},{"photo_id":"1391598945","filename":"file4"},{"photo_id":"1391598796","filename":"file1"},{"photo_id":"1391598757","filename":"file0"},{"photo_id":"1391598873","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391598945":["hashtag1","hashtag2"]},{"1391598796":["hashtag1","hashtag2"]},{"1391598757":["hashtag1","hashtag2"]},{"1391599033":["hashtag1","hashtag2"]},{"1391598835":["hashtag1","hashtag2"]},{"1391598873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391598945, 1391598796, 1391598757, 1391599033, 1391598835, 1391598873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15531325340271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:05:21.879483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_46_2698.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_49_2557.jpg', '/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_58_2764.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_07_2711.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_10_2837.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_16_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_46_2698.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_49_2557.jpg
/home/pi/Desktop/images/30102025/02/34/image_30102025_02_34_58_2764.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_07_2711.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_10_2837.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_16_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391599614","1391599570","1391599546","1391599519","1391599542","1391599551"],"photo_ids_order":["1391599519","1391599542","1391599546","1391599551","1391599570","1391599614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/622f437ad3a234009bf53c9bf1a0d579.jpg","text":"TemporaryFile(/tmp/multipartBody8688625091160834865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_35_16_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/212265da50568827e2d9ea67d5a5b925.jpg","text":"TemporaryFile(/tmp/multipartBody7151491263905510192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_35_10_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2acf6dc427add2a245f4f53c696ead81.jpg","text":"TemporaryFile(/tmp/multipartBody7294242671688197219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_34_58_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f01d3fe2f121db9af99b60f432ee3b0.jpg","text":"TemporaryFile(/tmp/multipartBody2985506721125059518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_34_46_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fd452a76ff408c241a7aa66aee7f516.jpg","text":"TemporaryFile(/tmp/multipartBody5071444393969066211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_34_49_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b569a6245ef00b724e482ed68cec1908.jpg","text":"TemporaryFile(/tmp/multipartBody7916600955457862037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991585095,"filename":"image_30102025_02_35_07_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391599546","file1":"1391599542","file0":"1391599519","file4":"1391599570","file5":"1391599614","file3":"1391599551"},"map_files_photo_id_array":[{"photo_id":"1391599614","filename":"file5"},{"photo_id":"1391599546","filename":"file2"},{"photo_id":"1391599570","filename":"file4"},{"photo_id":"1391599542","filename":"file1"},{"photo_id":"1391599519","filename":"file0"},{"photo_id":"1391599551","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391599614":["hashtag1","hashtag2"]},{"1391599570":["hashtag1","hashtag2"]},{"1391599546":["hashtag1","hashtag2"]},{"1391599519":["hashtag1","hashtag2"]},{"1391599542":["hashtag1","hashtag2"]},{"1391599551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391599614, 1391599570, 1391599546, 1391599519, 1391599542, 1391599551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.325074911117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:06:22.041976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_19_2718.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_22_3580.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_25_2749.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_28_2639.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_34_2771.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_40_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_19_2718.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_22_3580.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_25_2749.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_28_2639.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_34_2771.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_40_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391600036","1391599917","1391599997","1391599877","1391599957","1391600096"],"photo_ids_order":["1391599877","1391599917","1391599957","1391599997","1391600036","1391600096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96912efda9e59f4e895a98a7b36999fb.jpg","text":"TemporaryFile(/tmp/multipartBody8026351366029518346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a946d92b348e275307dd56da6296034a.jpg","text":"TemporaryFile(/tmp/multipartBody3958053610030575921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_22_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14d4d9b9e59573b2812fa383d1790ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2666859231551641319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60a0914195fd66c65ba8c10da40e120a.jpg","text":"TemporaryFile(/tmp/multipartBody1126796321687202738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_19_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/217b3fafc1dd9314ae84f0b62f0f8b19.jpg","text":"TemporaryFile(/tmp/multipartBody3057136275804274524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_25_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf0d747c12462a57c7eb7e92ea3f3fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1585432521269472786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991644987,"filename":"image_30102025_02_35_40_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391599957","file1":"1391599917","file0":"1391599877","file4":"1391600036","file5":"1391600096","file3":"1391599997"},"map_files_photo_id_array":[{"photo_id":"1391600096","filename":"file5"},{"photo_id":"1391599957","filename":"file2"},{"photo_id":"1391600036","filename":"file4"},{"photo_id":"1391599917","filename":"file1"},{"photo_id":"1391599877","filename":"file0"},{"photo_id":"1391599997","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391600036":["hashtag1","hashtag2"]},{"1391599917":["hashtag1","hashtag2"]},{"1391599997":["hashtag1","hashtag2"]},{"1391599877":["hashtag1","hashtag2"]},{"1391599957":["hashtag1","hashtag2"]},{"1391600096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391600036, 1391599917, 1391599997, 1391599877, 1391599957, 1391600096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.570091247558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:07:22.229363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_43_2777.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_49_3697.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_52_2648.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_55_2655.jpg', '/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_58_3673.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_01_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_43_2777.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_49_3697.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_52_2648.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_55_2655.jpg
/home/pi/Desktop/images/30102025/02/35/image_30102025_02_35_58_3673.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_01_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391600571","1391600451","1391600619","1391600529","1391600409","1391600489"],"photo_ids_order":["1391600409","1391600451","1391600489","1391600529","1391600571","1391600619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe77449a53bb6f38a948a970371b026d.jpg","text":"TemporaryFile(/tmp/multipartBody3099586076222276093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_35_58_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b4bc9aeb9ab26724a3499547d021aae.jpg","text":"TemporaryFile(/tmp/multipartBody4067200824353271355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_35_49_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f6753196555712b871ef02036e5a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6662817438842399279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_36_01_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c226058541b0705ddfb48f1c508ecd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5515856827077763304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_35_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b924296d459ab4e07162e4dd19171fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3468798149757180677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_35_43_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a15553675ff40b3f5fe966de36a81575.jpg","text":"TemporaryFile(/tmp/multipartBody7495629482552366518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991704832,"filename":"image_30102025_02_35_52_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391600489","file1":"1391600451","file0":"1391600409","file4":"1391600571","file5":"1391600619","file3":"1391600529"},"map_files_photo_id_array":[{"photo_id":"1391600619","filename":"file5"},{"photo_id":"1391600489","filename":"file2"},{"photo_id":"1391600571","filename":"file4"},{"photo_id":"1391600451","filename":"file1"},{"photo_id":"1391600409","filename":"file0"},{"photo_id":"1391600529","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391600571":["hashtag1","hashtag2"]},{"1391600451":["hashtag1","hashtag2"]},{"1391600619":["hashtag1","hashtag2"]},{"1391600529":["hashtag1","hashtag2"]},{"1391600409":["hashtag1","hashtag2"]},{"1391600489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391600571, 1391600451, 1391600619, 1391600529, 1391600409, 1391600489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43900418281555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:08:04.470977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_04_2698.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_07_3726.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_10_2567.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_14_4514.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_16_1746.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_19_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_04_2698.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_07_3726.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_10_2567.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_14_4514.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_16_1746.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_19_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391600998","1391601028","1391600829","1391600919","1391600867","1391600960"],"photo_ids_order":["1391600829","1391600867","1391600919","1391600960","1391600998","1391601028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1677ceb5e4b6a646168ce98f499212cf.jpg","text":"TemporaryFile(/tmp/multipartBody4577721850834192459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_16_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3d811f8be66bd640af4d039b45cd6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6561480202771588747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_19_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21e33770cb481c6f22ba28a3941725aa.jpg","text":"TemporaryFile(/tmp/multipartBody5771044226009120933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_04_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61e7d9bf354b05c9a300db8167605c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8563147914769528002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_10_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f0ed9bf548e0a6bd336feaaa30d113c.jpg","text":"TemporaryFile(/tmp/multipartBody3279986675570900818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_07_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45f5c7554d09dfeecf5c901ca2966ef0.jpg","text":"TemporaryFile(/tmp/multipartBody194472806913675166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991749620,"filename":"image_30102025_02_36_14_4514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391600919","file1":"1391600867","file0":"1391600829","file4":"1391600998","file5":"1391601028","file3":"1391600960"},"map_files_photo_id_array":[{"photo_id":"1391601028","filename":"file5"},{"photo_id":"1391600919","filename":"file2"},{"photo_id":"1391600998","filename":"file4"},{"photo_id":"1391600867","filename":"file1"},{"photo_id":"1391600829","filename":"file0"},{"photo_id":"1391600960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391600998":["hashtag1","hashtag2"]},{"1391601028":["hashtag1","hashtag2"]},{"1391600829":["hashtag1","hashtag2"]},{"1391600919":["hashtag1","hashtag2"]},{"1391600867":["hashtag1","hashtag2"]},{"1391600960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391600998, 1391601028, 1391600829, 1391600919, 1391600867, 1391600960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11051321029663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:09:03.259405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_28_2945.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_34_3549.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_37_2708.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_40_2697.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_43_3556.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_52_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_28_2945.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_34_3549.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_37_2708.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_40_2697.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_43_3556.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_52_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391601424","1391601474","1391601377","1391601329","1391601518","1391601283"],"photo_ids_order":["1391601283","1391601329","1391601377","1391601424","1391601474","1391601518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28b5e2ff18e8072763a9ddf2575311b3.jpg","text":"TemporaryFile(/tmp/multipartBody1318738245423132192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_40_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/681d8752d7fa1140b5518ab517be743d.jpg","text":"TemporaryFile(/tmp/multipartBody7487225280767154155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_43_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/181194b580b6e3a6d37c0ef70f4211b6.jpg","text":"TemporaryFile(/tmp/multipartBody4128388794990231820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_37_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd1748d4d244191e78be9eafa17726e7.jpg","text":"TemporaryFile(/tmp/multipartBody539847239314229231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_34_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2872ccdf063706c4962a48eeaf421ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7607993581374522168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_52_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6644e6f7d3ada70452d703f305ebc65d.jpg","text":"TemporaryFile(/tmp/multipartBody145699656297399529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991805893,"filename":"image_30102025_02_36_28_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391601377","file1":"1391601329","file0":"1391601283","file4":"1391601474","file5":"1391601518","file3":"1391601424"},"map_files_photo_id_array":[{"photo_id":"1391601518","filename":"file5"},{"photo_id":"1391601377","filename":"file2"},{"photo_id":"1391601474","filename":"file4"},{"photo_id":"1391601329","filename":"file1"},{"photo_id":"1391601283","filename":"file0"},{"photo_id":"1391601424","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391601424":["hashtag1","hashtag2"]},{"1391601474":["hashtag1","hashtag2"]},{"1391601377":["hashtag1","hashtag2"]},{"1391601329":["hashtag1","hashtag2"]},{"1391601518":["hashtag1","hashtag2"]},{"1391601283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391601424, 1391601474, 1391601377, 1391601329, 1391601518, 1391601283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00127625465393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:10:02.719871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_55_2689.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_58_2696.jpg', '/home/pi/Desktop/images/30102025/02/36/image_30102025_02_37_01_3540.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_04_2602.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_06_2739.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_22_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_55_2689.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_36_58_2696.jpg
/home/pi/Desktop/images/30102025/02/36/image_30102025_02_37_01_3540.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_04_2602.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_06_2739.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_22_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391602070","1391601861","1391601881","1391602031","1391601962","1391601892"],"photo_ids_order":["1391601861","1391601881","1391601892","1391601962","1391602031","1391602070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b9a0070dd149b0ebbefae9db0ebd971.jpg","text":"TemporaryFile(/tmp/multipartBody5827547399328381343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_37_22_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/475fba8d0089af7af976ce9a61e61b77.jpg","text":"TemporaryFile(/tmp/multipartBody331740503571347209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_36_55_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcf25de4f2c2f79137e010fee8325ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7467134251163901776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_36_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7239feb7382e03aaabb80aa139b2262.jpg","text":"TemporaryFile(/tmp/multipartBody7150843159647784898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_37_06_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b5fa5f40a5d475ebc6126a95d2f2d59.jpg","text":"TemporaryFile(/tmp/multipartBody8365668161334826926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_37_04_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8643a434e73ab734a110169e48327d5.jpg","text":"TemporaryFile(/tmp/multipartBody7595976171391809946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991865138,"filename":"image_30102025_02_37_01_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391601892","file1":"1391601881","file0":"1391601861","file4":"1391602031","file5":"1391602070","file3":"1391601962"},"map_files_photo_id_array":[{"photo_id":"1391602070","filename":"file5"},{"photo_id":"1391601892","filename":"file2"},{"photo_id":"1391602031","filename":"file4"},{"photo_id":"1391601881","filename":"file1"},{"photo_id":"1391601861","filename":"file0"},{"photo_id":"1391601962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391602070":["hashtag1","hashtag2"]},{"1391601861":["hashtag1","hashtag2"]},{"1391601881":["hashtag1","hashtag2"]},{"1391602031":["hashtag1","hashtag2"]},{"1391601962":["hashtag1","hashtag2"]},{"1391601892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391602070, 1391601861, 1391601881, 1391602031, 1391601962, 1391601892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.587549448013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:10:42.467564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_25_2724.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_31_3664.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_34_2580.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_37_3611.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_43_2699.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_46_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_25_2724.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_31_3664.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_34_2580.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_37_3611.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_43_2699.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_46_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391602272","1391602317","1391602568","1391602481","1391602385","1391602427"],"photo_ids_order":["1391602272","1391602317","1391602385","1391602427","1391602481","1391602568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9bdb7d9bd6b2a0ba252708dd798a1a5.jpg","text":"TemporaryFile(/tmp/multipartBody710777331524052076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_25_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f07bf68d7ae3bf3c3d78fb112c858f2f.jpg","text":"TemporaryFile(/tmp/multipartBody454657359108239235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_31_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0284e0572124976f6bdaf883daf02e47.jpg","text":"TemporaryFile(/tmp/multipartBody3093297332417717755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_46_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d648845f98fdc19f09512e5c19cbafef.jpg","text":"TemporaryFile(/tmp/multipartBody6879909325937726110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6864356d122fc2fd6f6a7c44fa0f33a7.jpg","text":"TemporaryFile(/tmp/multipartBody6187688489016821942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d19b6b43e0428a82715f499223dfd138.jpg","text":"TemporaryFile(/tmp/multipartBody2014986084757258123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991903976,"filename":"image_30102025_02_37_37_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391602385","file1":"1391602317","file0":"1391602272","file4":"1391602481","file5":"1391602568","file3":"1391602427"},"map_files_photo_id_array":[{"photo_id":"1391602568","filename":"file5"},{"photo_id":"1391602385","filename":"file2"},{"photo_id":"1391602481","filename":"file4"},{"photo_id":"1391602317","filename":"file1"},{"photo_id":"1391602272","filename":"file0"},{"photo_id":"1391602427","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391602272":["hashtag1","hashtag2"]},{"1391602317":["hashtag1","hashtag2"]},{"1391602568":["hashtag1","hashtag2"]},{"1391602481":["hashtag1","hashtag2"]},{"1391602385":["hashtag1","hashtag2"]},{"1391602427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391602272, 1391602317, 1391602568, 1391602481, 1391602385, 1391602427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.456761598587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:11:22.568898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_49_2683.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_51_2669.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_55_3669.jpg', '/home/pi/Desktop/images/30102025/02/37/image_30102025_02_38_01_2686.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_04_3566.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_07_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_49_2683.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_51_2669.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_37_55_3669.jpg
/home/pi/Desktop/images/30102025/02/37/image_30102025_02_38_01_2686.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_04_3566.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_07_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391603040","1391603132","1391602889","1391602955","1391602832","1391603107"],"photo_ids_order":["1391602832","1391602889","1391602955","1391603040","1391603107","1391603132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3fc7b36db1a0e101e15c8fccdc4dbf1.jpg","text":"TemporaryFile(/tmp/multipartBody7989583089564758965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_38_01_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60dd4429736c2c09d89f714d541994ff.jpg","text":"TemporaryFile(/tmp/multipartBody2042426572315829409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_38_07_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/648404188cf8f2c08406065487f84794.jpg","text":"TemporaryFile(/tmp/multipartBody5042711066869677302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_37_51_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c71e058943014082d91c09387c96dbe.jpg","text":"TemporaryFile(/tmp/multipartBody2081311712263883527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_37_55_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31d9b91209c6eb1d341c62ca14633010.jpg","text":"TemporaryFile(/tmp/multipartBody4406555491283948473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_37_49_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f707926ba0e48745ab6958db6e30b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4536869785436793411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761991945530,"filename":"image_30102025_02_38_04_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391602955","file1":"1391602889","file0":"1391602832","file4":"1391603107","file5":"1391603132","file3":"1391603040"},"map_files_photo_id_array":[{"photo_id":"1391603132","filename":"file5"},{"photo_id":"1391602955","filename":"file2"},{"photo_id":"1391603107","filename":"file4"},{"photo_id":"1391602889","filename":"file1"},{"photo_id":"1391602832","filename":"file0"},{"photo_id":"1391603040","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391603040":["hashtag1","hashtag2"]},{"1391603132":["hashtag1","hashtag2"]},{"1391602889":["hashtag1","hashtag2"]},{"1391602955":["hashtag1","hashtag2"]},{"1391602832":["hashtag1","hashtag2"]},{"1391603107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391603040, 1391603132, 1391602889, 1391602955, 1391602832, 1391603107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55820941925049 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:12:21.780332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_17_10491.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_26_8874.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_28_1630.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_33_1824.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_36_2990.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_37_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_17_10491.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_26_8874.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_28_1630.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_33_1824.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_36_2990.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_37_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391603358","1391603316","1391603418","1391603423","1391603405","1391603428"],"photo_ids_order":["1391603316","1391603358","1391603405","1391603418","1391603423","1391603428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d7642e3a417251407d733a687c20011.jpg","text":"TemporaryFile(/tmp/multipartBody2907635459277557396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_26_8874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dbd0103d32109cc5407dcc074c0a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody4936735415907687821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_17_10491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93ff2de7d7fcebdf06ffe3d0aa21cf79.jpg","text":"TemporaryFile(/tmp/multipartBody974627692486661529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_33_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1531cc53ddbe945a8a5e655939a5bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6226462253068459392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_36_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e88a193bc354ff7e3ff0f6de7591926.jpg","text":"TemporaryFile(/tmp/multipartBody8956757064349754418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_28_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/259714f9ddb125664048d5dd034d2763.jpg","text":"TemporaryFile(/tmp/multipartBody1316246224903495750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992004717,"filename":"image_30102025_02_38_37_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391603405","file1":"1391603358","file0":"1391603316","file4":"1391603423","file5":"1391603428","file3":"1391603418"},"map_files_photo_id_array":[{"photo_id":"1391603428","filename":"file5"},{"photo_id":"1391603405","filename":"file2"},{"photo_id":"1391603423","filename":"file4"},{"photo_id":"1391603358","filename":"file1"},{"photo_id":"1391603316","filename":"file0"},{"photo_id":"1391603418","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391603358":["hashtag1","hashtag2"]},{"1391603316":["hashtag1","hashtag2"]},{"1391603418":["hashtag1","hashtag2"]},{"1391603423":["hashtag1","hashtag2"]},{"1391603405":["hashtag1","hashtag2"]},{"1391603428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391603358, 1391603316, 1391603418, 1391603423, 1391603405, 1391603428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70470952987671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:13:22.055969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_41_1634.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_44_1650.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_50_1550.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_51_1649.jpg', '/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_55_3676.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_04_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_41_1634.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_44_1650.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_50_1550.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_51_1649.jpg
/home/pi/Desktop/images/30102025/02/38/image_30102025_02_38_55_3676.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_04_1753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391603442","1391603508","1391603444","1391603446","1391603449","1391603458"],"photo_ids_order":["1391603442","1391603444","1391603446","1391603449","1391603458","1391603508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/395c626aa1bd945397fefaed7298bd70.jpg","text":"TemporaryFile(/tmp/multipartBody6073218779447880804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_38_41_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a62b1ad06a9bcefbe05a876b23b3835.jpg","text":"TemporaryFile(/tmp/multipartBody6055333646413031483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_39_04_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd2b48281003b004a5697f58bbb75fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3602960623965465698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_38_44_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f0310dbd5c2472c72937d9ec30f43ab.jpg","text":"TemporaryFile(/tmp/multipartBody8440596895837328142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_38_50_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdae8ff791c72e3fe651a2765ce95196.jpg","text":"TemporaryFile(/tmp/multipartBody4024763513568565114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_38_51_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/604caebc147b91ccbd8a458c03614209.jpg","text":"TemporaryFile(/tmp/multipartBody5594261211199448679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992064725,"filename":"image_30102025_02_38_55_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391603446","file1":"1391603444","file0":"1391603442","file4":"1391603458","file5":"1391603508","file3":"1391603449"},"map_files_photo_id_array":[{"photo_id":"1391603508","filename":"file5"},{"photo_id":"1391603446","filename":"file2"},{"photo_id":"1391603458","filename":"file4"},{"photo_id":"1391603444","filename":"file1"},{"photo_id":"1391603442","filename":"file0"},{"photo_id":"1391603449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391603442":["hashtag1","hashtag2"]},{"1391603508":["hashtag1","hashtag2"]},{"1391603444":["hashtag1","hashtag2"]},{"1391603446":["hashtag1","hashtag2"]},{"1391603449":["hashtag1","hashtag2"]},{"1391603458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391603442, 1391603508, 1391603444, 1391603446, 1391603449, 1391603458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.30422925949097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:14:22.381691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_09_3778.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_11_1654.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_13_1758.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_15_2625.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_19_3767.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_36_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_09_3778.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_11_1654.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_13_1758.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_15_2625.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_19_3767.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_36_1653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391604000","1391603904","1391603861","1391603953","1391603797","1391603818"],"photo_ids_order":["1391603797","1391603818","1391603861","1391603904","1391603953","1391604000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91cc9e2e3dfc54d78aa2ac17584e1d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5636954652025084635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_36_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d722cd2191453549fbded66062052165.jpg","text":"TemporaryFile(/tmp/multipartBody8099989338878918288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_15_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b659af9cf6594e481e9e4393a2db587.jpg","text":"TemporaryFile(/tmp/multipartBody3932805755673937869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_13_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19a4ca5aad494b2e98b7880078749c50.jpg","text":"TemporaryFile(/tmp/multipartBody8730960474595559697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_19_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8fc912c1fd1c22b0c3f8c7fa69e70b9.jpg","text":"TemporaryFile(/tmp/multipartBody5214967504524315077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_09_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebce37f5002eaf58d0c7c830b34c9e58.jpg","text":"TemporaryFile(/tmp/multipartBody3721390844078875390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992125371,"filename":"image_30102025_02_39_11_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391603861","file1":"1391603818","file0":"1391603797","file4":"1391603953","file5":"1391604000","file3":"1391603904"},"map_files_photo_id_array":[{"photo_id":"1391604000","filename":"file5"},{"photo_id":"1391603861","filename":"file2"},{"photo_id":"1391603953","filename":"file4"},{"photo_id":"1391603818","filename":"file1"},{"photo_id":"1391603797","filename":"file0"},{"photo_id":"1391603904","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391604000":["hashtag1","hashtag2"]},{"1391603904":["hashtag1","hashtag2"]},{"1391603861":["hashtag1","hashtag2"]},{"1391603953":["hashtag1","hashtag2"]},{"1391603797":["hashtag1","hashtag2"]},{"1391603818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391604000, 1391603904, 1391603861, 1391603953, 1391603797, 1391603818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61708378791809 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:15:22.490316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_38_1696.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_40_1728.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_41_1639.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_43_1550.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_44_1571.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_51_6152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_38_1696.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_40_1728.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_41_1639.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_43_1550.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_44_1571.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_51_6152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391604432","1391604590","1391604515","1391604251","1391604311","1391604255"],"photo_ids_order":["1391604251","1391604255","1391604311","1391604432","1391604515","1391604590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08a8c105aa86a270e5e7b6b086271f20.jpg","text":"TemporaryFile(/tmp/multipartBody2873552327941864796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_43_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ecc19eb80deaddc3e84925e45672474.jpg","text":"TemporaryFile(/tmp/multipartBody3840208016262888183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_51_6152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c42476a38d68b8a38cd28eb54faafbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5304238327035520777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_44_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dff46948529127fc411a035665421993.jpg","text":"TemporaryFile(/tmp/multipartBody419980927330142350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_38_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ab2a7e81cce693ca1a36eed74056394.jpg","text":"TemporaryFile(/tmp/multipartBody8577970924124037921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_41_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/720c006af4673f5b4aa2947888cb7ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6476505214402927026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992185438,"filename":"image_30102025_02_39_40_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391604311","file1":"1391604255","file0":"1391604251","file4":"1391604515","file5":"1391604590","file3":"1391604432"},"map_files_photo_id_array":[{"photo_id":"1391604590","filename":"file5"},{"photo_id":"1391604311","filename":"file2"},{"photo_id":"1391604515","filename":"file4"},{"photo_id":"1391604255","filename":"file1"},{"photo_id":"1391604251","filename":"file0"},{"photo_id":"1391604432","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391604432":["hashtag1","hashtag2"]},{"1391604590":["hashtag1","hashtag2"]},{"1391604515":["hashtag1","hashtag2"]},{"1391604251":["hashtag1","hashtag2"]},{"1391604311":["hashtag1","hashtag2"]},{"1391604255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391604432, 1391604590, 1391604515, 1391604251, 1391604311, 1391604255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22232794761658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:16:03.116552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_54_3078.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_55_1673.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_57_1645.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_01_2625.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_12_1641.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_15_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_54_3078.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_55_1673.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_57_1645.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_01_2625.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_12_1641.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_15_2651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3223555088043213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:16:22.621637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_54_3078.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_55_1673.jpg', '/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_57_1645.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_01_2625.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_12_1641.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_15_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_54_3078.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_55_1673.jpg
/home/pi/Desktop/images/30102025/02/39/image_30102025_02_39_57_1645.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_01_2625.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_12_1641.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_15_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391604887","1391605060","1391605068","1391604844","1391605035","1391604966"],"photo_ids_order":["1391604844","1391604887","1391604966","1391605035","1391605060","1391605068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0938258fc396b39f6d0e7632f0a695d1.jpg","text":"TemporaryFile(/tmp/multipartBody6723286444644127907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_39_55_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4307b4efb70cd01707f753fea0f6c273.jpg","text":"TemporaryFile(/tmp/multipartBody9023530757265767156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_40_12_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f48b891604222a8e4c306fedba9bf0c9.jpg","text":"TemporaryFile(/tmp/multipartBody970401881284674124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_40_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a57b2ce582923784007831647567cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2656797015519362363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_39_54_3078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e304413c005fbefdc23aaefc697463a8.jpg","text":"TemporaryFile(/tmp/multipartBody5996184759487698060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_40_01_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78f11aad78a03ce17377db42f1b99175.jpg","text":"TemporaryFile(/tmp/multipartBody1334745650875417418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992245097,"filename":"image_30102025_02_39_57_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391604966","file1":"1391604887","file0":"1391604844","file4":"1391605060","file5":"1391605068","file3":"1391605035"},"map_files_photo_id_array":[{"photo_id":"1391605068","filename":"file5"},{"photo_id":"1391604966","filename":"file2"},{"photo_id":"1391605060","filename":"file4"},{"photo_id":"1391604887","filename":"file1"},{"photo_id":"1391604844","filename":"file0"},{"photo_id":"1391605035","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391604887":["hashtag1","hashtag2"]},{"1391605060":["hashtag1","hashtag2"]},{"1391605068":["hashtag1","hashtag2"]},{"1391604844":["hashtag1","hashtag2"]},{"1391605035":["hashtag1","hashtag2"]},{"1391604966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391604887, 1391605060, 1391605068, 1391604844, 1391605035, 1391604966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69422197341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:17:21.840955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_19_3598.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_21_2707.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_24_2715.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_28_3688.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_31_2758.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_33_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_19_3598.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_21_2707.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_24_2715.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_28_3688.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_31_2758.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_33_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391605457","1391605637","1391605537","1391605395","1391605347","1391605598"],"photo_ids_order":["1391605347","1391605395","1391605457","1391605537","1391605598","1391605637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8388844d02f130d6dc3e9e972afaaefb.jpg","text":"TemporaryFile(/tmp/multipartBody895135771647038675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_24_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bf853d652d1f3c34f59db5cad78ee0c.jpg","text":"TemporaryFile(/tmp/multipartBody6275608582263858466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_33_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e84f685481017cea1b13b361760537fc.jpg","text":"TemporaryFile(/tmp/multipartBody6507724549959281241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_28_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/474710f4490d4f9802f8890d4ac9092a.jpg","text":"TemporaryFile(/tmp/multipartBody5258163793187351253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_21_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14ad557065885d8180e400af04b7d130.jpg","text":"TemporaryFile(/tmp/multipartBody3186759117043480689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_19_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9418a4ae04cd57402a3989f887e98ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3982030095520647444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992304528,"filename":"image_30102025_02_40_31_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391605457","file1":"1391605395","file0":"1391605347","file4":"1391605598","file5":"1391605637","file3":"1391605537"},"map_files_photo_id_array":[{"photo_id":"1391605637","filename":"file5"},{"photo_id":"1391605457","filename":"file2"},{"photo_id":"1391605598","filename":"file4"},{"photo_id":"1391605395","filename":"file1"},{"photo_id":"1391605347","filename":"file0"},{"photo_id":"1391605537","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391605457":["hashtag1","hashtag2"]},{"1391605637":["hashtag1","hashtag2"]},{"1391605537":["hashtag1","hashtag2"]},{"1391605395":["hashtag1","hashtag2"]},{"1391605347":["hashtag1","hashtag2"]},{"1391605598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391605457, 1391605637, 1391605537, 1391605395, 1391605347, 1391605598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.809125661849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:18:22.095582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_42_2893.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_45_2680.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_54_2747.jpg', '/home/pi/Desktop/images/30102025/02/40/image_30102025_02_41_01_3566.jpg', '/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_04_2860.jpg', '/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_06_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_42_2893.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_45_2680.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_40_54_2747.jpg
/home/pi/Desktop/images/30102025/02/40/image_30102025_02_41_01_3566.jpg
/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_04_2860.jpg
/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_06_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391605973","1391606014","1391606052","1391606175","1391606093","1391606132"],"photo_ids_order":["1391605973","1391606014","1391606052","1391606093","1391606132","1391606175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5549af006882b5b0262b770371fa3cea.jpg","text":"TemporaryFile(/tmp/multipartBody5327681662217493818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_40_42_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d20b51382bd2b63189fc845df6531d2.jpg","text":"TemporaryFile(/tmp/multipartBody7793093389328236669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_40_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bbfa670b46c284f207bc10678d62143.jpg","text":"TemporaryFile(/tmp/multipartBody232280307882222186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_40_54_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/022fd08fdf8cf8de90243071d3d19956.jpg","text":"TemporaryFile(/tmp/multipartBody3289571709574795717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_41_06_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e4cb8c719905783eccc8f8961372bfb.jpg","text":"TemporaryFile(/tmp/multipartBody6284019575773973216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_41_01_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de4cc03a78fb547505de28029357c1e0.jpg","text":"TemporaryFile(/tmp/multipartBody5118209668622028922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992364765,"filename":"image_30102025_02_41_04_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391606052","file1":"1391606014","file0":"1391605973","file4":"1391606132","file5":"1391606175","file3":"1391606093"},"map_files_photo_id_array":[{"photo_id":"1391606175","filename":"file5"},{"photo_id":"1391606052","filename":"file2"},{"photo_id":"1391606132","filename":"file4"},{"photo_id":"1391606014","filename":"file1"},{"photo_id":"1391605973","filename":"file0"},{"photo_id":"1391606093","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391605973":["hashtag1","hashtag2"]},{"1391606014":["hashtag1","hashtag2"]},{"1391606052":["hashtag1","hashtag2"]},{"1391606175":["hashtag1","hashtag2"]},{"1391606093":["hashtag1","hashtag2"]},{"1391606132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391605973, 1391606014, 1391606052, 1391606175, 1391606093, 1391606132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09736752510071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:19:03.441503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_58_3753.jpg', '/home/pi/Desktop/images/30102025/02/41/image_30102025_02_42_00_2497.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_03_2735.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_07_3631.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_09_2750.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_12_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/41/image_30102025_02_41_58_3753.jpg
/home/pi/Desktop/images/30102025/02/41/image_30102025_02_42_00_2497.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_03_2735.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_07_3631.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_09_2750.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_12_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391606299","1391606281","1391606338","1391606390","1391606387","1391606378"],"photo_ids_order":["1391606281","1391606299","1391606338","1391606378","1391606387","1391606390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8fea0b3af0c4c514a5b929f8a5562425.jpg","text":"TemporaryFile(/tmp/multipartBody2805258903111474815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_42_00_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2adc5e1f7746cbed597573a5fcedd603.jpg","text":"TemporaryFile(/tmp/multipartBody5198436729367233489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_41_58_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a51f96aae01a5f816b4cc67b33f67a18.jpg","text":"TemporaryFile(/tmp/multipartBody2428137969020569360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_42_03_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0211fec5143062c922b09cced7847fc1.jpg","text":"TemporaryFile(/tmp/multipartBody4461633753347720178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_42_12_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e84f89720132efefc95c658a6506599.jpg","text":"TemporaryFile(/tmp/multipartBody8738014540794148425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_42_09_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69c7a03a0df0b7767a003aa62fe63e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4216762870555461021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992406114,"filename":"image_30102025_02_42_07_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391606338","file1":"1391606299","file0":"1391606281","file4":"1391606387","file5":"1391606390","file3":"1391606378"},"map_files_photo_id_array":[{"photo_id":"1391606390","filename":"file5"},{"photo_id":"1391606338","filename":"file2"},{"photo_id":"1391606387","filename":"file4"},{"photo_id":"1391606299","filename":"file1"},{"photo_id":"1391606281","filename":"file0"},{"photo_id":"1391606378","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391606299":["hashtag1","hashtag2"]},{"1391606281":["hashtag1","hashtag2"]},{"1391606338":["hashtag1","hashtag2"]},{"1391606390":["hashtag1","hashtag2"]},{"1391606387":["hashtag1","hashtag2"]},{"1391606378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391606299, 1391606281, 1391606338, 1391606390, 1391606387, 1391606378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97503209114075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:20:02.905140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_16_3629.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_21_2597.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_25_3547.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_27_2680.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_30_2663.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_39_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_16_3629.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_21_2597.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_25_3547.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_27_2680.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_30_2663.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_39_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391606671","1391606626","1391606542","1391606751","1391606583","1391606829"],"photo_ids_order":["1391606542","1391606583","1391606626","1391606671","1391606751","1391606829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb588a4c95f87a05543e401a700fcebf.jpg","text":"TemporaryFile(/tmp/multipartBody731749891452642333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_27_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8df77f24689b18e42e8c5cc231b4f23.jpg","text":"TemporaryFile(/tmp/multipartBody7793979280737466879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_25_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2828d45feab5579f42b39f5bdd208793.jpg","text":"TemporaryFile(/tmp/multipartBody4957124898755126259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_16_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad5da3bbe4b971ff0c39190d662a3a1d.jpg","text":"TemporaryFile(/tmp/multipartBody297307380569406906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_30_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5f636255a6e8217317d35168ea80b13.jpg","text":"TemporaryFile(/tmp/multipartBody1649973417833489837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_21_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42f4607d43249f73c027a1beb2c7dd37.jpg","text":"TemporaryFile(/tmp/multipartBody373608545561052673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992465329,"filename":"image_30102025_02_42_39_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391606626","file1":"1391606583","file0":"1391606542","file4":"1391606751","file5":"1391606829","file3":"1391606671"},"map_files_photo_id_array":[{"photo_id":"1391606829","filename":"file5"},{"photo_id":"1391606626","filename":"file2"},{"photo_id":"1391606751","filename":"file4"},{"photo_id":"1391606583","filename":"file1"},{"photo_id":"1391606542","filename":"file0"},{"photo_id":"1391606671","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391606671":["hashtag1","hashtag2"]},{"1391606626":["hashtag1","hashtag2"]},{"1391606542":["hashtag1","hashtag2"]},{"1391606751":["hashtag1","hashtag2"]},{"1391606583":["hashtag1","hashtag2"]},{"1391606829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391606671, 1391606626, 1391606542, 1391606751, 1391606583, 1391606829)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.07189440727234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:21:03.416873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_43_3682.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_45_2648.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_48_2847.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_51_2759.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_55_3799.jpg', '/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_57_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_43_3682.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_45_2648.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_48_2847.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_51_2759.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_55_3799.jpg
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_42_57_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391607561","1391607519","1391607461","1391607629","1391607376","1391607298"],"photo_ids_order":["1391607298","1391607376","1391607461","1391607519","1391607561","1391607629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fccc78c01993f83aca8c7bcb453c2280.jpg","text":"TemporaryFile(/tmp/multipartBody694977269951725180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_55_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ac1dc1b71558c865931527b91beca34.jpg","text":"TemporaryFile(/tmp/multipartBody8013333776044056278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_51_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f59e11365bc5b00931ff0ea43f08183a.jpg","text":"TemporaryFile(/tmp/multipartBody2189585709362870242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_48_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c7337931a482a6f63664b934ab603e7.jpg","text":"TemporaryFile(/tmp/multipartBody3066545000328631112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_57_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1464c97c29748179f49f5170e2232182.jpg","text":"TemporaryFile(/tmp/multipartBody5340307350144831676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_45_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f43e1051a11bd3d4e3579c3c20a9b549.jpg","text":"TemporaryFile(/tmp/multipartBody350500795281188729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992525868,"filename":"image_30102025_02_42_43_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391607461","file1":"1391607376","file0":"1391607298","file4":"1391607561","file5":"1391607629","file3":"1391607519"},"map_files_photo_id_array":[{"photo_id":"1391607629","filename":"file5"},{"photo_id":"1391607461","filename":"file2"},{"photo_id":"1391607561","filename":"file4"},{"photo_id":"1391607376","filename":"file1"},{"photo_id":"1391607298","filename":"file0"},{"photo_id":"1391607519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391607561":["hashtag1","hashtag2"]},{"1391607519":["hashtag1","hashtag2"]},{"1391607461":["hashtag1","hashtag2"]},{"1391607629":["hashtag1","hashtag2"]},{"1391607376":["hashtag1","hashtag2"]},{"1391607298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391607561, 1391607519, 1391607461, 1391607629, 1391607376, 1391607298)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.59105134010315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:22:03.280728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/42/image_30102025_02_43_00_2862.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_06_3422.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_09_2666.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_15_2652.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_18_2603.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_22_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/42/image_30102025_02_43_00_2862.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_06_3422.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_09_2666.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_15_2652.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_18_2603.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_22_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391608333","1391608458","1391608161","1391608116","1391608200","1391608243"],"photo_ids_order":["1391608116","1391608161","1391608200","1391608243","1391608333","1391608458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b083011174b3f6f2398257da3797228f.jpg","text":"TemporaryFile(/tmp/multipartBody2913511521649740233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_18_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/774540a7db575fbc40b23369908f8d65.jpg","text":"TemporaryFile(/tmp/multipartBody1754296870865270417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_22_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2120f7a4e4b543a60b74830602de5db8.jpg","text":"TemporaryFile(/tmp/multipartBody5743318050460810845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_06_3422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bce6a78614c2144e15de042d5e80af4.jpg","text":"TemporaryFile(/tmp/multipartBody5565678783403966772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_00_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81176a4beab5fa75a9624b5ff6e819d6.jpg","text":"TemporaryFile(/tmp/multipartBody7194870737967826773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_09_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2513096fba6c5c97f927ec069e639cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3499069864874928290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992585664,"filename":"image_30102025_02_43_15_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391608200","file1":"1391608161","file0":"1391608116","file4":"1391608333","file5":"1391608458","file3":"1391608243"},"map_files_photo_id_array":[{"photo_id":"1391608458","filename":"file5"},{"photo_id":"1391608200","filename":"file2"},{"photo_id":"1391608333","filename":"file4"},{"photo_id":"1391608161","filename":"file1"},{"photo_id":"1391608116","filename":"file0"},{"photo_id":"1391608243","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391608333":["hashtag1","hashtag2"]},{"1391608458":["hashtag1","hashtag2"]},{"1391608161":["hashtag1","hashtag2"]},{"1391608116":["hashtag1","hashtag2"]},{"1391608200":["hashtag1","hashtag2"]},{"1391608243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391608333, 1391608458, 1391608161, 1391608116, 1391608200, 1391608243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.150482416152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:22:42.882631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_24_2574.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_27_2816.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_42_3619.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_51_2804.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_54_2706.jpg', '/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_57_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_24_2574.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_27_2816.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_42_3619.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_51_2804.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_54_2706.jpg
/home/pi/Desktop/images/30102025/02/43/image_30102025_02_43_57_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391608977","1391608881","1391608932","1391608734","1391608775","1391608819"],"photo_ids_order":["1391608734","1391608775","1391608819","1391608881","1391608932","1391608977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70ce719cf631eaf5c54fae219a25ee48.jpg","text":"TemporaryFile(/tmp/multipartBody2175023993748744678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_57_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ac6512d2df2f00c0c5d592bf387426d.jpg","text":"TemporaryFile(/tmp/multipartBody7481740725118551288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_51_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/732cd4cf0bf1532dafce90bdec1aef18.jpg","text":"TemporaryFile(/tmp/multipartBody1772303393129495425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_54_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6350e98a8d7a9b30e782f40198f8e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3644417055507109301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_24_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17acaff78937998e39c9770936168a22.jpg","text":"TemporaryFile(/tmp/multipartBody6988888165133125025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_27_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb6aa9042005ef2095ab8519ba0f808f.jpg","text":"TemporaryFile(/tmp/multipartBody6096216941305612063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992624235,"filename":"image_30102025_02_43_42_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391608819","file1":"1391608775","file0":"1391608734","file4":"1391608932","file5":"1391608977","file3":"1391608881"},"map_files_photo_id_array":[{"photo_id":"1391608977","filename":"file5"},{"photo_id":"1391608819","filename":"file2"},{"photo_id":"1391608932","filename":"file4"},{"photo_id":"1391608775","filename":"file1"},{"photo_id":"1391608734","filename":"file0"},{"photo_id":"1391608881","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391608977":["hashtag1","hashtag2"]},{"1391608881":["hashtag1","hashtag2"]},{"1391608932":["hashtag1","hashtag2"]},{"1391608734":["hashtag1","hashtag2"]},{"1391608775":["hashtag1","hashtag2"]},{"1391608819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391608977, 1391608881, 1391608932, 1391608734, 1391608775, 1391608819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00938606262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:23:22.022882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_03_2818.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_06_2764.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_09_2599.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_13_3773.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_15_2694.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_18_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_03_2818.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_06_2764.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_09_2599.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_13_3773.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_15_2694.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_18_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391609187","1391609133","1391609235","1391609322","1391609086","1391609280"],"photo_ids_order":["1391609086","1391609133","1391609187","1391609235","1391609280","1391609322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a81d01616d1a3e54da8f5dde548cb5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4238524629534730843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_09_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ff66d39fa69e764a622b31ce753e4fa.jpg","text":"TemporaryFile(/tmp/multipartBody9037589789076911398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_06_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb567aaca478938f28609d4e0cb140c0.jpg","text":"TemporaryFile(/tmp/multipartBody3906429406832438033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_13_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/101269271eedc1da4351143a6d935597.jpg","text":"TemporaryFile(/tmp/multipartBody3966481969478184001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_18_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6883ea21c8476e9319cdedc6bd64a491.jpg","text":"TemporaryFile(/tmp/multipartBody4867229245969603994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_03_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d932c53e2fb16e89b4f1839ad6c112a.jpg","text":"TemporaryFile(/tmp/multipartBody5461739460969116321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992665042,"filename":"image_30102025_02_44_15_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391609187","file1":"1391609133","file0":"1391609086","file4":"1391609280","file5":"1391609322","file3":"1391609235"},"map_files_photo_id_array":[{"photo_id":"1391609322","filename":"file5"},{"photo_id":"1391609187","filename":"file2"},{"photo_id":"1391609280","filename":"file4"},{"photo_id":"1391609133","filename":"file1"},{"photo_id":"1391609086","filename":"file0"},{"photo_id":"1391609235","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391609187":["hashtag1","hashtag2"]},{"1391609133":["hashtag1","hashtag2"]},{"1391609235":["hashtag1","hashtag2"]},{"1391609322":["hashtag1","hashtag2"]},{"1391609086":["hashtag1","hashtag2"]},{"1391609280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391609187, 1391609133, 1391609235, 1391609322, 1391609086, 1391609280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4812707901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:24:02.671025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_21_2661.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_33_3703.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_42_2864.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_45_3624.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_48_2629.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_51_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_21_2661.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_33_3703.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_42_2864.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_45_3624.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_48_2629.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_51_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391609511","1391609483","1391609522","1391609507","1391609557","1391609554"],"photo_ids_order":["1391609483","1391609507","1391609511","1391609522","1391609554","1391609557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/926eca0b81fa117005f19aa2d28ed12a.jpg","text":"TemporaryFile(/tmp/multipartBody8486427776645012150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_42_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc2c946149994ed714b368b92612e471.jpg","text":"TemporaryFile(/tmp/multipartBody8896987055512642851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_21_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecb79ab28e94cbea4cd35228c48be824.jpg","text":"TemporaryFile(/tmp/multipartBody5760021138363536221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_45_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbfc1d651be893b59012f8238f7c3823.jpg","text":"TemporaryFile(/tmp/multipartBody1997872079444780420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_33_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43cf1b2c0ff2f6eb0d39517651c2b658.jpg","text":"TemporaryFile(/tmp/multipartBody203488152247634294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_51_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c064decefadf6093ec28087de1e9863.jpg","text":"TemporaryFile(/tmp/multipartBody3649606077047544468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992705040,"filename":"image_30102025_02_44_48_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391609511","file1":"1391609507","file0":"1391609483","file4":"1391609554","file5":"1391609557","file3":"1391609522"},"map_files_photo_id_array":[{"photo_id":"1391609557","filename":"file5"},{"photo_id":"1391609511","filename":"file2"},{"photo_id":"1391609554","filename":"file4"},{"photo_id":"1391609507","filename":"file1"},{"photo_id":"1391609483","filename":"file0"},{"photo_id":"1391609522","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391609511":["hashtag1","hashtag2"]},{"1391609483":["hashtag1","hashtag2"]},{"1391609522":["hashtag1","hashtag2"]},{"1391609507":["hashtag1","hashtag2"]},{"1391609557":["hashtag1","hashtag2"]},{"1391609554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391609511, 1391609483, 1391609522, 1391609507, 1391609557, 1391609554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91787314414978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:24:42.196943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_57_2753.jpg', '/home/pi/Desktop/images/30102025/02/44/image_30102025_02_45_00_2795.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_15_3666.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_24_3745.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_27_2651.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_30_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_44_57_2753.jpg
/home/pi/Desktop/images/30102025/02/44/image_30102025_02_45_00_2795.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_15_3666.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_24_3745.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_27_2651.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_30_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391609630","1391609648","1391609708","1391609644","1391609752","1391609667"],"photo_ids_order":["1391609630","1391609644","1391609648","1391609667","1391609708","1391609752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc116768a15c9534d385193b42edeca3.jpg","text":"TemporaryFile(/tmp/multipartBody499840489532174876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_44_57_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83b0a15404048fac62e5387a6d720287.jpg","text":"TemporaryFile(/tmp/multipartBody6924657956730953023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_45_15_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6acdbcf8a0b37395c5ccc4c5c0050ec0.jpg","text":"TemporaryFile(/tmp/multipartBody8816990997135849490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_45_27_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ac30e44f719d91a8d0269e9e4fbcea3.jpg","text":"TemporaryFile(/tmp/multipartBody3459526580249189824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_45_00_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89d1ce56da7d335868124ca955b6166c.jpg","text":"TemporaryFile(/tmp/multipartBody6845341731815096163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_45_30_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a58b8794442d7468f926e131d69b1d09.jpg","text":"TemporaryFile(/tmp/multipartBody309096992634241690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992743540,"filename":"image_30102025_02_45_24_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391609648","file1":"1391609644","file0":"1391609630","file4":"1391609708","file5":"1391609752","file3":"1391609667"},"map_files_photo_id_array":[{"photo_id":"1391609752","filename":"file5"},{"photo_id":"1391609648","filename":"file2"},{"photo_id":"1391609708","filename":"file4"},{"photo_id":"1391609644","filename":"file1"},{"photo_id":"1391609630","filename":"file0"},{"photo_id":"1391609667","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391609630":["hashtag1","hashtag2"]},{"1391609648":["hashtag1","hashtag2"]},{"1391609708":["hashtag1","hashtag2"]},{"1391609644":["hashtag1","hashtag2"]},{"1391609752":["hashtag1","hashtag2"]},{"1391609667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391609630, 1391609648, 1391609708, 1391609644, 1391609752, 1391609667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3272864818573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:25:22.379892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_33_3632.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_36_2772.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_48_2720.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_51_2548.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_54_3810.jpg', '/home/pi/Desktop/images/30102025/02/45/image_30102025_02_46_00_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_33_3632.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_36_2772.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_48_2720.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_51_2548.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_45_54_3810.jpg
/home/pi/Desktop/images/30102025/02/45/image_30102025_02_46_00_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391609829","1391609838","1391609825","1391609834","1391609822","1391609818"],"photo_ids_order":["1391609818","1391609822","1391609825","1391609829","1391609834","1391609838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eccc229716899b2a652f999678e2a328.jpg","text":"TemporaryFile(/tmp/multipartBody1680106503415756688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_45_51_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98758abbf869ba3f3ab01eca9ee655a4.jpg","text":"TemporaryFile(/tmp/multipartBody193671988779588877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_46_00_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09ef2ca045ad457d03d01f15f70584ab.jpg","text":"TemporaryFile(/tmp/multipartBody4382320352998932807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_45_48_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32d2ae4d7205d0a32db7dbc3d30cb485.jpg","text":"TemporaryFile(/tmp/multipartBody4809941179620774283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_45_54_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fceabafdcefd25d490551cb357a20ca.jpg","text":"TemporaryFile(/tmp/multipartBody8311247999251358022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_45_36_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3d60f719670bb8c196608a03d47f032.jpg","text":"TemporaryFile(/tmp/multipartBody1549030867747091988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992785354,"filename":"image_30102025_02_45_33_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391609825","file1":"1391609822","file0":"1391609818","file4":"1391609834","file5":"1391609838","file3":"1391609829"},"map_files_photo_id_array":[{"photo_id":"1391609838","filename":"file5"},{"photo_id":"1391609825","filename":"file2"},{"photo_id":"1391609834","filename":"file4"},{"photo_id":"1391609822","filename":"file1"},{"photo_id":"1391609818","filename":"file0"},{"photo_id":"1391609829","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391609829":["hashtag1","hashtag2"]},{"1391609838":["hashtag1","hashtag2"]},{"1391609825":["hashtag1","hashtag2"]},{"1391609834":["hashtag1","hashtag2"]},{"1391609822":["hashtag1","hashtag2"]},{"1391609818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391609829, 1391609838, 1391609825, 1391609834, 1391609822, 1391609818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35710787773132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:26:22.428679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_06_2709.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_30_3638.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_33_2647.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_39_3540.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_42_2898.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_48_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_06_2709.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_30_3638.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_33_2647.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_39_3540.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_42_2898.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_48_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391610004","1391610013","1391610008","1391610016","1391609991","1391609958"],"photo_ids_order":["1391609958","1391609991","1391610004","1391610008","1391610013","1391610016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/660dbfc921808c8f02939c37dca50a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1587219255309539346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_33_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3705bdee338046dd1bfb10c074ddd9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2955119200689919836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_42_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55feba8b5c1abe4c4baf4d9404f509cd.jpg","text":"TemporaryFile(/tmp/multipartBody7581400864201207979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_39_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1838f038b6f0151cf27394e2cb92a959.jpg","text":"TemporaryFile(/tmp/multipartBody3741324907531200611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_48_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ecb0ffbcf7f900faf39e190b8aa31f8.jpg","text":"TemporaryFile(/tmp/multipartBody7320297155496791899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_30_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f43059dffb8fc0fdf2a5af19eba9a97.jpg","text":"TemporaryFile(/tmp/multipartBody6080488224574763007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992845208,"filename":"image_30102025_02_46_06_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391610004","file1":"1391609991","file0":"1391609958","file4":"1391610013","file5":"1391610016","file3":"1391610008"},"map_files_photo_id_array":[{"photo_id":"1391610016","filename":"file5"},{"photo_id":"1391610004","filename":"file2"},{"photo_id":"1391610013","filename":"file4"},{"photo_id":"1391609991","filename":"file1"},{"photo_id":"1391609958","filename":"file0"},{"photo_id":"1391610008","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391610004":["hashtag1","hashtag2"]},{"1391610013":["hashtag1","hashtag2"]},{"1391610008":["hashtag1","hashtag2"]},{"1391610016":["hashtag1","hashtag2"]},{"1391609991":["hashtag1","hashtag2"]},{"1391609958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391610004, 1391610013, 1391610008, 1391610016, 1391609991, 1391609958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2750289440155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:27:03.441711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_51_3635.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_54_2695.jpg', '/home/pi/Desktop/images/30102025/02/46/image_30102025_02_47_00_3905.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_03_2544.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_06_2681.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_09_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_51_3635.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_46_54_2695.jpg
/home/pi/Desktop/images/30102025/02/46/image_30102025_02_47_00_3905.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_03_2544.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_06_2681.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_09_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391610025","1391610033","1391610041","1391610050","1391610028","1391610022"],"photo_ids_order":["1391610022","1391610025","1391610028","1391610033","1391610041","1391610050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8939e6922b60e8cbb2176f494b74fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7899065558243958879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_46_54_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d74552434dff3a389171633b5e7a3155.jpg","text":"TemporaryFile(/tmp/multipartBody5108805313187281222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_47_03_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4ce6d8c564b1353b686b563fe0a05de.jpg","text":"TemporaryFile(/tmp/multipartBody4043707578755772557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_47_06_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7ee91ad50025ca4dc10a27b22b42d4f.jpg","text":"TemporaryFile(/tmp/multipartBody322151034992214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_47_09_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f891036ad7e47e0a605fb9ff45b23c29.jpg","text":"TemporaryFile(/tmp/multipartBody3320469597712162836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_47_00_3905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cec2a0ac3baddb897e4f49b55211498b.jpg","text":"TemporaryFile(/tmp/multipartBody7882260972299026140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992885875,"filename":"image_30102025_02_46_51_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391610028","file1":"1391610025","file0":"1391610022","file4":"1391610041","file5":"1391610050","file3":"1391610033"},"map_files_photo_id_array":[{"photo_id":"1391610050","filename":"file5"},{"photo_id":"1391610028","filename":"file2"},{"photo_id":"1391610041","filename":"file4"},{"photo_id":"1391610025","filename":"file1"},{"photo_id":"1391610022","filename":"file0"},{"photo_id":"1391610033","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391610025":["hashtag1","hashtag2"]},{"1391610033":["hashtag1","hashtag2"]},{"1391610041":["hashtag1","hashtag2"]},{"1391610050":["hashtag1","hashtag2"]},{"1391610028":["hashtag1","hashtag2"]},{"1391610022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391610025, 1391610033, 1391610041, 1391610050, 1391610028, 1391610022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.859421491622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:28:03.280814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_12_2757.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_17_2669.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_21_3748.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_24_2693.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_26_2660.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_30_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_12_2757.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_17_2669.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_21_3748.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_24_2693.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_26_2660.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_30_3700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2805869579315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:28:22.879433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_12_2757.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_17_2669.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_21_3748.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_24_2693.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_26_2660.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_30_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_12_2757.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_17_2669.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_21_3748.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_24_2693.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_26_2660.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_30_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391610495","1391610528","1391610524","1391610407","1391610367","1391610454"],"photo_ids_order":["1391610367","1391610407","1391610454","1391610495","1391610524","1391610528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc29a5cbad9c9298d939cfdfd9fba3d3.jpg","text":"TemporaryFile(/tmp/multipartBody319801692539770577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_24_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cedeb9721b0720e4ee12459d71ce260b.jpg","text":"TemporaryFile(/tmp/multipartBody2131295918642481017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_30_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43e306160614562ebbed5d5e21d12b46.jpg","text":"TemporaryFile(/tmp/multipartBody9138802272287998231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_26_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad7545f94456477648822226dd2e6759.jpg","text":"TemporaryFile(/tmp/multipartBody904323481160540559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_17_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/182891d2837931ab2421481cfd76988f.jpg","text":"TemporaryFile(/tmp/multipartBody1667959131781730380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_12_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e830a69e24fe19b81285061f652c51b.jpg","text":"TemporaryFile(/tmp/multipartBody3857363677100012977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761992965332,"filename":"image_30102025_02_47_21_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391610454","file1":"1391610407","file0":"1391610367","file4":"1391610524","file5":"1391610528","file3":"1391610495"},"map_files_photo_id_array":[{"photo_id":"1391610528","filename":"file5"},{"photo_id":"1391610454","filename":"file2"},{"photo_id":"1391610524","filename":"file4"},{"photo_id":"1391610407","filename":"file1"},{"photo_id":"1391610367","filename":"file0"},{"photo_id":"1391610495","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391610495":["hashtag1","hashtag2"]},{"1391610528":["hashtag1","hashtag2"]},{"1391610524":["hashtag1","hashtag2"]},{"1391610407":["hashtag1","hashtag2"]},{"1391610367":["hashtag1","hashtag2"]},{"1391610454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391610495, 1391610528, 1391610524, 1391610407, 1391610367, 1391610454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63574481010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:29:21.902368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_33_2626.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_36_2736.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_39_3601.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_42_2653.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_44_2643.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_48_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_33_2626.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_36_2736.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_39_3601.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_42_2653.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_44_2643.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_48_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391610921","1391610725","1391610679","1391610991","1391610865","1391610781"],"photo_ids_order":["1391610679","1391610725","1391610781","1391610865","1391610921","1391610991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81b029cfb401e6aaaf9c33a2bb71091e.jpg","text":"TemporaryFile(/tmp/multipartBody3564359330946276189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21afe7d68bfd987e5a9f68defa724832.jpg","text":"TemporaryFile(/tmp/multipartBody2609877223927957739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_36_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3a7c29c7fac7620a17afbc2f0d6b237.jpg","text":"TemporaryFile(/tmp/multipartBody2996682593971600588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_33_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/417b622583dcce3110f849dcaa58ec47.jpg","text":"TemporaryFile(/tmp/multipartBody6538175033309797593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_48_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/708e5a048a5a24ed20a4a70e9e1dd259.jpg","text":"TemporaryFile(/tmp/multipartBody743732012678754466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_42_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3b601d99665d812c5b0014aeac1f3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8152883786724099047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993024554,"filename":"image_30102025_02_47_39_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391610781","file1":"1391610725","file0":"1391610679","file4":"1391610921","file5":"1391610991","file3":"1391610865"},"map_files_photo_id_array":[{"photo_id":"1391610991","filename":"file5"},{"photo_id":"1391610781","filename":"file2"},{"photo_id":"1391610921","filename":"file4"},{"photo_id":"1391610725","filename":"file1"},{"photo_id":"1391610679","filename":"file0"},{"photo_id":"1391610865","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391610921":["hashtag1","hashtag2"]},{"1391610725":["hashtag1","hashtag2"]},{"1391610679":["hashtag1","hashtag2"]},{"1391610991":["hashtag1","hashtag2"]},{"1391610865":["hashtag1","hashtag2"]},{"1391610781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391610921, 1391610725, 1391610679, 1391610991, 1391610865, 1391610781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.616236209869385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:30:22.112412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_57_3710.jpg', '/home/pi/Desktop/images/30102025/02/47/image_30102025_02_48_00_2664.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_03_2720.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_09_2688.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_11_2627.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_15_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_47_57_3710.jpg
/home/pi/Desktop/images/30102025/02/47/image_30102025_02_48_00_2664.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_03_2720.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_09_2688.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_11_2627.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_15_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391612316","1391611743","1391612153","1391611942","1391612262","1391611563"],"photo_ids_order":["1391611563","1391611743","1391611942","1391612153","1391612262","1391612316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c436297fcbfed27a0aea4c7d0aa23156.jpg","text":"TemporaryFile(/tmp/multipartBody6835187424243282298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_48_15_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdd8907670d1b0fb1e4ad9a3d438fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody5259977740254391305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_48_00_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/046ad3b435734ed688e9028681b47f42.jpg","text":"TemporaryFile(/tmp/multipartBody6749370279951879649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_48_09_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/693927f76b666f428553617beafbbe6d.jpg","text":"TemporaryFile(/tmp/multipartBody1773882602904793754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_48_03_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ac816f65b01b8b34d072b820cada580.jpg","text":"TemporaryFile(/tmp/multipartBody3028064665887560288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_48_11_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/497d0fd3a7f1f95ee9a5947476335e65.jpg","text":"TemporaryFile(/tmp/multipartBody6979497071280096471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993085059,"filename":"image_30102025_02_47_57_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391611942","file1":"1391611743","file0":"1391611563","file4":"1391612262","file5":"1391612316","file3":"1391612153"},"map_files_photo_id_array":[{"photo_id":"1391612316","filename":"file5"},{"photo_id":"1391611942","filename":"file2"},{"photo_id":"1391612262","filename":"file4"},{"photo_id":"1391611743","filename":"file1"},{"photo_id":"1391611563","filename":"file0"},{"photo_id":"1391612153","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391612316":["hashtag1","hashtag2"]},{"1391611743":["hashtag1","hashtag2"]},{"1391612153":["hashtag1","hashtag2"]},{"1391611942":["hashtag1","hashtag2"]},{"1391612262":["hashtag1","hashtag2"]},{"1391611563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391612316, 1391611743, 1391612153, 1391611942, 1391612262, 1391611563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69958710670471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:31:22.363501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_18_2743.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_21_2754.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_24_3594.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_36_3518.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_39_2983.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_41_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_18_2743.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_21_2754.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_24_3594.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_36_3518.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_39_2983.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_41_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391612384","1391612387","1391612417","1391612389","1391612437","1391612424"],"photo_ids_order":["1391612384","1391612387","1391612389","1391612417","1391612424","1391612437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acd06a1d2238fdbef9dac2189ac08de4.jpg","text":"TemporaryFile(/tmp/multipartBody4943458231115539176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_18_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e9a54dec9913118f8c7061d6be4f7e4.jpg","text":"TemporaryFile(/tmp/multipartBody3022834950377113204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_21_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/124e8fc9ad95b36b0462c7ab69dad954.jpg","text":"TemporaryFile(/tmp/multipartBody7691567968627099919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_36_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7449a3b09a8551bc95c16152505b3049.jpg","text":"TemporaryFile(/tmp/multipartBody199817203833751314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_24_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/affd725b0048246ff657cccb0a9b2d60.jpg","text":"TemporaryFile(/tmp/multipartBody4060730783962701843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_41_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbc2099995c5325463306d71d300e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5324794133093726120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993145308,"filename":"image_30102025_02_48_39_2983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391612389","file1":"1391612387","file0":"1391612384","file4":"1391612424","file5":"1391612437","file3":"1391612417"},"map_files_photo_id_array":[{"photo_id":"1391612437","filename":"file5"},{"photo_id":"1391612389","filename":"file2"},{"photo_id":"1391612424","filename":"file4"},{"photo_id":"1391612387","filename":"file1"},{"photo_id":"1391612384","filename":"file0"},{"photo_id":"1391612417","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391612384":["hashtag1","hashtag2"]},{"1391612387":["hashtag1","hashtag2"]},{"1391612417":["hashtag1","hashtag2"]},{"1391612389":["hashtag1","hashtag2"]},{"1391612437":["hashtag1","hashtag2"]},{"1391612424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391612384, 1391612387, 1391612417, 1391612389, 1391612437, 1391612424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.345635652542114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:32:03.005576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_48_3574.jpg', '/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_50_2660.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_06_2657.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_12_3587.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_15_2838.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_18_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_48_3574.jpg
/home/pi/Desktop/images/30102025/02/48/image_30102025_02_48_50_2660.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_06_2657.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_12_3587.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_15_2838.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_18_2800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391612528","1391612494","1391612569","1391612461","1391612464","1391612614"],"photo_ids_order":["1391612461","1391612464","1391612494","1391612528","1391612569","1391612614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6b7d6b4983e7c3db0d369e7d27224c5.jpg","text":"TemporaryFile(/tmp/multipartBody5510291271517648313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_49_12_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/237a5c3c9b0c51053bdcf3c1aca87daa.jpg","text":"TemporaryFile(/tmp/multipartBody4784617559432752129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_49_06_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f5b6ec02be2c943b76b971ece98117a.jpg","text":"TemporaryFile(/tmp/multipartBody1423153242925745856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_49_15_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/205a6bb22c3539d53b4f8e9bf24d08e7.jpg","text":"TemporaryFile(/tmp/multipartBody1089047478488689896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_48_48_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f10bb8e9a0daa72c3edfcc0940255b65.jpg","text":"TemporaryFile(/tmp/multipartBody639702191074976900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_48_50_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71d99925849fe633848f067a42f90f62.jpg","text":"TemporaryFile(/tmp/multipartBody8392146151934981857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993185506,"filename":"image_30102025_02_49_18_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391612494","file1":"1391612464","file0":"1391612461","file4":"1391612569","file5":"1391612614","file3":"1391612528"},"map_files_photo_id_array":[{"photo_id":"1391612614","filename":"file5"},{"photo_id":"1391612494","filename":"file2"},{"photo_id":"1391612569","filename":"file4"},{"photo_id":"1391612464","filename":"file1"},{"photo_id":"1391612461","filename":"file0"},{"photo_id":"1391612528","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391612528":["hashtag1","hashtag2"]},{"1391612494":["hashtag1","hashtag2"]},{"1391612569":["hashtag1","hashtag2"]},{"1391612461":["hashtag1","hashtag2"]},{"1391612464":["hashtag1","hashtag2"]},{"1391612614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391612528, 1391612494, 1391612569, 1391612461, 1391612464, 1391612614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34141445159912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:33:02.473415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_20_2552.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_24_3689.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_27_2650.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_33_3628.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_36_2762.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_51_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_20_2552.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_24_3689.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_27_2650.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_33_3628.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_36_2762.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_51_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391612873","1391612882","1391612906","1391612878","1391612886","1391612949"],"photo_ids_order":["1391612873","1391612878","1391612882","1391612886","1391612906","1391612949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1441e24a87ae0213d5464f36e65071b5.jpg","text":"TemporaryFile(/tmp/multipartBody7088602010716181267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_20_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba607f37a9e00ea42abc3c5b6d0eb61f.jpg","text":"TemporaryFile(/tmp/multipartBody8265582490963461077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_27_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/469f4cad83bf15bb5a85691a110606cd.jpg","text":"TemporaryFile(/tmp/multipartBody6382043859913684362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_36_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54b266d06efb48458c41c2efc0f64692.jpg","text":"TemporaryFile(/tmp/multipartBody1180498259431942313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_24_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5eff8e16aa7441a95dc7ed19dbeb96b.jpg","text":"TemporaryFile(/tmp/multipartBody6821506478518260074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_33_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/638ca8412681a09c1fd3f797e5c031be.jpg","text":"TemporaryFile(/tmp/multipartBody8539068882791763101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993245081,"filename":"image_30102025_02_49_51_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391612882","file1":"1391612878","file0":"1391612873","file4":"1391612906","file5":"1391612949","file3":"1391612886"},"map_files_photo_id_array":[{"photo_id":"1391612949","filename":"file5"},{"photo_id":"1391612882","filename":"file2"},{"photo_id":"1391612906","filename":"file4"},{"photo_id":"1391612878","filename":"file1"},{"photo_id":"1391612873","filename":"file0"},{"photo_id":"1391612886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391612873":["hashtag1","hashtag2"]},{"1391612882":["hashtag1","hashtag2"]},{"1391612906":["hashtag1","hashtag2"]},{"1391612878":["hashtag1","hashtag2"]},{"1391612886":["hashtag1","hashtag2"]},{"1391612949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391612873, 1391612882, 1391612906, 1391612878, 1391612886, 1391612949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51735162734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:34:02.710826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_53_2660.jpg', '/home/pi/Desktop/images/30102025/02/49/image_30102025_02_50_00_2737.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_10_4263.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_12_1712.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_15_2692.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_17_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_49_53_2660.jpg
/home/pi/Desktop/images/30102025/02/49/image_30102025_02_50_00_2737.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_10_4263.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_12_1712.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_15_2692.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_17_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613022","1391613012","1391613006","1391613015","1391613009","1391613018"],"photo_ids_order":["1391613006","1391613009","1391613012","1391613015","1391613018","1391613022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74d83b10865d0d3619befb5b8614ea74.jpg","text":"TemporaryFile(/tmp/multipartBody7876572496740759114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_50_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8ba8497a38bee582ae39d79bb685138.jpg","text":"TemporaryFile(/tmp/multipartBody622566647493065835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_50_10_4263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c94d17cfe84c65f2fce900823afe39e5.jpg","text":"TemporaryFile(/tmp/multipartBody2225912429631194550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_49_53_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f31d5b28dd6e3ce78e579a754f3383f.jpg","text":"TemporaryFile(/tmp/multipartBody7223971602639583590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_50_12_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3088ee8cf9a9f49b1c303af20869009.jpg","text":"TemporaryFile(/tmp/multipartBody5305537993039775272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_50_00_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5252620c7537cd32b56c55497f723bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4533970759541548550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993306435,"filename":"image_30102025_02_50_15_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613012","file1":"1391613009","file0":"1391613006","file4":"1391613018","file5":"1391613022","file3":"1391613015"},"map_files_photo_id_array":[{"photo_id":"1391613022","filename":"file5"},{"photo_id":"1391613012","filename":"file2"},{"photo_id":"1391613018","filename":"file4"},{"photo_id":"1391613009","filename":"file1"},{"photo_id":"1391613006","filename":"file0"},{"photo_id":"1391613015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613022":["hashtag1","hashtag2"]},{"1391613012":["hashtag1","hashtag2"]},{"1391613006":["hashtag1","hashtag2"]},{"1391613015":["hashtag1","hashtag2"]},{"1391613009":["hashtag1","hashtag2"]},{"1391613018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613022, 1391613012, 1391613006, 1391613015, 1391613009, 1391613018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48873019218445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:35:02.951051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_21_3605.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_24_2525.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_26_2646.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_30_3601.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_33_2940.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_35_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_21_3605.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_24_2525.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_26_2646.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_30_3601.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_33_2940.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_35_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613320","1391613323","1391613325","1391613313","1391613321","1391613318"],"photo_ids_order":["1391613313","1391613318","1391613320","1391613321","1391613323","1391613325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fccacb5017d34ab2f891873b119add80.jpg","text":"TemporaryFile(/tmp/multipartBody2578957001593240758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_26_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df9b76d2157a4eeab5c53530c3f3b41e.jpg","text":"TemporaryFile(/tmp/multipartBody9027731721127997830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_33_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c633beefa01d35b819fea94c12b49a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2347437586963423806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_35_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b9e93c54c3415c39f05ec5683ec197a.jpg","text":"TemporaryFile(/tmp/multipartBody885485989887436941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_21_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cd4e2e058fbe99616cb910587066791.jpg","text":"TemporaryFile(/tmp/multipartBody7092955334865131396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_30_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a52f52fb64af35e6e82f275e7e78660a.jpg","text":"TemporaryFile(/tmp/multipartBody7333698770735814684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993365480,"filename":"image_30102025_02_50_24_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613320","file1":"1391613318","file0":"1391613313","file4":"1391613323","file5":"1391613325","file3":"1391613321"},"map_files_photo_id_array":[{"photo_id":"1391613325","filename":"file5"},{"photo_id":"1391613320","filename":"file2"},{"photo_id":"1391613323","filename":"file4"},{"photo_id":"1391613318","filename":"file1"},{"photo_id":"1391613313","filename":"file0"},{"photo_id":"1391613321","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613320":["hashtag1","hashtag2"]},{"1391613323":["hashtag1","hashtag2"]},{"1391613325":["hashtag1","hashtag2"]},{"1391613313":["hashtag1","hashtag2"]},{"1391613321":["hashtag1","hashtag2"]},{"1391613318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613320, 1391613323, 1391613325, 1391613313, 1391613321, 1391613318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.594775676727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:36:02.969957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_39_3623.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_44_2582.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_54_3774.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_56_1672.jpg', '/home/pi/Desktop/images/30102025/02/50/image_30102025_02_51_00_3643.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_02_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_39_3623.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_44_2582.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_54_3774.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_50_56_1672.jpg
/home/pi/Desktop/images/30102025/02/50/image_30102025_02_51_00_3643.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_02_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613356","1391613358","1391613352","1391613346","1391613354","1391613350"],"photo_ids_order":["1391613346","1391613350","1391613352","1391613354","1391613356","1391613358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/097e2d7078eb9609a9562ceeb6164875.jpg","text":"TemporaryFile(/tmp/multipartBody368226229387022685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_51_00_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/021e55dc87298554ea77af1a9dec6571.jpg","text":"TemporaryFile(/tmp/multipartBody5001293075068192856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_51_02_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2ee782fe7520534e030faaeb1430e99.jpg","text":"TemporaryFile(/tmp/multipartBody4467958226771911735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_50_54_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d98aa409c10d5e560cf34defd947227.jpg","text":"TemporaryFile(/tmp/multipartBody1822688799409187371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_50_39_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a0f8c4c77c10d37413eae48c0b27e61.jpg","text":"TemporaryFile(/tmp/multipartBody3136252273229588036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_50_56_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b4f959900d6f0859c8e8ffd110a5def.jpg","text":"TemporaryFile(/tmp/multipartBody6249954607331605634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993425341,"filename":"image_30102025_02_50_44_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613352","file1":"1391613350","file0":"1391613346","file4":"1391613356","file5":"1391613358","file3":"1391613354"},"map_files_photo_id_array":[{"photo_id":"1391613358","filename":"file5"},{"photo_id":"1391613352","filename":"file2"},{"photo_id":"1391613356","filename":"file4"},{"photo_id":"1391613350","filename":"file1"},{"photo_id":"1391613346","filename":"file0"},{"photo_id":"1391613354","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613356":["hashtag1","hashtag2"]},{"1391613358":["hashtag1","hashtag2"]},{"1391613352":["hashtag1","hashtag2"]},{"1391613346":["hashtag1","hashtag2"]},{"1391613354":["hashtag1","hashtag2"]},{"1391613350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613356, 1391613358, 1391613352, 1391613346, 1391613354, 1391613350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29751110076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:36:42.489901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_30_2768.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_32_2802.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_35_2717.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_39_3694.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_44_2657.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_50_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_30_2768.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_32_2802.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_35_2717.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_39_3694.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_44_2657.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_50_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613374","1391613410","1391613412","1391613406","1391613378","1391613417"],"photo_ids_order":["1391613374","1391613378","1391613406","1391613410","1391613412","1391613417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03007530ab885e9a8615cc782777c891.jpg","text":"TemporaryFile(/tmp/multipartBody3635179199240070526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_30_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75d8d6e8b1f2244913974350a703960a.jpg","text":"TemporaryFile(/tmp/multipartBody7270112429425822267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_39_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a631bac6bf726b6a351cd69c78b5c260.jpg","text":"TemporaryFile(/tmp/multipartBody3787344559064634280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_44_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3096143b2884bb430854ffeca3be2cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5923441126874450257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_35_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc79352002ebefbb76a649f321dc861f.jpg","text":"TemporaryFile(/tmp/multipartBody3315362654385687698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_32_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a12032aff93f1b68efca9ff2ec851c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3185630299732695728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993463838,"filename":"image_30102025_02_51_50_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613406","file1":"1391613378","file0":"1391613374","file4":"1391613412","file5":"1391613417","file3":"1391613410"},"map_files_photo_id_array":[{"photo_id":"1391613417","filename":"file5"},{"photo_id":"1391613406","filename":"file2"},{"photo_id":"1391613412","filename":"file4"},{"photo_id":"1391613378","filename":"file1"},{"photo_id":"1391613374","filename":"file0"},{"photo_id":"1391613410","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613374":["hashtag1","hashtag2"]},{"1391613410":["hashtag1","hashtag2"]},{"1391613412":["hashtag1","hashtag2"]},{"1391613406":["hashtag1","hashtag2"]},{"1391613378":["hashtag1","hashtag2"]},{"1391613417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613374, 1391613410, 1391613412, 1391613406, 1391613378, 1391613417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.619404792785645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:37:22.667208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_53_2560.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_56_2909.jpg', '/home/pi/Desktop/images/30102025/02/51/image_30102025_02_52_00_3636.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_02_2857.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_05_2688.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_09_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_53_2560.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_51_56_2909.jpg
/home/pi/Desktop/images/30102025/02/51/image_30102025_02_52_00_3636.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_02_2857.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_05_2688.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_09_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613434","1391613439","1391613429","1391613423","1391613426","1391613443"],"photo_ids_order":["1391613423","1391613426","1391613429","1391613434","1391613439","1391613443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4e631bef137b29f271cb2dde2e0e87f.jpg","text":"TemporaryFile(/tmp/multipartBody4226424809009372917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_52_02_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10b55cd3ebd327e16fe6fd1fc4e35c34.jpg","text":"TemporaryFile(/tmp/multipartBody7976254675230304751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_52_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/172d33791696a3f96bbf1868175511c4.jpg","text":"TemporaryFile(/tmp/multipartBody6135718604346833942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_52_00_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d058c8c2cc5cad005217237fcf1a0f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6570995080306181157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_51_53_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f918dd5ca374a81a78048658aec2f25f.jpg","text":"TemporaryFile(/tmp/multipartBody2062829802804515771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_51_56_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d61778b8e131feac250883a9964c900.jpg","text":"TemporaryFile(/tmp/multipartBody4945362976253306640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993505589,"filename":"image_30102025_02_52_09_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613429","file1":"1391613426","file0":"1391613423","file4":"1391613439","file5":"1391613443","file3":"1391613434"},"map_files_photo_id_array":[{"photo_id":"1391613443","filename":"file5"},{"photo_id":"1391613429","filename":"file2"},{"photo_id":"1391613439","filename":"file4"},{"photo_id":"1391613426","filename":"file1"},{"photo_id":"1391613423","filename":"file0"},{"photo_id":"1391613434","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613434":["hashtag1","hashtag2"]},{"1391613439":["hashtag1","hashtag2"]},{"1391613429":["hashtag1","hashtag2"]},{"1391613423":["hashtag1","hashtag2"]},{"1391613426":["hashtag1","hashtag2"]},{"1391613443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613434, 1391613439, 1391613429, 1391613423, 1391613426, 1391613443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.127570152282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:38:03.089291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_11_2617.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_14_2568.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_18_3852.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_20_2607.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_26_2755.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_29_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_11_2617.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_14_2568.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_18_3852.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_20_2607.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_26_2755.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_29_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391613455","1391613457","1391613451","1391613465","1391613459","1391613462"],"photo_ids_order":["1391613451","1391613455","1391613457","1391613459","1391613462","1391613465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e06857905f4084ac798b9b6dd4598ee.jpg","text":"TemporaryFile(/tmp/multipartBody1173804484261875334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_14_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a4e881077c599c77437ed8b1f950c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4286440755189706318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_18_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37326e805569bbd1b50c71073fa1d170.jpg","text":"TemporaryFile(/tmp/multipartBody3405743047558265120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_11_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89f5f5d56a2d86eb849615e77fc29ede.jpg","text":"TemporaryFile(/tmp/multipartBody2809364845691509860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_29_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7eb5e1fe365fc12a8256dbd929d23714.jpg","text":"TemporaryFile(/tmp/multipartBody2435667715910198061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_20_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d01a092309fc0797d5993b0f9924873.jpg","text":"TemporaryFile(/tmp/multipartBody4094336538080351602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993545533,"filename":"image_30102025_02_52_26_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613457","file1":"1391613455","file0":"1391613451","file4":"1391613462","file5":"1391613465","file3":"1391613459"},"map_files_photo_id_array":[{"photo_id":"1391613465","filename":"file5"},{"photo_id":"1391613457","filename":"file2"},{"photo_id":"1391613462","filename":"file4"},{"photo_id":"1391613455","filename":"file1"},{"photo_id":"1391613451","filename":"file0"},{"photo_id":"1391613459","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613455":["hashtag1","hashtag2"]},{"1391613457":["hashtag1","hashtag2"]},{"1391613451":["hashtag1","hashtag2"]},{"1391613465":["hashtag1","hashtag2"]},{"1391613459":["hashtag1","hashtag2"]},{"1391613462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613455, 1391613457, 1391613451, 1391613465, 1391613459, 1391613462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.62092137336731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:39:03.279331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_32_2622.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_41_2725.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_44_2604.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_48_3713.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_53_2732.jpg', '/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_57_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_32_2622.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_41_2725.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_44_2604.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_48_3713.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_53_2732.jpg
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_57_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613499","1391613495","1391613502","1391613492","1391613489","1391613491"],"photo_ids_order":["1391613489","1391613491","1391613492","1391613495","1391613499","1391613502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d809cef97e600dea6beb15a2ece5ced9.jpg","text":"TemporaryFile(/tmp/multipartBody6994298087713788859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_53_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fbcd6f2bd3fd49a30a39611a4ba9d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8701864341172455929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_48_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42b9d6e67704a81b9563692e10cdb1ed.jpg","text":"TemporaryFile(/tmp/multipartBody3638210388792534677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_57_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536d63e4cc45f0aabdfd33298fc7cdce.jpg","text":"TemporaryFile(/tmp/multipartBody6784180301411202401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_44_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/608bcdf7cd7d9655da67de43cd3e84b3.jpg","text":"TemporaryFile(/tmp/multipartBody4716704947287854801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_32_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b26068e8845347c82a0c98fdadc31aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8490850252735276282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993605711,"filename":"image_30102025_02_52_41_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613492","file1":"1391613491","file0":"1391613489","file4":"1391613499","file5":"1391613502","file3":"1391613495"},"map_files_photo_id_array":[{"photo_id":"1391613502","filename":"file5"},{"photo_id":"1391613492","filename":"file2"},{"photo_id":"1391613499","filename":"file4"},{"photo_id":"1391613491","filename":"file1"},{"photo_id":"1391613489","filename":"file0"},{"photo_id":"1391613495","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613499":["hashtag1","hashtag2"]},{"1391613495":["hashtag1","hashtag2"]},{"1391613502":["hashtag1","hashtag2"]},{"1391613492":["hashtag1","hashtag2"]},{"1391613489":["hashtag1","hashtag2"]},{"1391613491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613499, 1391613495, 1391613502, 1391613492, 1391613489, 1391613491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.330475091934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:39:42.707504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_59_2697.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_02_2714.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_05_3491.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_08_2670.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_12_3581.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_14_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/52/image_30102025_02_52_59_2697.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_02_2714.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_05_3491.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_08_2670.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_12_3581.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_14_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613524","1391613527","1391613513","1391613522","1391613516","1391613519"],"photo_ids_order":["1391613513","1391613516","1391613519","1391613522","1391613524","1391613527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a85c05827a2e6df45526181176b41b36.jpg","text":"TemporaryFile(/tmp/multipartBody8865511393098462058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_53_12_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fca841dd284d92f9c43295bf006d0513.jpg","text":"TemporaryFile(/tmp/multipartBody4849639816573488016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_53_14_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/453a31c4140329df713081e9eea34822.jpg","text":"TemporaryFile(/tmp/multipartBody4732848337592215808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_52_59_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2266d1871101b206ec462bf99feddb77.jpg","text":"TemporaryFile(/tmp/multipartBody126364023926453935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_53_08_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93aee8dbc534eccb9e81ed23c6c209e4.jpg","text":"TemporaryFile(/tmp/multipartBody3372725398323292281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_53_02_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32e3838b5b8c1d7b7b40f88b98251f60.jpg","text":"TemporaryFile(/tmp/multipartBody3854998980540453542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993644060,"filename":"image_30102025_02_53_05_3491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613519","file1":"1391613516","file0":"1391613513","file4":"1391613524","file5":"1391613527","file3":"1391613522"},"map_files_photo_id_array":[{"photo_id":"1391613527","filename":"file5"},{"photo_id":"1391613519","filename":"file2"},{"photo_id":"1391613524","filename":"file4"},{"photo_id":"1391613516","filename":"file1"},{"photo_id":"1391613513","filename":"file0"},{"photo_id":"1391613522","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613524":["hashtag1","hashtag2"]},{"1391613527":["hashtag1","hashtag2"]},{"1391613513":["hashtag1","hashtag2"]},{"1391613522":["hashtag1","hashtag2"]},{"1391613516":["hashtag1","hashtag2"]},{"1391613519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613524, 1391613527, 1391613513, 1391613522, 1391613516, 1391613519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59889316558838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:40:21.851892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_21_3677.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_23_2707.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_26_2668.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_32_2667.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_38_2657.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_41_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_21_3677.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_23_2707.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_26_2668.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_32_2667.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_38_2657.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_41_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391613722","1391613638","1391613595","1391613814","1391613765","1391613680"],"photo_ids_order":["1391613595","1391613638","1391613680","1391613722","1391613765","1391613814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f796986f59dca1ee73bc41dc3d36a978.jpg","text":"TemporaryFile(/tmp/multipartBody7176568545088260375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e98496d9430c4c56aee1157fd45948e0.jpg","text":"TemporaryFile(/tmp/multipartBody5091753958750408788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f7cd47472d3f040f824d1bdc823f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6786033417559104489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_21_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/413038e8a1f84104d759e0f54f96607c.jpg","text":"TemporaryFile(/tmp/multipartBody9030188535686173483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_41_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/165b158c80819818c863b7d8aef7b8af.jpg","text":"TemporaryFile(/tmp/multipartBody187614929049794584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_38_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae3f49504c29331ac8ed6030760252cc.jpg","text":"TemporaryFile(/tmp/multipartBody6595179237852183693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993684786,"filename":"image_30102025_02_53_26_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391613680","file1":"1391613638","file0":"1391613595","file4":"1391613765","file5":"1391613814","file3":"1391613722"},"map_files_photo_id_array":[{"photo_id":"1391613814","filename":"file5"},{"photo_id":"1391613680","filename":"file2"},{"photo_id":"1391613765","filename":"file4"},{"photo_id":"1391613638","filename":"file1"},{"photo_id":"1391613595","filename":"file0"},{"photo_id":"1391613722","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391613722":["hashtag1","hashtag2"]},{"1391613638":["hashtag1","hashtag2"]},{"1391613595":["hashtag1","hashtag2"]},{"1391613814":["hashtag1","hashtag2"]},{"1391613765":["hashtag1","hashtag2"]},{"1391613680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391613722, 1391613638, 1391613595, 1391613814, 1391613765, 1391613680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88162970542908 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:41:22.043861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_44_2693.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_47_2756.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_50_2792.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_53_3610.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_56_2669.jpg', '/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_59_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_44_2693.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_47_2756.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_50_2792.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_53_3610.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_56_2669.jpg
/home/pi/Desktop/images/30102025/02/53/image_30102025_02_53_59_2897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391614202","1391614149","1391614206","1391614211","1391614214","1391614198"],"photo_ids_order":["1391614149","1391614198","1391614202","1391614206","1391614211","1391614214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/018f8cf7e34101e26b572eea3c5ccde5.jpg","text":"TemporaryFile(/tmp/multipartBody2320744722992873844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_50_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd76a3810b4b1336ca32322c54dfc80f.jpg","text":"TemporaryFile(/tmp/multipartBody315504973136067983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45ac2a3dc9f7717965d48d75e1f2e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody4109041568882505345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_53_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae179e62c38c68d29292d7b414d4d90e.jpg","text":"TemporaryFile(/tmp/multipartBody6134705395704826772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_56_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8567fa594afbaf87b04a36181c295479.jpg","text":"TemporaryFile(/tmp/multipartBody4448149642696129671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_59_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/482f316e1f64036dd4a34426a9de3caa.jpg","text":"TemporaryFile(/tmp/multipartBody1527664361027691585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993745035,"filename":"image_30102025_02_53_47_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391614202","file1":"1391614198","file0":"1391614149","file4":"1391614211","file5":"1391614214","file3":"1391614206"},"map_files_photo_id_array":[{"photo_id":"1391614214","filename":"file5"},{"photo_id":"1391614202","filename":"file2"},{"photo_id":"1391614211","filename":"file4"},{"photo_id":"1391614198","filename":"file1"},{"photo_id":"1391614149","filename":"file0"},{"photo_id":"1391614206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391614202":["hashtag1","hashtag2"]},{"1391614149":["hashtag1","hashtag2"]},{"1391614206":["hashtag1","hashtag2"]},{"1391614211":["hashtag1","hashtag2"]},{"1391614214":["hashtag1","hashtag2"]},{"1391614198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391614202, 1391614149, 1391614206, 1391614211, 1391614214, 1391614198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.96407127380371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:42:22.301746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_02_3585.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_05_2800.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_14_2683.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_17_2721.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_23_3846.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_26_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_02_3585.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_05_2800.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_14_2683.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_17_2721.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_23_3846.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_26_2511.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.9219110012054443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:42:42.348333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_02_3585.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_05_2800.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_14_2683.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_17_2721.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_23_3846.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_26_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_02_3585.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_05_2800.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_14_2683.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_17_2721.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_23_3846.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_26_2511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391614486","1391614525","1391614446","1391614533","1391614529","1391614406"],"photo_ids_order":["1391614406","1391614446","1391614486","1391614525","1391614529","1391614533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8134cbf5c25934946fd606d43f9a231c.jpg","text":"TemporaryFile(/tmp/multipartBody552396495564463375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_14_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ba07044d74afaf5cec93358495df828.jpg","text":"TemporaryFile(/tmp/multipartBody1316334118431953320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_17_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bf2d1c4c927398dea1f09aea08b5cea.jpg","text":"TemporaryFile(/tmp/multipartBody6101950470292600324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_05_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e704110016b4f39116fefd839e1549b1.jpg","text":"TemporaryFile(/tmp/multipartBody2074565917590452303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_26_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a95268f78be8885ab12ec7a4bcbd5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8932928158551131149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_23_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19713490232bbcc8399ec60d79e041a6.jpg","text":"TemporaryFile(/tmp/multipartBody487761898904838652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993823582,"filename":"image_30102025_02_54_02_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391614486","file1":"1391614446","file0":"1391614406","file4":"1391614529","file5":"1391614533","file3":"1391614525"},"map_files_photo_id_array":[{"photo_id":"1391614533","filename":"file5"},{"photo_id":"1391614486","filename":"file2"},{"photo_id":"1391614529","filename":"file4"},{"photo_id":"1391614446","filename":"file1"},{"photo_id":"1391614406","filename":"file0"},{"photo_id":"1391614525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391614486":["hashtag1","hashtag2"]},{"1391614525":["hashtag1","hashtag2"]},{"1391614446":["hashtag1","hashtag2"]},{"1391614533":["hashtag1","hashtag2"]},{"1391614529":["hashtag1","hashtag2"]},{"1391614406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391614486, 1391614525, 1391614446, 1391614533, 1391614529, 1391614406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64071273803711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:43:22.607443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_29_2653.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_32_3587.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_39_3542.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_44_2769.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_50_2720.jpg', '/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_56_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_29_2653.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_32_3587.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_39_3542.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_44_2769.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_50_2720.jpg
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_56_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391614607","1391614648","1391614680","1391614734","1391614659","1391614725"],"photo_ids_order":["1391614607","1391614648","1391614659","1391614680","1391614725","1391614734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48dccb93ee767e8ec92f646fd18f7e88.jpg","text":"TemporaryFile(/tmp/multipartBody1085505172718071611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_29_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a93afbeb187f00aed60d1c34df8d0bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2826818276578495591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_32_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8e87a67679ef2d4d772bef521fedc36.jpg","text":"TemporaryFile(/tmp/multipartBody2166331285879344838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_44_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9de4215d7e3e7ebd34cd88828b8ad8a8.jpg","text":"TemporaryFile(/tmp/multipartBody181342669921774204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_56_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa219f45a80d964e193f032ccba7cd69.jpg","text":"TemporaryFile(/tmp/multipartBody7102074205417025062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_39_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ad322b336b510ddd6528e84e0aa4ada.jpg","text":"TemporaryFile(/tmp/multipartBody1409740863838384020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993865535,"filename":"image_30102025_02_54_50_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391614659","file1":"1391614648","file0":"1391614607","file4":"1391614725","file5":"1391614734","file3":"1391614680"},"map_files_photo_id_array":[{"photo_id":"1391614734","filename":"file5"},{"photo_id":"1391614659","filename":"file2"},{"photo_id":"1391614725","filename":"file4"},{"photo_id":"1391614648","filename":"file1"},{"photo_id":"1391614607","filename":"file0"},{"photo_id":"1391614680","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391614607":["hashtag1","hashtag2"]},{"1391614648":["hashtag1","hashtag2"]},{"1391614680":["hashtag1","hashtag2"]},{"1391614734":["hashtag1","hashtag2"]},{"1391614659":["hashtag1","hashtag2"]},{"1391614725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391614607, 1391614648, 1391614680, 1391614734, 1391614659, 1391614725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.377923250198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:44:03.307323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_59_2703.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_02_3743.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_05_2768.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_14_3577.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_17_2771.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_20_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/54/image_30102025_02_54_59_2703.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_02_3743.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_05_2768.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_14_3577.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_17_2771.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_20_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391614873","1391614774","1391614828","1391614785","1391614779","1391614782"],"photo_ids_order":["1391614774","1391614779","1391614782","1391614785","1391614828","1391614873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8faaf9d067d1df271ff125b17619e129.jpg","text":"TemporaryFile(/tmp/multipartBody4130889420797502396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_55_20_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bc8349163a12aa536736adf840ddca4.jpg","text":"TemporaryFile(/tmp/multipartBody6133614017489216552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_54_59_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8135aeffe3b3a43a03e1ae4c0db5b12f.jpg","text":"TemporaryFile(/tmp/multipartBody2914277877031587233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_55_17_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cf9ff7199589f2d87d773dd6cad49a9.jpg","text":"TemporaryFile(/tmp/multipartBody8205369491924154756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_55_14_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc6308763500fa746eb0782e98960a45.jpg","text":"TemporaryFile(/tmp/multipartBody2088537837492192570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_55_02_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be49b36a2652eeb5b6bdedd9c27affcc.jpg","text":"TemporaryFile(/tmp/multipartBody4092356393787104758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993905812,"filename":"image_30102025_02_55_05_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391614782","file1":"1391614779","file0":"1391614774","file4":"1391614828","file5":"1391614873","file3":"1391614785"},"map_files_photo_id_array":[{"photo_id":"1391614873","filename":"file5"},{"photo_id":"1391614782","filename":"file2"},{"photo_id":"1391614828","filename":"file4"},{"photo_id":"1391614779","filename":"file1"},{"photo_id":"1391614774","filename":"file0"},{"photo_id":"1391614785","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391614873":["hashtag1","hashtag2"]},{"1391614774":["hashtag1","hashtag2"]},{"1391614828":["hashtag1","hashtag2"]},{"1391614785":["hashtag1","hashtag2"]},{"1391614779":["hashtag1","hashtag2"]},{"1391614782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391614873, 1391614774, 1391614828, 1391614785, 1391614779, 1391614782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18393325805664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:44:42.702007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_23_2939.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_26_3619.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_29_2694.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_41_2631.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_44_2654.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_47_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_23_2939.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_26_3619.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_29_2694.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_41_2631.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_44_2654.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_47_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615029","1391615026","1391615022","1391615025","1391615019","1391615012"],"photo_ids_order":["1391615012","1391615019","1391615022","1391615025","1391615026","1391615029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2efe396f363199733003ca7d226cddf8.jpg","text":"TemporaryFile(/tmp/multipartBody2710133064941196602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_47_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5a96a4bd55264f16b7787771a08eafe.jpg","text":"TemporaryFile(/tmp/multipartBody4597018840008447044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_44_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f92b96a3dc6b1245e69ebe1748b7995a.jpg","text":"TemporaryFile(/tmp/multipartBody1884637772213014698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_29_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fbbfbc96cc22493aa345b84b8d1e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody2055566416785338599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_41_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21174b7fadec2efe61ad0394095bb1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2245688649777375653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_26_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a91a272c99eb4ce20a8a9c47454f5b00.jpg","text":"TemporaryFile(/tmp/multipartBody2354098562500049568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993944044,"filename":"image_30102025_02_55_23_2939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615022","file1":"1391615019","file0":"1391615012","file4":"1391615026","file5":"1391615029","file3":"1391615025"},"map_files_photo_id_array":[{"photo_id":"1391615029","filename":"file5"},{"photo_id":"1391615022","filename":"file2"},{"photo_id":"1391615026","filename":"file4"},{"photo_id":"1391615019","filename":"file1"},{"photo_id":"1391615012","filename":"file0"},{"photo_id":"1391615025","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615029":["hashtag1","hashtag2"]},{"1391615026":["hashtag1","hashtag2"]},{"1391615022":["hashtag1","hashtag2"]},{"1391615025":["hashtag1","hashtag2"]},{"1391615019":["hashtag1","hashtag2"]},{"1391615012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615029, 1391615026, 1391615022, 1391615025, 1391615019, 1391615012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8790442943573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:45:21.822803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_50_2657.jpg', '/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_59_2645.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_02_2756.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_05_3627.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_08_2826.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_14_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_50_2657.jpg
/home/pi/Desktop/images/30102025/02/55/image_30102025_02_55_59_2645.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_02_2756.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_05_3627.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_08_2826.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_14_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615061","1391615049","1391615043","1391615042","1391615039","1391615047"],"photo_ids_order":["1391615039","1391615042","1391615043","1391615047","1391615049","1391615061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54de51c4d8deb7db703fd8c2740ffa03.jpg","text":"TemporaryFile(/tmp/multipartBody4760308228320372764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_56_14_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fddb1f603414d7f0a8718cd186b5c660.jpg","text":"TemporaryFile(/tmp/multipartBody7914730615338314683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_56_08_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed1cfea600746c40a47ddee8147d3c41.jpg","text":"TemporaryFile(/tmp/multipartBody1783011073517532109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_56_02_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb63d65ad1dac9e27e347fae0d825a9d.jpg","text":"TemporaryFile(/tmp/multipartBody9185867620734481436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_55_59_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13dd76527df73b06867ea0cf3f1fca02.jpg","text":"TemporaryFile(/tmp/multipartBody377161494177829376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_55_50_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4957d5d53d0c812d0b1fe8e64940f21a.jpg","text":"TemporaryFile(/tmp/multipartBody1562520333014486923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761993984771,"filename":"image_30102025_02_56_05_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615043","file1":"1391615042","file0":"1391615039","file4":"1391615049","file5":"1391615061","file3":"1391615047"},"map_files_photo_id_array":[{"photo_id":"1391615061","filename":"file5"},{"photo_id":"1391615043","filename":"file2"},{"photo_id":"1391615049","filename":"file4"},{"photo_id":"1391615042","filename":"file1"},{"photo_id":"1391615039","filename":"file0"},{"photo_id":"1391615047","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615061":["hashtag1","hashtag2"]},{"1391615049":["hashtag1","hashtag2"]},{"1391615043":["hashtag1","hashtag2"]},{"1391615042":["hashtag1","hashtag2"]},{"1391615039":["hashtag1","hashtag2"]},{"1391615047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615061, 1391615049, 1391615043, 1391615042, 1391615039, 1391615047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64558935165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:46:02.496465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_17_2954.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_20_2543.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_22_2661.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_26_3798.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_29_2718.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_32_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_17_2954.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_20_2543.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_22_2661.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_26_3798.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_29_2718.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_32_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615196","1391615113","1391615076","1391615079","1391615154","1391615071"],"photo_ids_order":["1391615071","1391615076","1391615079","1391615113","1391615154","1391615196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be2f793e3b8dd77d32bd172f8296658c.jpg","text":"TemporaryFile(/tmp/multipartBody4279271098635748390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_32_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2af99b07ef8ed0fe95042c6465007822.jpg","text":"TemporaryFile(/tmp/multipartBody4080979199301363072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_26_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1962d513b7c74f617eb9d6fcca64ba61.jpg","text":"TemporaryFile(/tmp/multipartBody8251039811861906285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_20_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56413d5d7c22976fa38a7ad27dbf86ee.jpg","text":"TemporaryFile(/tmp/multipartBody1822272831305356594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b183890a119b6cdaa55333a8bdfd3c4.jpg","text":"TemporaryFile(/tmp/multipartBody6240865849118497403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_29_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae06306b825b6b7f5a0065445f450945.jpg","text":"TemporaryFile(/tmp/multipartBody1044196662302757566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994024882,"filename":"image_30102025_02_56_17_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615079","file1":"1391615076","file0":"1391615071","file4":"1391615154","file5":"1391615196","file3":"1391615113"},"map_files_photo_id_array":[{"photo_id":"1391615196","filename":"file5"},{"photo_id":"1391615079","filename":"file2"},{"photo_id":"1391615154","filename":"file4"},{"photo_id":"1391615076","filename":"file1"},{"photo_id":"1391615071","filename":"file0"},{"photo_id":"1391615113","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615196":["hashtag1","hashtag2"]},{"1391615113":["hashtag1","hashtag2"]},{"1391615076":["hashtag1","hashtag2"]},{"1391615079":["hashtag1","hashtag2"]},{"1391615154":["hashtag1","hashtag2"]},{"1391615071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615196, 1391615113, 1391615076, 1391615079, 1391615154, 1391615071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39366698265076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:46:42.009312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_38_3550.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_41_2861.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_44_2582.jpg', '/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_50_3651.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_11_3769.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_14_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_38_3550.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_41_2861.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_44_2582.jpg
/home/pi/Desktop/images/30102025/02/56/image_30102025_02_56_50_3651.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_11_3769.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_14_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615394","1391615396","1391615336","1391615389","1391615377","1391615392"],"photo_ids_order":["1391615336","1391615377","1391615389","1391615392","1391615394","1391615396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab7ad634c6dd44c443726d710581ff65.jpg","text":"TemporaryFile(/tmp/multipartBody77378454805977567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_57_11_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9e791709bb27949c10c6f1ba50405f1.jpg","text":"TemporaryFile(/tmp/multipartBody4809757010024633550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_57_14_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df5cb856c45630565a5dd9c3d10e6993.jpg","text":"TemporaryFile(/tmp/multipartBody5937595909669937702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_56_38_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e91cc1725cc24a34e04ff0ba5e267ade.jpg","text":"TemporaryFile(/tmp/multipartBody1190146783614100451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_56_44_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29836435a38fce3d28490248e2998bc6.jpg","text":"TemporaryFile(/tmp/multipartBody180843687053678392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_56_41_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb61db78a179e6b9a221fe919753f9be.jpg","text":"TemporaryFile(/tmp/multipartBody7138026951523604612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994063351,"filename":"image_30102025_02_56_50_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615389","file1":"1391615377","file0":"1391615336","file4":"1391615394","file5":"1391615396","file3":"1391615392"},"map_files_photo_id_array":[{"photo_id":"1391615396","filename":"file5"},{"photo_id":"1391615389","filename":"file2"},{"photo_id":"1391615394","filename":"file4"},{"photo_id":"1391615377","filename":"file1"},{"photo_id":"1391615336","filename":"file0"},{"photo_id":"1391615392","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615394":["hashtag1","hashtag2"]},{"1391615396":["hashtag1","hashtag2"]},{"1391615336":["hashtag1","hashtag2"]},{"1391615389":["hashtag1","hashtag2"]},{"1391615377":["hashtag1","hashtag2"]},{"1391615392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615394, 1391615396, 1391615336, 1391615389, 1391615377, 1391615392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.954344272613525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:47:22.123427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_16_2649.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_25_2696.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_29_3684.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_32_2619.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_34_2625.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_41_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_16_2649.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_25_2696.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_29_3684.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_32_2619.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_34_2625.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_41_2883.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615413","1391615407","1391615503","1391615404","1391615444","1391615426"],"photo_ids_order":["1391615404","1391615407","1391615413","1391615426","1391615444","1391615503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e1c3740e78c49656de90e7b547d88e9.jpg","text":"TemporaryFile(/tmp/multipartBody6093339963492043649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_29_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0aa8aef729bcb504414bf6f22017f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8101297633629874062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e00e62b7fdbf9d731828624d9a45b24.jpg","text":"TemporaryFile(/tmp/multipartBody2368882302723976754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_41_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df3b8089684fe24ba9bc8226cba72f01.jpg","text":"TemporaryFile(/tmp/multipartBody6579508789110714913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_16_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/974e44f3b2aa7a818dbac11693d37cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2170542619419924935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03a66904bed052ebcd21108b33ab9508.jpg","text":"TemporaryFile(/tmp/multipartBody3501253202300028288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994105084,"filename":"image_30102025_02_57_32_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615413","file1":"1391615407","file0":"1391615404","file4":"1391615444","file5":"1391615503","file3":"1391615426"},"map_files_photo_id_array":[{"photo_id":"1391615503","filename":"file5"},{"photo_id":"1391615413","filename":"file2"},{"photo_id":"1391615444","filename":"file4"},{"photo_id":"1391615407","filename":"file1"},{"photo_id":"1391615404","filename":"file0"},{"photo_id":"1391615426","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615413":["hashtag1","hashtag2"]},{"1391615407":["hashtag1","hashtag2"]},{"1391615503":["hashtag1","hashtag2"]},{"1391615404":["hashtag1","hashtag2"]},{"1391615444":["hashtag1","hashtag2"]},{"1391615426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615413, 1391615407, 1391615503, 1391615404, 1391615444, 1391615426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11800289154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:48:02.738421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_44_2844.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_50_3572.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_53_2674.jpg', '/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_59_3529.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_02_2685.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_04_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_44_2844.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_50_3572.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_53_2674.jpg
/home/pi/Desktop/images/30102025/02/57/image_30102025_02_57_59_3529.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_02_2685.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_04_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615842","1391615685","1391615730","1391615774","1391615837","1391615816"],"photo_ids_order":["1391615685","1391615730","1391615774","1391615816","1391615837","1391615842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b25ab5d4ae42911a55bc474b1613456e.jpg","text":"TemporaryFile(/tmp/multipartBody2880335872260308444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_58_04_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b58d8b9422bcbd9264ffee2151d26c9.jpg","text":"TemporaryFile(/tmp/multipartBody2221283016987575567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_57_44_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b7fe17c20f520caec9ee452fbe6a7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5113036509773230156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_57_50_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99ede1372b8e7acf2ed9de6af9cbec27.jpg","text":"TemporaryFile(/tmp/multipartBody68983895803624613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_57_53_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dfce639ba86c383ebcd4f8d2d80fbc2.jpg","text":"TemporaryFile(/tmp/multipartBody924770704862631663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_58_02_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d81caf0e574cee28639730abf393bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4668024563572583113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994145116,"filename":"image_30102025_02_57_59_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615774","file1":"1391615730","file0":"1391615685","file4":"1391615837","file5":"1391615842","file3":"1391615816"},"map_files_photo_id_array":[{"photo_id":"1391615842","filename":"file5"},{"photo_id":"1391615774","filename":"file2"},{"photo_id":"1391615837","filename":"file4"},{"photo_id":"1391615730","filename":"file1"},{"photo_id":"1391615685","filename":"file0"},{"photo_id":"1391615816","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615842":["hashtag1","hashtag2"]},{"1391615685":["hashtag1","hashtag2"]},{"1391615730":["hashtag1","hashtag2"]},{"1391615774":["hashtag1","hashtag2"]},{"1391615837":["hashtag1","hashtag2"]},{"1391615816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615842, 1391615685, 1391615730, 1391615774, 1391615837, 1391615816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25424242019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:48:42.253792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_11_2612.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_14_3707.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_20_2775.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_26_3605.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_40_2881.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_48_7303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_11_2612.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_14_3707.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_20_2775.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_26_3605.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_40_2881.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_48_7303.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391615964","1391616000","1391615856","1391615924","1391615884","1391615860"],"photo_ids_order":["1391615856","1391615860","1391615884","1391615924","1391615964","1391616000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51bfc82ccdffee5acf4f1255dea699af.jpg","text":"TemporaryFile(/tmp/multipartBody5365511975142992490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_40_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5844fb2bdca52435967b5b5fd6fb70fc.jpg","text":"TemporaryFile(/tmp/multipartBody4981831463345618045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_48_7303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68d7b898b5aec0ef8e22a011c9a938de.jpg","text":"TemporaryFile(/tmp/multipartBody4703686668398778895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_11_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536385afb4c003b240b01e7c3961d2de.jpg","text":"TemporaryFile(/tmp/multipartBody5498219439801842085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_26_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31bc08add6bb96d73e66a826f6e6ebc8.jpg","text":"TemporaryFile(/tmp/multipartBody6457375458591921355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_20_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21c8214254a7b4fc2942ecbda7899f12.jpg","text":"TemporaryFile(/tmp/multipartBody7621082648104441241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994183664,"filename":"image_30102025_02_58_14_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391615884","file1":"1391615860","file0":"1391615856","file4":"1391615964","file5":"1391616000","file3":"1391615924"},"map_files_photo_id_array":[{"photo_id":"1391616000","filename":"file5"},{"photo_id":"1391615884","filename":"file2"},{"photo_id":"1391615964","filename":"file4"},{"photo_id":"1391615860","filename":"file1"},{"photo_id":"1391615856","filename":"file0"},{"photo_id":"1391615924","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391615964":["hashtag1","hashtag2"]},{"1391616000":["hashtag1","hashtag2"]},{"1391615856":["hashtag1","hashtag2"]},{"1391615924":["hashtag1","hashtag2"]},{"1391615884":["hashtag1","hashtag2"]},{"1391615860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391615964, 1391616000, 1391615856, 1391615924, 1391615884, 1391615860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.539482831954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:49:22.388013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_49_1754.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_51_1662.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_54_2551.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_55_1602.jpg', '/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_59_3726.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_05_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_49_1754.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_51_1662.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_54_2551.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_55_1602.jpg
/home/pi/Desktop/images/30102025/02/58/image_30102025_02_58_59_3726.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_05_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391616381","1391616395","1391616327","1391616356","1391616376","1391616250"],"photo_ids_order":["1391616250","1391616327","1391616356","1391616376","1391616381","1391616395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d19a4961daf75dcffff26dde035fa24a.jpg","text":"TemporaryFile(/tmp/multipartBody4501348773657201520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_58_59_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43e83b086c4e4b69064211944ef15a02.jpg","text":"TemporaryFile(/tmp/multipartBody4375214070344576306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_59_05_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66359751706e9b6b2c823144a6e7815a.jpg","text":"TemporaryFile(/tmp/multipartBody5991975563784883793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_58_51_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc46d8821b7bb3139b4985cdacd4decf.jpg","text":"TemporaryFile(/tmp/multipartBody8259931311880630629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_58_54_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79265b5f54e4d6cd08774ba59ed35de5.jpg","text":"TemporaryFile(/tmp/multipartBody1127685946907443968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_58_55_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa38368f04ed5197ca198265e2c1f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7302100306603580974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994225338,"filename":"image_30102025_02_58_49_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391616356","file1":"1391616327","file0":"1391616250","file4":"1391616381","file5":"1391616395","file3":"1391616376"},"map_files_photo_id_array":[{"photo_id":"1391616395","filename":"file5"},{"photo_id":"1391616356","filename":"file2"},{"photo_id":"1391616381","filename":"file4"},{"photo_id":"1391616327","filename":"file1"},{"photo_id":"1391616250","filename":"file0"},{"photo_id":"1391616376","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391616381":["hashtag1","hashtag2"]},{"1391616395":["hashtag1","hashtag2"]},{"1391616327":["hashtag1","hashtag2"]},{"1391616356":["hashtag1","hashtag2"]},{"1391616376":["hashtag1","hashtag2"]},{"1391616250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391616381, 1391616395, 1391616327, 1391616356, 1391616376, 1391616250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.904704332351685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:50:22.555791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_08_2586.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_10_2680.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_15_4965.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_19_2595.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_22_2686.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_26_3819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_08_2586.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_10_2680.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_15_4965.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_19_2595.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_22_2686.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_26_3819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391616582","1391616498","1391616626","1391616449","1391616460","1391616538"],"photo_ids_order":["1391616449","1391616460","1391616498","1391616538","1391616582","1391616626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb2197bc9f3d4774a79448bd1b6e5b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7414666539544542370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_22_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4c4cc0041755eafa5b4bda63466b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1925065089471913412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_15_4965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a90c3be75cf5797406591214a0a15066.jpg","text":"TemporaryFile(/tmp/multipartBody5568710930130923784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_26_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce9d58a15cbc7dc012954af2c8a3b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4735986318407956188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_08_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd2f7467f04132319ce71fdb35e49e36.jpg","text":"TemporaryFile(/tmp/multipartBody4712972374930316826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_10_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b44e09c5616f922f3a463a6eb0f656f.jpg","text":"TemporaryFile(/tmp/multipartBody8510588732704836711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994285145,"filename":"image_30102025_02_59_19_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391616498","file1":"1391616460","file0":"1391616449","file4":"1391616582","file5":"1391616626","file3":"1391616538"},"map_files_photo_id_array":[{"photo_id":"1391616626","filename":"file5"},{"photo_id":"1391616498","filename":"file2"},{"photo_id":"1391616582","filename":"file4"},{"photo_id":"1391616460","filename":"file1"},{"photo_id":"1391616449","filename":"file0"},{"photo_id":"1391616538","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391616582":["hashtag1","hashtag2"]},{"1391616498":["hashtag1","hashtag2"]},{"1391616626":["hashtag1","hashtag2"]},{"1391616449":["hashtag1","hashtag2"]},{"1391616460":["hashtag1","hashtag2"]},{"1391616538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391616582, 1391616498, 1391616626, 1391616449, 1391616460, 1391616538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57460904121399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:51:03.385078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_29_2663.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_31_2682.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_35_3728.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_38_2796.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_40_2583.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_44_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_29_2663.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_31_2682.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_35_3728.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_38_2796.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_40_2583.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_44_3793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391616663","1391616671","1391616668","1391616665","1391616659","1391616647"],"photo_ids_order":["1391616647","1391616659","1391616663","1391616665","1391616668","1391616671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/764c754a27fa779767fbd4d840b35dae.jpg","text":"TemporaryFile(/tmp/multipartBody8543081561993277923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_35_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bab7071dfa65095e8eee6df8401ffea.jpg","text":"TemporaryFile(/tmp/multipartBody5009580257026738069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_44_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33b508c0c98e3f0b6624caeb25d5f002.jpg","text":"TemporaryFile(/tmp/multipartBody4325736525790985224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_40_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/749e9f71ad27bcfcca827366208484ba.jpg","text":"TemporaryFile(/tmp/multipartBody5896100159343811341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_38_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a942c8a2ca480cb470a000b11212434a.jpg","text":"TemporaryFile(/tmp/multipartBody6144176160490524642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_31_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5970d635ffe1ea007a8f07e6fa609343.jpg","text":"TemporaryFile(/tmp/multipartBody3418105680482789530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994325857,"filename":"image_30102025_02_59_29_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391616663","file1":"1391616659","file0":"1391616647","file4":"1391616668","file5":"1391616671","file3":"1391616665"},"map_files_photo_id_array":[{"photo_id":"1391616671","filename":"file5"},{"photo_id":"1391616663","filename":"file2"},{"photo_id":"1391616668","filename":"file4"},{"photo_id":"1391616659","filename":"file1"},{"photo_id":"1391616647","filename":"file0"},{"photo_id":"1391616665","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391616663":["hashtag1","hashtag2"]},{"1391616671":["hashtag1","hashtag2"]},{"1391616668":["hashtag1","hashtag2"]},{"1391616665":["hashtag1","hashtag2"]},{"1391616659":["hashtag1","hashtag2"]},{"1391616647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391616663, 1391616671, 1391616668, 1391616665, 1391616659, 1391616647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98643612861633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:51:42.850181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_46_1871.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_56_9526.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_59_1553.jpg', '/home/pi/Desktop/images/30102025/02/59/image_30102025_03_00_01_1783.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_18_4380.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_32_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_46_1871.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_56_9526.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_02_59_59_1553.jpg
/home/pi/Desktop/images/30102025/02/59/image_30102025_03_00_01_1783.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_18_4380.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_32_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617029","1391616906","1391616695","1391616683","1391617123","1391616784"],"photo_ids_order":["1391616683","1391616695","1391616784","1391616906","1391617029","1391617123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66f7fb2003a576712e315e7d52e5815a.jpg","text":"TemporaryFile(/tmp/multipartBody1803878490364031692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_03_00_18_4380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f64641a7b14b776c0f2122dd5e924cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4095908474329941763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_03_00_01_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44dacb1910f69d2c23270b2c5e1806b9.jpg","text":"TemporaryFile(/tmp/multipartBody4197814055499938417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_02_59_56_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a158774ee0dee2bc60e69d5b40aadddc.jpg","text":"TemporaryFile(/tmp/multipartBody8084655355109749325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_02_59_46_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7228298bbb4da4bcd0152ef4743c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody2689169442686248883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_03_00_32_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3a800753f64eaf83bc7a22e4ab68568.jpg","text":"TemporaryFile(/tmp/multipartBody4339680034043896076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994364203,"filename":"image_30102025_02_59_59_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391616784","file1":"1391616695","file0":"1391616683","file4":"1391617029","file5":"1391617123","file3":"1391616906"},"map_files_photo_id_array":[{"photo_id":"1391617123","filename":"file5"},{"photo_id":"1391616784","filename":"file2"},{"photo_id":"1391617029","filename":"file4"},{"photo_id":"1391616695","filename":"file1"},{"photo_id":"1391616683","filename":"file0"},{"photo_id":"1391616906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617029":["hashtag1","hashtag2"]},{"1391616906":["hashtag1","hashtag2"]},{"1391616695":["hashtag1","hashtag2"]},{"1391616683":["hashtag1","hashtag2"]},{"1391617123":["hashtag1","hashtag2"]},{"1391616784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617029, 1391616906, 1391616695, 1391616683, 1391617123, 1391616784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88023328781128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:52:22.024221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_35_2595.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_37_2569.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_41_4406.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_44_2961.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_53_3521.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_57_4598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_35_2595.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_37_2569.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_41_4406.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_44_2961.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_53_3521.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_57_4598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.0202977657318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:52:42.028398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_35_2595.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_37_2569.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_41_4406.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_44_2961.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_53_3521.jpg', '/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_57_4598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_35_2595.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_37_2569.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_41_4406.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_44_2961.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_53_3521.jpg
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_57_4598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617548","1391617592","1391617559","1391617610","1391617607","1391617498"],"photo_ids_order":["1391617498","1391617548","1391617559","1391617592","1391617607","1391617610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e95a13b7815d790ce426dc625802dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6826992349665763032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_37_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/828e2ef97e5329ebbe30f65547027e39.jpg","text":"TemporaryFile(/tmp/multipartBody8270886249899595258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_44_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07a90d3e664eb1efac426d8885cc1b56.jpg","text":"TemporaryFile(/tmp/multipartBody7334965312362057974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_41_4406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/447c0cb09c86e5d3bafbd8905c876b3c.jpg","text":"TemporaryFile(/tmp/multipartBody5958482476927302518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_57_4598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a43d80fcf87f10320161dc00b2b281c9.jpg","text":"TemporaryFile(/tmp/multipartBody2300128787307762425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_53_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acd18afe6c0c06330bb14280dcc16199.jpg","text":"TemporaryFile(/tmp/multipartBody1411500138515069405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994423254,"filename":"image_30102025_03_00_35_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391617559","file1":"1391617548","file0":"1391617498","file4":"1391617607","file5":"1391617610","file3":"1391617592"},"map_files_photo_id_array":[{"photo_id":"1391617610","filename":"file5"},{"photo_id":"1391617559","filename":"file2"},{"photo_id":"1391617607","filename":"file4"},{"photo_id":"1391617548","filename":"file1"},{"photo_id":"1391617498","filename":"file0"},{"photo_id":"1391617592","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617548":["hashtag1","hashtag2"]},{"1391617592":["hashtag1","hashtag2"]},{"1391617559":["hashtag1","hashtag2"]},{"1391617610":["hashtag1","hashtag2"]},{"1391617607":["hashtag1","hashtag2"]},{"1391617498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617548, 1391617592, 1391617559, 1391617610, 1391617607, 1391617498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86612319946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:53:22.225082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_59_1635.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_02_2699.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_04_2569.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_11_3607.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_13_2556.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_29_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/00/image_30102025_03_00_59_1635.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_02_2699.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_04_2569.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_11_3607.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_13_2556.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_29_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617731","1391617719","1391617728","1391617739","1391617721","1391617724"],"photo_ids_order":["1391617719","1391617721","1391617724","1391617728","1391617731","1391617739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf6944f907adc8835ef1a7dc8fae686b.jpg","text":"TemporaryFile(/tmp/multipartBody3587932388161817769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_01_13_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7ef9bde23662bef5bfc0a669086b480.jpg","text":"TemporaryFile(/tmp/multipartBody1618644598241623998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_00_59_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/566a78edde5bde711753077fc4bade91.jpg","text":"TemporaryFile(/tmp/multipartBody503948386175342945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_01_11_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31f5e376dc8411656eaa0ee8b794f774.jpg","text":"TemporaryFile(/tmp/multipartBody8623412222478842878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_01_29_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/764ad4dfb3566824f1f38a3cbbccf5dc.jpg","text":"TemporaryFile(/tmp/multipartBody6684123820152987654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_01_02_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9126248e549d49f3fe47b9b7e326aad9.jpg","text":"TemporaryFile(/tmp/multipartBody8909113053360733297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994465171,"filename":"image_30102025_03_01_04_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391617724","file1":"1391617721","file0":"1391617719","file4":"1391617731","file5":"1391617739","file3":"1391617728"},"map_files_photo_id_array":[{"photo_id":"1391617739","filename":"file5"},{"photo_id":"1391617724","filename":"file2"},{"photo_id":"1391617731","filename":"file4"},{"photo_id":"1391617721","filename":"file1"},{"photo_id":"1391617719","filename":"file0"},{"photo_id":"1391617728","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617731":["hashtag1","hashtag2"]},{"1391617719":["hashtag1","hashtag2"]},{"1391617728":["hashtag1","hashtag2"]},{"1391617739":["hashtag1","hashtag2"]},{"1391617721":["hashtag1","hashtag2"]},{"1391617724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617731, 1391617719, 1391617728, 1391617739, 1391617721, 1391617724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14914870262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:54:03.096227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_32_2774.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_34_2746.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_46_2531.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_49_2658.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_53_3870.jpg', '/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_55_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_32_2774.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_34_2746.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_46_2531.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_49_2658.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_53_3870.jpg
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_55_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617764","1391617758","1391617746","1391617754","1391617750","1391617776"],"photo_ids_order":["1391617746","1391617750","1391617754","1391617758","1391617764","1391617776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ec0fe95af0e44bdc0828c90b36de3fd.jpg","text":"TemporaryFile(/tmp/multipartBody4353234581482713587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_53_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e626abeb82ee532706929aa1a6fd812.jpg","text":"TemporaryFile(/tmp/multipartBody8298358125787808614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04dfe1bae1ac9b385fcf3e5a5fbdc14a.jpg","text":"TemporaryFile(/tmp/multipartBody6629860433095754266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_32_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb364499ac62ee754d3f8992df902269.jpg","text":"TemporaryFile(/tmp/multipartBody6578444660373634464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_46_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/810578865f6292f480ce35bdb32d6f70.jpg","text":"TemporaryFile(/tmp/multipartBody3951094971203102825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_34_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a30a72a2d246734370e7fa515c19be8.jpg","text":"TemporaryFile(/tmp/multipartBody9013558105777999538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994505519,"filename":"image_30102025_03_01_55_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391617754","file1":"1391617750","file0":"1391617746","file4":"1391617764","file5":"1391617776","file3":"1391617758"},"map_files_photo_id_array":[{"photo_id":"1391617776","filename":"file5"},{"photo_id":"1391617754","filename":"file2"},{"photo_id":"1391617764","filename":"file4"},{"photo_id":"1391617750","filename":"file1"},{"photo_id":"1391617746","filename":"file0"},{"photo_id":"1391617758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617764":["hashtag1","hashtag2"]},{"1391617758":["hashtag1","hashtag2"]},{"1391617746":["hashtag1","hashtag2"]},{"1391617754":["hashtag1","hashtag2"]},{"1391617750":["hashtag1","hashtag2"]},{"1391617776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617764, 1391617758, 1391617746, 1391617754, 1391617750, 1391617776)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.72730779647827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:55:03.296513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_58_2639.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_02_3721.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_04_2731.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_07_2809.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_14_2699.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_16_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/01/image_30102025_03_01_58_2639.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_02_3721.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_04_2731.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_07_2809.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_14_2699.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_16_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617836","1391617830","1391617810","1391617804","1391617813","1391617807"],"photo_ids_order":["1391617804","1391617807","1391617810","1391617813","1391617830","1391617836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5cfab6121aaabd2534096db60226909.jpg","text":"TemporaryFile(/tmp/multipartBody1634247783976496228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_02_16_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a1e61508b0ed5cbd6a96c5ed9b576b5.jpg","text":"TemporaryFile(/tmp/multipartBody3030934227635775041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_02_14_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00b85f8345aa97f592d0e705c6209c3d.jpg","text":"TemporaryFile(/tmp/multipartBody7276692831160175849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_02_04_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7431a0101c4d0dfe7a161e34a2261aed.jpg","text":"TemporaryFile(/tmp/multipartBody7177656858479299744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_01_58_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a881364145d16d43019214107710b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8699420614169881533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_02_07_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/747cf736578b090c90a4655ecd0c78b6.jpg","text":"TemporaryFile(/tmp/multipartBody8212647432281250109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994565767,"filename":"image_30102025_03_02_02_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391617810","file1":"1391617807","file0":"1391617804","file4":"1391617830","file5":"1391617836","file3":"1391617813"},"map_files_photo_id_array":[{"photo_id":"1391617836","filename":"file5"},{"photo_id":"1391617810","filename":"file2"},{"photo_id":"1391617830","filename":"file4"},{"photo_id":"1391617807","filename":"file1"},{"photo_id":"1391617804","filename":"file0"},{"photo_id":"1391617813","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617836":["hashtag1","hashtag2"]},{"1391617830":["hashtag1","hashtag2"]},{"1391617810":["hashtag1","hashtag2"]},{"1391617804":["hashtag1","hashtag2"]},{"1391617813":["hashtag1","hashtag2"]},{"1391617807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617836, 1391617830, 1391617810, 1391617804, 1391617813, 1391617807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58055138587952 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:56:03.156259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 11:56:22.780217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 11:56:45.391158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_23_3741.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_25_2622.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_28_2742.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_31_2909.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_40_2719.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_44_3872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_23_3741.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_25_2622.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_28_2742.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_31_2909.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_40_2719.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_44_3872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391617892","1391617898","1391617886","1391617907","1391617904","1391617906"],"photo_ids_order":["1391617886","1391617892","1391617898","1391617904","1391617906","1391617907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f8b3ac10ba80825283e994c49100433.jpg","text":"TemporaryFile(/tmp/multipartBody6666322321094767850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_25_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb19ef5ee451d69643d4b7eb87e7e3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7909699343004610308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_28_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2dcfc9c03b8251b7f9deee894456880.jpg","text":"TemporaryFile(/tmp/multipartBody1848039627637679572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_23_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cb0d1174cd717b7afe4d2b5d00b5593.jpg","text":"TemporaryFile(/tmp/multipartBody4773364578276032870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_44_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83822c36a2226c6fed0dfa117f550d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7000928589365992508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_31_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08f309326a325e1c4c6d4a19daaa9a71.jpg","text":"TemporaryFile(/tmp/multipartBody1676649481929696291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994666748,"filename":"image_30102025_03_02_40_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391617898","file1":"1391617892","file0":"1391617886","file4":"1391617906","file5":"1391617907","file3":"1391617904"},"map_files_photo_id_array":[{"photo_id":"1391617907","filename":"file5"},{"photo_id":"1391617898","filename":"file2"},{"photo_id":"1391617906","filename":"file4"},{"photo_id":"1391617892","filename":"file1"},{"photo_id":"1391617886","filename":"file0"},{"photo_id":"1391617904","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391617892":["hashtag1","hashtag2"]},{"1391617898":["hashtag1","hashtag2"]},{"1391617886":["hashtag1","hashtag2"]},{"1391617907":["hashtag1","hashtag2"]},{"1391617904":["hashtag1","hashtag2"]},{"1391617906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391617892, 1391617898, 1391617886, 1391617907, 1391617904, 1391617906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.3768994808197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 11:59:03.630764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_46_2580.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_49_2682.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_55_2599.jpg', '/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_58_2676.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_13_2712.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_20_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_46_2580.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_49_2682.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_55_2599.jpg
/home/pi/Desktop/images/30102025/03/02/image_30102025_03_02_58_2676.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_13_2712.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_20_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391618243","1391618246","1391618312","1391618239","1391618248","1391618268"],"photo_ids_order":["1391618239","1391618243","1391618246","1391618248","1391618268","1391618312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a0a98230c999d71887a6ce4d71b310f.jpg","text":"TemporaryFile(/tmp/multipartBody7776056872094492506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_02_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb14825d9c58ba755a8dee38e431a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8083365831430019004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_02_55_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e994b971f6b461f883ab5963a8cc2ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4402674579304506283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_03_20_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57ffac1b9e5d8db7720cb9a189616edc.jpg","text":"TemporaryFile(/tmp/multipartBody3318181755738176887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_02_46_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0950e603d09ae6f9e43db46a9fc2f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6983855836262678706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_02_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38fbf40c67847224a1d0205a604004ef.jpg","text":"TemporaryFile(/tmp/multipartBody5013846977271204399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994806164,"filename":"image_30102025_03_03_13_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391618246","file1":"1391618243","file0":"1391618239","file4":"1391618268","file5":"1391618312","file3":"1391618248"},"map_files_photo_id_array":[{"photo_id":"1391618312","filename":"file5"},{"photo_id":"1391618246","filename":"file2"},{"photo_id":"1391618268","filename":"file4"},{"photo_id":"1391618243","filename":"file1"},{"photo_id":"1391618239","filename":"file0"},{"photo_id":"1391618248","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391618243":["hashtag1","hashtag2"]},{"1391618246":["hashtag1","hashtag2"]},{"1391618312":["hashtag1","hashtag2"]},{"1391618239":["hashtag1","hashtag2"]},{"1391618248":["hashtag1","hashtag2"]},{"1391618268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391618243, 1391618246, 1391618312, 1391618239, 1391618248, 1391618268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50024628639221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:00:03.212167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_25_2585.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_28_3682.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_34_2704.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_38_3730.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_40_2546.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_43_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_25_2585.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_28_3682.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_34_2704.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_38_3730.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_40_2546.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_43_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391618972","1391618765","1391618930","1391618845","1391618689","1391618596"],"photo_ids_order":["1391618596","1391618689","1391618765","1391618845","1391618930","1391618972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8768306176f976b5a5ba3e261e777f79.jpg","text":"TemporaryFile(/tmp/multipartBody5005806136293582639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_43_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c56f73448d6a1980e72c9716e8a65be.jpg","text":"TemporaryFile(/tmp/multipartBody3782262388070145902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e478cca68f53d488ba385da7d2a01e38.jpg","text":"TemporaryFile(/tmp/multipartBody7962018378406743827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_40_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/074650080d6ac2dae2ff9a727ae58ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3377476956663651336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_38_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aba51613a570cc338bb9c56900da264c.jpg","text":"TemporaryFile(/tmp/multipartBody3918098448141579783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_28_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcc1eed2cce750c98fc94f5cf8b0e0db.jpg","text":"TemporaryFile(/tmp/multipartBody1597356437491838901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994865658,"filename":"image_30102025_03_03_25_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391618765","file1":"1391618689","file0":"1391618596","file4":"1391618930","file5":"1391618972","file3":"1391618845"},"map_files_photo_id_array":[{"photo_id":"1391618972","filename":"file5"},{"photo_id":"1391618765","filename":"file2"},{"photo_id":"1391618930","filename":"file4"},{"photo_id":"1391618689","filename":"file1"},{"photo_id":"1391618596","filename":"file0"},{"photo_id":"1391618845","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391618972":["hashtag1","hashtag2"]},{"1391618765":["hashtag1","hashtag2"]},{"1391618930":["hashtag1","hashtag2"]},{"1391618845":["hashtag1","hashtag2"]},{"1391618689":["hashtag1","hashtag2"]},{"1391618596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391618972, 1391618765, 1391618930, 1391618845, 1391618689, 1391618596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.765533685684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:01:02.565899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_46_3616.jpg', '/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_49_2593.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_01_2713.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_04_2699.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_07_3709.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_10_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_46_3616.jpg
/home/pi/Desktop/images/30102025/03/03/image_30102025_03_03_49_2593.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_01_2713.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_04_2699.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_07_3709.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_10_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391619658","1391619304","1391619511","1391619585","1391619351","1391619420"],"photo_ids_order":["1391619304","1391619351","1391619420","1391619511","1391619585","1391619658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/384a50630897dcb988e00de372c75e29.jpg","text":"TemporaryFile(/tmp/multipartBody7322868488578997926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_04_10_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c82763d029de6753e8232dfcfc86ab07.jpg","text":"TemporaryFile(/tmp/multipartBody8388241385575694351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_03_46_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536ef2a9412bb45c802b7da57288e43c.jpg","text":"TemporaryFile(/tmp/multipartBody8098203897231763335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_04_04_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13c5ad95039db4e296ae65ea6303fe02.jpg","text":"TemporaryFile(/tmp/multipartBody2810712289293893603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_04_07_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/152f2b8197c4a6713621b75e98738dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1493340286089418731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_03_49_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9718925e10a73c88b95ad69d6fa846c7.jpg","text":"TemporaryFile(/tmp/multipartBody8887120985052148144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994925122,"filename":"image_30102025_03_04_01_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391619420","file1":"1391619351","file0":"1391619304","file4":"1391619585","file5":"1391619658","file3":"1391619511"},"map_files_photo_id_array":[{"photo_id":"1391619658","filename":"file5"},{"photo_id":"1391619420","filename":"file2"},{"photo_id":"1391619585","filename":"file4"},{"photo_id":"1391619351","filename":"file1"},{"photo_id":"1391619304","filename":"file0"},{"photo_id":"1391619511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391619658":["hashtag1","hashtag2"]},{"1391619304":["hashtag1","hashtag2"]},{"1391619511":["hashtag1","hashtag2"]},{"1391619585":["hashtag1","hashtag2"]},{"1391619351":["hashtag1","hashtag2"]},{"1391619420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391619658, 1391619304, 1391619511, 1391619585, 1391619351, 1391619420)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.8800311088562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:02:02.645478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_13_2789.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_16_3637.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_19_2751.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_22_2535.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_25_3639.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_28_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_13_2789.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_16_3637.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_19_2751.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_22_2535.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_25_3639.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_28_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391620241","1391620322","1391620198","1391620279","1391620117","1391620158"],"photo_ids_order":["1391620117","1391620158","1391620198","1391620241","1391620279","1391620322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe61f34d76a82073ef6237426992acac.jpg","text":"TemporaryFile(/tmp/multipartBody1091338641780190827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_22_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39084b54fd7efae70dac60d09be94641.jpg","text":"TemporaryFile(/tmp/multipartBody1636065626387398656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_28_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff090e7c0f96bd979358aec4d419b3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4265137249763565473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_19_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08fe2dafe7923ab0aa12625ee14aec79.jpg","text":"TemporaryFile(/tmp/multipartBody4996470587525226011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_25_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6828f0bf3eaba082640cc4e53e29931a.jpg","text":"TemporaryFile(/tmp/multipartBody5243550678543286255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_13_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0657609e49388859ad56566ee82f089.jpg","text":"TemporaryFile(/tmp/multipartBody7568953874259195044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761994985014,"filename":"image_30102025_03_04_16_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391620198","file1":"1391620158","file0":"1391620117","file4":"1391620279","file5":"1391620322","file3":"1391620241"},"map_files_photo_id_array":[{"photo_id":"1391620322","filename":"file5"},{"photo_id":"1391620198","filename":"file2"},{"photo_id":"1391620279","filename":"file4"},{"photo_id":"1391620158","filename":"file1"},{"photo_id":"1391620117","filename":"file0"},{"photo_id":"1391620241","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391620241":["hashtag1","hashtag2"]},{"1391620322":["hashtag1","hashtag2"]},{"1391620198":["hashtag1","hashtag2"]},{"1391620279":["hashtag1","hashtag2"]},{"1391620117":["hashtag1","hashtag2"]},{"1391620158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391620241, 1391620322, 1391620198, 1391620279, 1391620117, 1391620158)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391620198 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_19_2751.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.03060746192932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:03:25.103388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_31_2871.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_34_3717.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_37_2827.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_40_2714.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_55_3608.jpg', '/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_58_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_31_2871.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_34_3717.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_37_2827.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_40_2714.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_55_3608.jpg
/home/pi/Desktop/images/30102025/03/04/image_30102025_03_04_58_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391620666","1391620804","1391620893","1391620584","1391620725","1391620626"],"photo_ids_order":["1391620584","1391620626","1391620666","1391620725","1391620804","1391620893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e15965a5382d795a3aed9b5011e2fc40.jpg","text":"TemporaryFile(/tmp/multipartBody6365001737361004518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_37_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/032eaae18180a16a6ea053c25b1d74d9.jpg","text":"TemporaryFile(/tmp/multipartBody7799646352481831271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_55_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e393f0be6e8936df078b97dedbf5e0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3921370778913628774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_58_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8157ceb46fe78e700a2dd689a268471.jpg","text":"TemporaryFile(/tmp/multipartBody609590456493588721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_31_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd34258f26db1f2e60458d250cb69ad2.jpg","text":"TemporaryFile(/tmp/multipartBody2577379932520429978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8986d3812b5c8ac1fcbf31084ede1675.jpg","text":"TemporaryFile(/tmp/multipartBody5452131980039629296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995068248,"filename":"image_30102025_03_04_34_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391620666","file1":"1391620626","file0":"1391620584","file4":"1391620804","file5":"1391620893","file3":"1391620725"},"map_files_photo_id_array":[{"photo_id":"1391620893","filename":"file5"},{"photo_id":"1391620666","filename":"file2"},{"photo_id":"1391620804","filename":"file4"},{"photo_id":"1391620626","filename":"file1"},{"photo_id":"1391620584","filename":"file0"},{"photo_id":"1391620725","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391620666":["hashtag1","hashtag2"]},{"1391620804":["hashtag1","hashtag2"]},{"1391620893":["hashtag1","hashtag2"]},{"1391620584":["hashtag1","hashtag2"]},{"1391620725":["hashtag1","hashtag2"]},{"1391620626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391620666, 1391620804, 1391620893, 1391620584, 1391620725, 1391620626)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.74815630912781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:04:26.611075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_01_2718.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_04_3615.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_07_2777.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_10_2671.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_13_3651.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_22_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_01_2718.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_04_3615.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_07_2777.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_10_2671.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_13_3651.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_22_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391621825","1391621743","1391621518","1391621676","1391621598","1391621876"],"photo_ids_order":["1391621518","1391621598","1391621676","1391621743","1391621825","1391621876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f42d217a8334064f1cc525d0f87fb297.jpg","text":"TemporaryFile(/tmp/multipartBody7734903780348179401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_13_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a40d7db399093593307667762ee70d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6553984357599197366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_10_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74843145527c91035824f32bf40cf82f.jpg","text":"TemporaryFile(/tmp/multipartBody571293446702162061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_01_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f97d5f3f77d15fa0adcb92fc3c5201d7.jpg","text":"TemporaryFile(/tmp/multipartBody6480341978073062558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_07_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dab67454bbf7b8ce4baf66405b88fdc4.jpg","text":"TemporaryFile(/tmp/multipartBody7707537560874064710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_04_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/829f037d42cced1b9b0d10823f3f0691.jpg","text":"TemporaryFile(/tmp/multipartBody7355755647050871450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995129713,"filename":"image_30102025_03_05_22_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391621676","file1":"1391621598","file0":"1391621518","file4":"1391621825","file5":"1391621876","file3":"1391621743"},"map_files_photo_id_array":[{"photo_id":"1391621876","filename":"file5"},{"photo_id":"1391621676","filename":"file2"},{"photo_id":"1391621825","filename":"file4"},{"photo_id":"1391621598","filename":"file1"},{"photo_id":"1391621518","filename":"file0"},{"photo_id":"1391621743","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391621825":["hashtag1","hashtag2"]},{"1391621743":["hashtag1","hashtag2"]},{"1391621518":["hashtag1","hashtag2"]},{"1391621676":["hashtag1","hashtag2"]},{"1391621598":["hashtag1","hashtag2"]},{"1391621876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391621825, 1391621743, 1391621518, 1391621676, 1391621598, 1391621876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2789466381073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:05:22.571261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_25_3730.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_28_2752.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_31_2718.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_34_3746.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_37_2810.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_40_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_25_3730.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_28_2752.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_31_2718.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_34_3746.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_37_2810.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_40_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391622305","1391622346","1391622399","1391622455","1391622470","1391622464"],"photo_ids_order":["1391622305","1391622346","1391622399","1391622455","1391622464","1391622470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/042902e32058107f55798700f16ce1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4191025324370874268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_25_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b8b56922aff92b1070d547bf1a95c04.jpg","text":"TemporaryFile(/tmp/multipartBody7266969651025160473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_28_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec93220323ad7f59c05a02350b6d1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1154935165950905143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_31_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8a0a2a6f8efb44fd5f9cd3a3415d516.jpg","text":"TemporaryFile(/tmp/multipartBody1571031894814012298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_34_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f14e5c40183a0727a29138db4b98570.jpg","text":"TemporaryFile(/tmp/multipartBody3173852677501113476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_40_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39ef22de2a977002d1415098eb1bd0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3015029935538529466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995185557,"filename":"image_30102025_03_05_37_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391622399","file1":"1391622346","file0":"1391622305","file4":"1391622464","file5":"1391622470","file3":"1391622455"},"map_files_photo_id_array":[{"photo_id":"1391622470","filename":"file5"},{"photo_id":"1391622399","filename":"file2"},{"photo_id":"1391622464","filename":"file4"},{"photo_id":"1391622346","filename":"file1"},{"photo_id":"1391622305","filename":"file0"},{"photo_id":"1391622455","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391622305":["hashtag1","hashtag2"]},{"1391622346":["hashtag1","hashtag2"]},{"1391622399":["hashtag1","hashtag2"]},{"1391622455":["hashtag1","hashtag2"]},{"1391622470":["hashtag1","hashtag2"]},{"1391622464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391622305, 1391622346, 1391622399, 1391622455, 1391622470, 1391622464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64567756652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:06:21.902009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_43_2732.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_49_2589.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_52_2595.jpg', '/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_55_3744.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_10_3672.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_13_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_43_2732.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_49_2589.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_52_2595.jpg
/home/pi/Desktop/images/30102025/03/05/image_30102025_03_05_55_3744.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_10_3672.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_13_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391622502","1391622489","1391622492","1391622488","1391622485","1391622496"],"photo_ids_order":["1391622485","1391622488","1391622489","1391622492","1391622496","1391622502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e5473fd8649f3ad3ecbd8a757fc36c7.jpg","text":"TemporaryFile(/tmp/multipartBody7794468631921555647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_06_13_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d44a85f4c1952c8599dd30bf0716179.jpg","text":"TemporaryFile(/tmp/multipartBody8560204268258686643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_05_52_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f72c154cc8da2d2abbcdecb1d328962.jpg","text":"TemporaryFile(/tmp/multipartBody1786511217565315384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_05_55_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c60065dc1c5cdb4d4d31d0d41c83633d.jpg","text":"TemporaryFile(/tmp/multipartBody2843223292226454719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_05_49_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/787a661167540cbd9108752186c22d8c.jpg","text":"TemporaryFile(/tmp/multipartBody5694621445814923224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_05_43_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc385f9b707f7b01bf62359ce5f72eed.jpg","text":"TemporaryFile(/tmp/multipartBody2219724488995441262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995244501,"filename":"image_30102025_03_06_10_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391622489","file1":"1391622488","file0":"1391622485","file4":"1391622496","file5":"1391622502","file3":"1391622492"},"map_files_photo_id_array":[{"photo_id":"1391622502","filename":"file5"},{"photo_id":"1391622489","filename":"file2"},{"photo_id":"1391622496","filename":"file4"},{"photo_id":"1391622488","filename":"file1"},{"photo_id":"1391622485","filename":"file0"},{"photo_id":"1391622492","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391622502":["hashtag1","hashtag2"]},{"1391622489":["hashtag1","hashtag2"]},{"1391622492":["hashtag1","hashtag2"]},{"1391622488":["hashtag1","hashtag2"]},{"1391622485":["hashtag1","hashtag2"]},{"1391622496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391622502, 1391622489, 1391622492, 1391622488, 1391622485, 1391622496)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.89848494529724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:07:22.157092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_16_2788.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_25_2634.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_28_2739.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_31_3589.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_34_3001.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_37_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_16_2788.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_25_2634.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_28_2739.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_31_3589.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_34_3001.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_37_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391622780","1391622822","1391622737","1391622650","1391622697","1391622598"],"photo_ids_order":["1391622598","1391622650","1391622697","1391622737","1391622780","1391622822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/921484d4c4c37d6d5d72a4a8bc2b8d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4655147490612384171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_34_3001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a86fa1408cffa5cdb1b44397217500ca.jpg","text":"TemporaryFile(/tmp/multipartBody6379646167319023072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_37_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59cece0312c93bce54ed8859d9e35bcc.jpg","text":"TemporaryFile(/tmp/multipartBody928071621550905234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_31_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de1f06afa95d05c06e479ecf8af1a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody3031256176407178946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5171fe64cca7da0ec7ff657251580bf.jpg","text":"TemporaryFile(/tmp/multipartBody2706799083764019949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_28_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a32bce847a495c66550e71792f756c4.jpg","text":"TemporaryFile(/tmp/multipartBody6127760890844260278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995305109,"filename":"image_30102025_03_06_16_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391622697","file1":"1391622650","file0":"1391622598","file4":"1391622780","file5":"1391622822","file3":"1391622737"},"map_files_photo_id_array":[{"photo_id":"1391622822","filename":"file5"},{"photo_id":"1391622697","filename":"file2"},{"photo_id":"1391622780","filename":"file4"},{"photo_id":"1391622650","filename":"file1"},{"photo_id":"1391622598","filename":"file0"},{"photo_id":"1391622737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391622780":["hashtag1","hashtag2"]},{"1391622822":["hashtag1","hashtag2"]},{"1391622737":["hashtag1","hashtag2"]},{"1391622650":["hashtag1","hashtag2"]},{"1391622697":["hashtag1","hashtag2"]},{"1391622598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391622780, 1391622822, 1391622737, 1391622650, 1391622697, 1391622598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30264186859131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:08:22.270614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_40_2638.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_52_3619.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_55_2619.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_57_2764.jpg', '/home/pi/Desktop/images/30102025/03/06/image_30102025_03_07_01_3640.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_04_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_40_2638.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_52_3619.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_55_2619.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_06_57_2764.jpg
/home/pi/Desktop/images/30102025/03/06/image_30102025_03_07_01_3640.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_04_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623435","1391623428","1391623223","1391623396","1391623313","1391623432"],"photo_ids_order":["1391623223","1391623313","1391623396","1391623428","1391623432","1391623435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7b10cd29d817bf5fb8363a6cbb5b26c.jpg","text":"TemporaryFile(/tmp/multipartBody7803870455232132616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_07_04_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dd0fbceb1682e798b781e95e4d853fc.jpg","text":"TemporaryFile(/tmp/multipartBody4999489509570467732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_06_57_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e522c81f6de4ceca60abeca79b1329fd.jpg","text":"TemporaryFile(/tmp/multipartBody862067611020465024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_06_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f70d3de5be1be1d7adfb8693657fe936.jpg","text":"TemporaryFile(/tmp/multipartBody8859891500895105615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_06_55_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f847b42f0006632df73bf63b4885615.jpg","text":"TemporaryFile(/tmp/multipartBody5583636991042619793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_06_52_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e164e046a0076aee27edb3e8c4f5afc.jpg","text":"TemporaryFile(/tmp/multipartBody3152752508561218372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995365182,"filename":"image_30102025_03_07_01_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623396","file1":"1391623313","file0":"1391623223","file4":"1391623432","file5":"1391623435","file3":"1391623428"},"map_files_photo_id_array":[{"photo_id":"1391623435","filename":"file5"},{"photo_id":"1391623396","filename":"file2"},{"photo_id":"1391623432","filename":"file4"},{"photo_id":"1391623313","filename":"file1"},{"photo_id":"1391623223","filename":"file0"},{"photo_id":"1391623428","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623435":["hashtag1","hashtag2"]},{"1391623428":["hashtag1","hashtag2"]},{"1391623223":["hashtag1","hashtag2"]},{"1391623396":["hashtag1","hashtag2"]},{"1391623313":["hashtag1","hashtag2"]},{"1391623432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623435, 1391623428, 1391623223, 1391623396, 1391623313, 1391623432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02501058578491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:09:22.493179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_07_3606.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_13_2542.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_19_2861.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_22_2688.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_24_2661.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_31_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_07_3606.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_13_2542.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_19_2861.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_22_2688.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_24_2661.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_31_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623615","1391623600","1391623659","1391623611","1391623589","1391623619"],"photo_ids_order":["1391623589","1391623600","1391623611","1391623615","1391623619","1391623659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ce024bd6a251f1106b79caa063ebbff.jpg","text":"TemporaryFile(/tmp/multipartBody4870879504598127889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0da49f4f76d3b0f415ec7278c55b8415.jpg","text":"TemporaryFile(/tmp/multipartBody3509476451066115488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_13_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d797fe15db0feb13b237e856187c6ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6686613410446813706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_31_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3074b0ba6615823d29b314919acf9df3.jpg","text":"TemporaryFile(/tmp/multipartBody2109319330577036031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_19_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aba95c7ea4e759ee8ff6f4130ddaf03.jpg","text":"TemporaryFile(/tmp/multipartBody2641701914034514123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_07_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8562593599f23f60d4fee4134aed62f8.jpg","text":"TemporaryFile(/tmp/multipartBody2730120274443521880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995425510,"filename":"image_30102025_03_07_24_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623611","file1":"1391623600","file0":"1391623589","file4":"1391623619","file5":"1391623659","file3":"1391623615"},"map_files_photo_id_array":[{"photo_id":"1391623659","filename":"file5"},{"photo_id":"1391623611","filename":"file2"},{"photo_id":"1391623619","filename":"file4"},{"photo_id":"1391623600","filename":"file1"},{"photo_id":"1391623589","filename":"file0"},{"photo_id":"1391623615","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623615":["hashtag1","hashtag2"]},{"1391623600":["hashtag1","hashtag2"]},{"1391623659":["hashtag1","hashtag2"]},{"1391623611":["hashtag1","hashtag2"]},{"1391623589":["hashtag1","hashtag2"]},{"1391623619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623615, 1391623600, 1391623659, 1391623611, 1391623589, 1391623619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.724945306777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:10:22.607419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_34_3628.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_37_2572.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_49_2663.jpg', '/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_52_3646.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_16_2593.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_19_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_34_3628.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_37_2572.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_49_2663.jpg
/home/pi/Desktop/images/30102025/03/07/image_30102025_03_07_52_3646.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_16_2593.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_19_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623692","1391623686","1391623689","1391623674","1391623677","1391623681"],"photo_ids_order":["1391623674","1391623677","1391623681","1391623686","1391623689","1391623692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4354e1a8b002c82d14faf3471576a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody713241405257006123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_08_19_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/274685d3015a5bf03cacc455215522bc.jpg","text":"TemporaryFile(/tmp/multipartBody7139012704361885630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_07_52_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec935335aa73dfb9b79b8a9ba177d08f.jpg","text":"TemporaryFile(/tmp/multipartBody5094364539473534968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_08_16_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b58d0cbfd518061a2df3c498a4e7ba95.jpg","text":"TemporaryFile(/tmp/multipartBody5758040329016707706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_07_34_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88ed4bf5cd827ec0c4b4a66f694dbfa2.jpg","text":"TemporaryFile(/tmp/multipartBody8205439881541044031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_07_37_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcc63d27bf686733af456835306fd795.jpg","text":"TemporaryFile(/tmp/multipartBody6120788872657512499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995486461,"filename":"image_30102025_03_07_49_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623681","file1":"1391623677","file0":"1391623674","file4":"1391623689","file5":"1391623692","file3":"1391623686"},"map_files_photo_id_array":[{"photo_id":"1391623692","filename":"file5"},{"photo_id":"1391623681","filename":"file2"},{"photo_id":"1391623689","filename":"file4"},{"photo_id":"1391623677","filename":"file1"},{"photo_id":"1391623674","filename":"file0"},{"photo_id":"1391623686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623692":["hashtag1","hashtag2"]},{"1391623686":["hashtag1","hashtag2"]},{"1391623689":["hashtag1","hashtag2"]},{"1391623674":["hashtag1","hashtag2"]},{"1391623677":["hashtag1","hashtag2"]},{"1391623681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623692, 1391623686, 1391623689, 1391623674, 1391623677, 1391623681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48403310775757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:11:22.715206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_28_3639.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_31_2655.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_33_2547.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_37_3665.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_40_2765.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_42_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_28_3639.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_31_2655.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_33_2547.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_37_3665.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_40_2765.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_42_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623708","1391623710","1391623713","1391623724","1391623718","1391623706"],"photo_ids_order":["1391623706","1391623708","1391623710","1391623713","1391623718","1391623724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbff02cd8349b0bf3ba638e1365fa631.jpg","text":"TemporaryFile(/tmp/multipartBody7699832908318003850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_31_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/673df3a7a5b6aafa951151be950e5371.jpg","text":"TemporaryFile(/tmp/multipartBody3879358807912354104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_33_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4362f3d6d8a0e724756ba8f1227e584d.jpg","text":"TemporaryFile(/tmp/multipartBody4008653763553031447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_37_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5cd94da1e4c965ada314c8032fea6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1408706286534703836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_42_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5758a95c36ae456133000980b930570a.jpg","text":"TemporaryFile(/tmp/multipartBody8987724287343660410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_40_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26e32adaeed9cb660375e5c33c041ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4248536391968952623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995545317,"filename":"image_30102025_03_08_28_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623710","file1":"1391623708","file0":"1391623706","file4":"1391623718","file5":"1391623724","file3":"1391623713"},"map_files_photo_id_array":[{"photo_id":"1391623724","filename":"file5"},{"photo_id":"1391623710","filename":"file2"},{"photo_id":"1391623718","filename":"file4"},{"photo_id":"1391623708","filename":"file1"},{"photo_id":"1391623706","filename":"file0"},{"photo_id":"1391623713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623708":["hashtag1","hashtag2"]},{"1391623710":["hashtag1","hashtag2"]},{"1391623713":["hashtag1","hashtag2"]},{"1391623724":["hashtag1","hashtag2"]},{"1391623718":["hashtag1","hashtag2"]},{"1391623706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623708, 1391623710, 1391623713, 1391623724, 1391623718, 1391623706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35073208808899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:12:22.023008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_46_3665.jpg', '/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_51_2713.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_04_3668.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_10_2883.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_16_3545.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_21_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_46_3665.jpg
/home/pi/Desktop/images/30102025/03/08/image_30102025_03_08_51_2713.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_04_3668.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_10_2883.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_16_3545.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_21_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623764","1391623767","1391623760","1391623814","1391623805","1391623762"],"photo_ids_order":["1391623760","1391623762","1391623764","1391623767","1391623805","1391623814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bb3dc9b3b8a922d5f0865462d397fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8460302106501711211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_09_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a9e682537a87a1dd90d53a118ad483a.jpg","text":"TemporaryFile(/tmp/multipartBody3665678546709732493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_09_10_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/127725e0aefaf751019b496f39c43573.jpg","text":"TemporaryFile(/tmp/multipartBody1885507322463967449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_08_46_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5c21afca411984bcd0a82162611ec28.jpg","text":"TemporaryFile(/tmp/multipartBody3539331185287812879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_09_21_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a75b0a1374ef3419ed4f435a86bc3588.jpg","text":"TemporaryFile(/tmp/multipartBody7574016286872764506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_09_16_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffb81e8de57a252f5e42126bd11e6cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3740144962222787457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995604687,"filename":"image_30102025_03_08_51_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623764","file1":"1391623762","file0":"1391623760","file4":"1391623805","file5":"1391623814","file3":"1391623767"},"map_files_photo_id_array":[{"photo_id":"1391623814","filename":"file5"},{"photo_id":"1391623764","filename":"file2"},{"photo_id":"1391623805","filename":"file4"},{"photo_id":"1391623762","filename":"file1"},{"photo_id":"1391623760","filename":"file0"},{"photo_id":"1391623767","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623764":["hashtag1","hashtag2"]},{"1391623767":["hashtag1","hashtag2"]},{"1391623760":["hashtag1","hashtag2"]},{"1391623814":["hashtag1","hashtag2"]},{"1391623805":["hashtag1","hashtag2"]},{"1391623762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623764, 1391623767, 1391623760, 1391623814, 1391623805, 1391623762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82961845397949 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:13:22.267434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_25_3755.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_28_2689.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_30_2707.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_37_3431.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_44_7606.jpg', '/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_46_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_25_3755.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_28_2689.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_30_2707.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_37_3431.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_44_7606.jpg
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_46_1648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623846","1391623831","1391623832","1391623835","1391623829","1391623840"],"photo_ids_order":["1391623829","1391623831","1391623832","1391623835","1391623840","1391623846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13c919db7d7b715dd2968a56cdbca621.jpg","text":"TemporaryFile(/tmp/multipartBody4388945516005117285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_46_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e813b577dbaa03fcad0de94f6678c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3337608024195369277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_28_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f46078f5154d23232d700b8041b08f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7647278705138514854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_30_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de4fb1590814b8f587385356e979019d.jpg","text":"TemporaryFile(/tmp/multipartBody3058420982115309738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_37_3431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cde6c4861acae5b5440985c4b539f7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4141885923979739739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_25_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc24c75f2fe181ed22a3baa9f79f43cb.jpg","text":"TemporaryFile(/tmp/multipartBody2450462298755184523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995664878,"filename":"image_30102025_03_09_44_7606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623832","file1":"1391623831","file0":"1391623829","file4":"1391623840","file5":"1391623846","file3":"1391623835"},"map_files_photo_id_array":[{"photo_id":"1391623846","filename":"file5"},{"photo_id":"1391623832","filename":"file2"},{"photo_id":"1391623840","filename":"file4"},{"photo_id":"1391623831","filename":"file1"},{"photo_id":"1391623829","filename":"file0"},{"photo_id":"1391623835","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623846":["hashtag1","hashtag2"]},{"1391623831":["hashtag1","hashtag2"]},{"1391623832":["hashtag1","hashtag2"]},{"1391623835":["hashtag1","hashtag2"]},{"1391623829":["hashtag1","hashtag2"]},{"1391623840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623846, 1391623831, 1391623832, 1391623835, 1391623829, 1391623840)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.03154945373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:14:22.473672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_47_1636.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_03_2646.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_07_3625.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_12_2658.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_16_3526.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_23_7565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/09/image_30102025_03_09_47_1636.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_03_2646.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_07_3625.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_12_2658.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_16_3526.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_23_7565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623866","1391623868","1391623862","1391623871","1391623859","1391623873"],"photo_ids_order":["1391623859","1391623862","1391623866","1391623868","1391623871","1391623873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c68482d7d5d9201647baf20842704b06.jpg","text":"TemporaryFile(/tmp/multipartBody9050702266952305213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_10_07_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36945ef2a0f03d0178433b30776eb591.jpg","text":"TemporaryFile(/tmp/multipartBody4454071302269873190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_10_12_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac9ac5d0a628865c768a25c4c3b15fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7364064775359355856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_10_03_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2dc1542066dbb7800b961724d770b49.jpg","text":"TemporaryFile(/tmp/multipartBody366239359826992723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_10_16_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a620f33fed9467a895d97254620d1234.jpg","text":"TemporaryFile(/tmp/multipartBody114618217018120475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_09_47_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e001cb8121ace5ec2b0100fc08ede0a8.jpg","text":"TemporaryFile(/tmp/multipartBody8077270722356134724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995725044,"filename":"image_30102025_03_10_23_7565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623866","file1":"1391623862","file0":"1391623859","file4":"1391623871","file5":"1391623873","file3":"1391623868"},"map_files_photo_id_array":[{"photo_id":"1391623873","filename":"file5"},{"photo_id":"1391623866","filename":"file2"},{"photo_id":"1391623871","filename":"file4"},{"photo_id":"1391623862","filename":"file1"},{"photo_id":"1391623859","filename":"file0"},{"photo_id":"1391623868","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623866":["hashtag1","hashtag2"]},{"1391623868":["hashtag1","hashtag2"]},{"1391623862":["hashtag1","hashtag2"]},{"1391623871":["hashtag1","hashtag2"]},{"1391623859":["hashtag1","hashtag2"]},{"1391623873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623866, 1391623868, 1391623862, 1391623871, 1391623859, 1391623873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81985688209534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:15:22.753133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_25_1609.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_26_1522.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_28_1661.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_31_2707.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_34_2842.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_52_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_25_1609.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_26_1522.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_28_1661.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_31_2707.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_34_2842.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_52_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623902","1391623898","1391623891","1391623885","1391623894","1391623888"],"photo_ids_order":["1391623885","1391623888","1391623891","1391623894","1391623898","1391623902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e50750c84b5abd27dacff46ea8d91eb5.jpg","text":"TemporaryFile(/tmp/multipartBody5377621532061290550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_52_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e796a270b40b572b594b8ee76476da7.jpg","text":"TemporaryFile(/tmp/multipartBody965679616570953775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_34_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21bd8ac13c77b5e9226d5bba83449e75.jpg","text":"TemporaryFile(/tmp/multipartBody7514550252328270686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_28_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7817d88a69a5021f0203c2b77c050a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7353741438531858591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_25_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/302f55f6798a188deb261e2e2c7b34d9.jpg","text":"TemporaryFile(/tmp/multipartBody1674419060252344513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51fa509b796ee97f2489e483ae88e7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5506464396534433522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995785679,"filename":"image_30102025_03_10_26_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623891","file1":"1391623888","file0":"1391623885","file4":"1391623898","file5":"1391623902","file3":"1391623894"},"map_files_photo_id_array":[{"photo_id":"1391623902","filename":"file5"},{"photo_id":"1391623891","filename":"file2"},{"photo_id":"1391623898","filename":"file4"},{"photo_id":"1391623888","filename":"file1"},{"photo_id":"1391623885","filename":"file0"},{"photo_id":"1391623894","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623902":["hashtag1","hashtag2"]},{"1391623898":["hashtag1","hashtag2"]},{"1391623891":["hashtag1","hashtag2"]},{"1391623885":["hashtag1","hashtag2"]},{"1391623894":["hashtag1","hashtag2"]},{"1391623888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623902, 1391623898, 1391623891, 1391623885, 1391623894, 1391623888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60413908958435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:16:22.476653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_54_2646.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_58_3556.jpg', '/home/pi/Desktop/images/30102025/03/10/image_30102025_03_11_00_2584.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_03_2723.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_07_3654.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_12_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_54_2646.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_10_58_3556.jpg
/home/pi/Desktop/images/30102025/03/10/image_30102025_03_11_00_2584.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_03_2723.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_07_3654.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_12_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623924","1391623932","1391623935","1391623914","1391623919","1391623916"],"photo_ids_order":["1391623914","1391623916","1391623919","1391623924","1391623932","1391623935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/caa7b9835be3885b8461fd00ab6b5ac4.jpg","text":"TemporaryFile(/tmp/multipartBody905809625489530085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_11_03_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4df13ed857c2d5a9b7657987dfe530df.jpg","text":"TemporaryFile(/tmp/multipartBody5524037976711565230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_11_07_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61fca65f7a5672b67be58bf322081b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6146422605609496510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_11_12_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cdbb7b5b8eeac7fba88e0634493aa69.jpg","text":"TemporaryFile(/tmp/multipartBody3533959730090536463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_10_54_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a1fb7b9564d9786b071b9070674f8db.jpg","text":"TemporaryFile(/tmp/multipartBody1183417027031032239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_11_00_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/838e5de5bcd8c3facce5073dace69619.jpg","text":"TemporaryFile(/tmp/multipartBody8070636072708152348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995845055,"filename":"image_30102025_03_10_58_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623919","file1":"1391623916","file0":"1391623914","file4":"1391623932","file5":"1391623935","file3":"1391623924"},"map_files_photo_id_array":[{"photo_id":"1391623935","filename":"file5"},{"photo_id":"1391623919","filename":"file2"},{"photo_id":"1391623932","filename":"file4"},{"photo_id":"1391623916","filename":"file1"},{"photo_id":"1391623914","filename":"file0"},{"photo_id":"1391623924","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623924":["hashtag1","hashtag2"]},{"1391623932":["hashtag1","hashtag2"]},{"1391623935":["hashtag1","hashtag2"]},{"1391623914":["hashtag1","hashtag2"]},{"1391623919":["hashtag1","hashtag2"]},{"1391623916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623924, 1391623932, 1391623935, 1391623914, 1391623919, 1391623916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29490613937378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:17:03.472264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_15_2852.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_19_3661.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_22_2810.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_24_2747.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_27_2969.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_30_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_15_2852.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_19_3661.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_22_2810.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_24_2747.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_27_2969.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_30_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623965","1391623944","1391623953","1391623961","1391623949","1391623957"],"photo_ids_order":["1391623944","1391623949","1391623953","1391623957","1391623961","1391623965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3de2514bede6459f76415434b8ed04b.jpg","text":"TemporaryFile(/tmp/multipartBody231375169105647507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_30_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a1e2328fa4332df98a57dd5b01b07f5.jpg","text":"TemporaryFile(/tmp/multipartBody2246974608216230752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_15_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc5a15ff8f37da4b5a2a5bdded308f09.jpg","text":"TemporaryFile(/tmp/multipartBody3471707010816683230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_22_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f7401ad4779111ed52b116eefac1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3818616854322681457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_27_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55d2f31c480d3ce40f0e75212dc25c27.jpg","text":"TemporaryFile(/tmp/multipartBody5531423874316678782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_19_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96131ff2b4de67481606c0f705e0fede.jpg","text":"TemporaryFile(/tmp/multipartBody7704439360755527265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995885935,"filename":"image_30102025_03_11_24_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623953","file1":"1391623949","file0":"1391623944","file4":"1391623961","file5":"1391623965","file3":"1391623957"},"map_files_photo_id_array":[{"photo_id":"1391623965","filename":"file5"},{"photo_id":"1391623953","filename":"file2"},{"photo_id":"1391623961","filename":"file4"},{"photo_id":"1391623949","filename":"file1"},{"photo_id":"1391623944","filename":"file0"},{"photo_id":"1391623957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623965":["hashtag1","hashtag2"]},{"1391623944":["hashtag1","hashtag2"]},{"1391623953":["hashtag1","hashtag2"]},{"1391623961":["hashtag1","hashtag2"]},{"1391623949":["hashtag1","hashtag2"]},{"1391623957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623965, 1391623944, 1391623953, 1391623961, 1391623949, 1391623957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20672082901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:18:02.396411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_40_1499.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_44_3503.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_45_1538.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_49_1537.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_53_4156.jpg', '/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_55_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_40_1499.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_44_3503.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_45_1538.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_49_1537.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_53_4156.jpg
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_55_1664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391623983","1391623986","1391623991","1391623988","1391623982","1391623984"],"photo_ids_order":["1391623982","1391623983","1391623984","1391623986","1391623988","1391623991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f390f7ade040cfd85d69719cddffd90b.jpg","text":"TemporaryFile(/tmp/multipartBody7107646237055978464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_44_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d22a516aa4133606d657ce3e370c69b8.jpg","text":"TemporaryFile(/tmp/multipartBody1467586540591986452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_49_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb05242744de5a3bc2e0001f449468fe.jpg","text":"TemporaryFile(/tmp/multipartBody4094379825855355183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_55_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7003a0a01d26d8310031f4e5984ab20.jpg","text":"TemporaryFile(/tmp/multipartBody7268622398832125233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_53_4156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0edd2743b986a67e385d866d1a041ac4.jpg","text":"TemporaryFile(/tmp/multipartBody3640433825559201036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_40_1499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2357e5bf0f8e42df560e2dc4fe33a03d.jpg","text":"TemporaryFile(/tmp/multipartBody5580336656926281304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995944763,"filename":"image_30102025_03_11_45_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391623984","file1":"1391623983","file0":"1391623982","file4":"1391623988","file5":"1391623991","file3":"1391623986"},"map_files_photo_id_array":[{"photo_id":"1391623991","filename":"file5"},{"photo_id":"1391623984","filename":"file2"},{"photo_id":"1391623988","filename":"file4"},{"photo_id":"1391623983","filename":"file1"},{"photo_id":"1391623982","filename":"file0"},{"photo_id":"1391623986","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391623983":["hashtag1","hashtag2"]},{"1391623986":["hashtag1","hashtag2"]},{"1391623991":["hashtag1","hashtag2"]},{"1391623988":["hashtag1","hashtag2"]},{"1391623982":["hashtag1","hashtag2"]},{"1391623984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391623983, 1391623986, 1391623991, 1391623988, 1391623982, 1391623984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117682456970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:18:41.979973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_59_4313.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_01_1644.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_04_2720.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_06_2697.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_17_7688.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_23_4307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/11/image_30102025_03_11_59_4313.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_01_1644.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_04_2720.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_06_2697.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_17_7688.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_23_4307.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624178","1391624084","1391624035","1391624221","1391624137","1391624002"],"photo_ids_order":["1391624002","1391624035","1391624084","1391624137","1391624178","1391624221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bdf506b3c0154638e5dc0b2bd6b05c9.jpg","text":"TemporaryFile(/tmp/multipartBody2019667930516981763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_12_17_7688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2862ae217fcbd98454ef1d42a43eadb1.jpg","text":"TemporaryFile(/tmp/multipartBody5321378047717573789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_12_04_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8523fdca90c1ac62521455a72f193c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3628789197722055070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_12_01_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de69b3e55a7cdf3348fb328029b0559d.jpg","text":"TemporaryFile(/tmp/multipartBody152367949065324931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_12_23_4307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/143aa4b61c789425609b5aeec73b4458.jpg","text":"TemporaryFile(/tmp/multipartBody1877682354577540711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_12_06_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/825b67e77eb945f1569c4c23ed6d9f3a.jpg","text":"TemporaryFile(/tmp/multipartBody7585092269362369459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761995983477,"filename":"image_30102025_03_11_59_4313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624084","file1":"1391624035","file0":"1391624002","file4":"1391624178","file5":"1391624221","file3":"1391624137"},"map_files_photo_id_array":[{"photo_id":"1391624221","filename":"file5"},{"photo_id":"1391624084","filename":"file2"},{"photo_id":"1391624178","filename":"file4"},{"photo_id":"1391624035","filename":"file1"},{"photo_id":"1391624002","filename":"file0"},{"photo_id":"1391624137","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624178":["hashtag1","hashtag2"]},{"1391624084":["hashtag1","hashtag2"]},{"1391624035":["hashtag1","hashtag2"]},{"1391624221":["hashtag1","hashtag2"]},{"1391624137":["hashtag1","hashtag2"]},{"1391624002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624178, 1391624084, 1391624035, 1391624221, 1391624137, 1391624002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5555362701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:19:22.093973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_25_1709.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_33_2540.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_40_3782.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_42_2783.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_45_2750.jpg', '/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_51_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_25_1709.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_33_2540.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_40_3782.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_42_2783.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_45_2750.jpg
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_51_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624352","1391624361","1391624358","1391624354","1391624348","1391624356"],"photo_ids_order":["1391624348","1391624352","1391624354","1391624356","1391624358","1391624361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d01d94e09d5f61885acb0cc4727754b.jpg","text":"TemporaryFile(/tmp/multipartBody2382783896842576061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_33_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce04576985b28ed2435a670d284ce007.jpg","text":"TemporaryFile(/tmp/multipartBody2236005534734875385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_51_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d4a295b10845d53cb393e4fe0ce6bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4587485462774445209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_45_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9077bd0480b70fe01856a2a6ac6af53.jpg","text":"TemporaryFile(/tmp/multipartBody5385540919327223130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_40_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e296ed459aae6ca93d4213f7d822d961.jpg","text":"TemporaryFile(/tmp/multipartBody3822037243435594420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_25_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d67e842e4118bcc071adb8044c621d60.jpg","text":"TemporaryFile(/tmp/multipartBody3757963600740023069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996025063,"filename":"image_30102025_03_12_42_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624354","file1":"1391624352","file0":"1391624348","file4":"1391624358","file5":"1391624361","file3":"1391624356"},"map_files_photo_id_array":[{"photo_id":"1391624361","filename":"file5"},{"photo_id":"1391624354","filename":"file2"},{"photo_id":"1391624358","filename":"file4"},{"photo_id":"1391624352","filename":"file1"},{"photo_id":"1391624348","filename":"file0"},{"photo_id":"1391624356","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624352":["hashtag1","hashtag2"]},{"1391624361":["hashtag1","hashtag2"]},{"1391624358":["hashtag1","hashtag2"]},{"1391624354":["hashtag1","hashtag2"]},{"1391624348":["hashtag1","hashtag2"]},{"1391624356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624352, 1391624361, 1391624358, 1391624354, 1391624348, 1391624356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99000310897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:20:22.468056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_55_3694.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_03_2653.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_07_3759.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_09_2632.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_15_5882.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_18_2969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/12/image_30102025_03_12_55_3694.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_03_2653.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_07_3759.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_09_2632.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_15_5882.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_18_2969.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624388","1391624376","1391624375","1391624380","1391624377","1391624391"],"photo_ids_order":["1391624375","1391624376","1391624377","1391624380","1391624388","1391624391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92702f17fa4ebc2e5019f836de6f3539.jpg","text":"TemporaryFile(/tmp/multipartBody3241188255338734142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_13_15_5882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b4c70d6776c4af86a12d7d78db674e2.jpg","text":"TemporaryFile(/tmp/multipartBody9156228331884855733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_13_03_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7448db5f75fc2bd4869bb311aa0ab0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6878620888048748668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_12_55_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55ecf9645983e286a3ae75dbe70feb8a.jpg","text":"TemporaryFile(/tmp/multipartBody113915549021043535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_13_09_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c764b1f05534966ef5601c8086aca12.jpg","text":"TemporaryFile(/tmp/multipartBody567532292858896780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_13_07_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a7ec2905d76b921eb450e9e0118498b.jpg","text":"TemporaryFile(/tmp/multipartBody9177132295719253024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996085119,"filename":"image_30102025_03_13_18_2969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624377","file1":"1391624376","file0":"1391624375","file4":"1391624388","file5":"1391624391","file3":"1391624380"},"map_files_photo_id_array":[{"photo_id":"1391624391","filename":"file5"},{"photo_id":"1391624377","filename":"file2"},{"photo_id":"1391624388","filename":"file4"},{"photo_id":"1391624376","filename":"file1"},{"photo_id":"1391624375","filename":"file0"},{"photo_id":"1391624380","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624388":["hashtag1","hashtag2"]},{"1391624376":["hashtag1","hashtag2"]},{"1391624375":["hashtag1","hashtag2"]},{"1391624380":["hashtag1","hashtag2"]},{"1391624377":["hashtag1","hashtag2"]},{"1391624391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624388, 1391624376, 1391624375, 1391624380, 1391624377, 1391624391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50075721740723 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:21:22.579537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_20_1650.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_23_3355.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_25_1622.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_27_2506.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_30_2674.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_34_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_20_1650.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_23_3355.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_25_1622.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_27_2506.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_30_2674.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_34_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624420","1391624414","1391624417","1391624422","1391624425","1391624428"],"photo_ids_order":["1391624414","1391624417","1391624420","1391624422","1391624425","1391624428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2669c656211bf848b0f0d2a73878d174.jpg","text":"TemporaryFile(/tmp/multipartBody5626639142741809023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_25_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/705da647353c2c83421fef154139ce52.jpg","text":"TemporaryFile(/tmp/multipartBody2035671668151040113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_20_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/480aaa475ceaa87e9a7309b2ef98321f.jpg","text":"TemporaryFile(/tmp/multipartBody8823226441634538849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_23_3355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8cb943d3296b4c2b305f5edf6100de32.jpg","text":"TemporaryFile(/tmp/multipartBody605672525118020333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_27_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8cf117401c0bd11fefa2ee4663239007.jpg","text":"TemporaryFile(/tmp/multipartBody8661493204795173467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_30_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f8fc281e89b46c82dba23ed0e85dda4.jpg","text":"TemporaryFile(/tmp/multipartBody7102203340696687846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996145562,"filename":"image_30102025_03_13_34_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624420","file1":"1391624417","file0":"1391624414","file4":"1391624425","file5":"1391624428","file3":"1391624422"},"map_files_photo_id_array":[{"photo_id":"1391624428","filename":"file5"},{"photo_id":"1391624420","filename":"file2"},{"photo_id":"1391624425","filename":"file4"},{"photo_id":"1391624417","filename":"file1"},{"photo_id":"1391624414","filename":"file0"},{"photo_id":"1391624422","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624420":["hashtag1","hashtag2"]},{"1391624414":["hashtag1","hashtag2"]},{"1391624417":["hashtag1","hashtag2"]},{"1391624422":["hashtag1","hashtag2"]},{"1391624425":["hashtag1","hashtag2"]},{"1391624428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624420, 1391624414, 1391624417, 1391624422, 1391624425, 1391624428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68067955970764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:22:03.207154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_36_2551.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_45_3510.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_49_3410.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_51_1795.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_54_3627.jpg', '/home/pi/Desktop/images/30102025/03/13/image_30102025_03_14_00_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_36_2551.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_45_3510.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_49_3410.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_51_1795.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_13_54_3627.jpg
/home/pi/Desktop/images/30102025/03/13/image_30102025_03_14_00_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624433","1391624436","1391624444","1391624447","1391624441","1391624438"],"photo_ids_order":["1391624433","1391624436","1391624438","1391624441","1391624444","1391624447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9e47ada77aaafecb129a35d824a75c8.jpg","text":"TemporaryFile(/tmp/multipartBody2068629156722374761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_13_36_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edb0f6338f8c2ff78e87563b345a2386.jpg","text":"TemporaryFile(/tmp/multipartBody7108842780547391446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_13_45_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/798f573904ac91201290c5c7aed6595f.jpg","text":"TemporaryFile(/tmp/multipartBody4418892667342225287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_13_54_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/347903cbbf7b6787340773d98036ab86.jpg","text":"TemporaryFile(/tmp/multipartBody331280035222925628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_14_00_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5564886ba46155853c749a0c4ff1f927.jpg","text":"TemporaryFile(/tmp/multipartBody7848019660693413370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_13_51_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36c95648340687bc9040c7e926e56b54.jpg","text":"TemporaryFile(/tmp/multipartBody3684135414155719187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996185656,"filename":"image_30102025_03_13_49_3410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624438","file1":"1391624436","file0":"1391624433","file4":"1391624444","file5":"1391624447","file3":"1391624441"},"map_files_photo_id_array":[{"photo_id":"1391624447","filename":"file5"},{"photo_id":"1391624438","filename":"file2"},{"photo_id":"1391624444","filename":"file4"},{"photo_id":"1391624436","filename":"file1"},{"photo_id":"1391624433","filename":"file0"},{"photo_id":"1391624441","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624433":["hashtag1","hashtag2"]},{"1391624436":["hashtag1","hashtag2"]},{"1391624444":["hashtag1","hashtag2"]},{"1391624447":["hashtag1","hashtag2"]},{"1391624441":["hashtag1","hashtag2"]},{"1391624438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624433, 1391624436, 1391624444, 1391624447, 1391624441, 1391624438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.761998414993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:22:42.856018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_04_3815.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_08_4148.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_12_1568.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_15_2537.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_18_3524.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_21_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_04_3815.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_08_4148.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_12_1568.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_15_2537.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_18_3524.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_21_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624454","1391624463","1391624495","1391624483","1391624474","1391624499"],"photo_ids_order":["1391624454","1391624463","1391624474","1391624483","1391624495","1391624499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12f46cb414e6d5a75f1d679b031cc588.jpg","text":"TemporaryFile(/tmp/multipartBody5621150535762358360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_04_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdff41d864c5e35ce617d33494ff4187.jpg","text":"TemporaryFile(/tmp/multipartBody6685329100816925262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_08_4148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04e7fff977a1e2b9aca7b6aa0c5ddf56.jpg","text":"TemporaryFile(/tmp/multipartBody7635419976875173574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_18_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81b140b91ce5fdb36974906a7f573aeb.jpg","text":"TemporaryFile(/tmp/multipartBody693339426680989647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_15_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/828dce11596b3400890e05831e59640c.jpg","text":"TemporaryFile(/tmp/multipartBody3913222899211265859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_12_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d85f3d3026600dba63fd44f16256157c.jpg","text":"TemporaryFile(/tmp/multipartBody6536060366154485922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996224210,"filename":"image_30102025_03_14_21_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624474","file1":"1391624463","file0":"1391624454","file4":"1391624495","file5":"1391624499","file3":"1391624483"},"map_files_photo_id_array":[{"photo_id":"1391624499","filename":"file5"},{"photo_id":"1391624474","filename":"file2"},{"photo_id":"1391624495","filename":"file4"},{"photo_id":"1391624463","filename":"file1"},{"photo_id":"1391624454","filename":"file0"},{"photo_id":"1391624483","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624454":["hashtag1","hashtag2"]},{"1391624463":["hashtag1","hashtag2"]},{"1391624495":["hashtag1","hashtag2"]},{"1391624483":["hashtag1","hashtag2"]},{"1391624474":["hashtag1","hashtag2"]},{"1391624499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624454, 1391624463, 1391624495, 1391624483, 1391624474, 1391624499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36073136329651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:23:21.894979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_24_2710.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_30_2610.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_33_2719.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_36_3684.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_39_2734.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_42_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_24_2710.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_30_2610.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_33_2719.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_36_3684.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_39_2734.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_42_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624535","1391624529","1391624555","1391624531","1391624549","1391624542"],"photo_ids_order":["1391624529","1391624531","1391624535","1391624542","1391624549","1391624555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0482afa785dfd2b6a9dba446ef1089c.jpg","text":"TemporaryFile(/tmp/multipartBody7721162561629675181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_33_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84ec1e8df6ceb58223b38cfb282d8d80.jpg","text":"TemporaryFile(/tmp/multipartBody1856333556226608681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_24_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9994278b3506fa0b8f8341d72f770d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1729031210457877725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_42_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b99acd647d0c9277a19a00478ce9bd2d.jpg","text":"TemporaryFile(/tmp/multipartBody7404961988840056189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_30_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/218724552d83c21e0b91a53c71e9d577.jpg","text":"TemporaryFile(/tmp/multipartBody188948332687839004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_39_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c19899fdd6dbf0a8e5f509fd822d602.jpg","text":"TemporaryFile(/tmp/multipartBody6950346445957860434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996264871,"filename":"image_30102025_03_14_36_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624535","file1":"1391624531","file0":"1391624529","file4":"1391624549","file5":"1391624555","file3":"1391624542"},"map_files_photo_id_array":[{"photo_id":"1391624555","filename":"file5"},{"photo_id":"1391624535","filename":"file2"},{"photo_id":"1391624549","filename":"file4"},{"photo_id":"1391624531","filename":"file1"},{"photo_id":"1391624529","filename":"file0"},{"photo_id":"1391624542","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624535":["hashtag1","hashtag2"]},{"1391624529":["hashtag1","hashtag2"]},{"1391624555":["hashtag1","hashtag2"]},{"1391624531":["hashtag1","hashtag2"]},{"1391624549":["hashtag1","hashtag2"]},{"1391624542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624535, 1391624529, 1391624555, 1391624531, 1391624549, 1391624542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.714149951934814 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:24:22.137946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_45_3631.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_51_2673.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_54_3659.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_57_2643.jpg', '/home/pi/Desktop/images/30102025/03/14/image_30102025_03_15_00_2667.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_03_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_45_3631.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_51_2673.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_54_3659.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_14_57_2643.jpg
/home/pi/Desktop/images/30102025/03/14/image_30102025_03_15_00_2667.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_03_3507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624586","1391624573","1391624581","1391624575","1391624569","1391624577"],"photo_ids_order":["1391624569","1391624573","1391624575","1391624577","1391624581","1391624586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf3873bd9756bab33414361e7a516d2d.jpg","text":"TemporaryFile(/tmp/multipartBody7882960102770626877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_15_03_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7161fcfd90d10eecb971a0d4c2bcea5e.jpg","text":"TemporaryFile(/tmp/multipartBody46873487116193205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_14_51_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a79677d2fac987039d16ff81fbbd703b.jpg","text":"TemporaryFile(/tmp/multipartBody6177874227886771971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_15_00_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57280f4e8820dec6eb4408d9275eb4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5259133767654891570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_14_54_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/653b3b04d07ef3fa109472f7c3620686.jpg","text":"TemporaryFile(/tmp/multipartBody2199383301939584384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_14_45_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ff0366d3f271a998e82ea1b9af07a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4177958342419059327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996324763,"filename":"image_30102025_03_14_57_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624575","file1":"1391624573","file0":"1391624569","file4":"1391624581","file5":"1391624586","file3":"1391624577"},"map_files_photo_id_array":[{"photo_id":"1391624586","filename":"file5"},{"photo_id":"1391624575","filename":"file2"},{"photo_id":"1391624581","filename":"file4"},{"photo_id":"1391624573","filename":"file1"},{"photo_id":"1391624569","filename":"file0"},{"photo_id":"1391624577","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624586":["hashtag1","hashtag2"]},{"1391624573":["hashtag1","hashtag2"]},{"1391624581":["hashtag1","hashtag2"]},{"1391624575":["hashtag1","hashtag2"]},{"1391624569":["hashtag1","hashtag2"]},{"1391624577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624586, 1391624573, 1391624581, 1391624575, 1391624569, 1391624577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.739081621170044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:25:02.936650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_12_3555.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_15_2787.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_18_2650.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_21_2844.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_24_3710.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_27_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_12_3555.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_15_2787.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_18_2650.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_21_2844.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_24_3710.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_27_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624601","1391624597","1391624606","1391624599","1391624603","1391624605"],"photo_ids_order":["1391624597","1391624599","1391624601","1391624603","1391624605","1391624606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c93461ea4ecfd68b42a307b047d1413e.jpg","text":"TemporaryFile(/tmp/multipartBody4537414030899707121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_18_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b491290a13f6d9b55c340a99cdf0b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody1933683015461726407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_12_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0903ce9c8a5c3d29c2734cbc706d09e2.jpg","text":"TemporaryFile(/tmp/multipartBody278180093797777187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_27_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17b634ae17d9958cb0bd26608195a78f.jpg","text":"TemporaryFile(/tmp/multipartBody5259999810004843747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_15_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14daa700b5a5b11f6a6d02c01fe649c4.jpg","text":"TemporaryFile(/tmp/multipartBody2806964454331818324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_21_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb2b0db0e7fc8c86d01beb06f76aceaa.jpg","text":"TemporaryFile(/tmp/multipartBody385650597638255199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996365495,"filename":"image_30102025_03_15_24_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624601","file1":"1391624599","file0":"1391624597","file4":"1391624605","file5":"1391624606","file3":"1391624603"},"map_files_photo_id_array":[{"photo_id":"1391624606","filename":"file5"},{"photo_id":"1391624601","filename":"file2"},{"photo_id":"1391624605","filename":"file4"},{"photo_id":"1391624599","filename":"file1"},{"photo_id":"1391624597","filename":"file0"},{"photo_id":"1391624603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624601":["hashtag1","hashtag2"]},{"1391624597":["hashtag1","hashtag2"]},{"1391624606":["hashtag1","hashtag2"]},{"1391624599":["hashtag1","hashtag2"]},{"1391624603":["hashtag1","hashtag2"]},{"1391624605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624601, 1391624597, 1391624606, 1391624599, 1391624603, 1391624605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21314764022827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:25:42.371938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_30_2682.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_33_3698.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_36_2702.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_39_2640.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_41_2714.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_45_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_30_2682.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_33_3698.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_36_2702.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_39_2640.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_41_2714.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_45_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624625","1391624621","1391624629","1391624623","1391624617","1391624626"],"photo_ids_order":["1391624617","1391624621","1391624623","1391624625","1391624626","1391624629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1849333c2a3a31b7e174103a90204298.jpg","text":"TemporaryFile(/tmp/multipartBody819509579135961426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_39_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e489b5add99db65e4d93fa7890e623e5.jpg","text":"TemporaryFile(/tmp/multipartBody7854188973397336913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_33_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a5c15370aa36899c90d24bef2b4eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody8756850586735487161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_45_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cdd7cc8570cac37ab72abcc07f79952.jpg","text":"TemporaryFile(/tmp/multipartBody8110836786426905650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_36_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e5aa0c095c60f6df37f8ba2b66c6610.jpg","text":"TemporaryFile(/tmp/multipartBody1225195217753813716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_30_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f229d6e11ea32ed693f1748a91addd8.jpg","text":"TemporaryFile(/tmp/multipartBody7596750275668995765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996403802,"filename":"image_30102025_03_15_41_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624623","file1":"1391624621","file0":"1391624617","file4":"1391624626","file5":"1391624629","file3":"1391624625"},"map_files_photo_id_array":[{"photo_id":"1391624629","filename":"file5"},{"photo_id":"1391624623","filename":"file2"},{"photo_id":"1391624626","filename":"file4"},{"photo_id":"1391624621","filename":"file1"},{"photo_id":"1391624617","filename":"file0"},{"photo_id":"1391624625","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624625":["hashtag1","hashtag2"]},{"1391624621":["hashtag1","hashtag2"]},{"1391624629":["hashtag1","hashtag2"]},{"1391624623":["hashtag1","hashtag2"]},{"1391624617":["hashtag1","hashtag2"]},{"1391624626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624625, 1391624621, 1391624629, 1391624623, 1391624617, 1391624626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.246689319610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:26:22.497317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_51_3622.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_54_2879.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_57_2809.jpg', '/home/pi/Desktop/images/30102025/03/15/image_30102025_03_16_00_2692.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_03_3608.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_06_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_51_3622.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_54_2879.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_15_57_2809.jpg
/home/pi/Desktop/images/30102025/03/15/image_30102025_03_16_00_2692.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_03_3608.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_06_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624655","1391624649","1391624657","1391624642","1391624651","1391624647"],"photo_ids_order":["1391624642","1391624647","1391624649","1391624651","1391624655","1391624657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e07e04c50cda6560371d8b8163c20059.jpg","text":"TemporaryFile(/tmp/multipartBody6798481258193241292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_16_03_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95cc55cfac2745213bafac16972f3e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7895072431293500302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_15_57_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42b17014e35a5dce5b8a8e0557dc1a2a.jpg","text":"TemporaryFile(/tmp/multipartBody56542875865715371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_16_06_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be9697928cf3c2c689b6e4ebf9a7adfc.jpg","text":"TemporaryFile(/tmp/multipartBody942277760614540926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_15_51_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7db0168782308bd9117a7d11d34506d.jpg","text":"TemporaryFile(/tmp/multipartBody7606319770389445894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_16_00_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dd6e9291e8d4500df7f662749fd945d.jpg","text":"TemporaryFile(/tmp/multipartBody4529903538162996220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996445511,"filename":"image_30102025_03_15_54_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624649","file1":"1391624647","file0":"1391624642","file4":"1391624655","file5":"1391624657","file3":"1391624651"},"map_files_photo_id_array":[{"photo_id":"1391624657","filename":"file5"},{"photo_id":"1391624649","filename":"file2"},{"photo_id":"1391624655","filename":"file4"},{"photo_id":"1391624647","filename":"file1"},{"photo_id":"1391624642","filename":"file0"},{"photo_id":"1391624651","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624655":["hashtag1","hashtag2"]},{"1391624649":["hashtag1","hashtag2"]},{"1391624657":["hashtag1","hashtag2"]},{"1391624642":["hashtag1","hashtag2"]},{"1391624651":["hashtag1","hashtag2"]},{"1391624647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624655, 1391624649, 1391624657, 1391624642, 1391624651, 1391624647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2865788936615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:27:03.357627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_09_2665.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_12_3635.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_22_7399.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_28_5839.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_30_1586.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_32_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_09_2665.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_12_3635.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_22_7399.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_28_5839.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_30_1586.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_32_1679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624679","1391624672","1391624669","1391624674","1391624682","1391624676"],"photo_ids_order":["1391624669","1391624672","1391624674","1391624676","1391624679","1391624682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/136e0d263ac2ba90af38e49a03787bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3778916764120000746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_30_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03269b58c2cfda345b78cd589ec1959d.jpg","text":"TemporaryFile(/tmp/multipartBody1987745613308899324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_12_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68fefe6900185919ff7fb3fe636ff186.jpg","text":"TemporaryFile(/tmp/multipartBody2400186367863698651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_09_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1d17f2406cf437b51dbfbce7b9edfe7.jpg","text":"TemporaryFile(/tmp/multipartBody8032940228575498004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_22_7399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb6193f4fa1a339e2928f483168fd14f.jpg","text":"TemporaryFile(/tmp/multipartBody3373678917700361014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_32_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2869d079d8e9df2c14e18c0e226bb060.jpg","text":"TemporaryFile(/tmp/multipartBody3764733573722254490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996485868,"filename":"image_30102025_03_16_28_5839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624674","file1":"1391624672","file0":"1391624669","file4":"1391624679","file5":"1391624682","file3":"1391624676"},"map_files_photo_id_array":[{"photo_id":"1391624682","filename":"file5"},{"photo_id":"1391624674","filename":"file2"},{"photo_id":"1391624679","filename":"file4"},{"photo_id":"1391624672","filename":"file1"},{"photo_id":"1391624669","filename":"file0"},{"photo_id":"1391624676","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624679":["hashtag1","hashtag2"]},{"1391624672":["hashtag1","hashtag2"]},{"1391624669":["hashtag1","hashtag2"]},{"1391624674":["hashtag1","hashtag2"]},{"1391624682":["hashtag1","hashtag2"]},{"1391624676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624679, 1391624672, 1391624669, 1391624674, 1391624682, 1391624676)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.810336112976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:28:02.267074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_33_1614.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_35_1573.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_37_1776.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_39_2529.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_42_2831.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_45_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_33_1614.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_35_1573.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_37_1776.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_39_2529.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_42_2831.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_45_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624711","1391624714","1391624702","1391624716","1391624710","1391624707"],"photo_ids_order":["1391624702","1391624707","1391624710","1391624711","1391624714","1391624716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1de0f82360511c84f00ad892ed964736.jpg","text":"TemporaryFile(/tmp/multipartBody1058264641747780420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_39_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c43afba7470a150702f3627618b6faa1.jpg","text":"TemporaryFile(/tmp/multipartBody5553607400834583047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_42_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/772bc9e4c7bf03e60f2e0bbae81b259e.jpg","text":"TemporaryFile(/tmp/multipartBody309719337277542944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_33_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f8b0f63d55506dfccf556ab3b84fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody7033538510072336369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b1b5d940cbb4227faa8e87f03d6d2de.jpg","text":"TemporaryFile(/tmp/multipartBody2125284656172642247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_37_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9fe90942bede61c4dfc0414fb00476c.jpg","text":"TemporaryFile(/tmp/multipartBody1843387612224455191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996544713,"filename":"image_30102025_03_16_35_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624710","file1":"1391624707","file0":"1391624702","file4":"1391624714","file5":"1391624716","file3":"1391624711"},"map_files_photo_id_array":[{"photo_id":"1391624716","filename":"file5"},{"photo_id":"1391624710","filename":"file2"},{"photo_id":"1391624714","filename":"file4"},{"photo_id":"1391624707","filename":"file1"},{"photo_id":"1391624702","filename":"file0"},{"photo_id":"1391624711","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624711":["hashtag1","hashtag2"]},{"1391624714":["hashtag1","hashtag2"]},{"1391624702":["hashtag1","hashtag2"]},{"1391624716":["hashtag1","hashtag2"]},{"1391624710":["hashtag1","hashtag2"]},{"1391624707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624711, 1391624714, 1391624702, 1391624716, 1391624710, 1391624707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.507540225982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:29:02.914471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_48_3721.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_51_2629.jpg', '/home/pi/Desktop/images/30102025/03/16/image_30102025_03_17_00_3635.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_03_2590.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_05_2635.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_09_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_48_3721.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_16_51_2629.jpg
/home/pi/Desktop/images/30102025/03/16/image_30102025_03_17_00_3635.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_03_2590.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_05_2635.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_09_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624745","1391624739","1391624748","1391624741","1391624782","1391624752"],"photo_ids_order":["1391624739","1391624741","1391624745","1391624748","1391624752","1391624782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/574b2cbee01d26c1490d875c7db9e7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1056729543301157862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_17_00_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4648ef57e9bca2b536a41d14b52a714.jpg","text":"TemporaryFile(/tmp/multipartBody439837298506209101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_16_48_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4b27b2dce14495af38d5c57b6cfd5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5378696148658303618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_17_03_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f63526a8ba6412e795c95d5f117e2892.jpg","text":"TemporaryFile(/tmp/multipartBody8326305730937835654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_16_51_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1ffba266b5fe30a49db6746b47a0673.jpg","text":"TemporaryFile(/tmp/multipartBody1558706624491780044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_17_09_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79371c361520a835ab76bf289b9e68f6.jpg","text":"TemporaryFile(/tmp/multipartBody941237515762725354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996605640,"filename":"image_30102025_03_17_05_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624745","file1":"1391624741","file0":"1391624739","file4":"1391624752","file5":"1391624782","file3":"1391624748"},"map_files_photo_id_array":[{"photo_id":"1391624782","filename":"file5"},{"photo_id":"1391624745","filename":"file2"},{"photo_id":"1391624752","filename":"file4"},{"photo_id":"1391624741","filename":"file1"},{"photo_id":"1391624739","filename":"file0"},{"photo_id":"1391624748","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624745":["hashtag1","hashtag2"]},{"1391624739":["hashtag1","hashtag2"]},{"1391624748":["hashtag1","hashtag2"]},{"1391624741":["hashtag1","hashtag2"]},{"1391624782":["hashtag1","hashtag2"]},{"1391624752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624745, 1391624739, 1391624748, 1391624741, 1391624782, 1391624752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17991590499878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:30:02.774679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_12_2575.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_21_2689.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_24_3539.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_27_2631.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_29_2735.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_33_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_12_2575.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_21_2689.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_24_3539.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_27_2631.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_29_2735.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_33_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624964","1391624966","1391624962","1391624971","1391624959","1391624968"],"photo_ids_order":["1391624959","1391624962","1391624964","1391624966","1391624968","1391624971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9955674a57473d7a8acf1e74bb6724fb.jpg","text":"TemporaryFile(/tmp/multipartBody8180433741690510357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_24_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6dd44bee58c1796836b64358334d286.jpg","text":"TemporaryFile(/tmp/multipartBody1020936853415435098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_27_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b4e12a8713a2432912d474e86752812.jpg","text":"TemporaryFile(/tmp/multipartBody8006307446178211192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_21_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1521b65ce086e2b7868c35c5e99cb26.jpg","text":"TemporaryFile(/tmp/multipartBody2971065219550940599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_33_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed787823149e8ec039ef697caed43409.jpg","text":"TemporaryFile(/tmp/multipartBody980460083349257496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_12_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dceb5a44436b7b7f06b010b666436a5.jpg","text":"TemporaryFile(/tmp/multipartBody4592122638527057063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996665203,"filename":"image_30102025_03_17_29_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624964","file1":"1391624962","file0":"1391624959","file4":"1391624968","file5":"1391624971","file3":"1391624966"},"map_files_photo_id_array":[{"photo_id":"1391624971","filename":"file5"},{"photo_id":"1391624964","filename":"file2"},{"photo_id":"1391624968","filename":"file4"},{"photo_id":"1391624962","filename":"file1"},{"photo_id":"1391624959","filename":"file0"},{"photo_id":"1391624966","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624964":["hashtag1","hashtag2"]},{"1391624966":["hashtag1","hashtag2"]},{"1391624962":["hashtag1","hashtag2"]},{"1391624971":["hashtag1","hashtag2"]},{"1391624959":["hashtag1","hashtag2"]},{"1391624968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624964, 1391624966, 1391624962, 1391624971, 1391624959, 1391624968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.256969928741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:30:42.311007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_36_2663.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_38_2676.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_42_3564.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_45_2678.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_51_2663.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_54_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_36_2663.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_38_2676.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_42_3564.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_45_2678.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_51_2663.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_54_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391624982","1391624975","1391624980","1391624983","1391624977","1391624985"],"photo_ids_order":["1391624975","1391624977","1391624980","1391624982","1391624983","1391624985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cd42d69aa52446e198968b0d1c6b975.jpg","text":"TemporaryFile(/tmp/multipartBody5410493103986247028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_45_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a7cc70b66415dc5cd15072507ccf06c.jpg","text":"TemporaryFile(/tmp/multipartBody5321650779135469194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_36_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d573021c3959c2ebb9e0e1c296921fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8175099537310051482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_42_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eac9103391d4fcbde97c9e99eb789ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4018354035163125390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_51_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9d2e910997b55e4541c54a90f11ef98.jpg","text":"TemporaryFile(/tmp/multipartBody5525240714756599757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_38_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db6baccf16dfcc444bc7d738123f592f.jpg","text":"TemporaryFile(/tmp/multipartBody5324878971719986226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996703776,"filename":"image_30102025_03_17_54_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624980","file1":"1391624977","file0":"1391624975","file4":"1391624983","file5":"1391624985","file3":"1391624982"},"map_files_photo_id_array":[{"photo_id":"1391624985","filename":"file5"},{"photo_id":"1391624980","filename":"file2"},{"photo_id":"1391624983","filename":"file4"},{"photo_id":"1391624977","filename":"file1"},{"photo_id":"1391624975","filename":"file0"},{"photo_id":"1391624982","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391624982":["hashtag1","hashtag2"]},{"1391624975":["hashtag1","hashtag2"]},{"1391624980":["hashtag1","hashtag2"]},{"1391624983":["hashtag1","hashtag2"]},{"1391624977":["hashtag1","hashtag2"]},{"1391624985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391624982, 1391624975, 1391624980, 1391624983, 1391624977, 1391624985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33769416809082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:31:22.435235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_57_3576.jpg', '/home/pi/Desktop/images/30102025/03/17/image_30102025_03_18_00_2764.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_02_2532.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_06_3639.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_09_2673.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_12_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_17_57_3576.jpg
/home/pi/Desktop/images/30102025/03/17/image_30102025_03_18_00_2764.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_02_2532.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_06_3639.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_09_2673.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_12_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625000","1391624996","1391625017","1391625005","1391624992","1391624994"],"photo_ids_order":["1391624992","1391624994","1391624996","1391625000","1391625005","1391625017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c575cc626c4044e1ef9710188b68200.jpg","text":"TemporaryFile(/tmp/multipartBody4446819193884797334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_18_06_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42b57982346ed68870c21f5cb45ef910.jpg","text":"TemporaryFile(/tmp/multipartBody356879622065318192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_18_02_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/723a3ea09d81c82ef5f7064686745487.jpg","text":"TemporaryFile(/tmp/multipartBody664512384371542377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_18_12_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14266ec7b30fd369d60356efb9f311c6.jpg","text":"TemporaryFile(/tmp/multipartBody1243821902164677176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_18_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cbd590d9802efd577751c49f616a324.jpg","text":"TemporaryFile(/tmp/multipartBody2645599650038750470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_17_57_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1387801b5385cac4fb44392c22b9eef7.jpg","text":"TemporaryFile(/tmp/multipartBody7672441999133488983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996745392,"filename":"image_30102025_03_18_00_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391624996","file1":"1391624994","file0":"1391624992","file4":"1391625005","file5":"1391625017","file3":"1391625000"},"map_files_photo_id_array":[{"photo_id":"1391625017","filename":"file5"},{"photo_id":"1391624996","filename":"file2"},{"photo_id":"1391625005","filename":"file4"},{"photo_id":"1391624994","filename":"file1"},{"photo_id":"1391624992","filename":"file0"},{"photo_id":"1391625000","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625000":["hashtag1","hashtag2"]},{"1391624996":["hashtag1","hashtag2"]},{"1391625017":["hashtag1","hashtag2"]},{"1391625005":["hashtag1","hashtag2"]},{"1391624992":["hashtag1","hashtag2"]},{"1391624994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625000, 1391624996, 1391625017, 1391625005, 1391624992, 1391624994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28773045539856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:32:03.103507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_14_2629.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_18_3551.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_21_2751.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_24_3615.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_27_2777.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_29_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_14_2629.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_18_3551.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_21_2751.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_24_3615.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_27_2777.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_29_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625092","1391625080","1391625097","1391625052","1391625087","1391625054"],"photo_ids_order":["1391625052","1391625054","1391625080","1391625087","1391625092","1391625097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d050980d283aca34635491e34143296.jpg","text":"TemporaryFile(/tmp/multipartBody8989759896291459663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_27_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c473525d04511cde470ae1f7c10c9be.jpg","text":"TemporaryFile(/tmp/multipartBody6216537099159496021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_21_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aa429669e569a62fbf56594b9037d97.jpg","text":"TemporaryFile(/tmp/multipartBody5634160594666279708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d83c79a568b878e8ecb313dd5d14275.jpg","text":"TemporaryFile(/tmp/multipartBody5005204445765261254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_14_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/054507ac13b0997bb4cebd14c93b126e.jpg","text":"TemporaryFile(/tmp/multipartBody1620708036869321772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_24_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63472eed12be271e6f09152c9ebe4533.jpg","text":"TemporaryFile(/tmp/multipartBody4387429704407486647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996785483,"filename":"image_30102025_03_18_18_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625080","file1":"1391625054","file0":"1391625052","file4":"1391625092","file5":"1391625097","file3":"1391625087"},"map_files_photo_id_array":[{"photo_id":"1391625097","filename":"file5"},{"photo_id":"1391625080","filename":"file2"},{"photo_id":"1391625092","filename":"file4"},{"photo_id":"1391625054","filename":"file1"},{"photo_id":"1391625052","filename":"file0"},{"photo_id":"1391625087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625092":["hashtag1","hashtag2"]},{"1391625080":["hashtag1","hashtag2"]},{"1391625097":["hashtag1","hashtag2"]},{"1391625052":["hashtag1","hashtag2"]},{"1391625087":["hashtag1","hashtag2"]},{"1391625054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625092, 1391625080, 1391625097, 1391625052, 1391625087, 1391625054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09210705757141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:32:42.650127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_38_2648.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_42_3559.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_45_2755.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_47_2686.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_50_2717.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_54_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_38_2648.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_42_3559.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_45_2755.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_47_2686.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_50_2717.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_54_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625287","1391625263","1391625257","1391625283","1391625208","1391625147"],"photo_ids_order":["1391625147","1391625208","1391625257","1391625263","1391625283","1391625287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/064da558ef6d09857cd5759b413a7652.jpg","text":"TemporaryFile(/tmp/multipartBody7197035371931345928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_54_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2e06c6a62e5cc45f9ef0aa18fb4fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody9179732132316373407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_47_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9888d858c5f9ef9685c1f0fe708a705.jpg","text":"TemporaryFile(/tmp/multipartBody3421495468327062047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_45_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/243c78d3930c94a9148fad15fc349719.jpg","text":"TemporaryFile(/tmp/multipartBody1929564578885833937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_50_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af6c0ec59f3b123248b5ef6e858d1727.jpg","text":"TemporaryFile(/tmp/multipartBody6243208729511110521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_42_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d4249e96f6127b20f6090b97282cf9f.jpg","text":"TemporaryFile(/tmp/multipartBody8710235022099739924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996824009,"filename":"image_30102025_03_18_38_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625257","file1":"1391625208","file0":"1391625147","file4":"1391625283","file5":"1391625287","file3":"1391625263"},"map_files_photo_id_array":[{"photo_id":"1391625287","filename":"file5"},{"photo_id":"1391625257","filename":"file2"},{"photo_id":"1391625283","filename":"file4"},{"photo_id":"1391625208","filename":"file1"},{"photo_id":"1391625147","filename":"file0"},{"photo_id":"1391625263","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625287":["hashtag1","hashtag2"]},{"1391625263":["hashtag1","hashtag2"]},{"1391625257":["hashtag1","hashtag2"]},{"1391625283":["hashtag1","hashtag2"]},{"1391625208":["hashtag1","hashtag2"]},{"1391625147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625287, 1391625263, 1391625257, 1391625283, 1391625208, 1391625147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95195984840393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:33:21.743208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_57_2709.jpg', '/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_59_2614.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_03_3768.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_09_2849.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_11_2691.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_15_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_57_2709.jpg
/home/pi/Desktop/images/30102025/03/18/image_30102025_03_18_59_2614.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_03_3768.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_09_2849.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_11_2691.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_15_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625324","1391625389","1391625326","1391625393","1391625328","1391625351"],"photo_ids_order":["1391625324","1391625326","1391625328","1391625351","1391625389","1391625393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a010e8cab6cabd8fc9a3bbce58f02fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7964442946780559954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_18_57_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9ebe483a2c5b3d3bdc62fd6688a2fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1386330601761296014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_19_11_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/775338130f3b23aecda1bf5f7c151b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3793605601136059619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_18_59_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54175de40b53a08a38c65fe31bccdf3a.jpg","text":"TemporaryFile(/tmp/multipartBody3826819305075873945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_19_15_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e355e6eaf50216c5ac8a23e96979f00.jpg","text":"TemporaryFile(/tmp/multipartBody8731135919696131649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_19_03_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/374e8cc803cc42af01a766c877594092.jpg","text":"TemporaryFile(/tmp/multipartBody4972489524421314006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996864676,"filename":"image_30102025_03_19_09_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625328","file1":"1391625326","file0":"1391625324","file4":"1391625389","file5":"1391625393","file3":"1391625351"},"map_files_photo_id_array":[{"photo_id":"1391625393","filename":"file5"},{"photo_id":"1391625328","filename":"file2"},{"photo_id":"1391625389","filename":"file4"},{"photo_id":"1391625326","filename":"file1"},{"photo_id":"1391625324","filename":"file0"},{"photo_id":"1391625351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625324":["hashtag1","hashtag2"]},{"1391625389":["hashtag1","hashtag2"]},{"1391625326":["hashtag1","hashtag2"]},{"1391625393":["hashtag1","hashtag2"]},{"1391625328":["hashtag1","hashtag2"]},{"1391625351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625324, 1391625389, 1391625326, 1391625393, 1391625328, 1391625351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1381721496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:34:02.826434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_18_2745.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_21_3012.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_23_2643.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_26_2750.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_30_3814.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_33_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_18_2745.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_21_3012.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_23_2643.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_26_2750.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_30_3814.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_33_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625435","1391625449","1391625440","1391625446","1391625428","1391625416"],"photo_ids_order":["1391625416","1391625428","1391625435","1391625440","1391625446","1391625449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08bdd06942a8cd2982ef970766ad251d.jpg","text":"TemporaryFile(/tmp/multipartBody7260547140393423119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_23_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2f1a1ac16904ee5b0a0ebd5fb366efd.jpg","text":"TemporaryFile(/tmp/multipartBody6004284222642005181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_33_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/245846cbd0210d25ad900d853ebda114.jpg","text":"TemporaryFile(/tmp/multipartBody1963011652357799037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_26_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5ad3e18347669690bf69ebb0b373229.jpg","text":"TemporaryFile(/tmp/multipartBody1886249734686923985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_30_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/785e57d61525177aa789a231965171c8.jpg","text":"TemporaryFile(/tmp/multipartBody4436378600111070356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_21_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e02dc318ef6da495a518e1bf1f92fb2c.jpg","text":"TemporaryFile(/tmp/multipartBody7759654674809726642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996905244,"filename":"image_30102025_03_19_18_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625435","file1":"1391625428","file0":"1391625416","file4":"1391625446","file5":"1391625449","file3":"1391625440"},"map_files_photo_id_array":[{"photo_id":"1391625449","filename":"file5"},{"photo_id":"1391625435","filename":"file2"},{"photo_id":"1391625446","filename":"file4"},{"photo_id":"1391625428","filename":"file1"},{"photo_id":"1391625416","filename":"file0"},{"photo_id":"1391625440","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625435":["hashtag1","hashtag2"]},{"1391625449":["hashtag1","hashtag2"]},{"1391625440":["hashtag1","hashtag2"]},{"1391625446":["hashtag1","hashtag2"]},{"1391625428":["hashtag1","hashtag2"]},{"1391625416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625435, 1391625449, 1391625440, 1391625446, 1391625428, 1391625416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00293493270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:35:02.979027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_35_2718.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_38_2765.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_42_3634.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_44_2617.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_47_2679.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_51_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_35_2718.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_38_2765.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_42_3634.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_44_2617.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_47_2679.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_51_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625528","1391625578","1391625580","1391625582","1391625570","1391625486"],"photo_ids_order":["1391625486","1391625528","1391625570","1391625578","1391625580","1391625582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c01a3c0e5d36f8098484cbd9863e79a8.jpg","text":"TemporaryFile(/tmp/multipartBody5452842151874684874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_38_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc9530adbd9acc1a10b46efd0c973c93.jpg","text":"TemporaryFile(/tmp/multipartBody7069855818092943203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_44_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c0bca60b5e7b0216c9d8ae83d4107f0.jpg","text":"TemporaryFile(/tmp/multipartBody2331654481507510490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_47_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12b7e7502f95a4b228b1dc7779a15f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4811740546983006362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_51_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a4b35886daf71c8c07101b954b537eb.jpg","text":"TemporaryFile(/tmp/multipartBody5996341427769581121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_42_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e9d607030796924a48106bee9a0dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5192527103904169926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761996965462,"filename":"image_30102025_03_19_35_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625570","file1":"1391625528","file0":"1391625486","file4":"1391625580","file5":"1391625582","file3":"1391625578"},"map_files_photo_id_array":[{"photo_id":"1391625582","filename":"file5"},{"photo_id":"1391625570","filename":"file2"},{"photo_id":"1391625580","filename":"file4"},{"photo_id":"1391625528","filename":"file1"},{"photo_id":"1391625486","filename":"file0"},{"photo_id":"1391625578","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625528":["hashtag1","hashtag2"]},{"1391625578":["hashtag1","hashtag2"]},{"1391625580":["hashtag1","hashtag2"]},{"1391625582":["hashtag1","hashtag2"]},{"1391625570":["hashtag1","hashtag2"]},{"1391625486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625528, 1391625578, 1391625580, 1391625582, 1391625570, 1391625486)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.65867567062378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:36:02.814245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_53_2596.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_57_3611.jpg', '/home/pi/Desktop/images/30102025/03/19/image_30102025_03_20_00_2644.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_02_2527.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_09_3736.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_11_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_53_2596.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_19_57_3611.jpg
/home/pi/Desktop/images/30102025/03/19/image_30102025_03_20_00_2644.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_02_2527.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_09_3736.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_11_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625612","1391625620","1391625611","1391625605","1391625608","1391625618"],"photo_ids_order":["1391625605","1391625608","1391625611","1391625612","1391625618","1391625620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/763f0fcadc653327df09738f8770e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody2730842260643349877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_20_02_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60b1a1f8dad74a11fca9d3f4c060906f.jpg","text":"TemporaryFile(/tmp/multipartBody7534030273963801681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_20_11_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/209486e60fa0a4e39394e571603b432c.jpg","text":"TemporaryFile(/tmp/multipartBody5577586377460114774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_20_00_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e57e78bec18d422f249d3844f02c95a.jpg","text":"TemporaryFile(/tmp/multipartBody4585685384521683600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_19_53_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce556e808c8ba4f8680462b4d5d0c728.jpg","text":"TemporaryFile(/tmp/multipartBody998058986513245044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_19_57_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ddc11efdca9a843d7d7fc12ea8804fe.jpg","text":"TemporaryFile(/tmp/multipartBody4650925973616805769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997025303,"filename":"image_30102025_03_20_09_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625611","file1":"1391625608","file0":"1391625605","file4":"1391625618","file5":"1391625620","file3":"1391625612"},"map_files_photo_id_array":[{"photo_id":"1391625620","filename":"file5"},{"photo_id":"1391625611","filename":"file2"},{"photo_id":"1391625618","filename":"file4"},{"photo_id":"1391625608","filename":"file1"},{"photo_id":"1391625605","filename":"file0"},{"photo_id":"1391625612","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625612":["hashtag1","hashtag2"]},{"1391625620":["hashtag1","hashtag2"]},{"1391625611":["hashtag1","hashtag2"]},{"1391625605":["hashtag1","hashtag2"]},{"1391625608":["hashtag1","hashtag2"]},{"1391625618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625612, 1391625620, 1391625611, 1391625605, 1391625608, 1391625618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2233464717865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:36:42.577869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_14_2587.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_18_3696.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_20_2746.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_23_2698.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_27_3521.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_29_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_14_2587.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_18_3696.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_20_2746.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_23_2698.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_27_3521.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_29_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625633","1391625694","1391625707","1391625646","1391625687","1391625636"],"photo_ids_order":["1391625633","1391625636","1391625646","1391625687","1391625694","1391625707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a20c9382f5f27670dd7580906339348c.jpg","text":"TemporaryFile(/tmp/multipartBody8570806076218829402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_14_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48b6d25ed4ec74cfe8ff21690f9de68e.jpg","text":"TemporaryFile(/tmp/multipartBody8935452717891326222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_27_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54e55da13097adf74d9a0e9dc248297f.jpg","text":"TemporaryFile(/tmp/multipartBody372046643349384069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_29_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62ff52b5480d83ab43e621b1fe526779.jpg","text":"TemporaryFile(/tmp/multipartBody2936397737972618276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_20_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05d0593ceb6cce2b13955b3584c6c130.jpg","text":"TemporaryFile(/tmp/multipartBody6709073092005374461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_23_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc9cd8352db0435e4aa3985fb9b237cc.jpg","text":"TemporaryFile(/tmp/multipartBody2097563045585886900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997063928,"filename":"image_30102025_03_20_18_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625646","file1":"1391625636","file0":"1391625633","file4":"1391625694","file5":"1391625707","file3":"1391625687"},"map_files_photo_id_array":[{"photo_id":"1391625707","filename":"file5"},{"photo_id":"1391625646","filename":"file2"},{"photo_id":"1391625694","filename":"file4"},{"photo_id":"1391625636","filename":"file1"},{"photo_id":"1391625633","filename":"file0"},{"photo_id":"1391625687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625633":["hashtag1","hashtag2"]},{"1391625694":["hashtag1","hashtag2"]},{"1391625707":["hashtag1","hashtag2"]},{"1391625646":["hashtag1","hashtag2"]},{"1391625687":["hashtag1","hashtag2"]},{"1391625636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625633, 1391625694, 1391625707, 1391625646, 1391625687, 1391625636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27778434753418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:37:22.632440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_33_3578.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_36_2882.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_38_2661.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_41_2631.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_45_3733.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_47_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_33_3578.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_36_2882.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_38_2661.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_41_2631.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_45_3733.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_47_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625726","1391625729","1391625724","1391625733","1391625727","1391625736"],"photo_ids_order":["1391625724","1391625726","1391625727","1391625729","1391625733","1391625736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ee88b7b10b98b3e614dd3f57eb7ebed.jpg","text":"TemporaryFile(/tmp/multipartBody4451096437230146048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_36_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/179b273bda348a1bcac3abae4d71cb74.jpg","text":"TemporaryFile(/tmp/multipartBody5685322128441224235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_41_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8145436cb3a1f5a25a3fca64eb049e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4050434098546800817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_33_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/536a4ebde1ce20f662049bca695aa81b.jpg","text":"TemporaryFile(/tmp/multipartBody518342722924390755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_45_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95d64c9a43ea86ffa5dd7ef453b5201a.jpg","text":"TemporaryFile(/tmp/multipartBody4193030070138198254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_38_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5e35a5f873a4b54cd092b349af372e2.jpg","text":"TemporaryFile(/tmp/multipartBody7701583570067663855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997105580,"filename":"image_30102025_03_20_47_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625727","file1":"1391625726","file0":"1391625724","file4":"1391625733","file5":"1391625736","file3":"1391625729"},"map_files_photo_id_array":[{"photo_id":"1391625736","filename":"file5"},{"photo_id":"1391625727","filename":"file2"},{"photo_id":"1391625733","filename":"file4"},{"photo_id":"1391625726","filename":"file1"},{"photo_id":"1391625724","filename":"file0"},{"photo_id":"1391625729","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625726":["hashtag1","hashtag2"]},{"1391625729":["hashtag1","hashtag2"]},{"1391625724":["hashtag1","hashtag2"]},{"1391625733":["hashtag1","hashtag2"]},{"1391625727":["hashtag1","hashtag2"]},{"1391625736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625726, 1391625729, 1391625724, 1391625733, 1391625727, 1391625736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23577904701233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:38:21.875905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_54_3595.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_56_2641.jpg', '/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_59_2538.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_03_3663.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_05_2779.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_08_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_54_3595.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_56_2641.jpg
/home/pi/Desktop/images/30102025/03/20/image_30102025_03_20_59_2538.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_03_3663.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_05_2779.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_08_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625794","1391625767","1391625833","1391625781","1391625790","1391625876"],"photo_ids_order":["1391625767","1391625781","1391625790","1391625794","1391625833","1391625876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a96bbfad254c5ff3cfff68066ed0653f.jpg","text":"TemporaryFile(/tmp/multipartBody1860857852287582126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_21_03_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a02431ea8bad9d6534695a97cf7b0441.jpg","text":"TemporaryFile(/tmp/multipartBody1284449976445491203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_20_54_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/581a1044a9dfbefcd0541468aae066c2.jpg","text":"TemporaryFile(/tmp/multipartBody7306068483115679527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_21_05_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4244d88f895789d1244f45763da3c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6674010572616747209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_20_56_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d025a2e150469c3b11387e138fa7d217.jpg","text":"TemporaryFile(/tmp/multipartBody7012060491733345078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_20_59_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b204d2fa1d51ac4149b7be00cbfc994.jpg","text":"TemporaryFile(/tmp/multipartBody2138025789281784926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997170883,"filename":"image_30102025_03_21_08_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625790","file1":"1391625781","file0":"1391625767","file4":"1391625833","file5":"1391625876","file3":"1391625794"},"map_files_photo_id_array":[{"photo_id":"1391625876","filename":"file5"},{"photo_id":"1391625790","filename":"file2"},{"photo_id":"1391625833","filename":"file4"},{"photo_id":"1391625781","filename":"file1"},{"photo_id":"1391625767","filename":"file0"},{"photo_id":"1391625794","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625794":["hashtag1","hashtag2"]},{"1391625767":["hashtag1","hashtag2"]},{"1391625833":["hashtag1","hashtag2"]},{"1391625781":["hashtag1","hashtag2"]},{"1391625790":["hashtag1","hashtag2"]},{"1391625876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625794, 1391625767, 1391625833, 1391625781, 1391625790, 1391625876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.70289587974548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:39:22.098056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_11_2913.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_15_3670.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_17_2811.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_20_2743.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_23_2716.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_27_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_11_2913.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_15_3670.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_17_2811.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_20_2743.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_23_2716.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_27_3782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391625995","1391626001","1391625968","1391625970","1391625966","1391626005"],"photo_ids_order":["1391625966","1391625968","1391625970","1391625995","1391626001","1391626005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b0e736d3025608701d5be81ec2a3069.jpg","text":"TemporaryFile(/tmp/multipartBody5348031327965721893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_20_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43a0b7f36b923612331482f46c5a5540.jpg","text":"TemporaryFile(/tmp/multipartBody2274400322135082477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_23_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08527e685ae1df59127a1eada4877f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8312630942931116225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_15_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b02b1acf63b45d8361fa4c760c001e2.jpg","text":"TemporaryFile(/tmp/multipartBody7342241243768284056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_17_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c35fed98673d772274872bd62b9939ed.jpg","text":"TemporaryFile(/tmp/multipartBody1836034032377720668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_11_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26c81bbf6cd72ee263c8196ba4aa12ce.jpg","text":"TemporaryFile(/tmp/multipartBody1484475200801755681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997225066,"filename":"image_30102025_03_21_27_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391625970","file1":"1391625968","file0":"1391625966","file4":"1391626001","file5":"1391626005","file3":"1391625995"},"map_files_photo_id_array":[{"photo_id":"1391626005","filename":"file5"},{"photo_id":"1391625970","filename":"file2"},{"photo_id":"1391626001","filename":"file4"},{"photo_id":"1391625968","filename":"file1"},{"photo_id":"1391625966","filename":"file0"},{"photo_id":"1391625995","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391625995":["hashtag1","hashtag2"]},{"1391626001":["hashtag1","hashtag2"]},{"1391625968":["hashtag1","hashtag2"]},{"1391625970":["hashtag1","hashtag2"]},{"1391625966":["hashtag1","hashtag2"]},{"1391626005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391625995, 1391626001, 1391625968, 1391625970, 1391625966, 1391626005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.236231327056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:40:02.639716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_36_3694.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_38_2705.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_41_2878.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_44_2646.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_48_3579.jpg', '/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_50_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_36_3694.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_38_2705.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_41_2878.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_44_2646.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_48_3579.jpg
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_50_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626019","1391626022","1391626012","1391626015","1391626017","1391626026"],"photo_ids_order":["1391626012","1391626015","1391626017","1391626019","1391626022","1391626026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4911b4e93c34b9f873862243d3fa0de7.jpg","text":"TemporaryFile(/tmp/multipartBody899663964215016196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_44_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c29ffbfe4db8cb9e81d1097475f953e1.jpg","text":"TemporaryFile(/tmp/multipartBody4412052812877003897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_48_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a787517416636b7347f5d26ec73d132c.jpg","text":"TemporaryFile(/tmp/multipartBody9141315398258011016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_36_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffd199f77430af0f8e73d624313dbfa4.jpg","text":"TemporaryFile(/tmp/multipartBody2017633795026982098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_38_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61017d22e07cfd3d0f000fd868915647.jpg","text":"TemporaryFile(/tmp/multipartBody70550009529874186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_41_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa11932a7230eb8df5c02b01590aa0b6.jpg","text":"TemporaryFile(/tmp/multipartBody1378354419469569397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997265064,"filename":"image_30102025_03_21_50_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626017","file1":"1391626015","file0":"1391626012","file4":"1391626022","file5":"1391626026","file3":"1391626019"},"map_files_photo_id_array":[{"photo_id":"1391626026","filename":"file5"},{"photo_id":"1391626017","filename":"file2"},{"photo_id":"1391626022","filename":"file4"},{"photo_id":"1391626015","filename":"file1"},{"photo_id":"1391626012","filename":"file0"},{"photo_id":"1391626019","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626019":["hashtag1","hashtag2"]},{"1391626022":["hashtag1","hashtag2"]},{"1391626012":["hashtag1","hashtag2"]},{"1391626015":["hashtag1","hashtag2"]},{"1391626017":["hashtag1","hashtag2"]},{"1391626026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626019, 1391626022, 1391626012, 1391626015, 1391626017, 1391626026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11970233917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:40:42.307094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_57_3695.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_03_3653.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_05_2668.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_08_2632.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_11_2815.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_14_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/21/image_30102025_03_21_57_3695.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_03_3653.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_05_2668.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_08_2632.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_11_2815.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_14_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626058","1391626081","1391626078","1391626036","1391626051","1391626068"],"photo_ids_order":["1391626036","1391626051","1391626058","1391626068","1391626078","1391626081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fc535168fee6d34b85e3893eb64e757.jpg","text":"TemporaryFile(/tmp/multipartBody1789956178381618131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_22_05_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95e8e26af5d694daef3dfa5c892b6226.jpg","text":"TemporaryFile(/tmp/multipartBody8148375128361649800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_22_14_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/479999d32f26a25ca318549d68509123.jpg","text":"TemporaryFile(/tmp/multipartBody3132229095901448539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_22_11_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78a8ce89c4249aad619a6d68ad283aba.jpg","text":"TemporaryFile(/tmp/multipartBody1252737234085549011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_21_57_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8073806cb8b940a460e4e49a5618e6a0.jpg","text":"TemporaryFile(/tmp/multipartBody959194129742144146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_22_03_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cec01b254eab3e7a5ac6381ae7c6003.jpg","text":"TemporaryFile(/tmp/multipartBody5689356676272216263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997303669,"filename":"image_30102025_03_22_08_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626058","file1":"1391626051","file0":"1391626036","file4":"1391626078","file5":"1391626081","file3":"1391626068"},"map_files_photo_id_array":[{"photo_id":"1391626081","filename":"file5"},{"photo_id":"1391626058","filename":"file2"},{"photo_id":"1391626078","filename":"file4"},{"photo_id":"1391626051","filename":"file1"},{"photo_id":"1391626036","filename":"file0"},{"photo_id":"1391626068","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626058":["hashtag1","hashtag2"]},{"1391626081":["hashtag1","hashtag2"]},{"1391626078":["hashtag1","hashtag2"]},{"1391626036":["hashtag1","hashtag2"]},{"1391626051":["hashtag1","hashtag2"]},{"1391626068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626058, 1391626081, 1391626078, 1391626036, 1391626051, 1391626068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30500841140747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:41:22.432730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_17_2728.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_21_3620.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_26_2725.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_29_2783.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_32_2780.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_36_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_17_2728.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_21_3620.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_26_2725.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_29_2783.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_32_2780.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_36_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626160","1391626151","1391626147","1391626120","1391626132","1391626155"],"photo_ids_order":["1391626120","1391626132","1391626147","1391626151","1391626155","1391626160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d451294dc2cb9ce27e6d3609ba550ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2079324586738684158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_36_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57cae85f077315268715b9bcfeb3466c.jpg","text":"TemporaryFile(/tmp/multipartBody2805145811358622496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_29_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e63dcccf9582879cca46477aadc5f8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5895444177800056775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_26_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/866c925229cb3dd174c4cc3e4ede9a94.jpg","text":"TemporaryFile(/tmp/multipartBody8197765194330391256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_17_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2aa6db429e2f168d1ce3087031e6cbc.jpg","text":"TemporaryFile(/tmp/multipartBody164276257517011180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_21_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3903b1e6b64bf93412da56c00f6aaf4.jpg","text":"TemporaryFile(/tmp/multipartBody8047905276556844393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997345412,"filename":"image_30102025_03_22_32_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626147","file1":"1391626132","file0":"1391626120","file4":"1391626155","file5":"1391626160","file3":"1391626151"},"map_files_photo_id_array":[{"photo_id":"1391626160","filename":"file5"},{"photo_id":"1391626147","filename":"file2"},{"photo_id":"1391626155","filename":"file4"},{"photo_id":"1391626132","filename":"file1"},{"photo_id":"1391626120","filename":"file0"},{"photo_id":"1391626151","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626160":["hashtag1","hashtag2"]},{"1391626151":["hashtag1","hashtag2"]},{"1391626147":["hashtag1","hashtag2"]},{"1391626120":["hashtag1","hashtag2"]},{"1391626132":["hashtag1","hashtag2"]},{"1391626155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626160, 1391626151, 1391626147, 1391626120, 1391626132, 1391626155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.295161724090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:42:22.591332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_38_2634.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_41_2732.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_45_3652.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_48_2893.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_50_2677.jpg', '/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_53_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_38_2634.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_41_2732.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_45_3652.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_48_2893.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_50_2677.jpg
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_53_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626178","1391626183","1391626186","1391626180","1391626176","1391626173"],"photo_ids_order":["1391626173","1391626176","1391626178","1391626180","1391626183","1391626186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7b5e1469cb9e2139cd341ae01e71a41.jpg","text":"TemporaryFile(/tmp/multipartBody3221369406618617014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_45_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/886f0d33e6bc8e52163525300728e893.jpg","text":"TemporaryFile(/tmp/multipartBody9220200335721613239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_50_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/452943d720ef8d5c34779fdfb6c96857.jpg","text":"TemporaryFile(/tmp/multipartBody2565222627044741861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_53_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94b3b5290f186537ea3ca5cc43e3a918.jpg","text":"TemporaryFile(/tmp/multipartBody6544096689286125187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_48_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c9bc8970af0aeb6252dea66f2b311a3.jpg","text":"TemporaryFile(/tmp/multipartBody1853159636581320002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_41_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5b49a008ded2c6bb583bb3881ef6b17.jpg","text":"TemporaryFile(/tmp/multipartBody4320878534138914842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997405418,"filename":"image_30102025_03_22_38_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626178","file1":"1391626176","file0":"1391626173","file4":"1391626183","file5":"1391626186","file3":"1391626180"},"map_files_photo_id_array":[{"photo_id":"1391626186","filename":"file5"},{"photo_id":"1391626178","filename":"file2"},{"photo_id":"1391626183","filename":"file4"},{"photo_id":"1391626176","filename":"file1"},{"photo_id":"1391626173","filename":"file0"},{"photo_id":"1391626180","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626178":["hashtag1","hashtag2"]},{"1391626183":["hashtag1","hashtag2"]},{"1391626186":["hashtag1","hashtag2"]},{"1391626180":["hashtag1","hashtag2"]},{"1391626176":["hashtag1","hashtag2"]},{"1391626173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626178, 1391626183, 1391626186, 1391626180, 1391626176, 1391626173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90759062767029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:43:03.380562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_57_3769.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_02_2760.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_06_3546.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_08_2644.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_11_2649.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_15_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/22/image_30102025_03_22_57_3769.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_02_2760.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_06_3546.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_08_2644.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_11_2649.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_15_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626211","1391626214","1391626208","1391626216","1391626227","1391626221"],"photo_ids_order":["1391626208","1391626211","1391626214","1391626216","1391626221","1391626227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd427f21b4704ec72a4eb37a8d0e1b41.jpg","text":"TemporaryFile(/tmp/multipartBody8400349807748758501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_23_02_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d035b8bf0485a55501647bcf76edb1b.jpg","text":"TemporaryFile(/tmp/multipartBody3026309908925846233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_23_06_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e19830d173e512d5b347a1eddc92cd1a.jpg","text":"TemporaryFile(/tmp/multipartBody7540618028067631004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_22_57_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df1455e31f9758470661c33352eadca1.jpg","text":"TemporaryFile(/tmp/multipartBody3794069826126233870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_23_08_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf80f0593914f912a7793c02235ec00e.jpg","text":"TemporaryFile(/tmp/multipartBody6089714600199582927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_23_15_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4161d33737ef42c60df7c26e3963c515.jpg","text":"TemporaryFile(/tmp/multipartBody5935554183229498926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997459876,"filename":"image_30102025_03_23_11_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626214","file1":"1391626211","file0":"1391626208","file4":"1391626221","file5":"1391626227","file3":"1391626216"},"map_files_photo_id_array":[{"photo_id":"1391626227","filename":"file5"},{"photo_id":"1391626214","filename":"file2"},{"photo_id":"1391626221","filename":"file4"},{"photo_id":"1391626211","filename":"file1"},{"photo_id":"1391626208","filename":"file0"},{"photo_id":"1391626216","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626211":["hashtag1","hashtag2"]},{"1391626214":["hashtag1","hashtag2"]},{"1391626208":["hashtag1","hashtag2"]},{"1391626216":["hashtag1","hashtag2"]},{"1391626227":["hashtag1","hashtag2"]},{"1391626221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626211, 1391626214, 1391626208, 1391626216, 1391626227, 1391626221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.26475667953491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:44:02.583377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_20_2616.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_24_3685.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_26_2570.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_29_2760.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_33_3592.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_41_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_20_2616.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_24_3685.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_26_2570.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_29_2760.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_33_3592.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_41_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626241","1391626252","1391626246","1391626255","1391626243","1391626248"],"photo_ids_order":["1391626241","1391626243","1391626246","1391626248","1391626252","1391626255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f1bc01a968363a5a0b1b67229d6ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody6002663191245704251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_20_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9784826d4b93eaeb24682a780624418d.jpg","text":"TemporaryFile(/tmp/multipartBody861567948586310480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_33_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7895f9831443a6506528fdb8a9a100fa.jpg","text":"TemporaryFile(/tmp/multipartBody451664453469097038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_26_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c22c4bb5d506432f5a0e17b7f87b9698.jpg","text":"TemporaryFile(/tmp/multipartBody3183755438647125301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_41_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0dd4dcd48e65177e837bb179bbbe7ac.jpg","text":"TemporaryFile(/tmp/multipartBody7668990297529835190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_24_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e58460e7d2e9c92acc123b3ad8628015.jpg","text":"TemporaryFile(/tmp/multipartBody5113565257363842754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997504968,"filename":"image_30102025_03_23_29_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626246","file1":"1391626243","file0":"1391626241","file4":"1391626252","file5":"1391626255","file3":"1391626248"},"map_files_photo_id_array":[{"photo_id":"1391626255","filename":"file5"},{"photo_id":"1391626246","filename":"file2"},{"photo_id":"1391626252","filename":"file4"},{"photo_id":"1391626243","filename":"file1"},{"photo_id":"1391626241","filename":"file0"},{"photo_id":"1391626248","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626241":["hashtag1","hashtag2"]},{"1391626252":["hashtag1","hashtag2"]},{"1391626246":["hashtag1","hashtag2"]},{"1391626255":["hashtag1","hashtag2"]},{"1391626243":["hashtag1","hashtag2"]},{"1391626248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626241, 1391626252, 1391626246, 1391626255, 1391626243, 1391626248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45517182350159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:44:41.887670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_45_3676.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_47_2853.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_50_2754.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_53_2563.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_57_3792.jpg', '/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_59_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_45_3676.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_47_2853.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_50_2754.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_53_2563.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_57_3792.jpg
/home/pi/Desktop/images/30102025/03/23/image_30102025_03_23_59_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626268","1391626277","1391626265","1391626273","1391626275","1391626271"],"photo_ids_order":["1391626265","1391626268","1391626271","1391626273","1391626275","1391626277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ec1937eedf0a9e2a20a8baf5c91d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8521323255048319279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_47_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/150c339ef6a6db254e9376fcae639fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5338515681961793514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_59_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1da5128d8ad52e255061b64fd656cb2.jpg","text":"TemporaryFile(/tmp/multipartBody7618368765345324683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_45_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0deb8f9ae2143cdeb1d340483e02022.jpg","text":"TemporaryFile(/tmp/multipartBody2553804344194776368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_53_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f8807c1f855b6d33561f59f9d70edc5.jpg","text":"TemporaryFile(/tmp/multipartBody8421730748708714997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_57_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4db8069b538d8f5bf150d9d3bcdab562.jpg","text":"TemporaryFile(/tmp/multipartBody9128661002553650896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997549509,"filename":"image_30102025_03_23_50_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626271","file1":"1391626268","file0":"1391626265","file4":"1391626275","file5":"1391626277","file3":"1391626273"},"map_files_photo_id_array":[{"photo_id":"1391626277","filename":"file5"},{"photo_id":"1391626271","filename":"file2"},{"photo_id":"1391626275","filename":"file4"},{"photo_id":"1391626268","filename":"file1"},{"photo_id":"1391626265","filename":"file0"},{"photo_id":"1391626273","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626268":["hashtag1","hashtag2"]},{"1391626277":["hashtag1","hashtag2"]},{"1391626265":["hashtag1","hashtag2"]},{"1391626273":["hashtag1","hashtag2"]},{"1391626275":["hashtag1","hashtag2"]},{"1391626271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626268, 1391626277, 1391626265, 1391626273, 1391626275, 1391626271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.0321249961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:45:43.179579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_02_2609.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_06_4309.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_08_1763.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_11_3658.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_14_2554.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_23_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_02_2609.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_06_4309.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_08_1763.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_11_3658.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_14_2554.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_23_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626376","1391626294","1391626381","1391626297","1391626300","1391626302"],"photo_ids_order":["1391626294","1391626297","1391626300","1391626302","1391626376","1391626381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1597ed0ef5fe550df0ae9029f8b348c2.jpg","text":"TemporaryFile(/tmp/multipartBody63432511290590192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_14_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b2a412a34bcc3d1265a3fff98c7fc00.jpg","text":"TemporaryFile(/tmp/multipartBody1260416606884922428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_02_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5090c1200ce629b78ce132b9d33009c.jpg","text":"TemporaryFile(/tmp/multipartBody1866547411159163637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_23_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9fa226bd593677490f99afa265a04c8.jpg","text":"TemporaryFile(/tmp/multipartBody3716994950067246519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_06_4309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4020eeb85e31e6419270b11be2a78c36.jpg","text":"TemporaryFile(/tmp/multipartBody1151581295627596630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_08_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/499b8ec00c2c6b777049fb868eb5e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody7273494447940633447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997608361,"filename":"image_30102025_03_24_11_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626300","file1":"1391626297","file0":"1391626294","file4":"1391626376","file5":"1391626381","file3":"1391626302"},"map_files_photo_id_array":[{"photo_id":"1391626381","filename":"file5"},{"photo_id":"1391626300","filename":"file2"},{"photo_id":"1391626376","filename":"file4"},{"photo_id":"1391626297","filename":"file1"},{"photo_id":"1391626294","filename":"file0"},{"photo_id":"1391626302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626376":["hashtag1","hashtag2"]},{"1391626294":["hashtag1","hashtag2"]},{"1391626381":["hashtag1","hashtag2"]},{"1391626297":["hashtag1","hashtag2"]},{"1391626300":["hashtag1","hashtag2"]},{"1391626302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626376, 1391626294, 1391626381, 1391626297, 1391626300, 1391626302)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391626300 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_08_1763.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 119.3856554031372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:47:49.623952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_27_3697.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_29_2582.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_32_2559.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_35_3674.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_38_2535.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_42_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_27_3697.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_29_2582.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_32_2559.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_35_3674.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_38_2535.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_42_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626763","1391626753","1391626762","1391626764","1391626758","1391626760"],"photo_ids_order":["1391626753","1391626758","1391626760","1391626762","1391626763","1391626764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16a52932a4f25ae9b81e647942b7ced9.jpg","text":"TemporaryFile(/tmp/multipartBody6010291471284680706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_38_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d155386f5af9333b9e0a752e113680de.jpg","text":"TemporaryFile(/tmp/multipartBody275608460153702701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_27_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64fd6f2eb1dec353a85e1585301f403d.jpg","text":"TemporaryFile(/tmp/multipartBody4052724962398282519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/678a438d53ebbe272a6c54d60ff4a754.jpg","text":"TemporaryFile(/tmp/multipartBody2246886982006485280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_42_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/328f95d5000f4d0f36632519aa71f5f0.jpg","text":"TemporaryFile(/tmp/multipartBody2660332621609315593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_29_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44385200039cbdbf8777a282340123eb.jpg","text":"TemporaryFile(/tmp/multipartBody9040634401877272245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997730988,"filename":"image_30102025_03_24_32_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626760","file1":"1391626758","file0":"1391626753","file4":"1391626763","file5":"1391626764","file3":"1391626762"},"map_files_photo_id_array":[{"photo_id":"1391626764","filename":"file5"},{"photo_id":"1391626760","filename":"file2"},{"photo_id":"1391626763","filename":"file4"},{"photo_id":"1391626758","filename":"file1"},{"photo_id":"1391626753","filename":"file0"},{"photo_id":"1391626762","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626763":["hashtag1","hashtag2"]},{"1391626753":["hashtag1","hashtag2"]},{"1391626762":["hashtag1","hashtag2"]},{"1391626764":["hashtag1","hashtag2"]},{"1391626758":["hashtag1","hashtag2"]},{"1391626760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626763, 1391626753, 1391626762, 1391626764, 1391626758, 1391626760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.605628490448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:48:41.844308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_44_2633.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_47_2575.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_50_3611.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_56_2635.jpg', '/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_59_2776.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_02_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_44_2633.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_47_2575.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_50_3611.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_56_2635.jpg
/home/pi/Desktop/images/30102025/03/24/image_30102025_03_24_59_2776.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_02_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626798","1391626792","1391626789","1391626780","1391626794","1391626785"],"photo_ids_order":["1391626780","1391626785","1391626789","1391626792","1391626794","1391626798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a29d14bd4069cc978bed7f8645127e48.jpg","text":"TemporaryFile(/tmp/multipartBody4239414530329711985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_25_02_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62aa0d36f38f6aa721035e7c27ccfb33.jpg","text":"TemporaryFile(/tmp/multipartBody9158812063834314589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_24_56_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/262ed8f3939b5fa17c76864078ecfbe0.jpg","text":"TemporaryFile(/tmp/multipartBody41491396738047248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_24_50_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edee6f455c128ea35d402c33d7e1c253.jpg","text":"TemporaryFile(/tmp/multipartBody596730959312178291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_24_44_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c16faccd6a68f7d4b0d01616675f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody78203068424982042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_24_59_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fce278a26a29db9d7b540daf4ab381d3.jpg","text":"TemporaryFile(/tmp/multipartBody3021446550282088048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997783287,"filename":"image_30102025_03_24_47_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626789","file1":"1391626785","file0":"1391626780","file4":"1391626794","file5":"1391626798","file3":"1391626792"},"map_files_photo_id_array":[{"photo_id":"1391626798","filename":"file5"},{"photo_id":"1391626789","filename":"file2"},{"photo_id":"1391626794","filename":"file4"},{"photo_id":"1391626785","filename":"file1"},{"photo_id":"1391626780","filename":"file0"},{"photo_id":"1391626792","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626798":["hashtag1","hashtag2"]},{"1391626792":["hashtag1","hashtag2"]},{"1391626789":["hashtag1","hashtag2"]},{"1391626780":["hashtag1","hashtag2"]},{"1391626794":["hashtag1","hashtag2"]},{"1391626785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626798, 1391626792, 1391626789, 1391626780, 1391626794, 1391626785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.612616300582886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:49:21.983882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_05_2699.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_08_2729.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_11_2763.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_14_3624.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_17_2909.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_20_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_05_2699.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_08_2729.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_11_2763.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_14_3624.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_17_2909.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_20_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626811","1391626805","1391626813","1391626807","1391626809","1391626818"],"photo_ids_order":["1391626805","1391626807","1391626809","1391626811","1391626813","1391626818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d012c7f76017cc2a84da19212cac54c2.jpg","text":"TemporaryFile(/tmp/multipartBody8912721157469896256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_14_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9128519affa7f5ad297cc74f1317b559.jpg","text":"TemporaryFile(/tmp/multipartBody2847397870437622154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_05_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2242e153926b8dcb997fa23736f7b1e1.jpg","text":"TemporaryFile(/tmp/multipartBody8482084499362208367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_17_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc326511097b38ace8a8c04b1a15f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6392717662323891751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_08_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7695d6db2bdec04f9fcfd3c82e310a29.jpg","text":"TemporaryFile(/tmp/multipartBody3169138639267140861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_11_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/143660d565a9308e789a3cbd8a08a21f.jpg","text":"TemporaryFile(/tmp/multipartBody7181822149802956798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997824958,"filename":"image_30102025_03_25_20_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626809","file1":"1391626807","file0":"1391626805","file4":"1391626813","file5":"1391626818","file3":"1391626811"},"map_files_photo_id_array":[{"photo_id":"1391626818","filename":"file5"},{"photo_id":"1391626809","filename":"file2"},{"photo_id":"1391626813","filename":"file4"},{"photo_id":"1391626807","filename":"file1"},{"photo_id":"1391626805","filename":"file0"},{"photo_id":"1391626811","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626811":["hashtag1","hashtag2"]},{"1391626805":["hashtag1","hashtag2"]},{"1391626813":["hashtag1","hashtag2"]},{"1391626807":["hashtag1","hashtag2"]},{"1391626809":["hashtag1","hashtag2"]},{"1391626818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626811, 1391626805, 1391626813, 1391626807, 1391626809, 1391626818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86576700210571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:50:02.686550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_23_3629.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_26_2713.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_29_2562.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_35_2690.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_38_2784.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_41_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_23_3629.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_26_2713.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_29_2562.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_35_2690.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_38_2784.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_41_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626844","1391626838","1391626835","1391626840","1391626831","1391626842"],"photo_ids_order":["1391626831","1391626835","1391626838","1391626840","1391626842","1391626844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44452aaf1be3bf03265ebbc8f9667507.jpg","text":"TemporaryFile(/tmp/multipartBody6357136106115384895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_41_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9204f43faa162ce7f9359e34163db686.jpg","text":"TemporaryFile(/tmp/multipartBody1753596979697772776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_29_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6eebadad8585a8dbb5fb2a6c3a22b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8740327319414699620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_26_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/480c9f49faea4523b17092a40c46c14a.jpg","text":"TemporaryFile(/tmp/multipartBody7437457459579050975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_35_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf41b1b6b49fff030fcd135bab833fe7.jpg","text":"TemporaryFile(/tmp/multipartBody8203856741723571403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_23_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87ce38ee8b4e8473627f72b2b1246d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3104169510155142939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997865064,"filename":"image_30102025_03_25_38_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626838","file1":"1391626835","file0":"1391626831","file4":"1391626842","file5":"1391626844","file3":"1391626840"},"map_files_photo_id_array":[{"photo_id":"1391626844","filename":"file5"},{"photo_id":"1391626838","filename":"file2"},{"photo_id":"1391626842","filename":"file4"},{"photo_id":"1391626835","filename":"file1"},{"photo_id":"1391626831","filename":"file0"},{"photo_id":"1391626840","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626844":["hashtag1","hashtag2"]},{"1391626838":["hashtag1","hashtag2"]},{"1391626835":["hashtag1","hashtag2"]},{"1391626840":["hashtag1","hashtag2"]},{"1391626831":["hashtag1","hashtag2"]},{"1391626842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626844, 1391626838, 1391626835, 1391626840, 1391626831, 1391626842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13343381881714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:51:04.923807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_44_2645.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_47_2688.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_53_2747.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_56_2649.jpg', '/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_58_2676.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_05_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_44_2645.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_47_2688.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_53_2747.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_56_2649.jpg
/home/pi/Desktop/images/30102025/03/25/image_30102025_03_25_58_2676.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_05_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391626982","1391626958","1391626937","1391626990","1391626963","1391626918"],"photo_ids_order":["1391626918","1391626937","1391626958","1391626963","1391626982","1391626990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71dae6a699928af8c5cadb1fa69c6766.jpg","text":"TemporaryFile(/tmp/multipartBody6185367918940942719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_25_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66a6060c60bd4a6e77b08f322ff64c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1172642715968268160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_25_53_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dac189889c0e0c3e753bd17094625027.jpg","text":"TemporaryFile(/tmp/multipartBody180019266566220091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_25_47_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/472c73e49a2801f17306891718647603.jpg","text":"TemporaryFile(/tmp/multipartBody794247641165323524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_26_05_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ad9d9ec177d5f2a69a4a1a7ec59e466.jpg","text":"TemporaryFile(/tmp/multipartBody8643049547245693531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_25_56_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3c6107c11c3e043a585b4e9b9a9241d.jpg","text":"TemporaryFile(/tmp/multipartBody8545343652605639905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997927280,"filename":"image_30102025_03_25_44_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391626958","file1":"1391626937","file0":"1391626918","file4":"1391626982","file5":"1391626990","file3":"1391626963"},"map_files_photo_id_array":[{"photo_id":"1391626990","filename":"file5"},{"photo_id":"1391626958","filename":"file2"},{"photo_id":"1391626982","filename":"file4"},{"photo_id":"1391626937","filename":"file1"},{"photo_id":"1391626918","filename":"file0"},{"photo_id":"1391626963","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391626982":["hashtag1","hashtag2"]},{"1391626958":["hashtag1","hashtag2"]},{"1391626937":["hashtag1","hashtag2"]},{"1391626990":["hashtag1","hashtag2"]},{"1391626963":["hashtag1","hashtag2"]},{"1391626918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391626982, 1391626958, 1391626937, 1391626990, 1391626963, 1391626918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39765667915344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:51:44.301208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_11_3634.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_14_2651.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_17_3566.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_20_2800.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_25_2710.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_29_3838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_11_3634.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_14_2651.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_17_3566.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_20_2800.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_25_2710.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_29_3838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627018","1391627006","1391627015","1391627020","1391627023","1391627011"],"photo_ids_order":["1391627006","1391627011","1391627015","1391627018","1391627020","1391627023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73032e3f90a5c8edb70935b5c31a9f00.jpg","text":"TemporaryFile(/tmp/multipartBody7393319434591631293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_20_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2bb4ee03765371fc52b5a87be6efd3f.jpg","text":"TemporaryFile(/tmp/multipartBody4781997353197467073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_11_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/313581d84a82af828d06778cc95d4554.jpg","text":"TemporaryFile(/tmp/multipartBody3085162239755609906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_17_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e72159d58702a07130ebfb19c406091c.jpg","text":"TemporaryFile(/tmp/multipartBody8167156600433671645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45df25e8a42297e944777e3aeed93392.jpg","text":"TemporaryFile(/tmp/multipartBody8122234757311823063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_29_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21613e0cbba57c1f6da89a2c79d87d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2178596641904393148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761997965617,"filename":"image_30102025_03_26_14_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627015","file1":"1391627011","file0":"1391627006","file4":"1391627020","file5":"1391627023","file3":"1391627018"},"map_files_photo_id_array":[{"photo_id":"1391627023","filename":"file5"},{"photo_id":"1391627015","filename":"file2"},{"photo_id":"1391627020","filename":"file4"},{"photo_id":"1391627011","filename":"file1"},{"photo_id":"1391627006","filename":"file0"},{"photo_id":"1391627018","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627018":["hashtag1","hashtag2"]},{"1391627006":["hashtag1","hashtag2"]},{"1391627015":["hashtag1","hashtag2"]},{"1391627020":["hashtag1","hashtag2"]},{"1391627023":["hashtag1","hashtag2"]},{"1391627011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627018, 1391627006, 1391627015, 1391627020, 1391627023, 1391627011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98186898231506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:52:22.540213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_35_2714.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_37_2673.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_41_3670.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_44_2734.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_46_2684.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_50_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_35_2714.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_37_2673.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_41_3670.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_44_2734.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_46_2684.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_50_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627062","1391627041","1391627038","1391627043","1391627034","1391627048"],"photo_ids_order":["1391627034","1391627038","1391627041","1391627043","1391627048","1391627062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bce731c8dd05839a4d617b241be3a99.jpg","text":"TemporaryFile(/tmp/multipartBody6649076555430569071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_50_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab63cee6766dba9f502300f5b87ff84b.jpg","text":"TemporaryFile(/tmp/multipartBody5892408661238858919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_41_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47b96a9ed4ae52f11dab99eff6349eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8536329587618449897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_37_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8fce12132fd708fe9b504ae66935c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1697751198774071098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_44_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0e6580fc8c03fc1179d4f496483b3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6539269414400222342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_35_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0daf5ec42561e32a85230a813e2789ec.jpg","text":"TemporaryFile(/tmp/multipartBody2035022468675338807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998005633,"filename":"image_30102025_03_26_46_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627041","file1":"1391627038","file0":"1391627034","file4":"1391627048","file5":"1391627062","file3":"1391627043"},"map_files_photo_id_array":[{"photo_id":"1391627062","filename":"file5"},{"photo_id":"1391627041","filename":"file2"},{"photo_id":"1391627048","filename":"file4"},{"photo_id":"1391627038","filename":"file1"},{"photo_id":"1391627034","filename":"file0"},{"photo_id":"1391627043","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627062":["hashtag1","hashtag2"]},{"1391627041":["hashtag1","hashtag2"]},{"1391627038":["hashtag1","hashtag2"]},{"1391627043":["hashtag1","hashtag2"]},{"1391627034":["hashtag1","hashtag2"]},{"1391627048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627062, 1391627041, 1391627038, 1391627043, 1391627034, 1391627048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.009066581726074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:53:03.233979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_53_2782.jpg', '/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_56_2679.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_11_3763.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_14_2715.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_17_2656.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_20_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_53_2782.jpg
/home/pi/Desktop/images/30102025/03/26/image_30102025_03_26_56_2679.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_11_3763.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_14_2715.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_17_2656.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_20_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627126","1391627077","1391627173","1391627079","1391627171","1391627165"],"photo_ids_order":["1391627077","1391627079","1391627126","1391627165","1391627171","1391627173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a66daff509ae5e4c023bcb9391b4978f.jpg","text":"TemporaryFile(/tmp/multipartBody8750747598248155672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_27_11_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/104b22be05b5e1298c14e67810353d71.jpg","text":"TemporaryFile(/tmp/multipartBody7711411917235516277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_26_53_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e12207e4046612ce7abe5f7039ee66bd.jpg","text":"TemporaryFile(/tmp/multipartBody1940682229245569379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_27_20_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d46fd1710de0782a6f12f4bc19dce0a0.jpg","text":"TemporaryFile(/tmp/multipartBody532669542159956757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_26_56_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/309f339928fffee52d661135a986d587.jpg","text":"TemporaryFile(/tmp/multipartBody6262934457034802520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_27_17_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43a7032664e15d2affd07ea76cd6164c.jpg","text":"TemporaryFile(/tmp/multipartBody5036222169723142161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998045773,"filename":"image_30102025_03_27_14_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627126","file1":"1391627079","file0":"1391627077","file4":"1391627171","file5":"1391627173","file3":"1391627165"},"map_files_photo_id_array":[{"photo_id":"1391627173","filename":"file5"},{"photo_id":"1391627126","filename":"file2"},{"photo_id":"1391627171","filename":"file4"},{"photo_id":"1391627079","filename":"file1"},{"photo_id":"1391627077","filename":"file0"},{"photo_id":"1391627165","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627126":["hashtag1","hashtag2"]},{"1391627077":["hashtag1","hashtag2"]},{"1391627173":["hashtag1","hashtag2"]},{"1391627079":["hashtag1","hashtag2"]},{"1391627171":["hashtag1","hashtag2"]},{"1391627165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627126, 1391627077, 1391627173, 1391627079, 1391627171, 1391627165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57678031921387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:53:42.677035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_25_2581.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_29_3741.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_32_2603.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_34_2624.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_41_2656.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_44_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_25_2581.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_29_3741.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_32_2603.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_34_2624.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_41_2656.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_44_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627188","1391627191","1391627193","1391627198","1391627183","1391627186"],"photo_ids_order":["1391627183","1391627186","1391627188","1391627191","1391627193","1391627198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c35b9291d30f5e28a10f44ddbd0aa48.jpg","text":"TemporaryFile(/tmp/multipartBody6333019788216858062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_32_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45a4c2924278ba4e8769b899fbe71b67.jpg","text":"TemporaryFile(/tmp/multipartBody2628631490888917040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_34_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c83d6bf4bd370124a4331e6375265e8.jpg","text":"TemporaryFile(/tmp/multipartBody4066447757866510034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_41_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62a7320798727dc39e55624d2dece34c.jpg","text":"TemporaryFile(/tmp/multipartBody5669321329496772874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_44_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70183a93bc2a099943e50aaa1823790d.jpg","text":"TemporaryFile(/tmp/multipartBody1983048012929784126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_25_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebdbf7cd7ef4c9560b7914fb9a03e778.jpg","text":"TemporaryFile(/tmp/multipartBody8338672322628180043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998084035,"filename":"image_30102025_03_27_29_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627188","file1":"1391627186","file0":"1391627183","file4":"1391627193","file5":"1391627198","file3":"1391627191"},"map_files_photo_id_array":[{"photo_id":"1391627198","filename":"file5"},{"photo_id":"1391627188","filename":"file2"},{"photo_id":"1391627193","filename":"file4"},{"photo_id":"1391627186","filename":"file1"},{"photo_id":"1391627183","filename":"file0"},{"photo_id":"1391627191","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627188":["hashtag1","hashtag2"]},{"1391627191":["hashtag1","hashtag2"]},{"1391627193":["hashtag1","hashtag2"]},{"1391627198":["hashtag1","hashtag2"]},{"1391627183":["hashtag1","hashtag2"]},{"1391627186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627188, 1391627191, 1391627193, 1391627198, 1391627183, 1391627186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33421039581299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:54:21.860444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_50_2671.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_52_2680.jpg', '/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_59_2674.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_02_2824.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_04_2626.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_19_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_50_2671.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_52_2680.jpg
/home/pi/Desktop/images/30102025/03/27/image_30102025_03_27_59_2674.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_02_2824.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_04_2626.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_19_1823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627247","1391627211","1391627220","1391627252","1391627231","1391627213"],"photo_ids_order":["1391627211","1391627213","1391627220","1391627231","1391627247","1391627252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6526d6189b1514869f3c61c3ae13839a.jpg","text":"TemporaryFile(/tmp/multipartBody1069356882845666929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_28_04_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a7e018b49edae1daf9a692a6d077d68.jpg","text":"TemporaryFile(/tmp/multipartBody417031691726026763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_27_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5de884fd85db1c964cbb19ff2f04c64.jpg","text":"TemporaryFile(/tmp/multipartBody7808538474877602525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_27_59_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5e20cfd53d2fc7bf2b5f4a428c12020.jpg","text":"TemporaryFile(/tmp/multipartBody6195228274182389076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_28_19_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad4a468b22ee5b6012b982c1896e5ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2643731389572194189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_28_02_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f31b02326d985ea2b5b9e94b82d0d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody1477503769857712403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998124804,"filename":"image_30102025_03_27_52_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627220","file1":"1391627213","file0":"1391627211","file4":"1391627247","file5":"1391627252","file3":"1391627231"},"map_files_photo_id_array":[{"photo_id":"1391627252","filename":"file5"},{"photo_id":"1391627220","filename":"file2"},{"photo_id":"1391627247","filename":"file4"},{"photo_id":"1391627213","filename":"file1"},{"photo_id":"1391627211","filename":"file0"},{"photo_id":"1391627231","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627247":["hashtag1","hashtag2"]},{"1391627211":["hashtag1","hashtag2"]},{"1391627220":["hashtag1","hashtag2"]},{"1391627252":["hashtag1","hashtag2"]},{"1391627231":["hashtag1","hashtag2"]},{"1391627213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627247, 1391627211, 1391627220, 1391627252, 1391627231, 1391627213)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.81154465675354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:55:22.040160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_24_1656.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_26_1610.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_29_2833.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_31_2590.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_35_3615.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_38_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_24_1656.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_26_1610.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_29_2833.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_31_2590.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_35_3615.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_38_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627336","1391627300","1391627368","1391627341","1391627352","1391627376"],"photo_ids_order":["1391627300","1391627336","1391627341","1391627352","1391627368","1391627376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b02c0a1544ab6d59960b6c53cfbf9065.jpg","text":"TemporaryFile(/tmp/multipartBody7123412361332277981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_26_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb9949ce32353bfb1f70db058d7afbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2481103128358026343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_24_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4f6ce7f853241944b7d856a00e2d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody5149766338575148886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_35_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fbe44935264748b9051fc863632a212.jpg","text":"TemporaryFile(/tmp/multipartBody4297702704597173304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_29_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4edd13f72c053c93ee6dedd446f3785f.jpg","text":"TemporaryFile(/tmp/multipartBody6032648361895399839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_31_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16ca3f3cf521e1df3367a7ee7c049fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5248745741406264363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998185072,"filename":"image_30102025_03_28_38_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627341","file1":"1391627336","file0":"1391627300","file4":"1391627368","file5":"1391627376","file3":"1391627352"},"map_files_photo_id_array":[{"photo_id":"1391627376","filename":"file5"},{"photo_id":"1391627341","filename":"file2"},{"photo_id":"1391627368","filename":"file4"},{"photo_id":"1391627336","filename":"file1"},{"photo_id":"1391627300","filename":"file0"},{"photo_id":"1391627352","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627336":["hashtag1","hashtag2"]},{"1391627300":["hashtag1","hashtag2"]},{"1391627368":["hashtag1","hashtag2"]},{"1391627341":["hashtag1","hashtag2"]},{"1391627352":["hashtag1","hashtag2"]},{"1391627376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627336, 1391627300, 1391627368, 1391627341, 1391627352, 1391627376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35431361198425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:56:02.672693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_40_2617.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_44_3628.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_47_2564.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_52_2635.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_56_3712.jpg', '/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_59_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_40_2617.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_44_3628.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_47_2564.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_52_2635.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_56_3712.jpg
/home/pi/Desktop/images/30102025/03/28/image_30102025_03_28_59_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627389","1391627404","1391627397","1391627401","1391627385","1391627393"],"photo_ids_order":["1391627385","1391627389","1391627393","1391627397","1391627401","1391627404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a90d546f3811e9864d99c5b03b7b2d00.jpg","text":"TemporaryFile(/tmp/multipartBody3351043940156458615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_44_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd61d83b020659e3ad28d1606479fe82.jpg","text":"TemporaryFile(/tmp/multipartBody7793419054457038909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_59_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92805c4c0b2691e091cacaaa64914819.jpg","text":"TemporaryFile(/tmp/multipartBody1333699085264741715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_52_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de4c2e52a33a10b6533063c06c3c64f4.jpg","text":"TemporaryFile(/tmp/multipartBody6715023858629365162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_56_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75fab536166107622d58d23c7d843c97.jpg","text":"TemporaryFile(/tmp/multipartBody5575172512326635644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_40_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/546d712461d656326a116bec8eeb6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8090361327702589138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998225046,"filename":"image_30102025_03_28_47_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627393","file1":"1391627389","file0":"1391627385","file4":"1391627401","file5":"1391627404","file3":"1391627397"},"map_files_photo_id_array":[{"photo_id":"1391627404","filename":"file5"},{"photo_id":"1391627393","filename":"file2"},{"photo_id":"1391627401","filename":"file4"},{"photo_id":"1391627389","filename":"file1"},{"photo_id":"1391627385","filename":"file0"},{"photo_id":"1391627397","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627389":["hashtag1","hashtag2"]},{"1391627404":["hashtag1","hashtag2"]},{"1391627397":["hashtag1","hashtag2"]},{"1391627401":["hashtag1","hashtag2"]},{"1391627385":["hashtag1","hashtag2"]},{"1391627393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627389, 1391627404, 1391627397, 1391627401, 1391627385, 1391627393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.560866832733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 12:56:42.308800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_05_3674.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_08_2584.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_14_3644.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_16_2504.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_23_3743.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_31_1850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_05_3674.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_08_2584.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_14_3644.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_16_2504.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_23_3743.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_31_1850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627644","1391627602","1391627425","1391627556","1391627510","1391627468"],"photo_ids_order":["1391627425","1391627468","1391627510","1391627556","1391627602","1391627644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d820fdc78af2b0b3e824d6153882d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1052202133451192575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_31_1850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db7672a2bd2ecfa72ff4628790f4e69b.jpg","text":"TemporaryFile(/tmp/multipartBody4136606452845504921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_23_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be5d25a0a76f55af041abe620e5eacb7.jpg","text":"TemporaryFile(/tmp/multipartBody5022830625017923880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_05_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4e3a81979837676150d078376cb7307.jpg","text":"TemporaryFile(/tmp/multipartBody7958185245773872886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_16_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/125c7b4dff12cafc6d3b76160d7ebe89.jpg","text":"TemporaryFile(/tmp/multipartBody4401523030562825813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_14_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1044937d80bc6964ace8aeb18956d49.jpg","text":"TemporaryFile(/tmp/multipartBody4796872470471127008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998263686,"filename":"image_30102025_03_29_08_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627510","file1":"1391627468","file0":"1391627425","file4":"1391627602","file5":"1391627644","file3":"1391627556"},"map_files_photo_id_array":[{"photo_id":"1391627644","filename":"file5"},{"photo_id":"1391627510","filename":"file2"},{"photo_id":"1391627602","filename":"file4"},{"photo_id":"1391627468","filename":"file1"},{"photo_id":"1391627425","filename":"file0"},{"photo_id":"1391627556","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627644":["hashtag1","hashtag2"]},{"1391627602":["hashtag1","hashtag2"]},{"1391627425":["hashtag1","hashtag2"]},{"1391627556":["hashtag1","hashtag2"]},{"1391627510":["hashtag1","hashtag2"]},{"1391627468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627644, 1391627602, 1391627425, 1391627556, 1391627510, 1391627468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44582676887512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 12:57:22.611641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_35_3525.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_44_2807.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_46_2599.jpg', '/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_49_2763.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_02_3703.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_05_2933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_35_3525.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_44_2807.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_46_2599.jpg
/home/pi/Desktop/images/30102025/03/29/image_30102025_03_29_49_2763.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_02_3703.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_05_2933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627752","1391627668","1391627664","1391627709","1391627780","1391627801"],"photo_ids_order":["1391627664","1391627668","1391627709","1391627752","1391627780","1391627801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/695cadbbe00a55c3f73bd826fde180b4.jpg","text":"TemporaryFile(/tmp/multipartBody8450340773111474044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_29_49_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc52ae753364912695018f1487a974e3.jpg","text":"TemporaryFile(/tmp/multipartBody3209456990439782401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_29_44_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bbbfb77fd072d1838b3e8d34a6c7a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2282008056898618426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_29_35_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04ec090a3e80052d922a5fb0dd131f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6935750083523036489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_29_46_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36cc40523e2b0c1c880d8db2817ef65f.jpg","text":"TemporaryFile(/tmp/multipartBody3687770212758659475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_30_02_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8e45f9968eee71896aabc9282764bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5306210245641663626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998305649,"filename":"image_30102025_03_30_05_2933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627709","file1":"1391627668","file0":"1391627664","file4":"1391627780","file5":"1391627801","file3":"1391627752"},"map_files_photo_id_array":[{"photo_id":"1391627801","filename":"file5"},{"photo_id":"1391627709","filename":"file2"},{"photo_id":"1391627780","filename":"file4"},{"photo_id":"1391627668","filename":"file1"},{"photo_id":"1391627664","filename":"file0"},{"photo_id":"1391627752","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627752":["hashtag1","hashtag2"]},{"1391627668":["hashtag1","hashtag2"]},{"1391627664":["hashtag1","hashtag2"]},{"1391627709":["hashtag1","hashtag2"]},{"1391627780":["hashtag1","hashtag2"]},{"1391627801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627752, 1391627668, 1391627664, 1391627709, 1391627780, 1391627801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95304608345032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 12:59:05.236484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_08_2668.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_11_3627.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_17_5947.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_20_2932.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_23_1667.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_25_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_08_2668.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_11_3627.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_17_5947.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_20_2932.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_23_1667.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_25_1657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627833","1391627846","1391627849","1391627840","1391627843","1391627837"],"photo_ids_order":["1391627833","1391627837","1391627840","1391627843","1391627846","1391627849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c84e686ede1de18bb5587993b1383e6.jpg","text":"TemporaryFile(/tmp/multipartBody5700841840040399245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_08_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80c79c6b00898b02ece735c48b02675e.jpg","text":"TemporaryFile(/tmp/multipartBody9151080571653860494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_23_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4c3fc4824ebf47f48ca2c9e7445a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody1177561900979697539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_25_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbe2b3ee4423104aff6ef98f021f4862.jpg","text":"TemporaryFile(/tmp/multipartBody1916832424781519619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_17_5947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d175d60fec3a6e6dead3d6ba33ad3dad.jpg","text":"TemporaryFile(/tmp/multipartBody6122001622303860950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_20_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10a29418c67a5e6499603b4162b908fa.jpg","text":"TemporaryFile(/tmp/multipartBody7673835603101466097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998407933,"filename":"image_30102025_03_30_11_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627840","file1":"1391627837","file0":"1391627833","file4":"1391627846","file5":"1391627849","file3":"1391627843"},"map_files_photo_id_array":[{"photo_id":"1391627849","filename":"file5"},{"photo_id":"1391627840","filename":"file2"},{"photo_id":"1391627846","filename":"file4"},{"photo_id":"1391627837","filename":"file1"},{"photo_id":"1391627833","filename":"file0"},{"photo_id":"1391627843","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627833":["hashtag1","hashtag2"]},{"1391627846":["hashtag1","hashtag2"]},{"1391627849":["hashtag1","hashtag2"]},{"1391627840":["hashtag1","hashtag2"]},{"1391627843":["hashtag1","hashtag2"]},{"1391627837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627833, 1391627846, 1391627849, 1391627840, 1391627843, 1391627837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00706481933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:00:02.943215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_29_3737.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_31_2507.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_34_2786.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_38_3671.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_40_2635.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_43_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_29_3737.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_31_2507.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_34_2786.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_38_3671.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_40_2635.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_43_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627878","1391627866","1391627874","1391627862","1391627882","1391627870"],"photo_ids_order":["1391627862","1391627866","1391627870","1391627874","1391627878","1391627882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05cd8114b92698f024e633f771762c79.jpg","text":"TemporaryFile(/tmp/multipartBody705095717225745805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a04b0e1a3cc9b21e9a501a04faff87b7.jpg","text":"TemporaryFile(/tmp/multipartBody2506809216005102017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_31_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac27645eb207488b3c39356d30558b0e.jpg","text":"TemporaryFile(/tmp/multipartBody7177465971716082964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_38_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8d542f4119e252ab0a5693ea18841f5.jpg","text":"TemporaryFile(/tmp/multipartBody5729246548051546819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_29_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87c0f6c32db198a1491863059fc255b7.jpg","text":"TemporaryFile(/tmp/multipartBody4502568047590955899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40d3bc897605eae228347be940e4fb99.jpg","text":"TemporaryFile(/tmp/multipartBody4901707580822207863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998465655,"filename":"image_30102025_03_30_34_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627870","file1":"1391627866","file0":"1391627862","file4":"1391627878","file5":"1391627882","file3":"1391627874"},"map_files_photo_id_array":[{"photo_id":"1391627882","filename":"file5"},{"photo_id":"1391627870","filename":"file2"},{"photo_id":"1391627878","filename":"file4"},{"photo_id":"1391627866","filename":"file1"},{"photo_id":"1391627862","filename":"file0"},{"photo_id":"1391627874","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627878":["hashtag1","hashtag2"]},{"1391627866":["hashtag1","hashtag2"]},{"1391627874":["hashtag1","hashtag2"]},{"1391627862":["hashtag1","hashtag2"]},{"1391627882":["hashtag1","hashtag2"]},{"1391627870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627878, 1391627866, 1391627874, 1391627862, 1391627882, 1391627870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76244044303894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:00:42.743620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_47_3688.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_49_2681.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_53_3549.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_56_2667.jpg', '/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_58_2527.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_02_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_47_3688.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_49_2681.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_53_3549.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_56_2667.jpg
/home/pi/Desktop/images/30102025/03/30/image_30102025_03_30_58_2527.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_02_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391627890","1391627887","1391627997","1391627908","1391627952","1391628041"],"photo_ids_order":["1391627887","1391627890","1391627908","1391627952","1391627997","1391628041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d20056faab4c2703502f636b8b41abec.jpg","text":"TemporaryFile(/tmp/multipartBody5913656882764705735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_30_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/066463c36c59b2591ad94b5fde75f53c.jpg","text":"TemporaryFile(/tmp/multipartBody1048138584692004657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_30_47_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f37ebbd06700745b9f0936a07d044c10.jpg","text":"TemporaryFile(/tmp/multipartBody2061091397236493189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_30_58_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ef055f13e3214d4773de7eddc670884.jpg","text":"TemporaryFile(/tmp/multipartBody4924105316335546186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_30_53_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2a8dae5b7a2feed65311530d57d588e.jpg","text":"TemporaryFile(/tmp/multipartBody8174366256253085987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_30_56_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffdb376bf10e2ebba5111ed7fc472906.jpg","text":"TemporaryFile(/tmp/multipartBody7088205826455040560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998504085,"filename":"image_30102025_03_31_02_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391627908","file1":"1391627890","file0":"1391627887","file4":"1391627997","file5":"1391628041","file3":"1391627952"},"map_files_photo_id_array":[{"photo_id":"1391628041","filename":"file5"},{"photo_id":"1391627908","filename":"file2"},{"photo_id":"1391627997","filename":"file4"},{"photo_id":"1391627890","filename":"file1"},{"photo_id":"1391627887","filename":"file0"},{"photo_id":"1391627952","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391627890":["hashtag1","hashtag2"]},{"1391627887":["hashtag1","hashtag2"]},{"1391627997":["hashtag1","hashtag2"]},{"1391627908":["hashtag1","hashtag2"]},{"1391627952":["hashtag1","hashtag2"]},{"1391628041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391627890, 1391627887, 1391627997, 1391627908, 1391627952, 1391628041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18382549285889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:01:41.989643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_04_2607.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_16_2654.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_20_3557.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_23_2879.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_25_2696.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_31_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_04_2607.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_16_2654.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_20_3557.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_23_2879.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_25_2696.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_31_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391628751","1391628667","1391628566","1391629034","1391628944","1391628860"],"photo_ids_order":["1391628566","1391628667","1391628751","1391628860","1391628944","1391629034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91385b315b6c4767570f1f72ffecae62.jpg","text":"TemporaryFile(/tmp/multipartBody3792519445631401317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_20_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f5cdb203c216e4575d4e1836678d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3992780558540932199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42ffb9b42f33e9d9e88da6d40af1e9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6029400642817903849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_04_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a18e56978e084c976bddf987dd1eb039.jpg","text":"TemporaryFile(/tmp/multipartBody1001421868354563102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_31_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec802c58e6432b52c767766b35641a23.jpg","text":"TemporaryFile(/tmp/multipartBody3161158050038633983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2785b3436ca6c97701f5b77700a0473.jpg","text":"TemporaryFile(/tmp/multipartBody5948372814859283581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998576338,"filename":"image_30102025_03_31_23_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391628751","file1":"1391628667","file0":"1391628566","file4":"1391628944","file5":"1391629034","file3":"1391628860"},"map_files_photo_id_array":[{"photo_id":"1391629034","filename":"file5"},{"photo_id":"1391628751","filename":"file2"},{"photo_id":"1391628944","filename":"file4"},{"photo_id":"1391628667","filename":"file1"},{"photo_id":"1391628566","filename":"file0"},{"photo_id":"1391628860","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391628751":["hashtag1","hashtag2"]},{"1391628667":["hashtag1","hashtag2"]},{"1391628566":["hashtag1","hashtag2"]},{"1391629034":["hashtag1","hashtag2"]},{"1391628944":["hashtag1","hashtag2"]},{"1391628860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391628751, 1391628667, 1391628566, 1391629034, 1391628944, 1391628860)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391628751 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_20_3557.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 89.71705412864685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:03:21.951283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:03:49.890094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_35_3677.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_37_2641.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_40_2710.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_43_3550.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_46_2645.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_50_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_35_3677.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_37_2641.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_40_2710.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_43_3550.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_46_2645.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_50_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391629935","1391629952","1391630001","1391630042","1391629939","1391630089"],"photo_ids_order":["1391629935","1391629939","1391629952","1391630001","1391630042","1391630089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e1fc566748edbcf8f6558a5a0cbde8e.jpg","text":"TemporaryFile(/tmp/multipartBody3759515938419193040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_35_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5825be986cc49d8fa1c309ecf8d67407.jpg","text":"TemporaryFile(/tmp/multipartBody2590417185080549376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_40_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9df51bf4a294cc7fde258e4e1f8a6c03.jpg","text":"TemporaryFile(/tmp/multipartBody693749754380122349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_43_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8278ed4217af0fbc8b0d255e54ebe791.jpg","text":"TemporaryFile(/tmp/multipartBody6880602036642847643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd7586aa45d937357f6f5db593e1b93d.jpg","text":"TemporaryFile(/tmp/multipartBody7097283217072373509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_37_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdf26943f2f32d15dafad77a8678de92.jpg","text":"TemporaryFile(/tmp/multipartBody2812969391284897628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998693652,"filename":"image_30102025_03_31_50_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391629952","file1":"1391629939","file0":"1391629935","file4":"1391630042","file5":"1391630089","file3":"1391630001"},"map_files_photo_id_array":[{"photo_id":"1391630089","filename":"file5"},{"photo_id":"1391629952","filename":"file2"},{"photo_id":"1391630042","filename":"file4"},{"photo_id":"1391629939","filename":"file1"},{"photo_id":"1391629935","filename":"file0"},{"photo_id":"1391630001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391629935":["hashtag1","hashtag2"]},{"1391629952":["hashtag1","hashtag2"]},{"1391630001":["hashtag1","hashtag2"]},{"1391630042":["hashtag1","hashtag2"]},{"1391629939":["hashtag1","hashtag2"]},{"1391630089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391629935, 1391629952, 1391630001, 1391630042, 1391629939, 1391630089)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.55065941810608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:05:02.616575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_53_2887.jpg', '/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_58_2642.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_02_3716.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_04_2549.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_08_3572.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_11_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_53_2887.jpg
/home/pi/Desktop/images/30102025/03/31/image_30102025_03_31_58_2642.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_02_3716.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_04_2549.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_08_3572.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_11_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391630731","1391630650","1391630607","1391630709","1391630765","1391630671"],"photo_ids_order":["1391630607","1391630650","1391630671","1391630709","1391630731","1391630765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f2c17f89d26bae34377ef9f8a752925.jpg","text":"TemporaryFile(/tmp/multipartBody1263210321301311396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_32_08_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4b3245bb5e5d94c867275dda3ecc1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8343948690334992752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_31_58_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ddbf72c29f02f93e96c9f0909724d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4772231717475122630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_31_53_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7499d2698b0c63448422d77268a0e93f.jpg","text":"TemporaryFile(/tmp/multipartBody8939293143442568441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_32_04_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfb903a19282d22b0d33a7690b871b48.jpg","text":"TemporaryFile(/tmp/multipartBody8961329023930348525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_32_11_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b43bfab35146c278df7f7443b52a96f.jpg","text":"TemporaryFile(/tmp/multipartBody7769745505050990779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998764966,"filename":"image_30102025_03_32_02_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391630671","file1":"1391630650","file0":"1391630607","file4":"1391630731","file5":"1391630765","file3":"1391630709"},"map_files_photo_id_array":[{"photo_id":"1391630765","filename":"file5"},{"photo_id":"1391630671","filename":"file2"},{"photo_id":"1391630731","filename":"file4"},{"photo_id":"1391630650","filename":"file1"},{"photo_id":"1391630607","filename":"file0"},{"photo_id":"1391630709","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391630731":["hashtag1","hashtag2"]},{"1391630650":["hashtag1","hashtag2"]},{"1391630607":["hashtag1","hashtag2"]},{"1391630709":["hashtag1","hashtag2"]},{"1391630765":["hashtag1","hashtag2"]},{"1391630671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391630731, 1391630650, 1391630607, 1391630709, 1391630765, 1391630671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44070529937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:05:42.153622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_17_3554.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_20_2861.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_25_2604.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_29_3638.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_32_2826.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_34_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_17_3554.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_20_2861.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_25_2604.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_29_3638.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_32_2826.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_34_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391630868","1391630832","1391630870","1391630864","1391630789","1391630857"],"photo_ids_order":["1391630789","1391630832","1391630857","1391630864","1391630868","1391630870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d95c81b54cc054b281f7eabdf1f2d57a.jpg","text":"TemporaryFile(/tmp/multipartBody4169867973723680874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_32_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ecdcd643a755793ef3b21b6fb85599d.jpg","text":"TemporaryFile(/tmp/multipartBody6128359749391971685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_20_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/405dc8179bccae2a76da5a98d200df84.jpg","text":"TemporaryFile(/tmp/multipartBody2539628168118464009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_34_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ccb2f20caa2514d2a4200adf65735c1.jpg","text":"TemporaryFile(/tmp/multipartBody4877647236706772731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_29_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be259eb102b6caea0e1370d41fb12a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6098450238288760898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_17_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09808d88dfd04ac94c5e65b3bad0967a.jpg","text":"TemporaryFile(/tmp/multipartBody7653795570997636652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998803532,"filename":"image_30102025_03_32_25_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391630857","file1":"1391630832","file0":"1391630789","file4":"1391630868","file5":"1391630870","file3":"1391630864"},"map_files_photo_id_array":[{"photo_id":"1391630870","filename":"file5"},{"photo_id":"1391630857","filename":"file2"},{"photo_id":"1391630868","filename":"file4"},{"photo_id":"1391630832","filename":"file1"},{"photo_id":"1391630789","filename":"file0"},{"photo_id":"1391630864","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391630868":["hashtag1","hashtag2"]},{"1391630832":["hashtag1","hashtag2"]},{"1391630870":["hashtag1","hashtag2"]},{"1391630864":["hashtag1","hashtag2"]},{"1391630789":["hashtag1","hashtag2"]},{"1391630857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391630868, 1391630832, 1391630870, 1391630864, 1391630789, 1391630857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47827506065369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:06:22.344699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_37_2602.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_41_3723.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_43_2573.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_46_2572.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_49_3668.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_52_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_37_2602.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_41_3723.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_43_2573.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_46_2572.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_49_3668.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_52_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391630889","1391630880","1391630883","1391630877","1391630897","1391630893"],"photo_ids_order":["1391630877","1391630880","1391630883","1391630889","1391630893","1391630897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9715ac4d38b92af5c5fcd3cca9cf6c24.jpg","text":"TemporaryFile(/tmp/multipartBody656530950754291029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_46_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fa2649a85dc6fd4038fc0584c999ec0.jpg","text":"TemporaryFile(/tmp/multipartBody7400594879022330803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_41_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b38e66a103c2f2f57cae305ca5b637c.jpg","text":"TemporaryFile(/tmp/multipartBody1952716014915791837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_43_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1baff76851ad25608c586ecc5f47c929.jpg","text":"TemporaryFile(/tmp/multipartBody1741191428186630489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_37_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25ff5c9a409d65de52306680ff472b67.jpg","text":"TemporaryFile(/tmp/multipartBody270484968566667268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_52_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/270539e36b97bd55fa1a101ff5fdcbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5002686288095739204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998845430,"filename":"image_30102025_03_32_49_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391630883","file1":"1391630880","file0":"1391630877","file4":"1391630893","file5":"1391630897","file3":"1391630889"},"map_files_photo_id_array":[{"photo_id":"1391630897","filename":"file5"},{"photo_id":"1391630883","filename":"file2"},{"photo_id":"1391630893","filename":"file4"},{"photo_id":"1391630880","filename":"file1"},{"photo_id":"1391630877","filename":"file0"},{"photo_id":"1391630889","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391630889":["hashtag1","hashtag2"]},{"1391630880":["hashtag1","hashtag2"]},{"1391630883":["hashtag1","hashtag2"]},{"1391630877":["hashtag1","hashtag2"]},{"1391630897":["hashtag1","hashtag2"]},{"1391630893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391630889, 1391630880, 1391630883, 1391630877, 1391630897, 1391630893)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.80691623687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:07:22.573293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_55_2739.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_58_2753.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_04_2798.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_22_3636.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_25_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_55_2739.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_58_2753.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_04_2798.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_22_3636.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_25_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391630911","1391630914","1391630922","1391630909","1391630918","1391630912"],"photo_ids_order":["1391630909","1391630911","1391630912","1391630914","1391630918","1391630922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c6e6c04ef8f6686fbb43fec86f1bb91.jpg","text":"TemporaryFile(/tmp/multipartBody1781604515912125693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_32_58_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17c6818d2093a328257b60d0964b5fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4761038682425384375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_33_04_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83754c0ff40c514f9c173f7d4a6ca596.jpg","text":"TemporaryFile(/tmp/multipartBody5935162445607071046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_33_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71df255dad1303ad3764c94ca98d6aea.jpg","text":"TemporaryFile(/tmp/multipartBody455241638215830109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_32_55_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51ccb1ca53f5465f41c6e1ce1f1164a9.jpg","text":"TemporaryFile(/tmp/multipartBody6995252808801382803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_33_22_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bc54c39536ff49ba88f6729bbb5b2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1132391944596926333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761998905559,"filename":"image_30102025_03_33_01_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391630912","file1":"1391630911","file0":"1391630909","file4":"1391630918","file5":"1391630922","file3":"1391630914"},"map_files_photo_id_array":[{"photo_id":"1391630922","filename":"file5"},{"photo_id":"1391630912","filename":"file2"},{"photo_id":"1391630918","filename":"file4"},{"photo_id":"1391630911","filename":"file1"},{"photo_id":"1391630909","filename":"file0"},{"photo_id":"1391630914","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391630911":["hashtag1","hashtag2"]},{"1391630914":["hashtag1","hashtag2"]},{"1391630922":["hashtag1","hashtag2"]},{"1391630909":["hashtag1","hashtag2"]},{"1391630918":["hashtag1","hashtag2"]},{"1391630912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391630911, 1391630914, 1391630922, 1391630909, 1391630918, 1391630912)","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 = 1391630912 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391630912 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg";
uploaded 6 photos
time to upload: 68.36028623580933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:08:47.385467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:09:07.679199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:09:22.424686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_55_2739.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_58_2753.jpg', '/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_04_2798.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_22_3636.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_25_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_55_2739.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_32_58_2753.jpg
/home/pi/Desktop/images/30102025/03/32/image_30102025_03_33_01_3641.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_04_2798.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_22_3636.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_25_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631040","1391631050","1391631056","1391631038","1391631043","1391631046"],"photo_ids_order":["1391631038","1391631040","1391631043","1391631046","1391631050","1391631056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be77cdbdb73ad7bbba40b4e4110963fa.jpg","text":"TemporaryFile(/tmp/multipartBody8517171801809955053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_32_58_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c19dee1e5bbb9a21c5cc39d5214273b3.jpg","text":"TemporaryFile(/tmp/multipartBody79404693432147256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_33_22_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0c8313e3b1313003e8e6f44be5f8767.jpg","text":"TemporaryFile(/tmp/multipartBody4095749264095652230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_33_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86f79f5a073bd9e98bba8cb6fac6cb54.jpg","text":"TemporaryFile(/tmp/multipartBody8677172299739370773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_32_55_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f7e1112426533319589a2426d61a9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6021602278681345007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_33_01_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7fbab10f8ef7e36871817c45fb03cec.jpg","text":"TemporaryFile(/tmp/multipartBody5415528829225930968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999025300,"filename":"image_30102025_03_33_04_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631043","file1":"1391631040","file0":"1391631038","file4":"1391631050","file5":"1391631056","file3":"1391631046"},"map_files_photo_id_array":[{"photo_id":"1391631056","filename":"file5"},{"photo_id":"1391631043","filename":"file2"},{"photo_id":"1391631050","filename":"file4"},{"photo_id":"1391631040","filename":"file1"},{"photo_id":"1391631038","filename":"file0"},{"photo_id":"1391631046","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631040":["hashtag1","hashtag2"]},{"1391631050":["hashtag1","hashtag2"]},{"1391631056":["hashtag1","hashtag2"]},{"1391631038":["hashtag1","hashtag2"]},{"1391631043":["hashtag1","hashtag2"]},{"1391631046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631040, 1391631050, 1391631056, 1391631038, 1391631043, 1391631046)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 69.7989284992218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:10:42.694754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:11:03.314058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_29_3532.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_31_2619.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_34_2569.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_43_2793.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_47_3717.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_49_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_29_3532.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_31_2619.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_34_2569.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_43_2793.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_47_3717.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_49_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631220","1391631194","1391631179","1391631224","1391631215","1391631217"],"photo_ids_order":["1391631179","1391631194","1391631215","1391631217","1391631220","1391631224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c575c6e8a3f852d10a166df11ea52f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4822073983772838602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_47_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80f4667cca506de9bf24fa769ff6a7e0.jpg","text":"TemporaryFile(/tmp/multipartBody9196743439831578561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c81906f76fd51e29eeca5ea8a937092.jpg","text":"TemporaryFile(/tmp/multipartBody8194774689145995139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_29_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6da4e279461183826bcbacda851d24c5.jpg","text":"TemporaryFile(/tmp/multipartBody7757669227907573431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55677822c93c6108e803bd2ac44cead0.jpg","text":"TemporaryFile(/tmp/multipartBody1753362876167484905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_34_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd7c4ff8dd4560077bef7c8814d22965.jpg","text":"TemporaryFile(/tmp/multipartBody4836243056064049624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999125942,"filename":"image_30102025_03_33_43_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631215","file1":"1391631194","file0":"1391631179","file4":"1391631220","file5":"1391631224","file3":"1391631217"},"map_files_photo_id_array":[{"photo_id":"1391631224","filename":"file5"},{"photo_id":"1391631215","filename":"file2"},{"photo_id":"1391631220","filename":"file4"},{"photo_id":"1391631194","filename":"file1"},{"photo_id":"1391631179","filename":"file0"},{"photo_id":"1391631217","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631220":["hashtag1","hashtag2"]},{"1391631194":["hashtag1","hashtag2"]},{"1391631179":["hashtag1","hashtag2"]},{"1391631224":["hashtag1","hashtag2"]},{"1391631215":["hashtag1","hashtag2"]},{"1391631217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631220, 1391631194, 1391631179, 1391631224, 1391631215, 1391631217)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 74.93020462989807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:12:22.730945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_52_2665.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_55_2689.jpg', '/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_58_3587.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_01_2789.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_16_8803.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_18_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_52_2665.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_55_2689.jpg
/home/pi/Desktop/images/30102025/03/33/image_30102025_03_33_58_3587.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_01_2789.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_16_8803.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_18_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631258","1391631267","1391631255","1391631272","1391631253","1391631262"],"photo_ids_order":["1391631253","1391631255","1391631258","1391631262","1391631267","1391631272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5091c8c1461b3f55584b7518848619e8.jpg","text":"TemporaryFile(/tmp/multipartBody7276131851971120775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_33_58_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/937501153085c3397665fc850f9bbba6.jpg","text":"TemporaryFile(/tmp/multipartBody5276425792036023661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_34_16_8803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91112061e7ba8f9cce71f73547c5addc.jpg","text":"TemporaryFile(/tmp/multipartBody669852618893344651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_33_55_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae4d242ed946a5bfa234f1e69725f385.jpg","text":"TemporaryFile(/tmp/multipartBody7430068645110393153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_34_18_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d40d816175f162baddd5bf72633e5108.jpg","text":"TemporaryFile(/tmp/multipartBody8092409404601888531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_33_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/179e300c27fbec534cafdb7ef4c90e42.jpg","text":"TemporaryFile(/tmp/multipartBody2208173392954154074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999205718,"filename":"image_30102025_03_34_01_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631258","file1":"1391631255","file0":"1391631253","file4":"1391631267","file5":"1391631272","file3":"1391631262"},"map_files_photo_id_array":[{"photo_id":"1391631272","filename":"file5"},{"photo_id":"1391631258","filename":"file2"},{"photo_id":"1391631267","filename":"file4"},{"photo_id":"1391631255","filename":"file1"},{"photo_id":"1391631253","filename":"file0"},{"photo_id":"1391631262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631258":["hashtag1","hashtag2"]},{"1391631267":["hashtag1","hashtag2"]},{"1391631255":["hashtag1","hashtag2"]},{"1391631272":["hashtag1","hashtag2"]},{"1391631253":["hashtag1","hashtag2"]},{"1391631262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631258, 1391631267, 1391631255, 1391631272, 1391631253, 1391631262)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 71.9982283115387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:13:41.849981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631348","1391631333","1391631350","1391631320","1391631346","1391631343"],"photo_ids_order":["1391631320","1391631333","1391631343","1391631346","1391631348","1391631350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1891ff2d7dd8a9713cf2a75d5e82ae4b.jpg","text":"TemporaryFile(/tmp/multipartBody9106949402460972757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_31_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5eb6c70ceffa9b238bc8224f046a837.jpg","text":"TemporaryFile(/tmp/multipartBody6054929870173742042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_21_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8342617bbe4059a08301e425029010f.jpg","text":"TemporaryFile(/tmp/multipartBody2313162469464674923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_34_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/115766a73e6b7d1a8460ef0baff45a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5465951587794899984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_19_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ac51666c9c8325684c40a2152daa70f.jpg","text":"TemporaryFile(/tmp/multipartBody5831577728071364569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_28_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c73bad321394392c381b35b52f8e87e2.jpg","text":"TemporaryFile(/tmp/multipartBody7747109136751420353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999283150,"filename":"image_30102025_03_34_22_1541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631343","file1":"1391631333","file0":"1391631320","file4":"1391631348","file5":"1391631350","file3":"1391631346"},"map_files_photo_id_array":[{"photo_id":"1391631350","filename":"file5"},{"photo_id":"1391631343","filename":"file2"},{"photo_id":"1391631348","filename":"file4"},{"photo_id":"1391631333","filename":"file1"},{"photo_id":"1391631320","filename":"file0"},{"photo_id":"1391631346","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631348":["hashtag1","hashtag2"]},{"1391631333":["hashtag1","hashtag2"]},{"1391631350":["hashtag1","hashtag2"]},{"1391631320":["hashtag1","hashtag2"]},{"1391631346":["hashtag1","hashtag2"]},{"1391631343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631348, 1391631333, 1391631350, 1391631320, 1391631346, 1391631343)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391631343 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391631343 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg";
uploaded 6 photos
time to upload: 63.77483677864075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:15:03.130036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:15:22.428894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631418","1391631423","1391631428","1391631413","1391631433","1391631415"],"photo_ids_order":["1391631413","1391631415","1391631418","1391631423","1391631428","1391631433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/038001d661422f47aca869074ed66592.jpg","text":"TemporaryFile(/tmp/multipartBody615275477830370891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_22_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd39ad6931246500fecead0d3a741df2.jpg","text":"TemporaryFile(/tmp/multipartBody7024934067827355057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_28_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10883147b9f928491fd7839e155a3389.jpg","text":"TemporaryFile(/tmp/multipartBody9130695059985525160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_31_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df220bc4b52a65e7aaef11635cd7fa17.jpg","text":"TemporaryFile(/tmp/multipartBody1479400620169504129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_19_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ccdb2f9a5badf8419d4512907384def.jpg","text":"TemporaryFile(/tmp/multipartBody8162704479693305899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_34_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4aee31c43e254424277bfa1380b14b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5868306553777151788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999385232,"filename":"image_30102025_03_34_21_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631418","file1":"1391631415","file0":"1391631413","file4":"1391631428","file5":"1391631433","file3":"1391631423"},"map_files_photo_id_array":[{"photo_id":"1391631433","filename":"file5"},{"photo_id":"1391631418","filename":"file2"},{"photo_id":"1391631428","filename":"file4"},{"photo_id":"1391631415","filename":"file1"},{"photo_id":"1391631413","filename":"file0"},{"photo_id":"1391631423","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631418":["hashtag1","hashtag2"]},{"1391631423":["hashtag1","hashtag2"]},{"1391631428":["hashtag1","hashtag2"]},{"1391631413":["hashtag1","hashtag2"]},{"1391631433":["hashtag1","hashtag2"]},{"1391631415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631418, 1391631423, 1391631428, 1391631413, 1391631433, 1391631415)","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 = 1391631418 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391631418 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg";
uploaded 6 photos
time to upload: 75.09578347206116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:16:42.074360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:17:19.774867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_19_1627.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_21_1657.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_22_1541.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_28_2863.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_31_3563.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_34_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391631495","1391631480","1391631485","1391631473","1391631476","1391631469"],"photo_ids_order":["1391631469","1391631473","1391631476","1391631480","1391631485","1391631495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70b749ae090b949a46fed6822299d391.jpg","text":"TemporaryFile(/tmp/multipartBody8142175767270409262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_34_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e3bcca69e24f2521692b1a7eaf0f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1293760621495005256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_28_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e0298d74d951007ad9f435211054ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5420299187113255707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_31_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/510cab107bdc9edfdefc0b81396049a6.jpg","text":"TemporaryFile(/tmp/multipartBody3077895115967377740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_21_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/665c11840337beb488485a464cf7cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody587586424789637872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_22_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11dc0122c975ed49e15167af2d9a0e23.jpg","text":"TemporaryFile(/tmp/multipartBody5683267290494055573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999504027,"filename":"image_30102025_03_34_19_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631476","file1":"1391631473","file0":"1391631469","file4":"1391631485","file5":"1391631495","file3":"1391631480"},"map_files_photo_id_array":[{"photo_id":"1391631495","filename":"file5"},{"photo_id":"1391631476","filename":"file2"},{"photo_id":"1391631485","filename":"file4"},{"photo_id":"1391631473","filename":"file1"},{"photo_id":"1391631469","filename":"file0"},{"photo_id":"1391631480","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631495":["hashtag1","hashtag2"]},{"1391631480":["hashtag1","hashtag2"]},{"1391631485":["hashtag1","hashtag2"]},{"1391631473":["hashtag1","hashtag2"]},{"1391631476":["hashtag1","hashtag2"]},{"1391631469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631495, 1391631480, 1391631485, 1391631473, 1391631476, 1391631469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.11375021934509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:18:35.488050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_37_2716.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_40_2597.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_46_2611.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_49_3548.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_52_2850.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_55_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_37_2716.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_40_2597.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_46_2611.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_49_3548.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_52_2850.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_55_2834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631637","1391631633","1391631653","1391631656","1391631577","1391631649"],"photo_ids_order":["1391631577","1391631633","1391631637","1391631649","1391631653","1391631656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5f08687658f126c25cc7325521d7995.jpg","text":"TemporaryFile(/tmp/multipartBody7030513950432141842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_46_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c39518a678963795b2cc9257c3b3829.jpg","text":"TemporaryFile(/tmp/multipartBody3737277193725373285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ea110f8e4e07399580044db4f9d7ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6836345475498409480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_52_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db3760e3eaeee62307101cd5215abe4c.jpg","text":"TemporaryFile(/tmp/multipartBody6413383556785781794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_55_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/506182fec8cb89fc9e1e76d301eaa3aa.jpg","text":"TemporaryFile(/tmp/multipartBody8031586166999561098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_37_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d542839369576bae1567c2cdde3c7640.jpg","text":"TemporaryFile(/tmp/multipartBody8532060900656259844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999578399,"filename":"image_30102025_03_34_49_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631637","file1":"1391631633","file0":"1391631577","file4":"1391631653","file5":"1391631656","file3":"1391631649"},"map_files_photo_id_array":[{"photo_id":"1391631656","filename":"file5"},{"photo_id":"1391631637","filename":"file2"},{"photo_id":"1391631653","filename":"file4"},{"photo_id":"1391631633","filename":"file1"},{"photo_id":"1391631577","filename":"file0"},{"photo_id":"1391631649","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631637":["hashtag1","hashtag2"]},{"1391631633":["hashtag1","hashtag2"]},{"1391631653":["hashtag1","hashtag2"]},{"1391631656":["hashtag1","hashtag2"]},{"1391631577":["hashtag1","hashtag2"]},{"1391631649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631637, 1391631633, 1391631653, 1391631656, 1391631577, 1391631649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.162050008773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:19:42.217421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_58_2651.jpg', '/home/pi/Desktop/images/30102025/03/34/image_30102025_03_35_01_3649.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_04_2611.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_07_2620.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_10_3618.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_13_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_34_58_2651.jpg
/home/pi/Desktop/images/30102025/03/34/image_30102025_03_35_01_3649.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_04_2611.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_07_2620.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_10_3618.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_13_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631715","1391631709","1391631700","1391631703","1391631711","1391631706"],"photo_ids_order":["1391631700","1391631703","1391631706","1391631709","1391631711","1391631715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c4c94ee50bfae6ca267ff3304f68c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6543445323771960460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_35_13_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7093cdf64fe297d7e9921dcf15f0b02a.jpg","text":"TemporaryFile(/tmp/multipartBody1874610792427328037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_35_07_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/252b833c0716c6427bfa5c8a34907201.jpg","text":"TemporaryFile(/tmp/multipartBody12328539583670232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_34_58_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2b3ff0a37786871d22538b6bc1a276a.jpg","text":"TemporaryFile(/tmp/multipartBody2868065580445750710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_35_01_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69567d951aacc56cf2c179ba0b83c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody945453591780575268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_35_10_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fd4c9ecc71624def3aae900b37c1437.jpg","text":"TemporaryFile(/tmp/multipartBody2110399802144638816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999643544,"filename":"image_30102025_03_35_04_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631706","file1":"1391631703","file0":"1391631700","file4":"1391631711","file5":"1391631715","file3":"1391631709"},"map_files_photo_id_array":[{"photo_id":"1391631715","filename":"file5"},{"photo_id":"1391631706","filename":"file2"},{"photo_id":"1391631711","filename":"file4"},{"photo_id":"1391631703","filename":"file1"},{"photo_id":"1391631700","filename":"file0"},{"photo_id":"1391631709","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631715":["hashtag1","hashtag2"]},{"1391631709":["hashtag1","hashtag2"]},{"1391631700":["hashtag1","hashtag2"]},{"1391631703":["hashtag1","hashtag2"]},{"1391631711":["hashtag1","hashtag2"]},{"1391631706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631715, 1391631709, 1391631700, 1391631703, 1391631711, 1391631706)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.03484773635864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:20:42.339949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_16_2843.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_19_2697.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_22_3661.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_25_2859.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_28_2678.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_31_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_16_2843.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_19_2697.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_22_3661.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_25_2859.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_28_2678.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_31_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391631735","1391631778","1391631865","1391631823","1391631730","1391631919"],"photo_ids_order":["1391631730","1391631735","1391631778","1391631823","1391631865","1391631919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aac4461f23e98a83489715b6241efed4.jpg","text":"TemporaryFile(/tmp/multipartBody4158955793247447418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_19_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48ea2f8aa405ed4ade1db0156a24b269.jpg","text":"TemporaryFile(/tmp/multipartBody3815727664165411505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_22_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f620a058f91e5df596c3d909a9036966.jpg","text":"TemporaryFile(/tmp/multipartBody6239654427989477361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a143d4ebc0de115a54424a9d141f9409.jpg","text":"TemporaryFile(/tmp/multipartBody8408386959099006513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_25_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afe3d73b26d384bc82cc37c24723a6db.jpg","text":"TemporaryFile(/tmp/multipartBody7981949899244040734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_16_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6af47eb0a271854fd349f95bd6674577.jpg","text":"TemporaryFile(/tmp/multipartBody5915430790805337842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999703496,"filename":"image_30102025_03_35_31_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391631778","file1":"1391631735","file0":"1391631730","file4":"1391631865","file5":"1391631919","file3":"1391631823"},"map_files_photo_id_array":[{"photo_id":"1391631919","filename":"file5"},{"photo_id":"1391631778","filename":"file2"},{"photo_id":"1391631865","filename":"file4"},{"photo_id":"1391631735","filename":"file1"},{"photo_id":"1391631730","filename":"file0"},{"photo_id":"1391631823","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391631735":["hashtag1","hashtag2"]},{"1391631778":["hashtag1","hashtag2"]},{"1391631865":["hashtag1","hashtag2"]},{"1391631823":["hashtag1","hashtag2"]},{"1391631730":["hashtag1","hashtag2"]},{"1391631919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391631735, 1391631778, 1391631865, 1391631823, 1391631730, 1391631919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22582745552063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:21:22.458840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_34_2779.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_37_2811.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_39_2512.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_43_3789.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_46_2712.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_49_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_34_2779.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_37_2811.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_39_2512.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_43_3789.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_46_2712.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_49_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391632178","1391632307","1391632220","1391632267","1391632135","1391632089"],"photo_ids_order":["1391632089","1391632135","1391632178","1391632220","1391632267","1391632307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c037331a3d30fa1172be7f186277d52.jpg","text":"TemporaryFile(/tmp/multipartBody3333627938300240628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_39_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d2a75215f77e2eee6fb517367daad17.jpg","text":"TemporaryFile(/tmp/multipartBody6077611271753964401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_49_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86f8c94497e1bc6c8b28f35ad6078fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8831981430621921467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_43_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bc41ce3d853f689f7e768327a9e902d.jpg","text":"TemporaryFile(/tmp/multipartBody678420182342434390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_46_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7525a39520a2e34687c729dd7d4d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5278209854657239850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_37_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b28ae4508d297b7234ed247e7bf0258f.jpg","text":"TemporaryFile(/tmp/multipartBody1725025841929787639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999747183,"filename":"image_30102025_03_35_34_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391632178","file1":"1391632135","file0":"1391632089","file4":"1391632267","file5":"1391632307","file3":"1391632220"},"map_files_photo_id_array":[{"photo_id":"1391632307","filename":"file5"},{"photo_id":"1391632178","filename":"file2"},{"photo_id":"1391632267","filename":"file4"},{"photo_id":"1391632135","filename":"file1"},{"photo_id":"1391632089","filename":"file0"},{"photo_id":"1391632220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391632178":["hashtag1","hashtag2"]},{"1391632307":["hashtag1","hashtag2"]},{"1391632220":["hashtag1","hashtag2"]},{"1391632267":["hashtag1","hashtag2"]},{"1391632135":["hashtag1","hashtag2"]},{"1391632089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391632178, 1391632307, 1391632220, 1391632267, 1391632135, 1391632089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9022421836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:22:22.807895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_52_3634.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_55_2912.jpg', '/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_58_2818.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_01_2595.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_03_2726.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_07_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_52_3634.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_55_2912.jpg
/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_58_2818.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_01_2595.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_03_2726.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_07_3604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391633511","1391633396","1391633552","1391633432","1391633472","1391633355"],"photo_ids_order":["1391633355","1391633396","1391633432","1391633472","1391633511","1391633552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8178dee2cca07978548f69abb98f5366.jpg","text":"TemporaryFile(/tmp/multipartBody2399388401758813760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_36_03_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89ab9066c903dae722f07ee7c5f937f3.jpg","text":"TemporaryFile(/tmp/multipartBody6425196644054249468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_35_55_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6db09771a48c85f443ea49e81c1d64b.jpg","text":"TemporaryFile(/tmp/multipartBody6328748765210329360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_36_07_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92dcb55bae9619f11bb1c27c868d4176.jpg","text":"TemporaryFile(/tmp/multipartBody3717448995918117684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_35_58_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79f519fa8d9b5aea27ab2cffcd47b872.jpg","text":"TemporaryFile(/tmp/multipartBody3996722951157563440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_36_01_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba0b7e175d0693ccad83451e51fc04c5.jpg","text":"TemporaryFile(/tmp/multipartBody5598947461528283187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999856695,"filename":"image_30102025_03_35_52_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391633432","file1":"1391633396","file0":"1391633355","file4":"1391633511","file5":"1391633552","file3":"1391633472"},"map_files_photo_id_array":[{"photo_id":"1391633552","filename":"file5"},{"photo_id":"1391633432","filename":"file2"},{"photo_id":"1391633511","filename":"file4"},{"photo_id":"1391633396","filename":"file1"},{"photo_id":"1391633355","filename":"file0"},{"photo_id":"1391633472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391633511":["hashtag1","hashtag2"]},{"1391633396":["hashtag1","hashtag2"]},{"1391633552":["hashtag1","hashtag2"]},{"1391633432":["hashtag1","hashtag2"]},{"1391633472":["hashtag1","hashtag2"]},{"1391633355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391633511, 1391633396, 1391633552, 1391633432, 1391633472, 1391633355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391633432 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/35/image_30102025_03_35_58_2818.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 128.70426869392395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:24:42.864830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_10_2677.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_12_2701.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_16_3737.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_19_2777.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_22_2647.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_24_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_10_2677.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_12_2701.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_16_3737.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_19_2777.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_22_2647.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_24_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391634404","1391634583","1391634492","1391634342","1391634258","1391634299"],"photo_ids_order":["1391634258","1391634299","1391634342","1391634404","1391634492","1391634583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c592137375431316962c8d1d5600d00.jpg","text":"TemporaryFile(/tmp/multipartBody8995353673179169327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_19_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c85e5bbe3a9c2336a38e5e4c1bb24807.jpg","text":"TemporaryFile(/tmp/multipartBody8215546821392670398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_24_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/112d36d43758ed0ff602edae94f4a756.jpg","text":"TemporaryFile(/tmp/multipartBody4218942667103090249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7de159bc3d059f1eb34436e9ff7ec330.jpg","text":"TemporaryFile(/tmp/multipartBody2190235481032061246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_16_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/385b2b61bc7698bb2d436d75b171e480.jpg","text":"TemporaryFile(/tmp/multipartBody5883068886846107137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_10_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36802bead8d0d911d9826c0971d3b414.jpg","text":"TemporaryFile(/tmp/multipartBody6563934036278562715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1761999981207,"filename":"image_30102025_03_36_12_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391634342","file1":"1391634299","file0":"1391634258","file4":"1391634492","file5":"1391634583","file3":"1391634404"},"map_files_photo_id_array":[{"photo_id":"1391634583","filename":"file5"},{"photo_id":"1391634342","filename":"file2"},{"photo_id":"1391634492","filename":"file4"},{"photo_id":"1391634299","filename":"file1"},{"photo_id":"1391634258","filename":"file0"},{"photo_id":"1391634404","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391634404":["hashtag1","hashtag2"]},{"1391634583":["hashtag1","hashtag2"]},{"1391634492":["hashtag1","hashtag2"]},{"1391634342":["hashtag1","hashtag2"]},{"1391634258":["hashtag1","hashtag2"]},{"1391634299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391634404, 1391634583, 1391634492, 1391634342, 1391634258, 1391634299)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 93.05195569992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:26:27.818202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:26:55.764843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_28_3651.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_31_2798.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_37_3503.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_40_2596.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_43_3555.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_46_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_28_3651.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_31_2798.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_37_3503.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_40_2596.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_43_3555.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_46_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635366","1391635323","1391635308","1391635361","1391635349","1391635316"],"photo_ids_order":["1391635308","1391635316","1391635323","1391635349","1391635361","1391635366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a375ca081e50a59f2a02bc49c4c567a.jpg","text":"TemporaryFile(/tmp/multipartBody2670030898703643793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_46_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ac50cbf48b9af61179521dcb9cd6009.jpg","text":"TemporaryFile(/tmp/multipartBody4305088564846884664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_37_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/138852ae2210619efdb248dfdec622f5.jpg","text":"TemporaryFile(/tmp/multipartBody7393644888646837588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_28_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5c1318732f92c4e7ac7e6cfa0c58d92.jpg","text":"TemporaryFile(/tmp/multipartBody2214349283974608598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_43_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79739490e1aae1f7aea264d806c455f4.jpg","text":"TemporaryFile(/tmp/multipartBody6078432286772026696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80faba9e49907569b45a210774f6e36c.jpg","text":"TemporaryFile(/tmp/multipartBody9210017458147202379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000100562,"filename":"image_30102025_03_36_31_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635323","file1":"1391635316","file0":"1391635308","file4":"1391635361","file5":"1391635366","file3":"1391635349"},"map_files_photo_id_array":[{"photo_id":"1391635366","filename":"file5"},{"photo_id":"1391635323","filename":"file2"},{"photo_id":"1391635361","filename":"file4"},{"photo_id":"1391635316","filename":"file1"},{"photo_id":"1391635308","filename":"file0"},{"photo_id":"1391635349","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635366":["hashtag1","hashtag2"]},{"1391635323":["hashtag1","hashtag2"]},{"1391635308":["hashtag1","hashtag2"]},{"1391635361":["hashtag1","hashtag2"]},{"1391635349":["hashtag1","hashtag2"]},{"1391635316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635366, 1391635323, 1391635308, 1391635361, 1391635349, 1391635316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.122859477996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:28:02.611489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_48_2681.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_52_3682.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_55_2658.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_57_2655.jpg', '/home/pi/Desktop/images/30102025/03/36/image_30102025_03_37_01_3653.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_04_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_48_2681.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_52_3682.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_55_2658.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_36_57_2655.jpg
/home/pi/Desktop/images/30102025/03/36/image_30102025_03_37_01_3653.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_04_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635543","1391635501","1391635629","1391635410","1391635583","1391635670"],"photo_ids_order":["1391635410","1391635501","1391635543","1391635583","1391635629","1391635670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e883f833dffdb4f9b44ac43c5625704a.jpg","text":"TemporaryFile(/tmp/multipartBody6805422569539324956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_36_55_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ef3bc7c0f59737779dae658c0af7b56.jpg","text":"TemporaryFile(/tmp/multipartBody889785366629347745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_36_52_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47d1e6c077d47a85ba94caae53e954ae.jpg","text":"TemporaryFile(/tmp/multipartBody2279375390319483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_37_01_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75387cce56445514b9216314f7deb95c.jpg","text":"TemporaryFile(/tmp/multipartBody8954987621735501186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_36_48_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/add83fcc490457c780083863fb244bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5501979438388241337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_36_57_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be11b6afd747fe34447eb70e4d82ee36.jpg","text":"TemporaryFile(/tmp/multipartBody549594237211716097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000144946,"filename":"image_30102025_03_37_04_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635543","file1":"1391635501","file0":"1391635410","file4":"1391635629","file5":"1391635670","file3":"1391635583"},"map_files_photo_id_array":[{"photo_id":"1391635670","filename":"file5"},{"photo_id":"1391635543","filename":"file2"},{"photo_id":"1391635629","filename":"file4"},{"photo_id":"1391635501","filename":"file1"},{"photo_id":"1391635410","filename":"file0"},{"photo_id":"1391635583","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635543":["hashtag1","hashtag2"]},{"1391635501":["hashtag1","hashtag2"]},{"1391635629":["hashtag1","hashtag2"]},{"1391635410":["hashtag1","hashtag2"]},{"1391635583":["hashtag1","hashtag2"]},{"1391635670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635543, 1391635501, 1391635629, 1391635410, 1391635583, 1391635670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.239497423172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:28:42.012709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_10_3618.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_13_2813.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_16_2625.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_18_2839.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_22_3576.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_25_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_10_3618.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_13_2813.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_16_2625.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_18_2839.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_22_3576.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_25_2612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.268852949142456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:29:03.101149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_10_3618.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_13_2813.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_16_2625.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_18_2839.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_22_3576.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_25_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_10_3618.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_13_2813.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_16_2625.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_18_2839.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_22_3576.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_25_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635786","1391635794","1391635788","1391635797","1391635782","1391635791"],"photo_ids_order":["1391635782","1391635786","1391635788","1391635791","1391635794","1391635797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/214b4a44867166d6ffe1f78b9795aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody2932345748700844857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_13_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5185dfa3d90ad9c18eb9da3d07327a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5865460518745120223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_22_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffd77e306725678d7290f5982285519c.jpg","text":"TemporaryFile(/tmp/multipartBody2838131433361642234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_16_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfd430ab4f6f4ede592eaba446e4993d.jpg","text":"TemporaryFile(/tmp/multipartBody1922636680745999974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_25_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30b353c8edb5674f1aae574720a4440f.jpg","text":"TemporaryFile(/tmp/multipartBody8180632793358865100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_10_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58660f4e597e03cd421326bf0c41e152.jpg","text":"TemporaryFile(/tmp/multipartBody4637700455854967612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000205642,"filename":"image_30102025_03_37_18_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635788","file1":"1391635786","file0":"1391635782","file4":"1391635794","file5":"1391635797","file3":"1391635791"},"map_files_photo_id_array":[{"photo_id":"1391635797","filename":"file5"},{"photo_id":"1391635788","filename":"file2"},{"photo_id":"1391635794","filename":"file4"},{"photo_id":"1391635786","filename":"file1"},{"photo_id":"1391635782","filename":"file0"},{"photo_id":"1391635791","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635786":["hashtag1","hashtag2"]},{"1391635794":["hashtag1","hashtag2"]},{"1391635788":["hashtag1","hashtag2"]},{"1391635797":["hashtag1","hashtag2"]},{"1391635782":["hashtag1","hashtag2"]},{"1391635791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635786, 1391635794, 1391635788, 1391635797, 1391635782, 1391635791)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.61528706550598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:30:02.831630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_27_2719.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_31_3550.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_34_2812.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_37_3526.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_40_2692.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_43_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_27_2719.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_31_3550.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_34_2812.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_37_3526.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_40_2692.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_43_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635820","1391635816","1391635819","1391635824","1391635827","1391635821"],"photo_ids_order":["1391635816","1391635819","1391635820","1391635821","1391635824","1391635827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f696dd51a1bba8e417deee98398b476.jpg","text":"TemporaryFile(/tmp/multipartBody3829325679793935730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_34_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2638d3cf3aaadf62db075336c873346d.jpg","text":"TemporaryFile(/tmp/multipartBody6646780737059109910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_27_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f840e895b261e899e1f3920ebf73ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody8283170872281369084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_31_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d2dd7e29f4fcdc66ec1ead029357524.jpg","text":"TemporaryFile(/tmp/multipartBody3572209375960492796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_40_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8fb7b85eec90650e867fd331d8f83b6.jpg","text":"TemporaryFile(/tmp/multipartBody5064667446324252367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_43_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ec99a135f24fc833915534f241eb666.jpg","text":"TemporaryFile(/tmp/multipartBody470906123995311379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000265242,"filename":"image_30102025_03_37_37_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635820","file1":"1391635819","file0":"1391635816","file4":"1391635824","file5":"1391635827","file3":"1391635821"},"map_files_photo_id_array":[{"photo_id":"1391635827","filename":"file5"},{"photo_id":"1391635820","filename":"file2"},{"photo_id":"1391635824","filename":"file4"},{"photo_id":"1391635819","filename":"file1"},{"photo_id":"1391635816","filename":"file0"},{"photo_id":"1391635821","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635820":["hashtag1","hashtag2"]},{"1391635816":["hashtag1","hashtag2"]},{"1391635819":["hashtag1","hashtag2"]},{"1391635824":["hashtag1","hashtag2"]},{"1391635827":["hashtag1","hashtag2"]},{"1391635821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635820, 1391635816, 1391635819, 1391635824, 1391635827, 1391635821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26372170448303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:30:42.448407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_46_3577.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_49_2688.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_52_2673.jpg', '/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_55_3656.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_01_2654.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_03_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_46_3577.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_49_2688.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_52_2673.jpg
/home/pi/Desktop/images/30102025/03/37/image_30102025_03_37_55_3656.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_01_2654.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_03_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635846","1391635842","1391635851","1391635839","1391635848","1391635844"],"photo_ids_order":["1391635839","1391635842","1391635844","1391635846","1391635848","1391635851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5794d3b78b0f33526aa92fe42ea6817.jpg","text":"TemporaryFile(/tmp/multipartBody3139470311451212732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_37_55_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86197f2eecf0742dfe964aa833fdba54.jpg","text":"TemporaryFile(/tmp/multipartBody4596915978838442480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_37_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e40ac8a50c0bfb04e458a1293a3951f5.jpg","text":"TemporaryFile(/tmp/multipartBody194686041323529052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_38_03_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd260d0c1525acd504963aeb1f88e542.jpg","text":"TemporaryFile(/tmp/multipartBody2803791563931679046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_37_46_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8474d5767657748e67951953329663a1.jpg","text":"TemporaryFile(/tmp/multipartBody1382892931300429928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_38_01_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3765c3e4813073650ce0464ac79d029d.jpg","text":"TemporaryFile(/tmp/multipartBody1307100889055390601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000303801,"filename":"image_30102025_03_37_52_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635844","file1":"1391635842","file0":"1391635839","file4":"1391635848","file5":"1391635851","file3":"1391635846"},"map_files_photo_id_array":[{"photo_id":"1391635851","filename":"file5"},{"photo_id":"1391635844","filename":"file2"},{"photo_id":"1391635848","filename":"file4"},{"photo_id":"1391635842","filename":"file1"},{"photo_id":"1391635839","filename":"file0"},{"photo_id":"1391635846","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635846":["hashtag1","hashtag2"]},{"1391635842":["hashtag1","hashtag2"]},{"1391635851":["hashtag1","hashtag2"]},{"1391635839":["hashtag1","hashtag2"]},{"1391635848":["hashtag1","hashtag2"]},{"1391635844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635846, 1391635842, 1391635851, 1391635839, 1391635848, 1391635844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6415638923645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:31:42.657426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:32:02.396495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_07_3602.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_09_2673.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_13_3170.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_15_2830.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_19_3664.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_22_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_07_3602.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_09_2673.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_13_3170.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_15_2830.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_19_3664.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_22_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635897","1391635885","1391635900","1391635893","1391635887","1391635890"],"photo_ids_order":["1391635885","1391635887","1391635890","1391635893","1391635897","1391635900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/786e6745899f605d90d3473967833f35.jpg","text":"TemporaryFile(/tmp/multipartBody5677881623251222936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_19_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46baaf88c0878614af821e00cbff4714.jpg","text":"TemporaryFile(/tmp/multipartBody8918447432149739588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_07_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df9a1e9d1c17d11fffa2318451f98292.jpg","text":"TemporaryFile(/tmp/multipartBody4458582906306087460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_22_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c37a8fd6364b386343d5676e077ce884.jpg","text":"TemporaryFile(/tmp/multipartBody5276390358178893866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_15_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd884613b150703def39c884596a5126.jpg","text":"TemporaryFile(/tmp/multipartBody9135592018222981810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fbc54f9917ae9555ce6e27c7dd3b876.jpg","text":"TemporaryFile(/tmp/multipartBody4231611388533144124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000385001,"filename":"image_30102025_03_38_13_3170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635890","file1":"1391635887","file0":"1391635885","file4":"1391635897","file5":"1391635900","file3":"1391635893"},"map_files_photo_id_array":[{"photo_id":"1391635900","filename":"file5"},{"photo_id":"1391635890","filename":"file2"},{"photo_id":"1391635897","filename":"file4"},{"photo_id":"1391635887","filename":"file1"},{"photo_id":"1391635885","filename":"file0"},{"photo_id":"1391635893","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635897":["hashtag1","hashtag2"]},{"1391635885":["hashtag1","hashtag2"]},{"1391635900":["hashtag1","hashtag2"]},{"1391635893":["hashtag1","hashtag2"]},{"1391635887":["hashtag1","hashtag2"]},{"1391635890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635897, 1391635885, 1391635900, 1391635893, 1391635887, 1391635890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32868218421936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:32:41.811986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_25_2657.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_27_2635.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_31_3544.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_42_2765.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_46_3667.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_49_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_25_2657.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_27_2635.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_31_3544.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_42_2765.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_46_3667.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_49_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391635963","1391635957","1391635968","1391635965","1391636033","1391635961"],"photo_ids_order":["1391635957","1391635961","1391635963","1391635965","1391635968","1391636033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/327481eca7ffbb0f16eeb20a731bdbaa.jpg","text":"TemporaryFile(/tmp/multipartBody8056043249802410269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_31_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9317906c7024464120e8dafee86efec.jpg","text":"TemporaryFile(/tmp/multipartBody4612380547261944986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0cae9770b1976e7c3b016ccc849a292.jpg","text":"TemporaryFile(/tmp/multipartBody6762953606492646881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_46_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43ac75f0037324a9f07613b87b94031d.jpg","text":"TemporaryFile(/tmp/multipartBody7246785529172998543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_42_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d260834344685d3bbddadd465e9bc7c9.jpg","text":"TemporaryFile(/tmp/multipartBody7578165673147656427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_49_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4f9679690db1ec0d4e68b2ee3f44932.jpg","text":"TemporaryFile(/tmp/multipartBody2690969154918059762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000445076,"filename":"image_30102025_03_38_27_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391635963","file1":"1391635961","file0":"1391635957","file4":"1391635968","file5":"1391636033","file3":"1391635965"},"map_files_photo_id_array":[{"photo_id":"1391636033","filename":"file5"},{"photo_id":"1391635963","filename":"file2"},{"photo_id":"1391635968","filename":"file4"},{"photo_id":"1391635961","filename":"file1"},{"photo_id":"1391635957","filename":"file0"},{"photo_id":"1391635965","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391635963":["hashtag1","hashtag2"]},{"1391635957":["hashtag1","hashtag2"]},{"1391635968":["hashtag1","hashtag2"]},{"1391635965":["hashtag1","hashtag2"]},{"1391636033":["hashtag1","hashtag2"]},{"1391635961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391635963, 1391635957, 1391635968, 1391635965, 1391636033, 1391635961)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 92.61616683006287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:34:22.317949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636073","1391636067","1391636076","1391636064","1391636069","1391636080"],"photo_ids_order":["1391636064","1391636067","1391636069","1391636073","1391636076","1391636080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b5b0c2d4b26df4bf627014da1a10bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6315847120358896138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_39_07_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ce78697667e23332ecab0e0638d5609.jpg","text":"TemporaryFile(/tmp/multipartBody1825487588002187864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_39_00_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/387428193d38bb7c301f58b9bf38a5cc.jpg","text":"TemporaryFile(/tmp/multipartBody5566520242565922996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_39_10_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/940fe11f9b24d4c33a60348479287664.jpg","text":"TemporaryFile(/tmp/multipartBody3836129606785948076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_38_51_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2272790c9f3a8c233197874403372c37.jpg","text":"TemporaryFile(/tmp/multipartBody4093587739692928177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_39_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f17cb9356ffebbd5ba6a6072244c277.jpg","text":"TemporaryFile(/tmp/multipartBody1704804908688519134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000530974,"filename":"image_30102025_03_39_12_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636069","file1":"1391636067","file0":"1391636064","file4":"1391636076","file5":"1391636080","file3":"1391636073"},"map_files_photo_id_array":[{"photo_id":"1391636080","filename":"file5"},{"photo_id":"1391636069","filename":"file2"},{"photo_id":"1391636076","filename":"file4"},{"photo_id":"1391636067","filename":"file1"},{"photo_id":"1391636064","filename":"file0"},{"photo_id":"1391636073","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636073":["hashtag1","hashtag2"]},{"1391636067":["hashtag1","hashtag2"]},{"1391636076":["hashtag1","hashtag2"]},{"1391636064":["hashtag1","hashtag2"]},{"1391636069":["hashtag1","hashtag2"]},{"1391636080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636073, 1391636067, 1391636076, 1391636064, 1391636069, 1391636080)","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 = 1391636069 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391636069 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg";
uploaded 6 photos
time to upload: 68.18294715881348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:35:49.334927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:36:04.426998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 4.286564588546753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:36:23.885797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg', '/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_38_51_2564.jpg
/home/pi/Desktop/images/30102025/03/38/image_30102025_03_39_00_2741.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_03_2700.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_07_3731.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_10_2826.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_12_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636257","1391636311","1391636253","1391636256","1391636297","1391636255"],"photo_ids_order":["1391636253","1391636255","1391636256","1391636257","1391636297","1391636311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/241ecf24ba2bfe353706aa2fa5743dad.jpg","text":"TemporaryFile(/tmp/multipartBody4495511110383523269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_39_07_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca9e6ff841e697c26f0a29414cd4be2d.jpg","text":"TemporaryFile(/tmp/multipartBody6530427347723819781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_39_12_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f95405950dfede4db170eeda1c2101f.jpg","text":"TemporaryFile(/tmp/multipartBody5868884276966785120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_38_51_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6914f30d8bdefa2a667cf88f5e28e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4472568795084528838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_39_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91e1480705653055f398f439f45e8e79.jpg","text":"TemporaryFile(/tmp/multipartBody4188592328612472817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_39_10_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8644a8e51d52254d35e5c8f2eca9a749.jpg","text":"TemporaryFile(/tmp/multipartBody1366574495896084802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000646378,"filename":"image_30102025_03_39_00_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636256","file1":"1391636255","file0":"1391636253","file4":"1391636297","file5":"1391636311","file3":"1391636257"},"map_files_photo_id_array":[{"photo_id":"1391636311","filename":"file5"},{"photo_id":"1391636256","filename":"file2"},{"photo_id":"1391636297","filename":"file4"},{"photo_id":"1391636255","filename":"file1"},{"photo_id":"1391636253","filename":"file0"},{"photo_id":"1391636257","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636257":["hashtag1","hashtag2"]},{"1391636311":["hashtag1","hashtag2"]},{"1391636253":["hashtag1","hashtag2"]},{"1391636256":["hashtag1","hashtag2"]},{"1391636297":["hashtag1","hashtag2"]},{"1391636255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636257, 1391636311, 1391636253, 1391636256, 1391636297, 1391636255)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.744152784347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:37:33.011800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_16_3591.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_19_2607.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_31_2701.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_33_2705.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_37_3645.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_40_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_16_3591.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_19_2607.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_31_2701.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_33_2705.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_37_3645.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_40_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636350","1391636338","1391636358","1391636331","1391636334","1391636342"],"photo_ids_order":["1391636331","1391636334","1391636338","1391636342","1391636350","1391636358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a468197ed0a389078b2ff64182a85c77.jpg","text":"TemporaryFile(/tmp/multipartBody7881448888926148820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_37_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a481d8fdb101ab72a0514916f3e41e24.jpg","text":"TemporaryFile(/tmp/multipartBody9137840517793110048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_31_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02c3ae0dcd032203401b13c74a99608f.jpg","text":"TemporaryFile(/tmp/multipartBody2398528916743130748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_40_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/617b8a4d27118940c9bf966bae785a74.jpg","text":"TemporaryFile(/tmp/multipartBody7803190162322763098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_16_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1eeb5239517dfd9bd3e95759851ce236.jpg","text":"TemporaryFile(/tmp/multipartBody8581365378062015482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_19_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6420898c7726f35cb195cbb08e029404.jpg","text":"TemporaryFile(/tmp/multipartBody7346395541197390610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000716057,"filename":"image_30102025_03_39_33_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636338","file1":"1391636334","file0":"1391636331","file4":"1391636350","file5":"1391636358","file3":"1391636342"},"map_files_photo_id_array":[{"photo_id":"1391636358","filename":"file5"},{"photo_id":"1391636338","filename":"file2"},{"photo_id":"1391636350","filename":"file4"},{"photo_id":"1391636334","filename":"file1"},{"photo_id":"1391636331","filename":"file0"},{"photo_id":"1391636342","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636350":["hashtag1","hashtag2"]},{"1391636338":["hashtag1","hashtag2"]},{"1391636358":["hashtag1","hashtag2"]},{"1391636331":["hashtag1","hashtag2"]},{"1391636334":["hashtag1","hashtag2"]},{"1391636342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636350, 1391636338, 1391636358, 1391636331, 1391636334, 1391636342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.70940351486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:38:22.187643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_46_3680.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_49_2697.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_58_2679.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_04_3696.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_07_2540.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_12_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_46_3680.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_49_2697.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_58_2679.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_04_3696.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_07_2540.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_12_2615.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 4.1675896644592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:38:42.223774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_46_3680.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_49_2697.jpg', '/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_58_2679.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_04_3696.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_07_2540.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_12_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_46_3680.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_49_2697.jpg
/home/pi/Desktop/images/30102025/03/39/image_30102025_03_39_58_2679.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_04_3696.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_07_2540.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_12_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636431","1391636427","1391636415","1391636409","1391636399","1391636405"],"photo_ids_order":["1391636399","1391636405","1391636409","1391636415","1391636427","1391636431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92b67d0553934c5c0a542318461ce306.jpg","text":"TemporaryFile(/tmp/multipartBody7223178845414935171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_40_12_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddcd340b37bc02da5295e000733a2a56.jpg","text":"TemporaryFile(/tmp/multipartBody7944484269970040488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_40_07_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/243f5e9d9f99a349ff4acfc76f336a16.jpg","text":"TemporaryFile(/tmp/multipartBody8184700350317446519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_40_04_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5434e30f0e4a143c5b1707f11eadb15.jpg","text":"TemporaryFile(/tmp/multipartBody8034006587994327682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_39_58_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91dff68796518ca9f52363e8331c293c.jpg","text":"TemporaryFile(/tmp/multipartBody6876696646437657306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_39_46_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d689d1143ac9ef68499220603b3ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody3526229013860359178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000783266,"filename":"image_30102025_03_39_49_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636409","file1":"1391636405","file0":"1391636399","file4":"1391636427","file5":"1391636431","file3":"1391636415"},"map_files_photo_id_array":[{"photo_id":"1391636431","filename":"file5"},{"photo_id":"1391636409","filename":"file2"},{"photo_id":"1391636427","filename":"file4"},{"photo_id":"1391636405","filename":"file1"},{"photo_id":"1391636399","filename":"file0"},{"photo_id":"1391636415","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636431":["hashtag1","hashtag2"]},{"1391636427":["hashtag1","hashtag2"]},{"1391636415":["hashtag1","hashtag2"]},{"1391636409":["hashtag1","hashtag2"]},{"1391636399":["hashtag1","hashtag2"]},{"1391636405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636431, 1391636427, 1391636415, 1391636409, 1391636399, 1391636405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97472524642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:39:26.174374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_16_3723.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_18_2473.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_22_3717.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_27_2612.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_31_3627.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_36_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_16_3723.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_18_2473.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_22_3717.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_27_2612.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_31_3627.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_36_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636451","1391636454","1391636520","1391636514","1391636471","1391636534"],"photo_ids_order":["1391636451","1391636454","1391636471","1391636514","1391636520","1391636534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb3bc31c628b50dd0250598ed4116fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4101145594632849954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_16_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef995f1c0dff75c2056ca150eb822b98.jpg","text":"TemporaryFile(/tmp/multipartBody4688309087760838656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_18_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c684abfe774b264097bc4c3ba0db4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4859501369645812626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_31_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49a3536edf769c3f2992d45845b149ee.jpg","text":"TemporaryFile(/tmp/multipartBody8961741748342361639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_27_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/378ad55140cfb02a65301780df7a3de5.jpg","text":"TemporaryFile(/tmp/multipartBody4878582757081048553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_22_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83231f5daa9c113685bd3b021f847cde.jpg","text":"TemporaryFile(/tmp/multipartBody2418331278556527043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000829381,"filename":"image_30102025_03_40_36_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636471","file1":"1391636454","file0":"1391636451","file4":"1391636520","file5":"1391636534","file3":"1391636514"},"map_files_photo_id_array":[{"photo_id":"1391636534","filename":"file5"},{"photo_id":"1391636471","filename":"file2"},{"photo_id":"1391636520","filename":"file4"},{"photo_id":"1391636454","filename":"file1"},{"photo_id":"1391636451","filename":"file0"},{"photo_id":"1391636514","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636451":["hashtag1","hashtag2"]},{"1391636454":["hashtag1","hashtag2"]},{"1391636520":["hashtag1","hashtag2"]},{"1391636514":["hashtag1","hashtag2"]},{"1391636471":["hashtag1","hashtag2"]},{"1391636534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636451, 1391636454, 1391636520, 1391636514, 1391636471, 1391636534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18955397605896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:40:22.428616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_43_2822.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_45_2535.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_49_3675.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_51_2688.jpg', '/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_54_2771.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_10_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_43_2822.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_45_2535.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_49_3675.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_51_2688.jpg
/home/pi/Desktop/images/30102025/03/40/image_30102025_03_40_54_2771.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_10_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636589","1391636598","1391636553","1391636597","1391636601","1391636600"],"photo_ids_order":["1391636553","1391636589","1391636597","1391636598","1391636600","1391636601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/886bd8dbbc89e7b01194754eed90095d.jpg","text":"TemporaryFile(/tmp/multipartBody3655653574938095655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_40_45_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a4a411268566cf638a55b74046fd616.jpg","text":"TemporaryFile(/tmp/multipartBody1350632183367832074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_40_51_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da61161d571d81dfdbe4115ded0f23a9.jpg","text":"TemporaryFile(/tmp/multipartBody6335640054292683776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_40_43_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79fb235050a718e0e3bd17fc31407328.jpg","text":"TemporaryFile(/tmp/multipartBody5073078794131815534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_40_49_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7eb03dcaa4911844b3d0f1d1167b11e.jpg","text":"TemporaryFile(/tmp/multipartBody784851846491968853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_41_10_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0991da6f0d96a3e87486c91caa1e35f5.jpg","text":"TemporaryFile(/tmp/multipartBody8166107319347325097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000888467,"filename":"image_30102025_03_40_54_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636597","file1":"1391636589","file0":"1391636553","file4":"1391636600","file5":"1391636601","file3":"1391636598"},"map_files_photo_id_array":[{"photo_id":"1391636601","filename":"file5"},{"photo_id":"1391636597","filename":"file2"},{"photo_id":"1391636600","filename":"file4"},{"photo_id":"1391636589","filename":"file1"},{"photo_id":"1391636553","filename":"file0"},{"photo_id":"1391636598","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636589":["hashtag1","hashtag2"]},{"1391636598":["hashtag1","hashtag2"]},{"1391636553":["hashtag1","hashtag2"]},{"1391636597":["hashtag1","hashtag2"]},{"1391636601":["hashtag1","hashtag2"]},{"1391636600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636589, 1391636598, 1391636553, 1391636597, 1391636601, 1391636600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43478441238403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:41:22.568420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_12_2636.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_15_2601.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_19_3694.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_28_3652.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_30_2734.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_37_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_12_2636.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_15_2601.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_19_3694.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_28_3652.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_30_2734.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_37_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636653","1391636620","1391636614","1391636623","1391636618","1391636659"],"photo_ids_order":["1391636614","1391636618","1391636620","1391636623","1391636653","1391636659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/214897481792128b30e6e6c0dbfbf37e.jpg","text":"TemporaryFile(/tmp/multipartBody6684132799530930940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_30_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5a3f17f6beda54f02625ccbb85312dc.jpg","text":"TemporaryFile(/tmp/multipartBody3143618831886594156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_19_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75b89ff9af7e4e41225e329b841c9e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4147848420444133796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_12_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38cccbae3da4518517d64983af7e0e84.jpg","text":"TemporaryFile(/tmp/multipartBody3177285439421522847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_28_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48d4cb01574f883fdf3857b559891a47.jpg","text":"TemporaryFile(/tmp/multipartBody5197707483448068029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_15_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c10566b5467cda8c8fc0e9b6ffe6c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5523588249395929573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000945249,"filename":"image_30102025_03_41_37_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636620","file1":"1391636618","file0":"1391636614","file4":"1391636653","file5":"1391636659","file3":"1391636623"},"map_files_photo_id_array":[{"photo_id":"1391636659","filename":"file5"},{"photo_id":"1391636620","filename":"file2"},{"photo_id":"1391636653","filename":"file4"},{"photo_id":"1391636618","filename":"file1"},{"photo_id":"1391636614","filename":"file0"},{"photo_id":"1391636623","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636653":["hashtag1","hashtag2"]},{"1391636620":["hashtag1","hashtag2"]},{"1391636614":["hashtag1","hashtag2"]},{"1391636623":["hashtag1","hashtag2"]},{"1391636618":["hashtag1","hashtag2"]},{"1391636659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636653, 1391636620, 1391636614, 1391636623, 1391636618, 1391636659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36098527908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:42:02.263530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_39_2672.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_42_2711.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_48_2663.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_51_2616.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_55_3669.jpg', '/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_57_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_39_2672.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_42_2711.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_48_2663.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_51_2616.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_55_3669.jpg
/home/pi/Desktop/images/30102025/03/41/image_30102025_03_41_57_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391636742","1391636679","1391636684","1391636681","1391636675","1391636683"],"photo_ids_order":["1391636675","1391636679","1391636681","1391636683","1391636684","1391636742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1388d7bdf88397613ac31a5ed79eab4c.jpg","text":"TemporaryFile(/tmp/multipartBody4106432467891226982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_57_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34aeabdd554a319feca4315c9e9a2b38.jpg","text":"TemporaryFile(/tmp/multipartBody6652393666358745594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_42_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf342c81d379825a8ad2ff74d0901636.jpg","text":"TemporaryFile(/tmp/multipartBody823194746365293658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_55_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56008b3ebba3a26bf38128b376d534b3.jpg","text":"TemporaryFile(/tmp/multipartBody6765610356022395023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_48_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/012a8a84dc4bc92dbba9a8b321a9b05d.jpg","text":"TemporaryFile(/tmp/multipartBody7497299307886009819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_39_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a18587ba9b04a63c25a8ebb44d80c96e.jpg","text":"TemporaryFile(/tmp/multipartBody309279231980163007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762000984639,"filename":"image_30102025_03_41_51_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636681","file1":"1391636679","file0":"1391636675","file4":"1391636684","file5":"1391636742","file3":"1391636683"},"map_files_photo_id_array":[{"photo_id":"1391636742","filename":"file5"},{"photo_id":"1391636681","filename":"file2"},{"photo_id":"1391636684","filename":"file4"},{"photo_id":"1391636679","filename":"file1"},{"photo_id":"1391636675","filename":"file0"},{"photo_id":"1391636683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391636742":["hashtag1","hashtag2"]},{"1391636679":["hashtag1","hashtag2"]},{"1391636684":["hashtag1","hashtag2"]},{"1391636681":["hashtag1","hashtag2"]},{"1391636675":["hashtag1","hashtag2"]},{"1391636683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391636742, 1391636679, 1391636684, 1391636681, 1391636675, 1391636683)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.336308002471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:43:02.655716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_12_2542.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_21_2878.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_24_2764.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_30_2798.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_33_2570.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_37_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_12_2542.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_21_2878.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_24_2764.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_30_2798.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_33_2570.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_37_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391637027","1391636823","1391636987","1391636861","1391636903","1391636941"],"photo_ids_order":["1391636823","1391636861","1391636903","1391636941","1391636987","1391637027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d829099938e9ad008d1cda15073b8ea.jpg","text":"TemporaryFile(/tmp/multipartBody8494563222371100891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_37_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52e71a328e0612b27d01e93a20a142ff.jpg","text":"TemporaryFile(/tmp/multipartBody1552028427712449328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_12_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a2720a40f5baea088fa7d8ecd5976a0.jpg","text":"TemporaryFile(/tmp/multipartBody454484018392929476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_33_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a9e5d0f2d4ed830d88524bee70e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody8518227887204174006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_21_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b963c3542358ad9bb1c7ec131738016.jpg","text":"TemporaryFile(/tmp/multipartBody3519475683435008623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_24_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69a623be1bb220c057b641139734b693.jpg","text":"TemporaryFile(/tmp/multipartBody9065234230017406527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001047623,"filename":"image_30102025_03_42_30_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391636903","file1":"1391636861","file0":"1391636823","file4":"1391636987","file5":"1391637027","file3":"1391636941"},"map_files_photo_id_array":[{"photo_id":"1391637027","filename":"file5"},{"photo_id":"1391636903","filename":"file2"},{"photo_id":"1391636987","filename":"file4"},{"photo_id":"1391636861","filename":"file1"},{"photo_id":"1391636823","filename":"file0"},{"photo_id":"1391636941","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391637027":["hashtag1","hashtag2"]},{"1391636823":["hashtag1","hashtag2"]},{"1391636987":["hashtag1","hashtag2"]},{"1391636861":["hashtag1","hashtag2"]},{"1391636903":["hashtag1","hashtag2"]},{"1391636941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391637027, 1391636823, 1391636987, 1391636861, 1391636903, 1391636941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.547866344451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:44:04.823691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_39_2820.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_42_2694.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_46_3618.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_48_2575.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_51_2879.jpg', '/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_54_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_39_2820.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_42_2694.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_46_3618.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_48_2575.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_51_2879.jpg
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_42_54_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391637585","1391637540","1391637455","1391637496","1391637475","1391637457"],"photo_ids_order":["1391637455","1391637457","1391637475","1391637496","1391637540","1391637585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/832a7beeccde969514ff8c290be307bd.jpg","text":"TemporaryFile(/tmp/multipartBody5487009346861050937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_54_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e400aaf1439accd174223df30fab8782.jpg","text":"TemporaryFile(/tmp/multipartBody4934031307961586177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_51_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/185467264dc007042a168089c19fb2d8.jpg","text":"TemporaryFile(/tmp/multipartBody7547489066209917208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_39_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1b00bf004ce6b769a00690708531e86.jpg","text":"TemporaryFile(/tmp/multipartBody1098739394450370641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_48_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e5b5303c1389de111d7fd9f6c171474.jpg","text":"TemporaryFile(/tmp/multipartBody5745178039484113606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_46_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e81d6df7fc457eb61892e8ed2be518ea.jpg","text":"TemporaryFile(/tmp/multipartBody7791393391974099019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001126221,"filename":"image_30102025_03_42_42_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391637475","file1":"1391637457","file0":"1391637455","file4":"1391637540","file5":"1391637585","file3":"1391637496"},"map_files_photo_id_array":[{"photo_id":"1391637585","filename":"file5"},{"photo_id":"1391637475","filename":"file2"},{"photo_id":"1391637540","filename":"file4"},{"photo_id":"1391637457","filename":"file1"},{"photo_id":"1391637455","filename":"file0"},{"photo_id":"1391637496","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391637585":["hashtag1","hashtag2"]},{"1391637540":["hashtag1","hashtag2"]},{"1391637455":["hashtag1","hashtag2"]},{"1391637496":["hashtag1","hashtag2"]},{"1391637475":["hashtag1","hashtag2"]},{"1391637457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391637585, 1391637540, 1391637455, 1391637496, 1391637475, 1391637457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.80854511260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:45:22.545619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/42/image_30102025_03_43_00_2573.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_03_2767.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_06_3632.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_09_2684.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_12_2693.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_21_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/42/image_30102025_03_43_00_2573.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_03_2767.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_06_3632.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_09_2684.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_12_2693.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_21_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391637879","1391637890","1391637887","1391637824","1391637883","1391637871"],"photo_ids_order":["1391637824","1391637871","1391637879","1391637883","1391637887","1391637890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/871d88c347888dce1e4d9ae6cfd27045.jpg","text":"TemporaryFile(/tmp/multipartBody862398715587715872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_06_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5748a076110664329f864b05ca0cc808.jpg","text":"TemporaryFile(/tmp/multipartBody550866499383577733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_21_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c5d6326e71526e5c3b81197c7539776.jpg","text":"TemporaryFile(/tmp/multipartBody8273772449173472624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_12_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6436f564adb823905a9d998c42065468.jpg","text":"TemporaryFile(/tmp/multipartBody7883145592294550069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_00_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ba45af759abfe55240d12df943a5e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3850960980262976864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_09_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d7020f5a4ec7c43dc176fd1c2876db6.jpg","text":"TemporaryFile(/tmp/multipartBody163918243807395288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001185498,"filename":"image_30102025_03_43_03_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391637879","file1":"1391637871","file0":"1391637824","file4":"1391637887","file5":"1391637890","file3":"1391637883"},"map_files_photo_id_array":[{"photo_id":"1391637890","filename":"file5"},{"photo_id":"1391637879","filename":"file2"},{"photo_id":"1391637887","filename":"file4"},{"photo_id":"1391637871","filename":"file1"},{"photo_id":"1391637824","filename":"file0"},{"photo_id":"1391637883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391637879":["hashtag1","hashtag2"]},{"1391637890":["hashtag1","hashtag2"]},{"1391637887":["hashtag1","hashtag2"]},{"1391637824":["hashtag1","hashtag2"]},{"1391637883":["hashtag1","hashtag2"]},{"1391637871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391637879, 1391637890, 1391637887, 1391637824, 1391637883, 1391637871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80883717536926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:46:22.717121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_24_3719.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_27_2570.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_30_2809.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_34_3772.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_36_2713.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_39_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_24_3719.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_27_2570.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_30_2809.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_34_3772.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_36_2713.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_39_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391638085","1391638088","1391638096","1391638093","1391638086","1391638080"],"photo_ids_order":["1391638080","1391638085","1391638086","1391638088","1391638093","1391638096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a4f2ad2496c7d2faa21bec76a441bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1568411452511203612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_27_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a1f36e48da71038a18e3188e28c41fb.jpg","text":"TemporaryFile(/tmp/multipartBody1011955557044462472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_34_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a59c77493b765d7a2202b29368e5cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3226633278207239988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_39_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8e063c32d1772f213e339000508d13e.jpg","text":"TemporaryFile(/tmp/multipartBody275032206109856724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_36_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c9da880f98dbc9de23c197928228b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2820240167974267545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_30_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8cbee33974027d27a96bf03e0c8879e.jpg","text":"TemporaryFile(/tmp/multipartBody7595606076687473899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001245761,"filename":"image_30102025_03_43_24_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391638086","file1":"1391638085","file0":"1391638080","file4":"1391638093","file5":"1391638096","file3":"1391638088"},"map_files_photo_id_array":[{"photo_id":"1391638096","filename":"file5"},{"photo_id":"1391638086","filename":"file2"},{"photo_id":"1391638093","filename":"file4"},{"photo_id":"1391638085","filename":"file1"},{"photo_id":"1391638080","filename":"file0"},{"photo_id":"1391638088","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391638085":["hashtag1","hashtag2"]},{"1391638088":["hashtag1","hashtag2"]},{"1391638096":["hashtag1","hashtag2"]},{"1391638093":["hashtag1","hashtag2"]},{"1391638086":["hashtag1","hashtag2"]},{"1391638080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391638085, 1391638088, 1391638096, 1391638093, 1391638086, 1391638080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22615432739258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:47:02.592625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_42_2690.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_45_2810.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_51_2709.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_54_2582.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_57_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_42_2690.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_45_2810.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_51_2709.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_54_2582.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_57_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391638236","1391638311","1391638352","1391638274","1391638393","1391638479"],"photo_ids_order":["1391638236","1391638274","1391638311","1391638352","1391638393","1391638479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e92d39533f316e432e455d04a350729.jpg","text":"TemporaryFile(/tmp/multipartBody8368108857306417300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_42_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dd00d5ace4cf0ca5aeed108e0b020f1.jpg","text":"TemporaryFile(/tmp/multipartBody3061675875732760831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_49_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/256245432d480bd675684057d10202b2.jpg","text":"TemporaryFile(/tmp/multipartBody3649647309591820343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_51_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cecb3fc6d559ee3fd1d5adca99aa8200.jpg","text":"TemporaryFile(/tmp/multipartBody2299052978792938354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_45_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4375592c61fde0cc9be72238470b272.jpg","text":"TemporaryFile(/tmp/multipartBody1235030157298927078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_54_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56ba6c0ae05538c801f180a8ecde95d2.jpg","text":"TemporaryFile(/tmp/multipartBody6846839161066811611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001287407,"filename":"image_30102025_03_43_57_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391638311","file1":"1391638274","file0":"1391638236","file4":"1391638393","file5":"1391638479","file3":"1391638352"},"map_files_photo_id_array":[{"photo_id":"1391638479","filename":"file5"},{"photo_id":"1391638311","filename":"file2"},{"photo_id":"1391638393","filename":"file4"},{"photo_id":"1391638274","filename":"file1"},{"photo_id":"1391638236","filename":"file0"},{"photo_id":"1391638352","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391638236":["hashtag1","hashtag2"]},{"1391638311":["hashtag1","hashtag2"]},{"1391638352":["hashtag1","hashtag2"]},{"1391638274":["hashtag1","hashtag2"]},{"1391638393":["hashtag1","hashtag2"]},{"1391638479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391638236, 1391638311, 1391638352, 1391638274, 1391638393, 1391638479)","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 = 1391638311 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391638311 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg";
uploaded 6 photos
time to upload: 76.98116731643677 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:48:43.677407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_42_2690.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_45_2810.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_51_2709.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_54_2582.jpg', '/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_57_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_42_2690.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_45_2810.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_51_2709.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_54_2582.jpg
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_57_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391638851","1391638658","1391638805","1391638699","1391638616","1391638759"],"photo_ids_order":["1391638616","1391638658","1391638699","1391638759","1391638805","1391638851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/010e54b1d77276f6c38cdc8565218795.jpg","text":"TemporaryFile(/tmp/multipartBody369598729869165274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_57_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e08ee82a2e48119cb4acfb22ed67b39.jpg","text":"TemporaryFile(/tmp/multipartBody7677230127816215927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_45_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65c0259cc94d2b9159d3702f1555e33d.jpg","text":"TemporaryFile(/tmp/multipartBody2962042698372779082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_54_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/066789b837a90847cea8b2b2a535cf2f.jpg","text":"TemporaryFile(/tmp/multipartBody8139565839504202492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_49_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/734b5296c8dd6267ec62208e23fe9908.jpg","text":"TemporaryFile(/tmp/multipartBody6504537559634060481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_42_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86afbf3c51d59f78add29cfc06feeb15.jpg","text":"TemporaryFile(/tmp/multipartBody2014602333025304885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001384860,"filename":"image_30102025_03_43_51_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391638699","file1":"1391638658","file0":"1391638616","file4":"1391638805","file5":"1391638851","file3":"1391638759"},"map_files_photo_id_array":[{"photo_id":"1391638851","filename":"file5"},{"photo_id":"1391638699","filename":"file2"},{"photo_id":"1391638805","filename":"file4"},{"photo_id":"1391638658","filename":"file1"},{"photo_id":"1391638616","filename":"file0"},{"photo_id":"1391638759","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391638851":["hashtag1","hashtag2"]},{"1391638658":["hashtag1","hashtag2"]},{"1391638805":["hashtag1","hashtag2"]},{"1391638699":["hashtag1","hashtag2"]},{"1391638616":["hashtag1","hashtag2"]},{"1391638759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391638851, 1391638658, 1391638805, 1391638699, 1391638616, 1391638759)","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 = 1391638699 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/43/image_30102025_03_43_49_3845.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.84035634994507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:50:15.432943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:50:43.927127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:51:02.851787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:51:24.233865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/43/image_30102025_03_44_00_2554.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_03_2663.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_12_3526.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_15_2647.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_18_2627.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_21_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/43/image_30102025_03_44_00_2554.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_03_2663.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_12_3526.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_15_2647.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_18_2627.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_21_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391639786","1391639782","1391639779","1391639764","1391639653","1391639722"],"photo_ids_order":["1391639653","1391639722","1391639764","1391639779","1391639782","1391639786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/689e9f7aeb0ad36bcc30cd0a50a90734.jpg","text":"TemporaryFile(/tmp/multipartBody1174244083497661973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_21_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9209972a049e039489f1c6e0cd45e58.jpg","text":"TemporaryFile(/tmp/multipartBody5353094047786166588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_18_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2941d6a06ad8a091d41a6578b225818.jpg","text":"TemporaryFile(/tmp/multipartBody7052495992026464943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_15_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a08d0dcb620e3ac170c875b3a7f589bc.jpg","text":"TemporaryFile(/tmp/multipartBody2705640459642582322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_12_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a2823dd8d278b45f35d9f8a8bb1c6ca.jpg","text":"TemporaryFile(/tmp/multipartBody5292512119687377938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_00_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68fc0596218a22422003361a33e59e14.jpg","text":"TemporaryFile(/tmp/multipartBody6640060965981938042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001562091,"filename":"image_30102025_03_44_03_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391639764","file1":"1391639722","file0":"1391639653","file4":"1391639782","file5":"1391639786","file3":"1391639779"},"map_files_photo_id_array":[{"photo_id":"1391639786","filename":"file5"},{"photo_id":"1391639764","filename":"file2"},{"photo_id":"1391639782","filename":"file4"},{"photo_id":"1391639722","filename":"file1"},{"photo_id":"1391639653","filename":"file0"},{"photo_id":"1391639779","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391639786":["hashtag1","hashtag2"]},{"1391639782":["hashtag1","hashtag2"]},{"1391639779":["hashtag1","hashtag2"]},{"1391639764":["hashtag1","hashtag2"]},{"1391639653":["hashtag1","hashtag2"]},{"1391639722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391639786, 1391639782, 1391639779, 1391639764, 1391639653, 1391639722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.42591428756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:52:47.890886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_24_2822.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_30_3717.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_33_2706.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_36_2747.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_39_3639.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_45_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_24_2822.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_30_3717.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_33_2706.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_36_2747.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_39_3639.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_45_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640000","1391639921","1391639881","1391639962","1391640019","1391640016"],"photo_ids_order":["1391639881","1391639921","1391639962","1391640000","1391640016","1391640019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12bb6cf2b3d8429b5feb91e15d576d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3818821453666310940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_36_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85b71e67d146a113d529aac324995a06.jpg","text":"TemporaryFile(/tmp/multipartBody7508416338339467429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_30_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91c9f279b47ec4347080a910c5bec28f.jpg","text":"TemporaryFile(/tmp/multipartBody2349296331610123462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_24_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8556ad54d3a0e0f6a27945d5e1a05b7.jpg","text":"TemporaryFile(/tmp/multipartBody6246583263856292988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_33_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ee43aca81b455ed3820f212281bb48d.jpg","text":"TemporaryFile(/tmp/multipartBody8171063503974953098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_45_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd07c937b0a67f22ac0861a539ab8f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3911378727569515279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001629224,"filename":"image_30102025_03_44_39_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391639962","file1":"1391639921","file0":"1391639881","file4":"1391640016","file5":"1391640019","file3":"1391640000"},"map_files_photo_id_array":[{"photo_id":"1391640019","filename":"file5"},{"photo_id":"1391639962","filename":"file2"},{"photo_id":"1391640016","filename":"file4"},{"photo_id":"1391639921","filename":"file1"},{"photo_id":"1391639881","filename":"file0"},{"photo_id":"1391640000","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640000":["hashtag1","hashtag2"]},{"1391639921":["hashtag1","hashtag2"]},{"1391639881":["hashtag1","hashtag2"]},{"1391639962":["hashtag1","hashtag2"]},{"1391640019":["hashtag1","hashtag2"]},{"1391640016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640000, 1391639921, 1391639881, 1391639962, 1391640019, 1391640016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96902370452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:53:43.092811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_48_2578.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_51_3778.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_54_2752.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_57_2788.jpg', '/home/pi/Desktop/images/30102025/03/44/image_30102025_03_45_00_3601.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_03_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_48_2578.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_51_3778.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_54_2752.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_44_57_2788.jpg
/home/pi/Desktop/images/30102025/03/44/image_30102025_03_45_00_3601.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_03_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640091","1391640094","1391640073","1391640082","1391640078","1391640087"],"photo_ids_order":["1391640073","1391640078","1391640082","1391640087","1391640091","1391640094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e4b3bb7a0d627439a266a5177c43ea1.jpg","text":"TemporaryFile(/tmp/multipartBody719630361292552162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_45_00_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7588259bf0e95797e49d1920b42de48e.jpg","text":"TemporaryFile(/tmp/multipartBody9011105735009352572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_45_03_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71a393101cb42145201412feb25b7516.jpg","text":"TemporaryFile(/tmp/multipartBody2183295114474540770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_44_48_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd0c2bb5f8e19db4f713fb20896368f1.jpg","text":"TemporaryFile(/tmp/multipartBody7061280803557587630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_44_54_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf8ff03ed303993093cabac70e26d47a.jpg","text":"TemporaryFile(/tmp/multipartBody2563877214570075980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_44_51_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1a609dcbf52906c8832c69e65016215.jpg","text":"TemporaryFile(/tmp/multipartBody3737336164753347296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001684466,"filename":"image_30102025_03_44_57_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640082","file1":"1391640078","file0":"1391640073","file4":"1391640091","file5":"1391640094","file3":"1391640087"},"map_files_photo_id_array":[{"photo_id":"1391640094","filename":"file5"},{"photo_id":"1391640082","filename":"file2"},{"photo_id":"1391640091","filename":"file4"},{"photo_id":"1391640078","filename":"file1"},{"photo_id":"1391640073","filename":"file0"},{"photo_id":"1391640087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640091":["hashtag1","hashtag2"]},{"1391640094":["hashtag1","hashtag2"]},{"1391640073":["hashtag1","hashtag2"]},{"1391640082":["hashtag1","hashtag2"]},{"1391640078":["hashtag1","hashtag2"]},{"1391640087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640091, 1391640094, 1391640073, 1391640082, 1391640078, 1391640087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.028632164001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:54:22.231559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_06_2752.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_09_2655.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_12_3600.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_15_2817.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_18_2746.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_21_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_06_2752.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_09_2655.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_12_3600.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_15_2817.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_18_2746.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_21_3676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.836216688156128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 13:54:42.262212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_06_2752.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_09_2655.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_12_3600.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_15_2817.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_18_2746.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_21_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_06_2752.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_09_2655.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_12_3600.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_15_2817.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_18_2746.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_21_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640273","1391640327","1391640315","1391640292","1391640289","1391640325"],"photo_ids_order":["1391640273","1391640289","1391640292","1391640315","1391640325","1391640327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df17775ca2f2decba447d5a08d423320.jpg","text":"TemporaryFile(/tmp/multipartBody3438660863563662330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_06_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0c92ec836eff687acdf41f1e9fb1258.jpg","text":"TemporaryFile(/tmp/multipartBody6349332396971695547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_21_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15c4addd837fc49373ca82119a19f66b.jpg","text":"TemporaryFile(/tmp/multipartBody7155603515489891202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_15_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a45b8ffcaf6ced408440e0052b11cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6247846299610774631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_12_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ba0535c4b2f18d76a642ba9b6e642b1.jpg","text":"TemporaryFile(/tmp/multipartBody4215546537686968844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_09_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2f89baed4404e9607493fcef40b2973.jpg","text":"TemporaryFile(/tmp/multipartBody3790905289521992078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001743491,"filename":"image_30102025_03_45_18_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640292","file1":"1391640289","file0":"1391640273","file4":"1391640325","file5":"1391640327","file3":"1391640315"},"map_files_photo_id_array":[{"photo_id":"1391640327","filename":"file5"},{"photo_id":"1391640292","filename":"file2"},{"photo_id":"1391640325","filename":"file4"},{"photo_id":"1391640289","filename":"file1"},{"photo_id":"1391640273","filename":"file0"},{"photo_id":"1391640315","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640273":["hashtag1","hashtag2"]},{"1391640327":["hashtag1","hashtag2"]},{"1391640315":["hashtag1","hashtag2"]},{"1391640292":["hashtag1","hashtag2"]},{"1391640289":["hashtag1","hashtag2"]},{"1391640325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640273, 1391640327, 1391640315, 1391640292, 1391640289, 1391640325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18080759048462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:55:22.428361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_27_2824.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_30_2733.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_33_3707.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_36_2640.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_38_2531.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_42_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_27_2824.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_30_2733.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_33_3707.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_36_2640.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_38_2531.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_42_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640426","1391640392","1391640395","1391640404","1391640397","1391640399"],"photo_ids_order":["1391640392","1391640395","1391640397","1391640399","1391640404","1391640426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea47b969a2afad89106003b8bd05f2e1.jpg","text":"TemporaryFile(/tmp/multipartBody5169980967365956877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_42_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/083019379e87c1ffa0ae26374398bd60.jpg","text":"TemporaryFile(/tmp/multipartBody8681635552364508621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_27_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cabc49b4280fe65c5e5823ca6e0020d.jpg","text":"TemporaryFile(/tmp/multipartBody3029508644064146408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_30_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad090edb11b2082780d5cd7f30d6ffff.jpg","text":"TemporaryFile(/tmp/multipartBody5841663702791818468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_38_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f9d42a63024623c2bb170d139468e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6101378639003149265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_33_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/defd024fb7144fa43144ba424c8b7f03.jpg","text":"TemporaryFile(/tmp/multipartBody2766059456351313998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001785435,"filename":"image_30102025_03_45_36_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640397","file1":"1391640395","file0":"1391640392","file4":"1391640404","file5":"1391640426","file3":"1391640399"},"map_files_photo_id_array":[{"photo_id":"1391640426","filename":"file5"},{"photo_id":"1391640397","filename":"file2"},{"photo_id":"1391640404","filename":"file4"},{"photo_id":"1391640395","filename":"file1"},{"photo_id":"1391640392","filename":"file0"},{"photo_id":"1391640399","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640426":["hashtag1","hashtag2"]},{"1391640392":["hashtag1","hashtag2"]},{"1391640395":["hashtag1","hashtag2"]},{"1391640404":["hashtag1","hashtag2"]},{"1391640397":["hashtag1","hashtag2"]},{"1391640399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640426, 1391640392, 1391640395, 1391640404, 1391640397, 1391640399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.755526065826416 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:56:22.752629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_45_2620.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_48_3604.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_51_2610.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_57_3593.jpg', '/home/pi/Desktop/images/30102025/03/45/image_30102025_03_46_00_2608.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_03_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_45_2620.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_48_3604.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_51_2610.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_45_57_3593.jpg
/home/pi/Desktop/images/30102025/03/45/image_30102025_03_46_00_2608.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_03_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640525","1391640507","1391640511","1391640520","1391640508","1391640517"],"photo_ids_order":["1391640507","1391640508","1391640511","1391640517","1391640520","1391640525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4c932d2c81ea6740beebb652bfd78d2.jpg","text":"TemporaryFile(/tmp/multipartBody931727946944328370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_46_03_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d318daa8c94b3433e90e0e1158458920.jpg","text":"TemporaryFile(/tmp/multipartBody8147197913657548909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_45_45_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cdda7703de32a16cbc4b6aa2d042d59.jpg","text":"TemporaryFile(/tmp/multipartBody5304033526984383407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_45_51_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87dbf9857d60fb2fd26e6dff2acbd440.jpg","text":"TemporaryFile(/tmp/multipartBody8417314775841077376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_46_00_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29683e0c6e4a364e9a9f45142b7a70b0.jpg","text":"TemporaryFile(/tmp/multipartBody707173337326697529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_45_48_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/508bc9a1a3870e420b504b6be12fc2bb.jpg","text":"TemporaryFile(/tmp/multipartBody3676343985177622838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001849933,"filename":"image_30102025_03_45_57_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640511","file1":"1391640508","file0":"1391640507","file4":"1391640520","file5":"1391640525","file3":"1391640517"},"map_files_photo_id_array":[{"photo_id":"1391640525","filename":"file5"},{"photo_id":"1391640511","filename":"file2"},{"photo_id":"1391640520","filename":"file4"},{"photo_id":"1391640508","filename":"file1"},{"photo_id":"1391640507","filename":"file0"},{"photo_id":"1391640517","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640525":["hashtag1","hashtag2"]},{"1391640507":["hashtag1","hashtag2"]},{"1391640511":["hashtag1","hashtag2"]},{"1391640520":["hashtag1","hashtag2"]},{"1391640508":["hashtag1","hashtag2"]},{"1391640517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640525, 1391640507, 1391640511, 1391640520, 1391640508, 1391640517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86317706108093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 13:57:21.855205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_06_3588.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_09_2573.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_11_2693.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_15_3551.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_21_3670.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_24_2911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_06_3588.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_09_2573.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_11_2693.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_15_3551.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_21_3670.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_24_2911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640543","1391640536","1391640550","1391640538","1391640547","1391640540"],"photo_ids_order":["1391640536","1391640538","1391640540","1391640543","1391640547","1391640550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faa3ebf98e9f8116b982a5eea2f8e7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8614534316472276767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_15_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8f3bc13a1511fe97a41f0182c5111dc.jpg","text":"TemporaryFile(/tmp/multipartBody6774721227596834361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_06_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c3e8175e13927dcc0282612c5933814.jpg","text":"TemporaryFile(/tmp/multipartBody1752183073994534404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_24_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6df43703b2ba738ee13e4f6287a6f4e7.jpg","text":"TemporaryFile(/tmp/multipartBody4335581195821698537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_09_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f41476aa643047e749704c40a1891be0.jpg","text":"TemporaryFile(/tmp/multipartBody1569840447949911210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_21_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f2c245a25b5d81c9d220a05e9c11836.jpg","text":"TemporaryFile(/tmp/multipartBody719858195408562337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762001904826,"filename":"image_30102025_03_46_11_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640540","file1":"1391640538","file0":"1391640536","file4":"1391640547","file5":"1391640550","file3":"1391640543"},"map_files_photo_id_array":[{"photo_id":"1391640550","filename":"file5"},{"photo_id":"1391640540","filename":"file2"},{"photo_id":"1391640547","filename":"file4"},{"photo_id":"1391640538","filename":"file1"},{"photo_id":"1391640536","filename":"file0"},{"photo_id":"1391640543","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640543":["hashtag1","hashtag2"]},{"1391640536":["hashtag1","hashtag2"]},{"1391640550":["hashtag1","hashtag2"]},{"1391640538":["hashtag1","hashtag2"]},{"1391640547":["hashtag1","hashtag2"]},{"1391640540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640543, 1391640536, 1391640550, 1391640538, 1391640547, 1391640540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.67694354057312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 13:59:03.179670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_30_2773.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_33_3769.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_36_2749.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_39_2690.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_41_2642.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_45_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_30_2773.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_33_3769.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_36_2749.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_39_2690.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_41_2642.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_45_3795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640581","1391640578","1391640574","1391640568","1391640571","1391640576"],"photo_ids_order":["1391640568","1391640571","1391640574","1391640576","1391640578","1391640581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c99ecd2643e916bf1f458e063128bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody4403494495000036382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_45_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31fbe29d4ada45442a724583567e820d.jpg","text":"TemporaryFile(/tmp/multipartBody4947471296861040533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_41_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddfba0bf32f5f84f51a5afb7f03ca510.jpg","text":"TemporaryFile(/tmp/multipartBody5297899985765135613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_36_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f97a811bab7d9a167a18421ddec6845.jpg","text":"TemporaryFile(/tmp/multipartBody4932646378301390040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_30_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45e4fc1a89cc8619f634294d05745989.jpg","text":"TemporaryFile(/tmp/multipartBody9143030268696251434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_33_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/653bac5f9e00d58ac08c4ef3e70639a9.jpg","text":"TemporaryFile(/tmp/multipartBody7275750088675978465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002005728,"filename":"image_30102025_03_46_39_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640574","file1":"1391640571","file0":"1391640568","file4":"1391640578","file5":"1391640581","file3":"1391640576"},"map_files_photo_id_array":[{"photo_id":"1391640581","filename":"file5"},{"photo_id":"1391640574","filename":"file2"},{"photo_id":"1391640578","filename":"file4"},{"photo_id":"1391640571","filename":"file1"},{"photo_id":"1391640568","filename":"file0"},{"photo_id":"1391640576","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640581":["hashtag1","hashtag2"]},{"1391640578":["hashtag1","hashtag2"]},{"1391640574":["hashtag1","hashtag2"]},{"1391640568":["hashtag1","hashtag2"]},{"1391640571":["hashtag1","hashtag2"]},{"1391640576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640581, 1391640578, 1391640574, 1391640568, 1391640571, 1391640576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00897741317749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:00:02.739616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_48_2710.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_50_2496.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_54_3695.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_57_2746.jpg', '/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_59_2610.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_06_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_48_2710.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_50_2496.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_54_3695.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_57_2746.jpg
/home/pi/Desktop/images/30102025/03/46/image_30102025_03_46_59_2610.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_06_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640606","1391640609","1391640608","1391640617","1391640610","1391640613"],"photo_ids_order":["1391640606","1391640608","1391640609","1391640610","1391640613","1391640617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38372a9bb81de47bf565aacda9a15a22.jpg","text":"TemporaryFile(/tmp/multipartBody3060760170709325360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_46_48_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3deb485ea96c47dde944112575ede2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4028355991019632758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_46_54_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39277aec270415b8adc311232a9a72a2.jpg","text":"TemporaryFile(/tmp/multipartBody5677366829716839866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_46_50_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c49bfb4a473b8d9165263f10f1ccb438.jpg","text":"TemporaryFile(/tmp/multipartBody4467758076026380822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_47_06_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b84937d0fee0ffde1695dcd86c7119bc.jpg","text":"TemporaryFile(/tmp/multipartBody6959810072821814412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_46_57_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ebe17ad02e64e485b2992a563ec05d2.jpg","text":"TemporaryFile(/tmp/multipartBody8137361957907619452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002065294,"filename":"image_30102025_03_46_59_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640609","file1":"1391640608","file0":"1391640606","file4":"1391640613","file5":"1391640617","file3":"1391640610"},"map_files_photo_id_array":[{"photo_id":"1391640617","filename":"file5"},{"photo_id":"1391640609","filename":"file2"},{"photo_id":"1391640613","filename":"file4"},{"photo_id":"1391640608","filename":"file1"},{"photo_id":"1391640606","filename":"file0"},{"photo_id":"1391640610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640606":["hashtag1","hashtag2"]},{"1391640609":["hashtag1","hashtag2"]},{"1391640608":["hashtag1","hashtag2"]},{"1391640617":["hashtag1","hashtag2"]},{"1391640610":["hashtag1","hashtag2"]},{"1391640613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640606, 1391640609, 1391640608, 1391640617, 1391640610, 1391640613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.11340308189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:01:02.425580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_09_2708.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_15_2641.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_21_2844.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_24_2544.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_26_2684.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_30_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_09_2708.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_15_2641.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_21_2844.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_24_2544.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_26_2684.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_30_3799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391640861","1391640942","1391641019","1391640758","1391640665","1391640815"],"photo_ids_order":["1391640665","1391640758","1391640815","1391640861","1391640942","1391641019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57f03acd1c0283943c39bddfd420fece.jpg","text":"TemporaryFile(/tmp/multipartBody9009599268797382086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_24_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af3e4ee097e49d4e7e8819767adc0369.jpg","text":"TemporaryFile(/tmp/multipartBody5040120990763157979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_26_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f0755ad2c40ed5c31200bd3419a8456.jpg","text":"TemporaryFile(/tmp/multipartBody4666346874076356295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_30_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f6e990cbaca3cd782024bc6fc8f6c48.jpg","text":"TemporaryFile(/tmp/multipartBody62106472805139132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_15_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18fe7248107657e465918aaf6966d59d.jpg","text":"TemporaryFile(/tmp/multipartBody9198421955131999986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_09_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64c08e9793399e909f3e2cc268ba1d86.jpg","text":"TemporaryFile(/tmp/multipartBody4120210200915741654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002127261,"filename":"image_30102025_03_47_21_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391640815","file1":"1391640758","file0":"1391640665","file4":"1391640942","file5":"1391641019","file3":"1391640861"},"map_files_photo_id_array":[{"photo_id":"1391641019","filename":"file5"},{"photo_id":"1391640815","filename":"file2"},{"photo_id":"1391640942","filename":"file4"},{"photo_id":"1391640758","filename":"file1"},{"photo_id":"1391640665","filename":"file0"},{"photo_id":"1391640861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391640861":["hashtag1","hashtag2"]},{"1391640942":["hashtag1","hashtag2"]},{"1391641019":["hashtag1","hashtag2"]},{"1391640758":["hashtag1","hashtag2"]},{"1391640665":["hashtag1","hashtag2"]},{"1391640815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391640861, 1391640942, 1391641019, 1391640758, 1391640665, 1391640815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.58511471748352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:02:03.196962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_33_2675.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_35_2635.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_39_3615.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_42_2625.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_44_2659.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_48_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_33_2675.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_35_2635.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_39_3615.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_42_2625.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_44_2659.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_48_3722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391641407","1391641669","1391641363","1391641546","1391641447","1391641602"],"photo_ids_order":["1391641363","1391641407","1391641447","1391641546","1391641602","1391641669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8267c90356f4367cad2e3741eeb7df8.jpg","text":"TemporaryFile(/tmp/multipartBody1356538111904163856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_35_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d1dafa23086d30639ceafeb5579e25e.jpg","text":"TemporaryFile(/tmp/multipartBody1366915585710507978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_48_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4e2e1dde6cbc70adbb1769cd9590603.jpg","text":"TemporaryFile(/tmp/multipartBody5846459464693267648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_33_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d0d0248ff40490f9af4f94669ad08ad.jpg","text":"TemporaryFile(/tmp/multipartBody8282651876294920830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_42_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7b13c1edea07c1b79a492b07a8dba2c.jpg","text":"TemporaryFile(/tmp/multipartBody6389314163078979493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_39_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f40531b2e786e0fe19e4cda061b3a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6066947399967268603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002185558,"filename":"image_30102025_03_47_44_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391641447","file1":"1391641407","file0":"1391641363","file4":"1391641602","file5":"1391641669","file3":"1391641546"},"map_files_photo_id_array":[{"photo_id":"1391641669","filename":"file5"},{"photo_id":"1391641447","filename":"file2"},{"photo_id":"1391641602","filename":"file4"},{"photo_id":"1391641407","filename":"file1"},{"photo_id":"1391641363","filename":"file0"},{"photo_id":"1391641546","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391641407":["hashtag1","hashtag2"]},{"1391641669":["hashtag1","hashtag2"]},{"1391641363":["hashtag1","hashtag2"]},{"1391641546":["hashtag1","hashtag2"]},{"1391641447":["hashtag1","hashtag2"]},{"1391641602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391641407, 1391641669, 1391641363, 1391641546, 1391641447, 1391641602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44815111160278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:03:03.847910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_51_2948.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_54_2703.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_56_2643.jpg', '/home/pi/Desktop/images/30102025/03/47/image_30102025_03_48_00_3699.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_09_3578.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_12_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_51_2948.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_54_2703.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_47_56_2643.jpg
/home/pi/Desktop/images/30102025/03/47/image_30102025_03_48_00_3699.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_09_3578.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_12_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391642543","1391642465","1391642689","1391642308","1391642619","1391642381"],"photo_ids_order":["1391642308","1391642381","1391642465","1391642543","1391642619","1391642689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d00a973e6477270784a802c8cea26a8.jpg","text":"TemporaryFile(/tmp/multipartBody1914172871194972177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_48_00_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ae530886539a0e0ad2d0634a1df1b26.jpg","text":"TemporaryFile(/tmp/multipartBody1001927165696434220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_47_56_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f73a7de756c8891a7e2e1447ac7f079.jpg","text":"TemporaryFile(/tmp/multipartBody9152577473405644437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_48_12_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66b5c3141b0fc2c9055925751cfbdc05.jpg","text":"TemporaryFile(/tmp/multipartBody5161597009153957303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_47_51_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02b57e9f0829018e89ac32e355226061.jpg","text":"TemporaryFile(/tmp/multipartBody5310001401030373009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_48_09_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ab229d46e9d00d0ec8ffed4d920c763.jpg","text":"TemporaryFile(/tmp/multipartBody7349062030761756705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002248337,"filename":"image_30102025_03_47_54_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391642465","file1":"1391642381","file0":"1391642308","file4":"1391642619","file5":"1391642689","file3":"1391642543"},"map_files_photo_id_array":[{"photo_id":"1391642689","filename":"file5"},{"photo_id":"1391642465","filename":"file2"},{"photo_id":"1391642619","filename":"file4"},{"photo_id":"1391642381","filename":"file1"},{"photo_id":"1391642308","filename":"file0"},{"photo_id":"1391642543","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391642543":["hashtag1","hashtag2"]},{"1391642465":["hashtag1","hashtag2"]},{"1391642689":["hashtag1","hashtag2"]},{"1391642308":["hashtag1","hashtag2"]},{"1391642619":["hashtag1","hashtag2"]},{"1391642381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391642543, 1391642465, 1391642689, 1391642308, 1391642619, 1391642381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0797758102417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:04:03.071291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_14_2535.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_18_3738.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_21_2726.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_23_2532.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_27_3619.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_39_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_14_2535.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_18_3738.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_21_2726.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_23_2532.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_27_3619.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_39_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391643004","1391643078","1391643153","1391643114","1391643041","1391643196"],"photo_ids_order":["1391643004","1391643041","1391643078","1391643114","1391643153","1391643196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97710aac65bacf5bce84229bafc2d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody1876293478723343991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_14_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/262e893db9206ea1143092607e5ca35d.jpg","text":"TemporaryFile(/tmp/multipartBody6040791964331746134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2924c9230deef37ed3baef3fd0658a5d.jpg","text":"TemporaryFile(/tmp/multipartBody200852464532678677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_27_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/083a3edc8cc2c150b6cf31fdacee8f94.jpg","text":"TemporaryFile(/tmp/multipartBody6573806373838660197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_23_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbfdbc003de09ec584db382f4780fdc0.jpg","text":"TemporaryFile(/tmp/multipartBody6218194581811183509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_18_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ac602eb7c113f7042bffa794ee873f2.jpg","text":"TemporaryFile(/tmp/multipartBody2344068356642250015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002305486,"filename":"image_30102025_03_48_39_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391643078","file1":"1391643041","file0":"1391643004","file4":"1391643153","file5":"1391643196","file3":"1391643114"},"map_files_photo_id_array":[{"photo_id":"1391643196","filename":"file5"},{"photo_id":"1391643078","filename":"file2"},{"photo_id":"1391643153","filename":"file4"},{"photo_id":"1391643041","filename":"file1"},{"photo_id":"1391643004","filename":"file0"},{"photo_id":"1391643114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391643004":["hashtag1","hashtag2"]},{"1391643078":["hashtag1","hashtag2"]},{"1391643153":["hashtag1","hashtag2"]},{"1391643114":["hashtag1","hashtag2"]},{"1391643041":["hashtag1","hashtag2"]},{"1391643196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391643004, 1391643078, 1391643153, 1391643114, 1391643041, 1391643196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11049437522888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:04:42.416272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_42_3626.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_45_2751.jpg', '/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_48_2646.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_01_13276.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_03_1683.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_04_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_42_3626.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_45_2751.jpg
/home/pi/Desktop/images/30102025/03/48/image_30102025_03_48_48_2646.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_01_13276.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_03_1683.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_04_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391643499","1391643393","1391643444","1391643587","1391643347","1391643542"],"photo_ids_order":["1391643347","1391643393","1391643444","1391643499","1391643542","1391643587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26e310c9c00b5a9441357efadd2315bb.jpg","text":"TemporaryFile(/tmp/multipartBody2495246874482354346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_49_01_13276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85d6d266de04bcea50feaf2de6796a30.jpg","text":"TemporaryFile(/tmp/multipartBody6181516128724551223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_48_45_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5fa548b9de86ff5dc5568c11b290149.jpg","text":"TemporaryFile(/tmp/multipartBody7589470857277022314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_48_48_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25cbba986cb49c557aecaccbb167a241.jpg","text":"TemporaryFile(/tmp/multipartBody345150121736567792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_49_04_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29df4b8bf3e03b9204ee41dcb366d3ad.jpg","text":"TemporaryFile(/tmp/multipartBody3975366956060434017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_48_42_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c8154c79b4971dcf1b26c1cb851959d.jpg","text":"TemporaryFile(/tmp/multipartBody7270739513509568685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002343769,"filename":"image_30102025_03_49_03_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391643444","file1":"1391643393","file0":"1391643347","file4":"1391643542","file5":"1391643587","file3":"1391643499"},"map_files_photo_id_array":[{"photo_id":"1391643587","filename":"file5"},{"photo_id":"1391643444","filename":"file2"},{"photo_id":"1391643542","filename":"file4"},{"photo_id":"1391643393","filename":"file1"},{"photo_id":"1391643347","filename":"file0"},{"photo_id":"1391643499","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391643499":["hashtag1","hashtag2"]},{"1391643393":["hashtag1","hashtag2"]},{"1391643444":["hashtag1","hashtag2"]},{"1391643587":["hashtag1","hashtag2"]},{"1391643347":["hashtag1","hashtag2"]},{"1391643542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391643499, 1391643393, 1391643444, 1391643587, 1391643347, 1391643542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.290613651275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:05:42.569758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_06_1616.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_07_1620.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_09_1820.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_11_1856.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_13_1617.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_14_1512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_06_1616.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_07_1620.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_09_1820.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_11_1856.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_13_1617.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_14_1512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391643985","1391643816","1391643903","1391644022","1391643947","1391643860"],"photo_ids_order":["1391643816","1391643860","1391643903","1391643947","1391643985","1391644022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e45ce7e9a41e4ae5d8352c55b45319ec.jpg","text":"TemporaryFile(/tmp/multipartBody8660195725154157207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_13_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9277f618aef3e57eab4b4735fedf01.jpg","text":"TemporaryFile(/tmp/multipartBody1566922882237584863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_06_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91482d1c3b56e93d77cfc18c616ae85a.jpg","text":"TemporaryFile(/tmp/multipartBody1888063537627493538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_09_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc16a56f485282b8a50f1ca358d870ce.jpg","text":"TemporaryFile(/tmp/multipartBody1835778580752756279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_14_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d666d90c2835c02f5df5b8d28a4be23.jpg","text":"TemporaryFile(/tmp/multipartBody6429393815678250400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_11_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8563f0f28dcbcac970f0ccbe214ee7d.jpg","text":"TemporaryFile(/tmp/multipartBody3272969812395755805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002403965,"filename":"image_30102025_03_49_07_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391643903","file1":"1391643860","file0":"1391643816","file4":"1391643985","file5":"1391644022","file3":"1391643947"},"map_files_photo_id_array":[{"photo_id":"1391644022","filename":"file5"},{"photo_id":"1391643903","filename":"file2"},{"photo_id":"1391643985","filename":"file4"},{"photo_id":"1391643860","filename":"file1"},{"photo_id":"1391643816","filename":"file0"},{"photo_id":"1391643947","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391643985":["hashtag1","hashtag2"]},{"1391643816":["hashtag1","hashtag2"]},{"1391643903":["hashtag1","hashtag2"]},{"1391644022":["hashtag1","hashtag2"]},{"1391643947":["hashtag1","hashtag2"]},{"1391643860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391643985, 1391643816, 1391643903, 1391644022, 1391643947, 1391643860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7644567489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:06:22.693938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_18_3659.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_20_2639.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_27_2666.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_29_2655.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_33_3638.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_39_6049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_18_3659.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_20_2639.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_27_2666.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_29_2655.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_33_3638.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_39_6049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391644351","1391644257","1391644437","1391644302","1391644218","1391644396"],"photo_ids_order":["1391644218","1391644257","1391644302","1391644351","1391644396","1391644437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f70639103830b25a34af29465349d32.jpg","text":"TemporaryFile(/tmp/multipartBody5628410783194746225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_29_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2f9ac9ad6f26ccd6940511c0bbad7ca.jpg","text":"TemporaryFile(/tmp/multipartBody6051240818269140822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_20_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0010ccf3c0d780f2abb9c208c092878f.jpg","text":"TemporaryFile(/tmp/multipartBody8739256772189059640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_39_6049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2c3a6545bef51ac69a9973f5bb97e79.jpg","text":"TemporaryFile(/tmp/multipartBody8328945020320515932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf4b03c0118c9b9870298294e41a495f.jpg","text":"TemporaryFile(/tmp/multipartBody7649755046443349269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_18_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01bf20ab378b71fef28cf1485c5f1759.jpg","text":"TemporaryFile(/tmp/multipartBody530863046960830053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002449364,"filename":"image_30102025_03_49_33_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391644302","file1":"1391644257","file0":"1391644218","file4":"1391644396","file5":"1391644437","file3":"1391644351"},"map_files_photo_id_array":[{"photo_id":"1391644437","filename":"file5"},{"photo_id":"1391644302","filename":"file2"},{"photo_id":"1391644396","filename":"file4"},{"photo_id":"1391644257","filename":"file1"},{"photo_id":"1391644218","filename":"file0"},{"photo_id":"1391644351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391644351":["hashtag1","hashtag2"]},{"1391644257":["hashtag1","hashtag2"]},{"1391644437":["hashtag1","hashtag2"]},{"1391644302":["hashtag1","hashtag2"]},{"1391644218":["hashtag1","hashtag2"]},{"1391644396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391644351, 1391644257, 1391644437, 1391644302, 1391644218, 1391644396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.83907914161682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:07:21.961746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_42_1819.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_44_1729.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_51_2715.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_53_2791.jpg', '/home/pi/Desktop/images/30102025/03/49/image_30102025_03_50_00_2604.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_02_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_42_1819.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_44_1729.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_51_2715.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_49_53_2791.jpg
/home/pi/Desktop/images/30102025/03/49/image_30102025_03_50_00_2604.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_02_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645010","1391645081","1391644931","1391644733","1391644777","1391644852"],"photo_ids_order":["1391644733","1391644777","1391644852","1391644931","1391645010","1391645081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c2abecf27b574095d74090fc9bd2e6a.jpg","text":"TemporaryFile(/tmp/multipartBody546854183105900013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_50_00_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/810e78791e9afb7ccae0879916689bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1290822087620762690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_50_02_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e59494a3afe7f4785cfbd8aba59f71a.jpg","text":"TemporaryFile(/tmp/multipartBody3444385986503336687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_49_53_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bca67dfbd1bcbf012ae972af26e88196.jpg","text":"TemporaryFile(/tmp/multipartBody6066461278794063561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_49_42_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ffecd07da308938e174a3d538abd635.jpg","text":"TemporaryFile(/tmp/multipartBody2430278204684068355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_49_44_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37d335da9f5c59713f1a77bdd9844ede.jpg","text":"TemporaryFile(/tmp/multipartBody8730739353063431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002505005,"filename":"image_30102025_03_49_51_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391644852","file1":"1391644777","file0":"1391644733","file4":"1391645010","file5":"1391645081","file3":"1391644931"},"map_files_photo_id_array":[{"photo_id":"1391645081","filename":"file5"},{"photo_id":"1391644852","filename":"file2"},{"photo_id":"1391645010","filename":"file4"},{"photo_id":"1391644777","filename":"file1"},{"photo_id":"1391644733","filename":"file0"},{"photo_id":"1391644931","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645010":["hashtag1","hashtag2"]},{"1391645081":["hashtag1","hashtag2"]},{"1391644931":["hashtag1","hashtag2"]},{"1391644733":["hashtag1","hashtag2"]},{"1391644777":["hashtag1","hashtag2"]},{"1391644852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645010, 1391645081, 1391644931, 1391644733, 1391644777, 1391644852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23758602142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:08:02.489116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_06_3702.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_09_2667.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_11_2758.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_18_6651.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_20_1641.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_22_1828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_06_3702.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_09_2667.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_11_2758.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_18_6651.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_20_1641.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_22_1828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645166","1391645229","1391645204","1391645161","1391645230","1391645227"],"photo_ids_order":["1391645161","1391645166","1391645204","1391645227","1391645229","1391645230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a464376f2e3c05cfb30c288d91338b64.jpg","text":"TemporaryFile(/tmp/multipartBody7633297892840737544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_09_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3795023994a797bf47e01ef4abe79a46.jpg","text":"TemporaryFile(/tmp/multipartBody3449926758182241523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_20_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a21e67639a73fc9f7cac4cee1dad7b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3755815446470846841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_11_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/574d338806cf61de5b1705c62b074074.jpg","text":"TemporaryFile(/tmp/multipartBody329810016270922388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_06_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9ee797f5d3d30d47cc7207e1961e649.jpg","text":"TemporaryFile(/tmp/multipartBody6571534675674344316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_22_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19d0a73033e304b2a05dbbd7f4062aea.jpg","text":"TemporaryFile(/tmp/multipartBody7378539730594164432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002544884,"filename":"image_30102025_03_50_18_6651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645204","file1":"1391645166","file0":"1391645161","file4":"1391645229","file5":"1391645230","file3":"1391645227"},"map_files_photo_id_array":[{"photo_id":"1391645230","filename":"file5"},{"photo_id":"1391645204","filename":"file2"},{"photo_id":"1391645229","filename":"file4"},{"photo_id":"1391645166","filename":"file1"},{"photo_id":"1391645161","filename":"file0"},{"photo_id":"1391645227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645166":["hashtag1","hashtag2"]},{"1391645229":["hashtag1","hashtag2"]},{"1391645204":["hashtag1","hashtag2"]},{"1391645161":["hashtag1","hashtag2"]},{"1391645230":["hashtag1","hashtag2"]},{"1391645227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645166, 1391645229, 1391645204, 1391645161, 1391645230, 1391645227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30531597137451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:08:42.072665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_23_1679.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_30_2889.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_32_2706.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_35_2698.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_39_3674.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_42_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_23_1679.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_30_2889.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_32_2706.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_35_2698.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_39_3674.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_42_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645364","1391645367","1391645294","1391645363","1391645332","1391645344"],"photo_ids_order":["1391645294","1391645332","1391645344","1391645363","1391645364","1391645367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bfc7192132a201482314c13396d88e8.jpg","text":"TemporaryFile(/tmp/multipartBody1287717518803916091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_39_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3df79dc4ab7adcc998f4434a2a41a453.jpg","text":"TemporaryFile(/tmp/multipartBody3276893691529896591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_42_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5245a07476eba4dfb71c638568ac849.jpg","text":"TemporaryFile(/tmp/multipartBody7970532983491676123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_23_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb3a099faad6ad9428b3956b1b54b987.jpg","text":"TemporaryFile(/tmp/multipartBody1914313614380523603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_35_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bacbcbdd1188f555fca29a06f2212484.jpg","text":"TemporaryFile(/tmp/multipartBody2333290748522239479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_30_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d075a738efc86960536be8bc42ebccd.jpg","text":"TemporaryFile(/tmp/multipartBody655869667010708914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002583429,"filename":"image_30102025_03_50_32_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645344","file1":"1391645332","file0":"1391645294","file4":"1391645364","file5":"1391645367","file3":"1391645363"},"map_files_photo_id_array":[{"photo_id":"1391645367","filename":"file5"},{"photo_id":"1391645344","filename":"file2"},{"photo_id":"1391645364","filename":"file4"},{"photo_id":"1391645332","filename":"file1"},{"photo_id":"1391645294","filename":"file0"},{"photo_id":"1391645363","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645364":["hashtag1","hashtag2"]},{"1391645367":["hashtag1","hashtag2"]},{"1391645294":["hashtag1","hashtag2"]},{"1391645363":["hashtag1","hashtag2"]},{"1391645332":["hashtag1","hashtag2"]},{"1391645344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645364, 1391645367, 1391645294, 1391645363, 1391645332, 1391645344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39298725128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:09:22.179951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_44_2606.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_50_2520.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_57_3648.jpg', '/home/pi/Desktop/images/30102025/03/50/image_30102025_03_51_00_2690.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_02_2754.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_05_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_44_2606.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_50_2520.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_50_57_3648.jpg
/home/pi/Desktop/images/30102025/03/50/image_30102025_03_51_00_2690.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_02_2754.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_05_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645382","1391645391","1391645379","1391645387","1391645377","1391645374"],"photo_ids_order":["1391645374","1391645377","1391645379","1391645382","1391645387","1391645391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af938031782b116125ec0ce28f6c920c.jpg","text":"TemporaryFile(/tmp/multipartBody6073578723391479950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_51_00_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33f0a857af9da787547f1d6cbb1a86e0.jpg","text":"TemporaryFile(/tmp/multipartBody7555224615448075007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_51_05_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a72b3dc634b1bc8a6f4b6e22a7747bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4367665134793743216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_50_57_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80184710736d0b6f95ff4a91afbc0a90.jpg","text":"TemporaryFile(/tmp/multipartBody2822467804519301716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_51_02_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dccb5903cce457786b1512ea5bf0d98b.jpg","text":"TemporaryFile(/tmp/multipartBody7435529848939384849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_50_50_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05d9489874d9a28d16f2001d2d3ececa.jpg","text":"TemporaryFile(/tmp/multipartBody3002079547388142039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002625159,"filename":"image_30102025_03_50_44_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645379","file1":"1391645377","file0":"1391645374","file4":"1391645387","file5":"1391645391","file3":"1391645382"},"map_files_photo_id_array":[{"photo_id":"1391645391","filename":"file5"},{"photo_id":"1391645379","filename":"file2"},{"photo_id":"1391645387","filename":"file4"},{"photo_id":"1391645377","filename":"file1"},{"photo_id":"1391645374","filename":"file0"},{"photo_id":"1391645382","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645382":["hashtag1","hashtag2"]},{"1391645391":["hashtag1","hashtag2"]},{"1391645379":["hashtag1","hashtag2"]},{"1391645387":["hashtag1","hashtag2"]},{"1391645377":["hashtag1","hashtag2"]},{"1391645374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645382, 1391645391, 1391645379, 1391645387, 1391645377, 1391645374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67076897621155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:10:02.925918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_09_3797.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_12_2742.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_14_2575.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_18_3622.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_20_2585.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_24_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_09_3797.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_12_2742.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_14_2575.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_18_3622.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_20_2585.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_24_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645407","1391645457","1391645409","1391645400","1391645438","1391645446"],"photo_ids_order":["1391645400","1391645407","1391645409","1391645438","1391645446","1391645457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3aaefeaf06f8f210767bbeaf9b0be118.jpg","text":"TemporaryFile(/tmp/multipartBody9050863589600224646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_12_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34cb6c9d00eb7c6ede32d42ece5be5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1467537692386311876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_24_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03745926321dbd5b905da40292f0da8d.jpg","text":"TemporaryFile(/tmp/multipartBody6706239630601323317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_14_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9840a029426d3dc087deaf2c00ccc33a.jpg","text":"TemporaryFile(/tmp/multipartBody108734411252896586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_09_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/008b79389119ce6b4653fa6a9ba88f65.jpg","text":"TemporaryFile(/tmp/multipartBody93719740690996260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_18_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f5b3d88648c4db13767a19d7c29a63b.jpg","text":"TemporaryFile(/tmp/multipartBody7783212577414895397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002665330,"filename":"image_30102025_03_51_20_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645409","file1":"1391645407","file0":"1391645400","file4":"1391645446","file5":"1391645457","file3":"1391645438"},"map_files_photo_id_array":[{"photo_id":"1391645457","filename":"file5"},{"photo_id":"1391645409","filename":"file2"},{"photo_id":"1391645446","filename":"file4"},{"photo_id":"1391645407","filename":"file1"},{"photo_id":"1391645400","filename":"file0"},{"photo_id":"1391645438","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645407":["hashtag1","hashtag2"]},{"1391645457":["hashtag1","hashtag2"]},{"1391645409":["hashtag1","hashtag2"]},{"1391645400":["hashtag1","hashtag2"]},{"1391645438":["hashtag1","hashtag2"]},{"1391645446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645407, 1391645457, 1391645409, 1391645400, 1391645438, 1391645446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10952162742615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:10:42.477635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_26_2628.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_29_2610.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_32_2821.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_36_3606.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_41_2513.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_48_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_26_2628.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_29_2610.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_32_2821.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_36_3606.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_41_2513.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_48_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645490","1391645492","1391645495","1391645479","1391645493","1391645487"],"photo_ids_order":["1391645479","1391645487","1391645490","1391645492","1391645493","1391645495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/873b7f73c4951b9c7bc46adbd44908b6.jpg","text":"TemporaryFile(/tmp/multipartBody2940444651713030958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_32_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc311a1bd500b4ea6050bf711ae7b526.jpg","text":"TemporaryFile(/tmp/multipartBody8251813060498828911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_36_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79d4bb7960eb11f86b5b142ca346fab0.jpg","text":"TemporaryFile(/tmp/multipartBody1405503249846230104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_48_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac7057b0e73ce3c84c6c18782568692a.jpg","text":"TemporaryFile(/tmp/multipartBody8756410381853833991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_26_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ee3401d67d70775f7137342b89744a4.jpg","text":"TemporaryFile(/tmp/multipartBody6066050767371441617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_41_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/440c272d922ec696e15f30cefab4536b.jpg","text":"TemporaryFile(/tmp/multipartBody3606168368937028055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002703889,"filename":"image_30102025_03_51_29_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645490","file1":"1391645487","file0":"1391645479","file4":"1391645493","file5":"1391645495","file3":"1391645492"},"map_files_photo_id_array":[{"photo_id":"1391645495","filename":"file5"},{"photo_id":"1391645490","filename":"file2"},{"photo_id":"1391645493","filename":"file4"},{"photo_id":"1391645487","filename":"file1"},{"photo_id":"1391645479","filename":"file0"},{"photo_id":"1391645492","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645490":["hashtag1","hashtag2"]},{"1391645492":["hashtag1","hashtag2"]},{"1391645495":["hashtag1","hashtag2"]},{"1391645479":["hashtag1","hashtag2"]},{"1391645493":["hashtag1","hashtag2"]},{"1391645487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645490, 1391645492, 1391645495, 1391645479, 1391645493, 1391645487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483250856399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:11:22.575924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_50_2714.jpg', '/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_53_2740.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_02_2679.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_08_2535.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_11_2718.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_15_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_50_2714.jpg
/home/pi/Desktop/images/30102025/03/51/image_30102025_03_51_53_2740.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_02_2679.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_08_2535.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_11_2718.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_15_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645505","1391645508","1391645502","1391645516","1391645504","1391645512"],"photo_ids_order":["1391645502","1391645504","1391645505","1391645508","1391645512","1391645516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f030bc895123b2e5e091e6d03a95f5be.jpg","text":"TemporaryFile(/tmp/multipartBody7004798394673385372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_52_02_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eea443536f2cfacb400e41503f40d047.jpg","text":"TemporaryFile(/tmp/multipartBody9087110374490454452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_52_08_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5103a55743aff16e5855136477cd05f.jpg","text":"TemporaryFile(/tmp/multipartBody1962912658023724201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_51_50_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e001e4e60f594ba6da76f0d7a9ee0521.jpg","text":"TemporaryFile(/tmp/multipartBody5051233511849333125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_52_15_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe69e9a2d2e9ac58380075d30d158593.jpg","text":"TemporaryFile(/tmp/multipartBody5464252290179916805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_51_53_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f40c0a0409267841fd3d1a304bdc2825.jpg","text":"TemporaryFile(/tmp/multipartBody8394863107626142206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002745600,"filename":"image_30102025_03_52_11_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645505","file1":"1391645504","file0":"1391645502","file4":"1391645512","file5":"1391645516","file3":"1391645508"},"map_files_photo_id_array":[{"photo_id":"1391645516","filename":"file5"},{"photo_id":"1391645505","filename":"file2"},{"photo_id":"1391645512","filename":"file4"},{"photo_id":"1391645504","filename":"file1"},{"photo_id":"1391645502","filename":"file0"},{"photo_id":"1391645508","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645505":["hashtag1","hashtag2"]},{"1391645508":["hashtag1","hashtag2"]},{"1391645502":["hashtag1","hashtag2"]},{"1391645516":["hashtag1","hashtag2"]},{"1391645504":["hashtag1","hashtag2"]},{"1391645512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645505, 1391645508, 1391645502, 1391645516, 1391645504, 1391645512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17983937263489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:12:02.241807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_17_2746.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_20_2613.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_24_3557.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_26_2802.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_29_2631.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_33_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_17_2746.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_20_2613.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_24_3557.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_26_2802.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_29_2631.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_33_3730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645532","1391645529","1391645534","1391645531","1391645530","1391645527"],"photo_ids_order":["1391645527","1391645529","1391645530","1391645531","1391645532","1391645534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15ae320b1ecb2538b693da9316d20b4c.jpg","text":"TemporaryFile(/tmp/multipartBody948498072868049430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_29_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/769b4921dc8c4c40402f31ce07d5bdc0.jpg","text":"TemporaryFile(/tmp/multipartBody4642722862124577642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_20_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e837c77e51c78ae6e572a5a736b515.jpg","text":"TemporaryFile(/tmp/multipartBody6015949188285872610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_33_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd5e24efbbc0ca894735d8e978f65aac.jpg","text":"TemporaryFile(/tmp/multipartBody4439452505957224432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_26_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ceabb8c3fa808ed5d4bbec6255b3539.jpg","text":"TemporaryFile(/tmp/multipartBody4610307378016527049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_24_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c06c72e540118f6efd51fa0715aacab2.jpg","text":"TemporaryFile(/tmp/multipartBody3540390443539413188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002784633,"filename":"image_30102025_03_52_17_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645530","file1":"1391645529","file0":"1391645527","file4":"1391645532","file5":"1391645534","file3":"1391645531"},"map_files_photo_id_array":[{"photo_id":"1391645534","filename":"file5"},{"photo_id":"1391645530","filename":"file2"},{"photo_id":"1391645532","filename":"file4"},{"photo_id":"1391645529","filename":"file1"},{"photo_id":"1391645527","filename":"file0"},{"photo_id":"1391645531","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645532":["hashtag1","hashtag2"]},{"1391645529":["hashtag1","hashtag2"]},{"1391645534":["hashtag1","hashtag2"]},{"1391645531":["hashtag1","hashtag2"]},{"1391645530":["hashtag1","hashtag2"]},{"1391645527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645532, 1391645529, 1391645534, 1391645531, 1391645530, 1391645527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80526113510132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:12:41.801780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_35_2615.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_38_2637.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_42_3652.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_44_2681.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_47_2806.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_50_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_35_2615.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_38_2637.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_42_3652.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_44_2681.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_47_2806.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_50_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645553","1391645546","1391645555","1391645549","1391645557","1391645542"],"photo_ids_order":["1391645542","1391645546","1391645549","1391645553","1391645555","1391645557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2828588952b1039447a777697f99dc4a.jpg","text":"TemporaryFile(/tmp/multipartBody8713424010585447079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_44_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b561399d9a3d1b4934924615e94e13c7.jpg","text":"TemporaryFile(/tmp/multipartBody6214325946500910010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_38_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/942e6d8cdf364658ba36233cd8d6c0be.jpg","text":"TemporaryFile(/tmp/multipartBody8197893522829006442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_47_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fbeeb6103234b31b9b7f841d022cefb.jpg","text":"TemporaryFile(/tmp/multipartBody8641816655449859781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_42_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d3d7b7d961291d60f24a5f27eb9595d.jpg","text":"TemporaryFile(/tmp/multipartBody8635557122902912947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_50_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e6574e989eab3a90f6dd41953aaab1f.jpg","text":"TemporaryFile(/tmp/multipartBody2422992861442516802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002823154,"filename":"image_30102025_03_52_35_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645549","file1":"1391645546","file0":"1391645542","file4":"1391645555","file5":"1391645557","file3":"1391645553"},"map_files_photo_id_array":[{"photo_id":"1391645557","filename":"file5"},{"photo_id":"1391645549","filename":"file2"},{"photo_id":"1391645555","filename":"file4"},{"photo_id":"1391645546","filename":"file1"},{"photo_id":"1391645542","filename":"file0"},{"photo_id":"1391645553","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645553":["hashtag1","hashtag2"]},{"1391645546":["hashtag1","hashtag2"]},{"1391645555":["hashtag1","hashtag2"]},{"1391645549":["hashtag1","hashtag2"]},{"1391645557":["hashtag1","hashtag2"]},{"1391645542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645553, 1391645546, 1391645555, 1391645549, 1391645557, 1391645542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40051531791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:13:21.876339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_53_3650.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_56_2685.jpg', '/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_59_2709.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_02_3561.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_05_2693.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_08_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_53_3650.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_56_2685.jpg
/home/pi/Desktop/images/30102025/03/52/image_30102025_03_52_59_2709.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_02_3561.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_05_2693.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_08_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645570","1391645581","1391645614","1391645608","1391645598","1391645592"],"photo_ids_order":["1391645570","1391645581","1391645592","1391645598","1391645608","1391645614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c2b8524e75dd97b85dfd4d4fe58338d.jpg","text":"TemporaryFile(/tmp/multipartBody3785095583638893251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_52_53_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c97bb3827c8f2915b2967e794853999e.jpg","text":"TemporaryFile(/tmp/multipartBody5996875370111899728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_52_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87d46ba3953732d860578a73e79ff3cd.jpg","text":"TemporaryFile(/tmp/multipartBody6151072784011856200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_53_08_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6778b0ae82db81f179555c1f678a5b98.jpg","text":"TemporaryFile(/tmp/multipartBody4652649944522288666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_53_05_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5f1443d00a9f870e2abac8c8d59a247.jpg","text":"TemporaryFile(/tmp/multipartBody7027492822071766338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_53_02_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25f860dfcef0c2bca3a267105afa6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6402611342731185382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002864832,"filename":"image_30102025_03_52_59_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645592","file1":"1391645581","file0":"1391645570","file4":"1391645608","file5":"1391645614","file3":"1391645598"},"map_files_photo_id_array":[{"photo_id":"1391645614","filename":"file5"},{"photo_id":"1391645592","filename":"file2"},{"photo_id":"1391645608","filename":"file4"},{"photo_id":"1391645581","filename":"file1"},{"photo_id":"1391645570","filename":"file0"},{"photo_id":"1391645598","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645570":["hashtag1","hashtag2"]},{"1391645581":["hashtag1","hashtag2"]},{"1391645614":["hashtag1","hashtag2"]},{"1391645608":["hashtag1","hashtag2"]},{"1391645598":["hashtag1","hashtag2"]},{"1391645592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645570, 1391645581, 1391645614, 1391645608, 1391645598, 1391645592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43734669685364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:14:02.635758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_11_3552.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_14_2724.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_23_2833.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_26_2674.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_30_3631.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_32_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_11_3552.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_14_2724.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_23_2833.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_26_2674.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_30_3631.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_32_2720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5450971126556396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:14:22.006025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_11_3552.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_14_2724.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_23_2833.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_26_2674.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_30_3631.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_32_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_11_3552.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_14_2724.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_23_2833.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_26_2674.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_30_3631.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_32_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645704","1391645694","1391645700","1391645711","1391645698","1391645707"],"photo_ids_order":["1391645694","1391645698","1391645700","1391645704","1391645707","1391645711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bbfa7689682f2f87bef8cec5f0ca422.jpg","text":"TemporaryFile(/tmp/multipartBody7290794693606993449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_26_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/646b9305f5cfe4002213253708ac4831.jpg","text":"TemporaryFile(/tmp/multipartBody3893590164796805665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_11_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12c536e10434e0facbc7f9d262c49014.jpg","text":"TemporaryFile(/tmp/multipartBody4445320959352578070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_23_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f73b66afd03e53595fdcaeb6cdc254d0.jpg","text":"TemporaryFile(/tmp/multipartBody383399914393868720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_32_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef23f2f3eb51077fdc99a031ebc73a06.jpg","text":"TemporaryFile(/tmp/multipartBody6602710104333735711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_14_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aec150e489745a4b50ebb4412369118a.jpg","text":"TemporaryFile(/tmp/multipartBody3033102571260336365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002924861,"filename":"image_30102025_03_53_30_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645700","file1":"1391645698","file0":"1391645694","file4":"1391645707","file5":"1391645711","file3":"1391645704"},"map_files_photo_id_array":[{"photo_id":"1391645711","filename":"file5"},{"photo_id":"1391645700","filename":"file2"},{"photo_id":"1391645707","filename":"file4"},{"photo_id":"1391645698","filename":"file1"},{"photo_id":"1391645694","filename":"file0"},{"photo_id":"1391645704","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645704":["hashtag1","hashtag2"]},{"1391645694":["hashtag1","hashtag2"]},{"1391645700":["hashtag1","hashtag2"]},{"1391645711":["hashtag1","hashtag2"]},{"1391645698":["hashtag1","hashtag2"]},{"1391645707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645704, 1391645694, 1391645700, 1391645711, 1391645698, 1391645707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19751715660095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:15:02.862180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_35_2759.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_41_3682.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_44_2602.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_47_2656.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_50_3680.jpg', '/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_56_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_35_2759.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_41_3682.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_44_2602.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_47_2656.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_50_3680.jpg
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_56_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645721","1391645730","1391645726","1391645723","1391645719","1391645734"],"photo_ids_order":["1391645719","1391645721","1391645723","1391645726","1391645730","1391645734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4d039de8ce6271abfc791d1b827a6ea.jpg","text":"TemporaryFile(/tmp/multipartBody4942418052658830925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_41_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bfe3440d37db4b63ffcd0069cb47f25.jpg","text":"TemporaryFile(/tmp/multipartBody4219372510556511415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_50_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e54633237e32157ccd30b850d0c45d8.jpg","text":"TemporaryFile(/tmp/multipartBody2046318608876659271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_47_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08b12b23d5fa10e9bf0e0bb3608f5ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2078457966778069502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_44_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cf77ead19557473871188fafbafad7a.jpg","text":"TemporaryFile(/tmp/multipartBody4328455067627353811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_35_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64fc8dd23a0917251430bdbb30bce3b7.jpg","text":"TemporaryFile(/tmp/multipartBody6682117559899006833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762002965350,"filename":"image_30102025_03_53_56_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645723","file1":"1391645721","file0":"1391645719","file4":"1391645730","file5":"1391645734","file3":"1391645726"},"map_files_photo_id_array":[{"photo_id":"1391645734","filename":"file5"},{"photo_id":"1391645723","filename":"file2"},{"photo_id":"1391645730","filename":"file4"},{"photo_id":"1391645721","filename":"file1"},{"photo_id":"1391645719","filename":"file0"},{"photo_id":"1391645726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645721":["hashtag1","hashtag2"]},{"1391645730":["hashtag1","hashtag2"]},{"1391645726":["hashtag1","hashtag2"]},{"1391645723":["hashtag1","hashtag2"]},{"1391645719":["hashtag1","hashtag2"]},{"1391645734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645721, 1391645730, 1391645726, 1391645723, 1391645719, 1391645734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4484007358551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:15:50.853080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_59_2772.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_02_3794.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_08_2544.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_14_2804.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_20_2706.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_23_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/53/image_30102025_03_53_59_2772.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_02_3794.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_08_2544.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_14_2804.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_20_2706.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_23_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645757","1391645762","1391645765","1391645759","1391645767","1391645770"],"photo_ids_order":["1391645757","1391645759","1391645762","1391645765","1391645767","1391645770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd498ce6de3cd96655f6786c71c130a5.jpg","text":"TemporaryFile(/tmp/multipartBody2610213429272631320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_53_59_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34939ae3187edb0d0ee324524d7e14f8.jpg","text":"TemporaryFile(/tmp/multipartBody4706752679909616290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_54_08_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24cc83b353096e21cefcf9c5937a7ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5161786335400657825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_54_14_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/704e9ab5bc84c4297dc4f6cb0ead90f4.jpg","text":"TemporaryFile(/tmp/multipartBody6864375449152189975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_54_02_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7dfed7d338cb1c33a4978af9a7920f7.jpg","text":"TemporaryFile(/tmp/multipartBody1159129496654705476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_54_20_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbc965d4a77db518a34f8d5147d83de7.jpg","text":"TemporaryFile(/tmp/multipartBody1874981923451110033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003020082,"filename":"image_30102025_03_54_23_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645762","file1":"1391645759","file0":"1391645757","file4":"1391645767","file5":"1391645770","file3":"1391645765"},"map_files_photo_id_array":[{"photo_id":"1391645770","filename":"file5"},{"photo_id":"1391645762","filename":"file2"},{"photo_id":"1391645767","filename":"file4"},{"photo_id":"1391645759","filename":"file1"},{"photo_id":"1391645757","filename":"file0"},{"photo_id":"1391645765","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645757":["hashtag1","hashtag2"]},{"1391645762":["hashtag1","hashtag2"]},{"1391645765":["hashtag1","hashtag2"]},{"1391645759":["hashtag1","hashtag2"]},{"1391645767":["hashtag1","hashtag2"]},{"1391645770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645757, 1391645762, 1391645765, 1391645759, 1391645767, 1391645770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.325931787490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:16:42.432441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645781","1391645795","1391645798","1391645792","1391645788","1391645784"],"photo_ids_order":["1391645781","1391645784","1391645788","1391645792","1391645795","1391645798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/246f2119fb5f07681061d34262b5e42f.jpg","text":"TemporaryFile(/tmp/multipartBody6853782429509355943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_26_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9dae15ae03bf7d18e9a7831fa896335.jpg","text":"TemporaryFile(/tmp/multipartBody2520769513568185154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_41_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c97c25a7545671b79dec96c41d04a642.jpg","text":"TemporaryFile(/tmp/multipartBody4318423742492659820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_43_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1c3725ff99cc71eec01c4b3fc049d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1512055166910479735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_39_6885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55c353c53c336f22754450767c8a9e62.jpg","text":"TemporaryFile(/tmp/multipartBody3030288041703292512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_33_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d92614fbf1923c368beb1499636c4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody802433975526660060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003063715,"filename":"image_30102025_03_54_29_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645788","file1":"1391645784","file0":"1391645781","file4":"1391645795","file5":"1391645798","file3":"1391645792"},"map_files_photo_id_array":[{"photo_id":"1391645798","filename":"file5"},{"photo_id":"1391645788","filename":"file2"},{"photo_id":"1391645795","filename":"file4"},{"photo_id":"1391645784","filename":"file1"},{"photo_id":"1391645781","filename":"file0"},{"photo_id":"1391645792","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645781":["hashtag1","hashtag2"]},{"1391645795":["hashtag1","hashtag2"]},{"1391645798":["hashtag1","hashtag2"]},{"1391645792":["hashtag1","hashtag2"]},{"1391645788":["hashtag1","hashtag2"]},{"1391645784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645781, 1391645795, 1391645798, 1391645792, 1391645788, 1391645784)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391645788 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391645788 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg";
uploaded 6 photos
time to upload: 60.840473651885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:18:02.662480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645859","1391645861","1391645864","1391645866","1391645869","1391645863"],"photo_ids_order":["1391645859","1391645861","1391645863","1391645864","1391645866","1391645869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a35c7b7389c6973a2cbc1ff43826aef9.jpg","text":"TemporaryFile(/tmp/multipartBody1943125280947817567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_26_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c93a255712f58c128a62fa9c53a755b1.jpg","text":"TemporaryFile(/tmp/multipartBody6425095639609984557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_29_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcc25b392be0f84059a445633923955b.jpg","text":"TemporaryFile(/tmp/multipartBody554151050119202876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_39_6885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c74a973f1c3717667babb2f19ed03013.jpg","text":"TemporaryFile(/tmp/multipartBody1485069387141466160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_41_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7265480a97057bd0cf5d79e091661ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1312034643274057533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_43_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b261c4096d1b6ac69ddf5ea2c5a57e48.jpg","text":"TemporaryFile(/tmp/multipartBody7956712928524646452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003144815,"filename":"image_30102025_03_54_33_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645863","file1":"1391645861","file0":"1391645859","file4":"1391645866","file5":"1391645869","file3":"1391645864"},"map_files_photo_id_array":[{"photo_id":"1391645869","filename":"file5"},{"photo_id":"1391645863","filename":"file2"},{"photo_id":"1391645866","filename":"file4"},{"photo_id":"1391645861","filename":"file1"},{"photo_id":"1391645859","filename":"file0"},{"photo_id":"1391645864","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645859":["hashtag1","hashtag2"]},{"1391645861":["hashtag1","hashtag2"]},{"1391645864":["hashtag1","hashtag2"]},{"1391645866":["hashtag1","hashtag2"]},{"1391645869":["hashtag1","hashtag2"]},{"1391645863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645859, 1391645861, 1391645864, 1391645866, 1391645869, 1391645863)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391645863 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391645863 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg";
uploaded 6 photos
time to upload: 65.15866112709045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:19:22.683108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_26_2677.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_29_2617.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_33_3731.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_39_6885.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_41_1626.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_43_1708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391645967","1391645937","1391645972","1391645995","1391645902","1391645976"],"photo_ids_order":["1391645902","1391645937","1391645967","1391645972","1391645976","1391645995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/384794b2b85fb1472eefdd50a366ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody2608013082884319941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_33_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f6c361ae5cc6a32802937eaab5ac76e.jpg","text":"TemporaryFile(/tmp/multipartBody9179020241559912920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_29_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3c15e74071d77bd8bd70c0f6110a4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3008009931560288955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_39_6885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fc45b2d3c2c3c096beaf07411699839.jpg","text":"TemporaryFile(/tmp/multipartBody8857713003727247874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_43_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b474a9cf3446b253300097f70b03ac04.jpg","text":"TemporaryFile(/tmp/multipartBody952984266297859267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_26_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86b2c80a2ea7fe9606591d4036972d10.jpg","text":"TemporaryFile(/tmp/multipartBody7843692061592908134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003225719,"filename":"image_30102025_03_54_41_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391645967","file1":"1391645937","file0":"1391645902","file4":"1391645976","file5":"1391645995","file3":"1391645972"},"map_files_photo_id_array":[{"photo_id":"1391645995","filename":"file5"},{"photo_id":"1391645967","filename":"file2"},{"photo_id":"1391645976","filename":"file4"},{"photo_id":"1391645937","filename":"file1"},{"photo_id":"1391645902","filename":"file0"},{"photo_id":"1391645972","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391645967":["hashtag1","hashtag2"]},{"1391645937":["hashtag1","hashtag2"]},{"1391645972":["hashtag1","hashtag2"]},{"1391645995":["hashtag1","hashtag2"]},{"1391645902":["hashtag1","hashtag2"]},{"1391645976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391645967, 1391645937, 1391645972, 1391645995, 1391645902, 1391645976)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 97.23768162727356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:21:10.083982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_44_1640.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_47_2686.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_50_2564.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_53_3628.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_56_2667.jpg', '/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_59_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_44_1640.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_47_2686.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_50_2564.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_53_3628.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_56_2667.jpg
/home/pi/Desktop/images/30102025/03/54/image_30102025_03_54_59_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646074","1391646083","1391646077","1391646079","1391646088","1391646075"],"photo_ids_order":["1391646074","1391646075","1391646077","1391646079","1391646083","1391646088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffc05d955b54218c44fe425c1b14c683.jpg","text":"TemporaryFile(/tmp/multipartBody4740556959198678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_44_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f42aae0a8c3cdbe98b70d7187e787398.jpg","text":"TemporaryFile(/tmp/multipartBody1906363668130088478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_56_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f543bbed0abc0be3ebbf83a0d5680df0.jpg","text":"TemporaryFile(/tmp/multipartBody8209294352350867268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_50_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6f213120f1825caa6acdcb1f054bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody2301196719074163221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_53_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0186ef68099cd36d7017dd6eafb0649f.jpg","text":"TemporaryFile(/tmp/multipartBody2977833338666760810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_59_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9a5d9ad4594125b4f35da2ae9e3dfeb.jpg","text":"TemporaryFile(/tmp/multipartBody1029798894867168657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003337045,"filename":"image_30102025_03_54_47_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646077","file1":"1391646075","file0":"1391646074","file4":"1391646083","file5":"1391646088","file3":"1391646079"},"map_files_photo_id_array":[{"photo_id":"1391646088","filename":"file5"},{"photo_id":"1391646077","filename":"file2"},{"photo_id":"1391646083","filename":"file4"},{"photo_id":"1391646075","filename":"file1"},{"photo_id":"1391646074","filename":"file0"},{"photo_id":"1391646079","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646074":["hashtag1","hashtag2"]},{"1391646083":["hashtag1","hashtag2"]},{"1391646077":["hashtag1","hashtag2"]},{"1391646079":["hashtag1","hashtag2"]},{"1391646088":["hashtag1","hashtag2"]},{"1391646075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646074, 1391646083, 1391646077, 1391646079, 1391646088, 1391646075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.03222942352295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:22:03.161739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_02_3586.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_05_2795.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_08_2775.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_11_3607.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_14_2698.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_17_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_02_3586.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_05_2795.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_08_2775.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_11_3607.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_14_2698.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_17_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646111","1391646114","1391646123","1391646117","1391646119","1391646121"],"photo_ids_order":["1391646111","1391646114","1391646117","1391646119","1391646121","1391646123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1908bcf30779041124af83ac446c3db9.jpg","text":"TemporaryFile(/tmp/multipartBody3274221336219030701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_02_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc5c0dcda419d805c10e848e2988fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody1253338162763568985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_05_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c44b9ec2f6d809c4b1447c704e41a02.jpg","text":"TemporaryFile(/tmp/multipartBody2342364516143573760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_17_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6501d10356e32ec18712c1dd047c7b30.jpg","text":"TemporaryFile(/tmp/multipartBody221592532556463229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_08_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17400fa01351cd7c2453d785f856a98c.jpg","text":"TemporaryFile(/tmp/multipartBody5447983691442315021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_11_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d06450273d80e5eb680f720617bcd7e3.jpg","text":"TemporaryFile(/tmp/multipartBody7908948123333982303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003385610,"filename":"image_30102025_03_55_14_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646117","file1":"1391646114","file0":"1391646111","file4":"1391646121","file5":"1391646123","file3":"1391646119"},"map_files_photo_id_array":[{"photo_id":"1391646123","filename":"file5"},{"photo_id":"1391646117","filename":"file2"},{"photo_id":"1391646121","filename":"file4"},{"photo_id":"1391646114","filename":"file1"},{"photo_id":"1391646111","filename":"file0"},{"photo_id":"1391646119","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646111":["hashtag1","hashtag2"]},{"1391646114":["hashtag1","hashtag2"]},{"1391646123":["hashtag1","hashtag2"]},{"1391646117":["hashtag1","hashtag2"]},{"1391646119":["hashtag1","hashtag2"]},{"1391646121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646111, 1391646114, 1391646123, 1391646117, 1391646119, 1391646121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.260287284851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:22:42.711816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646147","1391646141","1391646137","1391646145","1391646133","1391646150"],"photo_ids_order":["1391646133","1391646137","1391646141","1391646145","1391646147","1391646150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f32a03d190d126f69b20c0a3452a6c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5986474479183147465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_47_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b4397703e669b8fc58da5b642078318.jpg","text":"TemporaryFile(/tmp/multipartBody4336543121395472996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_41_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25e00f9b1c44f11ea71b048bfe036ee6.jpg","text":"TemporaryFile(/tmp/multipartBody2549174856836614899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_35_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a70049b3b111973ee987244d45ca951c.jpg","text":"TemporaryFile(/tmp/multipartBody1858335098666014511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_44_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cd550e387c08faf1587b420bee8bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody8901559874169637405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_32_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1437475c9dcaf9b71ef7276002fb9f73.jpg","text":"TemporaryFile(/tmp/multipartBody5896785158615772747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003424004,"filename":"image_30102025_03_55_50_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646141","file1":"1391646137","file0":"1391646133","file4":"1391646147","file5":"1391646150","file3":"1391646145"},"map_files_photo_id_array":[{"photo_id":"1391646150","filename":"file5"},{"photo_id":"1391646141","filename":"file2"},{"photo_id":"1391646147","filename":"file4"},{"photo_id":"1391646137","filename":"file1"},{"photo_id":"1391646133","filename":"file0"},{"photo_id":"1391646145","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646147":["hashtag1","hashtag2"]},{"1391646141":["hashtag1","hashtag2"]},{"1391646137":["hashtag1","hashtag2"]},{"1391646145":["hashtag1","hashtag2"]},{"1391646133":["hashtag1","hashtag2"]},{"1391646150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646147, 1391646141, 1391646137, 1391646145, 1391646133, 1391646150)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391646141 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391646141 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg";
uploaded 6 photos
time to upload: 62.975189447402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:24:02.813263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6326816082000732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:24:22.063837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_32_2768.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_35_2630.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_41_3679.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_44_2642.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_47_2776.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_50_3757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646201","1391646191","1391646196","1391646192","1391646205","1391646189"],"photo_ids_order":["1391646189","1391646191","1391646192","1391646196","1391646201","1391646205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d6399b8b5515876a83c5d52480f48b2.jpg","text":"TemporaryFile(/tmp/multipartBody8682464613599543856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_47_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a111949383fdc5829e58db1bd35d400e.jpg","text":"TemporaryFile(/tmp/multipartBody1257728001915746095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_35_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87f30b6254ccfdd0cc1f7217830deb78.jpg","text":"TemporaryFile(/tmp/multipartBody2989415573800078917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_44_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb6db9dd353a3af75cfc416677afd3f5.jpg","text":"TemporaryFile(/tmp/multipartBody2089875993869570002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_41_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9696b87ecda4b308a0bf61e8c64eaf83.jpg","text":"TemporaryFile(/tmp/multipartBody8435429900479192358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_50_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07294220c87f229d668dfca270afc730.jpg","text":"TemporaryFile(/tmp/multipartBody5375590475951299008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003524910,"filename":"image_30102025_03_55_32_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646192","file1":"1391646191","file0":"1391646189","file4":"1391646201","file5":"1391646205","file3":"1391646196"},"map_files_photo_id_array":[{"photo_id":"1391646205","filename":"file5"},{"photo_id":"1391646192","filename":"file2"},{"photo_id":"1391646201","filename":"file4"},{"photo_id":"1391646191","filename":"file1"},{"photo_id":"1391646189","filename":"file0"},{"photo_id":"1391646196","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646201":["hashtag1","hashtag2"]},{"1391646191":["hashtag1","hashtag2"]},{"1391646196":["hashtag1","hashtag2"]},{"1391646192":["hashtag1","hashtag2"]},{"1391646205":["hashtag1","hashtag2"]},{"1391646189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646201, 1391646191, 1391646196, 1391646192, 1391646205, 1391646189)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.40868592262268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:25:24.314239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_53_2655.jpg', '/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_56_2802.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_08_2699.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_14_2683.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_17_2743.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_20_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_53_2655.jpg
/home/pi/Desktop/images/30102025/03/55/image_30102025_03_55_56_2802.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_08_2699.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_14_2683.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_17_2743.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_20_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646231","1391646240","1391646234","1391646228","1391646243","1391646237"],"photo_ids_order":["1391646228","1391646231","1391646234","1391646237","1391646240","1391646243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad60b4ed0d385eb1c0979784d6b53f23.jpg","text":"TemporaryFile(/tmp/multipartBody9212360921560736914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_55_56_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17f63c3adde38d771eab837296d6e862.jpg","text":"TemporaryFile(/tmp/multipartBody141426933970300608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_56_17_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2eaefbf5e160db3cd425ff6935054c3.jpg","text":"TemporaryFile(/tmp/multipartBody5130602895518027990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_56_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/114350546becea0d9e5f3e312e8366c8.jpg","text":"TemporaryFile(/tmp/multipartBody7610104017299348021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_55_53_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bc27000dc25a20018eaae3638ba4c08.jpg","text":"TemporaryFile(/tmp/multipartBody3614313564858536464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_56_20_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff7cedb1f6565f93d22bff71ef4fb61b.jpg","text":"TemporaryFile(/tmp/multipartBody6535172859415094226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003597070,"filename":"image_30102025_03_56_14_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646234","file1":"1391646231","file0":"1391646228","file4":"1391646240","file5":"1391646243","file3":"1391646237"},"map_files_photo_id_array":[{"photo_id":"1391646243","filename":"file5"},{"photo_id":"1391646234","filename":"file2"},{"photo_id":"1391646240","filename":"file4"},{"photo_id":"1391646231","filename":"file1"},{"photo_id":"1391646228","filename":"file0"},{"photo_id":"1391646237","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646231":["hashtag1","hashtag2"]},{"1391646240":["hashtag1","hashtag2"]},{"1391646234":["hashtag1","hashtag2"]},{"1391646228":["hashtag1","hashtag2"]},{"1391646243":["hashtag1","hashtag2"]},{"1391646237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646231, 1391646240, 1391646234, 1391646228, 1391646243, 1391646237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.60092043876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:26:22.021769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_24_3205.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_26_2649.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_29_2668.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_32_2681.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_35_3735.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_38_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_24_3205.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_26_2649.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_29_2668.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_32_2681.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_35_3735.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_38_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646254","1391646263","1391646257","1391646259","1391646274","1391646268"],"photo_ids_order":["1391646254","1391646257","1391646259","1391646263","1391646268","1391646274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35357f6b64f53ea35d1eed1016d86fca.jpg","text":"TemporaryFile(/tmp/multipartBody8505162233315841749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_24_3205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf0051f04cea71f694460a52b80d51b6.jpg","text":"TemporaryFile(/tmp/multipartBody3637217961449270040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_32_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88fff81f87866ed20c3ae71d79c80838.jpg","text":"TemporaryFile(/tmp/multipartBody3976201962338029038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_26_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31a84c345b72a704bc5b4e0ba3d34bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6666740235357875586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_29_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b23a85bf4bf97e4fb4d1d69c8992ab35.jpg","text":"TemporaryFile(/tmp/multipartBody6172506929378022819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_38_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dfad00095a9d68b899120dcd7da04d7.jpg","text":"TemporaryFile(/tmp/multipartBody2713074024464374327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003644682,"filename":"image_30102025_03_56_35_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646259","file1":"1391646257","file0":"1391646254","file4":"1391646268","file5":"1391646274","file3":"1391646263"},"map_files_photo_id_array":[{"photo_id":"1391646274","filename":"file5"},{"photo_id":"1391646259","filename":"file2"},{"photo_id":"1391646268","filename":"file4"},{"photo_id":"1391646257","filename":"file1"},{"photo_id":"1391646254","filename":"file0"},{"photo_id":"1391646263","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646254":["hashtag1","hashtag2"]},{"1391646263":["hashtag1","hashtag2"]},{"1391646257":["hashtag1","hashtag2"]},{"1391646259":["hashtag1","hashtag2"]},{"1391646274":["hashtag1","hashtag2"]},{"1391646268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646254, 1391646263, 1391646257, 1391646259, 1391646274, 1391646268)","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 = 1391646259 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_29_2668.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.418291330337524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:27:22.427032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_41_2721.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_44_3628.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_47_2636.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_50_2661.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_52_2842.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_56_3825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_41_2721.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_44_3628.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_47_2636.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_50_2661.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_52_2842.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_56_3825.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.056575298309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:27:42.373788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_41_2721.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_44_3628.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_47_2636.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_50_2661.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_52_2842.jpg', '/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_56_3825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_41_2721.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_44_3628.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_47_2636.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_50_2661.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_52_2842.jpg
/home/pi/Desktop/images/30102025/03/56/image_30102025_03_56_56_3825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646318","1391646312","1391646306","1391646309","1391646314","1391646302"],"photo_ids_order":["1391646302","1391646306","1391646309","1391646312","1391646314","1391646318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af068558e38bdbfd75424b973b32ba20.jpg","text":"TemporaryFile(/tmp/multipartBody8963814154175421436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_56_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70c47dd940320f63fd9567eb5334d4a8.jpg","text":"TemporaryFile(/tmp/multipartBody2038093339387461821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_50_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d3650356f5901027591a2401600f1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4985382972239059316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_44_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2264cf741682bf4a5e1b84ef0b128f21.jpg","text":"TemporaryFile(/tmp/multipartBody7333101202010043423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_47_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eba04397f2f9a6346398f3f559e97c76.jpg","text":"TemporaryFile(/tmp/multipartBody6843954862111862906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_52_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b2db7d659298b2a2f2f3bd950242733.jpg","text":"TemporaryFile(/tmp/multipartBody976848062892627716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003723551,"filename":"image_30102025_03_56_41_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646309","file1":"1391646306","file0":"1391646302","file4":"1391646314","file5":"1391646318","file3":"1391646312"},"map_files_photo_id_array":[{"photo_id":"1391646318","filename":"file5"},{"photo_id":"1391646309","filename":"file2"},{"photo_id":"1391646314","filename":"file4"},{"photo_id":"1391646306","filename":"file1"},{"photo_id":"1391646302","filename":"file0"},{"photo_id":"1391646312","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646318":["hashtag1","hashtag2"]},{"1391646312":["hashtag1","hashtag2"]},{"1391646306":["hashtag1","hashtag2"]},{"1391646309":["hashtag1","hashtag2"]},{"1391646314":["hashtag1","hashtag2"]},{"1391646302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646318, 1391646312, 1391646306, 1391646309, 1391646314, 1391646302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87566685676575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:28:22.610055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_08_11421.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_09_1647.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_11_1754.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_13_1653.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_16_1763.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_18_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_08_11421.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_09_1647.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_11_1754.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_13_1653.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_16_1763.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_18_1695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646330","1391646324","1391646327","1391646344","1391646326","1391646336"],"photo_ids_order":["1391646324","1391646326","1391646327","1391646330","1391646336","1391646344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8269be68b21108865570792731bb897d.jpg","text":"TemporaryFile(/tmp/multipartBody6065651006652138389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_13_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de36f5e4783a530d06e25b790f4cc6f6.jpg","text":"TemporaryFile(/tmp/multipartBody7991165109299457850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_08_11421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdf65af99b835fb66208f70b2cf5bfac.jpg","text":"TemporaryFile(/tmp/multipartBody7959833757862838087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_11_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e10d4d3f5fdb6edc8dc1318cede9fad.jpg","text":"TemporaryFile(/tmp/multipartBody4573629476699772439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_18_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92f5ce87e66f649210d387828c942c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7149171255054250174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_09_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce2f1a8a0203ba0cde52486e5a9d9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1725672839729171606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003765598,"filename":"image_30102025_03_57_16_1763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646327","file1":"1391646326","file0":"1391646324","file4":"1391646336","file5":"1391646344","file3":"1391646330"},"map_files_photo_id_array":[{"photo_id":"1391646344","filename":"file5"},{"photo_id":"1391646327","filename":"file2"},{"photo_id":"1391646336","filename":"file4"},{"photo_id":"1391646326","filename":"file1"},{"photo_id":"1391646324","filename":"file0"},{"photo_id":"1391646330","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646330":["hashtag1","hashtag2"]},{"1391646324":["hashtag1","hashtag2"]},{"1391646327":["hashtag1","hashtag2"]},{"1391646344":["hashtag1","hashtag2"]},{"1391646326":["hashtag1","hashtag2"]},{"1391646336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646330, 1391646324, 1391646327, 1391646344, 1391646326, 1391646336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.985405921936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:29:21.793523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_20_1560.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_23_3538.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_26_2726.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_28_2696.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_32_3648.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_37_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_20_1560.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_23_3538.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_26_2726.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_28_2696.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_32_3648.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_37_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646416","1391646401","1391646419","1391646404","1391646407","1391646412"],"photo_ids_order":["1391646401","1391646404","1391646407","1391646412","1391646416","1391646419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3733e40e5fc532b7c48d4afae3da8065.jpg","text":"TemporaryFile(/tmp/multipartBody2306381506692030580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_32_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa6b2d96cea8e682f035639fb8617eac.jpg","text":"TemporaryFile(/tmp/multipartBody2921141036129300453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_20_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea49352def3d44feb1ae86de1e79394d.jpg","text":"TemporaryFile(/tmp/multipartBody7238761464368959999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_37_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5d99937bff3f9ad76f636b108067b43.jpg","text":"TemporaryFile(/tmp/multipartBody1758029443266877929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_23_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6c2fd102da1f409885d61981849d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8212097020729470339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_26_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88c89b98b4a33e4d3b2c4df684d7a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5657286553570822828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003824766,"filename":"image_30102025_03_57_28_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646407","file1":"1391646404","file0":"1391646401","file4":"1391646416","file5":"1391646419","file3":"1391646412"},"map_files_photo_id_array":[{"photo_id":"1391646419","filename":"file5"},{"photo_id":"1391646407","filename":"file2"},{"photo_id":"1391646416","filename":"file4"},{"photo_id":"1391646404","filename":"file1"},{"photo_id":"1391646401","filename":"file0"},{"photo_id":"1391646412","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646416":["hashtag1","hashtag2"]},{"1391646401":["hashtag1","hashtag2"]},{"1391646419":["hashtag1","hashtag2"]},{"1391646404":["hashtag1","hashtag2"]},{"1391646407":["hashtag1","hashtag2"]},{"1391646412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646416, 1391646401, 1391646419, 1391646404, 1391646407, 1391646412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.885666608810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:30:22.134983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_40_2911.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_44_3554.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_47_2657.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_49_2746.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_53_3595.jpg', '/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_56_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_40_2911.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_44_3554.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_47_2657.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_49_2746.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_53_3595.jpg
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_56_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646434","1391646457","1391646430","1391646453","1391646447","1391646441"],"photo_ids_order":["1391646430","1391646434","1391646441","1391646447","1391646453","1391646457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f45c05f464b6ce5d267b4c89e263881b.jpg","text":"TemporaryFile(/tmp/multipartBody7641050326598950752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_44_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e7ca52eee86e3da6353402a54544a24.jpg","text":"TemporaryFile(/tmp/multipartBody4092427203058219016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_56_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b08587c625bd945b10c5255ae95d985e.jpg","text":"TemporaryFile(/tmp/multipartBody2534030446667982913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_40_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4edb48290d007d2face7db8576e4cd14.jpg","text":"TemporaryFile(/tmp/multipartBody5871574178843879505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_53_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c20d4f49809ffdf825bef08778da867e.jpg","text":"TemporaryFile(/tmp/multipartBody7124584968326313333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_49_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc5c168366baf1a7bce5c64569b14646.jpg","text":"TemporaryFile(/tmp/multipartBody21630155091086740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003885203,"filename":"image_30102025_03_57_47_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646441","file1":"1391646434","file0":"1391646430","file4":"1391646453","file5":"1391646457","file3":"1391646447"},"map_files_photo_id_array":[{"photo_id":"1391646457","filename":"file5"},{"photo_id":"1391646441","filename":"file2"},{"photo_id":"1391646453","filename":"file4"},{"photo_id":"1391646434","filename":"file1"},{"photo_id":"1391646430","filename":"file0"},{"photo_id":"1391646447","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646434":["hashtag1","hashtag2"]},{"1391646457":["hashtag1","hashtag2"]},{"1391646430":["hashtag1","hashtag2"]},{"1391646453":["hashtag1","hashtag2"]},{"1391646447":["hashtag1","hashtag2"]},{"1391646441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646434, 1391646457, 1391646430, 1391646453, 1391646447, 1391646441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09955859184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:31:02.793045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_58_2697.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_05_2621.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_07_2626.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_11_3614.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_14_2606.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_16_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/57/image_30102025_03_57_58_2697.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_05_2621.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_07_2626.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_11_3614.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_14_2606.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_16_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646476","1391646479","1391646470","1391646472","1391646466","1391646468"],"photo_ids_order":["1391646466","1391646468","1391646470","1391646472","1391646476","1391646479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f512954f918f89854b48fc5a9eb5215.jpg","text":"TemporaryFile(/tmp/multipartBody3722168206339982082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_58_14_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b729713b87901e955740a2efd2bd0478.jpg","text":"TemporaryFile(/tmp/multipartBody5084217456022561439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_58_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ef7a519e1c0d84416e82e9d9992ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody7118835851002431181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_58_07_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e6dfeee46928d13fe0730632c380f75.jpg","text":"TemporaryFile(/tmp/multipartBody8747262100713684476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_58_11_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c21a7433ecf38ca09bb3af257ebe04.jpg","text":"TemporaryFile(/tmp/multipartBody7058632627417452315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_57_58_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7677ac12c7c19e31e5b03c28fd3ac310.jpg","text":"TemporaryFile(/tmp/multipartBody4552479980872594880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003925503,"filename":"image_30102025_03_58_05_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646470","file1":"1391646468","file0":"1391646466","file4":"1391646476","file5":"1391646479","file3":"1391646472"},"map_files_photo_id_array":[{"photo_id":"1391646479","filename":"file5"},{"photo_id":"1391646470","filename":"file2"},{"photo_id":"1391646476","filename":"file4"},{"photo_id":"1391646468","filename":"file1"},{"photo_id":"1391646466","filename":"file0"},{"photo_id":"1391646472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646476":["hashtag1","hashtag2"]},{"1391646479":["hashtag1","hashtag2"]},{"1391646470":["hashtag1","hashtag2"]},{"1391646472":["hashtag1","hashtag2"]},{"1391646466":["hashtag1","hashtag2"]},{"1391646468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646476, 1391646479, 1391646470, 1391646472, 1391646466, 1391646468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56951904296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:31:42.216883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_20_3621.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_26_3693.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_29_2863.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_32_2761.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_35_2770.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_37_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_20_3621.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_26_3693.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_29_2863.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_32_2761.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_35_2770.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_37_2747.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2672123908996582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:32:02.958718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_20_3621.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_26_3693.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_29_2863.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_32_2761.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_35_2770.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_37_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_20_3621.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_26_3693.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_29_2863.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_32_2761.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_35_2770.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_37_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646621","1391646543","1391646583","1391646658","1391646643","1391646610"],"photo_ids_order":["1391646543","1391646583","1391646610","1391646621","1391646643","1391646658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33467ce3c59cfb34a96f90e1b4c4e121.jpg","text":"TemporaryFile(/tmp/multipartBody2676051954848735562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_32_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9ef02078918f16d67feb745e4dd050a.jpg","text":"TemporaryFile(/tmp/multipartBody8759015968227496575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_20_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17409cf2a6d08115e5e9ca309264a91f.jpg","text":"TemporaryFile(/tmp/multipartBody6149940108610065066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_26_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dd0e89516b2f3eb08a7ecf20d6f539e.jpg","text":"TemporaryFile(/tmp/multipartBody7156292500931810204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_37_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35aa1e43071f2635cdc498904ec83faa.jpg","text":"TemporaryFile(/tmp/multipartBody2362474622203037976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_35_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95040db4d77a0046633641048bd6227b.jpg","text":"TemporaryFile(/tmp/multipartBody7609296916721409183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762003985235,"filename":"image_30102025_03_58_29_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646610","file1":"1391646583","file0":"1391646543","file4":"1391646643","file5":"1391646658","file3":"1391646621"},"map_files_photo_id_array":[{"photo_id":"1391646658","filename":"file5"},{"photo_id":"1391646610","filename":"file2"},{"photo_id":"1391646643","filename":"file4"},{"photo_id":"1391646583","filename":"file1"},{"photo_id":"1391646543","filename":"file0"},{"photo_id":"1391646621","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646621":["hashtag1","hashtag2"]},{"1391646543":["hashtag1","hashtag2"]},{"1391646583":["hashtag1","hashtag2"]},{"1391646658":["hashtag1","hashtag2"]},{"1391646643":["hashtag1","hashtag2"]},{"1391646610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646621, 1391646543, 1391646583, 1391646658, 1391646643, 1391646610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45020604133606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:32:42.414757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_41_3616.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_46_2766.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_49_2860.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_53_3617.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_55_2590.jpg', '/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_59_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_41_3616.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_46_2766.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_49_2860.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_53_3617.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_55_2590.jpg
/home/pi/Desktop/images/30102025/03/58/image_30102025_03_58_59_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646698","1391646796","1391646688","1391646820","1391646777","1391646693"],"photo_ids_order":["1391646688","1391646693","1391646698","1391646777","1391646796","1391646820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6e0c8e85710594074d2ed82e25639b2.jpg","text":"TemporaryFile(/tmp/multipartBody6294471055204440944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_49_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97eb2ebe793ecc8362058d0cc3d7e809.jpg","text":"TemporaryFile(/tmp/multipartBody48959947032429349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_55_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06514fedc777a797d86f28c8538fd284.jpg","text":"TemporaryFile(/tmp/multipartBody6467728856620098717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_41_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4430d40bd437cb8209dca2ad213a539.jpg","text":"TemporaryFile(/tmp/multipartBody4408445182891432793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_59_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/542ab3f7aa9e319d2f487c125a21cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody6567808874065711894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_53_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc66e11c79ddb902d65f576672295221.jpg","text":"TemporaryFile(/tmp/multipartBody2220091814548542123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004023773,"filename":"image_30102025_03_58_46_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646698","file1":"1391646693","file0":"1391646688","file4":"1391646796","file5":"1391646820","file3":"1391646777"},"map_files_photo_id_array":[{"photo_id":"1391646820","filename":"file5"},{"photo_id":"1391646698","filename":"file2"},{"photo_id":"1391646796","filename":"file4"},{"photo_id":"1391646693","filename":"file1"},{"photo_id":"1391646688","filename":"file0"},{"photo_id":"1391646777","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646698":["hashtag1","hashtag2"]},{"1391646796":["hashtag1","hashtag2"]},{"1391646688":["hashtag1","hashtag2"]},{"1391646820":["hashtag1","hashtag2"]},{"1391646777":["hashtag1","hashtag2"]},{"1391646693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646698, 1391646796, 1391646688, 1391646820, 1391646777, 1391646693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34217691421509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:33:22.597797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_02_2828.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_05_2779.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_07_2663.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_11_3657.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_14_2717.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_16_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_02_2828.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_05_2779.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_07_2663.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_11_3657.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_14_2717.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_16_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391646935","1391646926","1391646905","1391646940","1391646943","1391646930"],"photo_ids_order":["1391646905","1391646926","1391646930","1391646935","1391646940","1391646943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0943ec312c466312f0d8d3784ef58121.jpg","text":"TemporaryFile(/tmp/multipartBody2947591517917602084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_11_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4e11154339999d7e66ae220b7605674.jpg","text":"TemporaryFile(/tmp/multipartBody1952481231927856951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_05_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18680c16e7ff8222038d29be02296ac0.jpg","text":"TemporaryFile(/tmp/multipartBody199605502421435545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_02_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e35cc1991c4e9ebce07d00d6efc6097c.jpg","text":"TemporaryFile(/tmp/multipartBody2291883495583060762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_14_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8548f4b25d0459ed89892679e3990e8.jpg","text":"TemporaryFile(/tmp/multipartBody7995038236564196487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_16_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6a458482c744c8349a6a3737a92e998.jpg","text":"TemporaryFile(/tmp/multipartBody4491366677621261732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004065639,"filename":"image_30102025_03_59_07_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391646930","file1":"1391646926","file0":"1391646905","file4":"1391646940","file5":"1391646943","file3":"1391646935"},"map_files_photo_id_array":[{"photo_id":"1391646943","filename":"file5"},{"photo_id":"1391646930","filename":"file2"},{"photo_id":"1391646940","filename":"file4"},{"photo_id":"1391646926","filename":"file1"},{"photo_id":"1391646905","filename":"file0"},{"photo_id":"1391646935","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391646935":["hashtag1","hashtag2"]},{"1391646926":["hashtag1","hashtag2"]},{"1391646905":["hashtag1","hashtag2"]},{"1391646940":["hashtag1","hashtag2"]},{"1391646943":["hashtag1","hashtag2"]},{"1391646930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391646935, 1391646926, 1391646905, 1391646940, 1391646943, 1391646930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.542325496673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:34:02.596552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_20_3586.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_25_2669.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_29_3627.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_32_2549.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_34_2767.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_37_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_20_3586.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_25_2669.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_29_3627.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_32_2549.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_34_2767.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_37_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647142","1391647202","1391647093","1391647183","1391647177","1391647119"],"photo_ids_order":["1391647093","1391647119","1391647142","1391647177","1391647183","1391647202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e898fbd149afd41a832528a8f00547f.jpg","text":"TemporaryFile(/tmp/multipartBody7129328752149840351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_29_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10f546d17247abbaf6446c859be395e7.jpg","text":"TemporaryFile(/tmp/multipartBody812500353064253193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17e866a236cb95c8818141d0bbe446ed.jpg","text":"TemporaryFile(/tmp/multipartBody7681678056032666256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_20_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a252b06f32d48c0d853be9dc19b882c.jpg","text":"TemporaryFile(/tmp/multipartBody6634026279885775879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_34_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d02f5d44af50856cf02fca9cad36e67.jpg","text":"TemporaryFile(/tmp/multipartBody6799844263285328594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_32_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/396640c0cf8a8ba3d46ad83aed241859.jpg","text":"TemporaryFile(/tmp/multipartBody9219567663468557781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004109591,"filename":"image_30102025_03_59_25_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647142","file1":"1391647119","file0":"1391647093","file4":"1391647183","file5":"1391647202","file3":"1391647177"},"map_files_photo_id_array":[{"photo_id":"1391647202","filename":"file5"},{"photo_id":"1391647142","filename":"file2"},{"photo_id":"1391647183","filename":"file4"},{"photo_id":"1391647119","filename":"file1"},{"photo_id":"1391647093","filename":"file0"},{"photo_id":"1391647177","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647142":["hashtag1","hashtag2"]},{"1391647202":["hashtag1","hashtag2"]},{"1391647093":["hashtag1","hashtag2"]},{"1391647183":["hashtag1","hashtag2"]},{"1391647177":["hashtag1","hashtag2"]},{"1391647119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647142, 1391647202, 1391647093, 1391647183, 1391647177, 1391647119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28934955596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:35:05.404687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_41_3741.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_43_2572.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_52_2794.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_55_2770.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_59_3835.jpg', '/home/pi/Desktop/images/30102025/03/59/image_30102025_04_00_02_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_41_3741.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_43_2572.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_52_2794.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_55_2770.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_03_59_59_3835.jpg
/home/pi/Desktop/images/30102025/03/59/image_30102025_04_00_02_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647250","1391647223","1391647222","1391647225","1391647219","1391647221"],"photo_ids_order":["1391647219","1391647221","1391647222","1391647223","1391647225","1391647250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b3e15169848e0eeace49c9a4e596bef.jpg","text":"TemporaryFile(/tmp/multipartBody8512384059766850037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_04_00_02_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3f8e042bf82db263a0fc4750782eb80.jpg","text":"TemporaryFile(/tmp/multipartBody5862595777082417680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_03_59_55_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ff9df9c02089ddbdda4e40bfb45d4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4974889056275733922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_03_59_52_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87a415149943e6fd316f4ea34f6e5b64.jpg","text":"TemporaryFile(/tmp/multipartBody4972441756263172332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_03_59_59_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c81bcba161b31f561345802e91db60b.jpg","text":"TemporaryFile(/tmp/multipartBody2623165054795069366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_03_59_41_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4fd084d866b6c1da30f9a6326b2ecfd.jpg","text":"TemporaryFile(/tmp/multipartBody1586437053793321743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004168515,"filename":"image_30102025_03_59_43_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647222","file1":"1391647221","file0":"1391647219","file4":"1391647225","file5":"1391647250","file3":"1391647223"},"map_files_photo_id_array":[{"photo_id":"1391647250","filename":"file5"},{"photo_id":"1391647222","filename":"file2"},{"photo_id":"1391647225","filename":"file4"},{"photo_id":"1391647221","filename":"file1"},{"photo_id":"1391647219","filename":"file0"},{"photo_id":"1391647223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647250":["hashtag1","hashtag2"]},{"1391647223":["hashtag1","hashtag2"]},{"1391647222":["hashtag1","hashtag2"]},{"1391647225":["hashtag1","hashtag2"]},{"1391647219":["hashtag1","hashtag2"]},{"1391647221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647250, 1391647223, 1391647222, 1391647225, 1391647219, 1391647221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.762269735336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:36:02.890736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_06_4064.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_07_1659.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_11_3650.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_14_2777.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_23_3765.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_26_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_06_4064.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_07_1659.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_11_3650.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_14_2777.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_23_3765.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_26_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647454","1391647451","1391647505","1391647427","1391647462","1391647499"],"photo_ids_order":["1391647427","1391647451","1391647454","1391647462","1391647499","1391647505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cecd3f50cc3e98292cfcd0bcd89cb16.jpg","text":"TemporaryFile(/tmp/multipartBody5714015516516788369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_11_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ca2dc73d6a18b550a5fe469cb51d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2868032863215944461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_07_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b61f8ce6790b4a8ab441b186785ae3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3911123665968990249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_26_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/443e77d393e0bd38890b431fc7723d73.jpg","text":"TemporaryFile(/tmp/multipartBody4519510503116644019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_06_4064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0e7df1c253b662220baeeca50481003.jpg","text":"TemporaryFile(/tmp/multipartBody7473452893419703151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_14_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8c13fc63eaa7ab8495eb5f2cf75431c.jpg","text":"TemporaryFile(/tmp/multipartBody4956749798430973860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004225365,"filename":"image_30102025_04_00_23_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647454","file1":"1391647451","file0":"1391647427","file4":"1391647499","file5":"1391647505","file3":"1391647462"},"map_files_photo_id_array":[{"photo_id":"1391647505","filename":"file5"},{"photo_id":"1391647454","filename":"file2"},{"photo_id":"1391647499","filename":"file4"},{"photo_id":"1391647451","filename":"file1"},{"photo_id":"1391647427","filename":"file0"},{"photo_id":"1391647462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647454":["hashtag1","hashtag2"]},{"1391647451":["hashtag1","hashtag2"]},{"1391647505":["hashtag1","hashtag2"]},{"1391647427":["hashtag1","hashtag2"]},{"1391647462":["hashtag1","hashtag2"]},{"1391647499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647454, 1391647451, 1391647505, 1391647427, 1391647462, 1391647499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00969052314758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:36:42.414113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_28_2683.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_32_3588.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_35_2642.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_37_2682.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_41_3729.jpg', '/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_55_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_28_2683.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_32_3588.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_35_2642.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_37_2682.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_41_3729.jpg
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_55_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647523","1391647526","1391647519","1391647530","1391647527","1391647521"],"photo_ids_order":["1391647519","1391647521","1391647523","1391647526","1391647527","1391647530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/678b084a632845c3f0a86717f2f44e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5411751189075812992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_35_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ded4f4e24bd6fd70892f1fb5ee5e6437.jpg","text":"TemporaryFile(/tmp/multipartBody1587294165582149360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_37_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f57ef0f57247b832ad20d69d5682812d.jpg","text":"TemporaryFile(/tmp/multipartBody109347089594683056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_28_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d627198d9e0d99686687508ad91e1367.jpg","text":"TemporaryFile(/tmp/multipartBody3075496521100827658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_55_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/863f3b09ebcea62d284a64165e03e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6906373971290098611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_41_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/032dc86dd72882cde8209f9743a8dc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5211054416023794185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004263773,"filename":"image_30102025_04_00_32_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647523","file1":"1391647521","file0":"1391647519","file4":"1391647527","file5":"1391647530","file3":"1391647526"},"map_files_photo_id_array":[{"photo_id":"1391647530","filename":"file5"},{"photo_id":"1391647523","filename":"file2"},{"photo_id":"1391647527","filename":"file4"},{"photo_id":"1391647521","filename":"file1"},{"photo_id":"1391647519","filename":"file0"},{"photo_id":"1391647526","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647523":["hashtag1","hashtag2"]},{"1391647526":["hashtag1","hashtag2"]},{"1391647519":["hashtag1","hashtag2"]},{"1391647530":["hashtag1","hashtag2"]},{"1391647527":["hashtag1","hashtag2"]},{"1391647521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647523, 1391647526, 1391647519, 1391647530, 1391647527, 1391647521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16548228263855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:37:22.612940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_59_3664.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_03_4684.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_05_1698.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_08_2535.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_10_2763.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_13_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/00/image_30102025_04_00_59_3664.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_03_4684.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_05_1698.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_08_2535.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_10_2763.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_13_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647550","1391647555","1391647540","1391647543","1391647542","1391647545"],"photo_ids_order":["1391647540","1391647542","1391647543","1391647545","1391647550","1391647555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d944ccf26452fd83d180c0582ea60a9.jpg","text":"TemporaryFile(/tmp/multipartBody2945157662712765723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_01_10_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edfb9cde7fc972a39cacb427f6b42e62.jpg","text":"TemporaryFile(/tmp/multipartBody2208966057485769453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_01_13_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f74bcb8eca3c24e873df8250ed09f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody8339603949987807404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_00_59_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90f664bc20699dfe77882f0a5a575405.jpg","text":"TemporaryFile(/tmp/multipartBody6935481036721945955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_01_05_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0816fab1dc7846834dbfe2f2ae44bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8119008337332701489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_01_03_4684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc2b82d73cd518f2457473374a709697.jpg","text":"TemporaryFile(/tmp/multipartBody402243245093413918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004305597,"filename":"image_30102025_04_01_08_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647543","file1":"1391647542","file0":"1391647540","file4":"1391647550","file5":"1391647555","file3":"1391647545"},"map_files_photo_id_array":[{"photo_id":"1391647555","filename":"file5"},{"photo_id":"1391647543","filename":"file2"},{"photo_id":"1391647550","filename":"file4"},{"photo_id":"1391647542","filename":"file1"},{"photo_id":"1391647540","filename":"file0"},{"photo_id":"1391647545","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647550":["hashtag1","hashtag2"]},{"1391647555":["hashtag1","hashtag2"]},{"1391647540":["hashtag1","hashtag2"]},{"1391647543":["hashtag1","hashtag2"]},{"1391647542":["hashtag1","hashtag2"]},{"1391647545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647550, 1391647555, 1391647540, 1391647543, 1391647542, 1391647545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37469553947449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:38:03.176311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_17_3674.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_19_2662.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_26_3637.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_28_2545.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_35_3583.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_37_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_17_3674.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_19_2662.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_26_3637.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_28_2545.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_35_3583.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_37_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647580","1391647573","1391647575","1391647569","1391647578","1391647572"],"photo_ids_order":["1391647569","1391647572","1391647573","1391647575","1391647578","1391647580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7755d2bfe84e3e9c23e8a67e44ddb29.jpg","text":"TemporaryFile(/tmp/multipartBody4320687865446503757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f61234645e49d6b47f68c190267dc91e.jpg","text":"TemporaryFile(/tmp/multipartBody8591816132773989151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_26_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54542277a0e00199e5d7680332aa9362.jpg","text":"TemporaryFile(/tmp/multipartBody5901453785751774628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_28_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82ff7be7c5b8bf8ba2435bafe6cdbed2.jpg","text":"TemporaryFile(/tmp/multipartBody4313298972804324886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_17_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a74a94197f61d37648881813f1fec5e.jpg","text":"TemporaryFile(/tmp/multipartBody4910946219420014805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_35_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e96e345874c07de2119fc7643ad8ef3b.jpg","text":"TemporaryFile(/tmp/multipartBody141820497037327846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004345671,"filename":"image_30102025_04_01_19_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647573","file1":"1391647572","file0":"1391647569","file4":"1391647578","file5":"1391647580","file3":"1391647575"},"map_files_photo_id_array":[{"photo_id":"1391647580","filename":"file5"},{"photo_id":"1391647573","filename":"file2"},{"photo_id":"1391647578","filename":"file4"},{"photo_id":"1391647572","filename":"file1"},{"photo_id":"1391647569","filename":"file0"},{"photo_id":"1391647575","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647580":["hashtag1","hashtag2"]},{"1391647573":["hashtag1","hashtag2"]},{"1391647575":["hashtag1","hashtag2"]},{"1391647569":["hashtag1","hashtag2"]},{"1391647578":["hashtag1","hashtag2"]},{"1391647572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647580, 1391647573, 1391647575, 1391647569, 1391647578, 1391647572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23027276992798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:38:42.678188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_40_2686.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_44_3718.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_46_2518.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_49_2664.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_53_3696.jpg', '/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_55_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_40_2686.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_44_3718.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_46_2518.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_49_2664.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_53_3696.jpg
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_55_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647595","1391647604","1391647601","1391647591","1391647598","1391647602"],"photo_ids_order":["1391647591","1391647595","1391647598","1391647601","1391647602","1391647604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68353da517929e8308363d39d3e93962.jpg","text":"TemporaryFile(/tmp/multipartBody8348224584010109041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_44_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fb908650cc5ed2da71d862ad86c00f9.jpg","text":"TemporaryFile(/tmp/multipartBody3630637690597630968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_55_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7819f496537aadb058947c1b87d4841.jpg","text":"TemporaryFile(/tmp/multipartBody7056386613773309103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_49_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e52dde5890cb931cf0f23f756159a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3489895233386904454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_40_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/214d366c2968cb11e25c2e9826429e89.jpg","text":"TemporaryFile(/tmp/multipartBody2203845735325171034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_46_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38871fc2f457b69a331cc1cbf7095280.jpg","text":"TemporaryFile(/tmp/multipartBody6366405390376428885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004384113,"filename":"image_30102025_04_01_53_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647598","file1":"1391647595","file0":"1391647591","file4":"1391647602","file5":"1391647604","file3":"1391647601"},"map_files_photo_id_array":[{"photo_id":"1391647604","filename":"file5"},{"photo_id":"1391647598","filename":"file2"},{"photo_id":"1391647602","filename":"file4"},{"photo_id":"1391647595","filename":"file1"},{"photo_id":"1391647591","filename":"file0"},{"photo_id":"1391647601","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647595":["hashtag1","hashtag2"]},{"1391647604":["hashtag1","hashtag2"]},{"1391647601":["hashtag1","hashtag2"]},{"1391647591":["hashtag1","hashtag2"]},{"1391647598":["hashtag1","hashtag2"]},{"1391647602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647595, 1391647604, 1391647601, 1391647591, 1391647598, 1391647602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41066813468933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:39:21.870967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_58_2695.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_02_3647.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_04_2648.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_11_3712.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_18_6812.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_19_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/01/image_30102025_04_01_58_2695.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_02_3647.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_04_2648.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_11_3712.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_18_6812.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_19_1689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647622","1391647619","1391647610","1391647612","1391647629","1391647614"],"photo_ids_order":["1391647610","1391647612","1391647614","1391647619","1391647622","1391647629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b5b15ce6f618544f7e8298f199c0b24.jpg","text":"TemporaryFile(/tmp/multipartBody6718629299905290715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_02_18_6812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6529ee351f49dbf427a0d039df057a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2637726697709576745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_02_11_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ed77b540dfaed3dfe4403bca252464f.jpg","text":"TemporaryFile(/tmp/multipartBody5421125944397557410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_01_58_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/083cb5408b201533409725c56f4847c6.jpg","text":"TemporaryFile(/tmp/multipartBody1029120408006127123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_02_02_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e2784abdbb427cb968fb02dd911d355.jpg","text":"TemporaryFile(/tmp/multipartBody331716258544366690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_02_19_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c174c3cc2112a2ede8e36450493c653d.jpg","text":"TemporaryFile(/tmp/multipartBody8914032069838706261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004424849,"filename":"image_30102025_04_02_04_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647614","file1":"1391647612","file0":"1391647610","file4":"1391647622","file5":"1391647629","file3":"1391647619"},"map_files_photo_id_array":[{"photo_id":"1391647629","filename":"file5"},{"photo_id":"1391647614","filename":"file2"},{"photo_id":"1391647622","filename":"file4"},{"photo_id":"1391647612","filename":"file1"},{"photo_id":"1391647610","filename":"file0"},{"photo_id":"1391647619","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647622":["hashtag1","hashtag2"]},{"1391647619":["hashtag1","hashtag2"]},{"1391647610":["hashtag1","hashtag2"]},{"1391647612":["hashtag1","hashtag2"]},{"1391647629":["hashtag1","hashtag2"]},{"1391647614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647622, 1391647619, 1391647610, 1391647612, 1391647629, 1391647614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74547576904297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:40:04.761604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_23_1860.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_32_3622.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_34_2632.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_37_2653.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_41_3616.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_46_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_23_1860.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_32_3622.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_34_2632.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_37_2653.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_41_3616.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_46_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647649","1391647640","1391647643","1391647646","1391647639","1391647641"],"photo_ids_order":["1391647639","1391647640","1391647641","1391647643","1391647646","1391647649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c613e2f02e13c627494060edcfeaddc4.jpg","text":"TemporaryFile(/tmp/multipartBody5793399866950567658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_46_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/189b372b9f1df34209faa19f87d7b030.jpg","text":"TemporaryFile(/tmp/multipartBody2678692770237447918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_32_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5a9186a89060e72efadeb2c22c1e22c.jpg","text":"TemporaryFile(/tmp/multipartBody875176666555205390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_37_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/100a06a63dcb7e7b630c5f154f4281f6.jpg","text":"TemporaryFile(/tmp/multipartBody546816331219077554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_41_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fade3012414f9cd8a62c6548490018c.jpg","text":"TemporaryFile(/tmp/multipartBody2178737242857459571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_23_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4636da1d41f9c6def4cc128f9965cab.jpg","text":"TemporaryFile(/tmp/multipartBody4834446361467412145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004467172,"filename":"image_30102025_04_02_34_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647641","file1":"1391647640","file0":"1391647639","file4":"1391647646","file5":"1391647649","file3":"1391647643"},"map_files_photo_id_array":[{"photo_id":"1391647649","filename":"file5"},{"photo_id":"1391647641","filename":"file2"},{"photo_id":"1391647646","filename":"file4"},{"photo_id":"1391647640","filename":"file1"},{"photo_id":"1391647639","filename":"file0"},{"photo_id":"1391647643","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647649":["hashtag1","hashtag2"]},{"1391647640":["hashtag1","hashtag2"]},{"1391647643":["hashtag1","hashtag2"]},{"1391647646":["hashtag1","hashtag2"]},{"1391647639":["hashtag1","hashtag2"]},{"1391647641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647649, 1391647640, 1391647643, 1391647646, 1391647639, 1391647641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.901246547698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:40:44.289216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_50_3691.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_52_2555.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_55_2693.jpg', '/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_58_3524.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_01_2697.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_04_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_50_3691.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_52_2555.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_55_2693.jpg
/home/pi/Desktop/images/30102025/04/02/image_30102025_04_02_58_3524.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_01_2697.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_04_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647664","1391647672","1391647666","1391647669","1391647668","1391647662"],"photo_ids_order":["1391647662","1391647664","1391647666","1391647668","1391647669","1391647672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e669fe43b9478fbefbbd18af204694ba.jpg","text":"TemporaryFile(/tmp/multipartBody2675340039345650910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_02_52_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8090c88c0f6b89abfa25c1fcd79c7ce.jpg","text":"TemporaryFile(/tmp/multipartBody6454663604740670505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_03_04_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58c41fd46d79680b56c1d19236f9e1eb.jpg","text":"TemporaryFile(/tmp/multipartBody7203794030524043332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_02_55_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d52aed21606ad3f9d851c485f274b145.jpg","text":"TemporaryFile(/tmp/multipartBody851462437697405041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_03_01_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/106102fc6805b31fa8ad75b45fe20076.jpg","text":"TemporaryFile(/tmp/multipartBody6137660388734508515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_02_58_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffb2079a15a072c6c3848451a0699331.jpg","text":"TemporaryFile(/tmp/multipartBody5138167240066130860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004505649,"filename":"image_30102025_04_02_50_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647666","file1":"1391647664","file0":"1391647662","file4":"1391647669","file5":"1391647672","file3":"1391647668"},"map_files_photo_id_array":[{"photo_id":"1391647672","filename":"file5"},{"photo_id":"1391647666","filename":"file2"},{"photo_id":"1391647669","filename":"file4"},{"photo_id":"1391647664","filename":"file1"},{"photo_id":"1391647662","filename":"file0"},{"photo_id":"1391647668","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647664":["hashtag1","hashtag2"]},{"1391647672":["hashtag1","hashtag2"]},{"1391647666":["hashtag1","hashtag2"]},{"1391647669":["hashtag1","hashtag2"]},{"1391647668":["hashtag1","hashtag2"]},{"1391647662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647664, 1391647672, 1391647666, 1391647669, 1391647668, 1391647662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85219883918762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:41:22.477113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_07_3536.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_10_2533.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_13_3574.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_20_3662.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_22_2778.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_25_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_07_3536.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_10_2533.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_13_3574.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_20_3662.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_22_2778.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_25_2608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8877646923065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:41:43.415375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_07_3536.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_10_2533.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_13_3574.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_20_3662.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_22_2778.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_25_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_07_3536.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_10_2533.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_13_3574.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_20_3662.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_22_2778.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_25_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647693","1391647708","1391647711","1391647698","1391647704","1391647713"],"photo_ids_order":["1391647693","1391647698","1391647704","1391647708","1391647711","1391647713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3bf8913ea68adc4740cbe47bd141b33.jpg","text":"TemporaryFile(/tmp/multipartBody1013247173672756975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_07_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e00df73b1076b43d54e8b60026802a66.jpg","text":"TemporaryFile(/tmp/multipartBody3714087306705593155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_20_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2c8f5c74b9da5efc02ceac17c5b3863.jpg","text":"TemporaryFile(/tmp/multipartBody6001738271442935561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_22_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/005dd413ad9d933e33bac1656cfb088d.jpg","text":"TemporaryFile(/tmp/multipartBody46504343486498421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_10_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbad4f1eda690c17d62f4b70f1eac4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1976257460506505601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_13_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8fdf05791498b52fe66453fb3aa6dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody6731171295131853743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004564664,"filename":"image_30102025_04_03_25_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647704","file1":"1391647698","file0":"1391647693","file4":"1391647711","file5":"1391647713","file3":"1391647708"},"map_files_photo_id_array":[{"photo_id":"1391647713","filename":"file5"},{"photo_id":"1391647704","filename":"file2"},{"photo_id":"1391647711","filename":"file4"},{"photo_id":"1391647698","filename":"file1"},{"photo_id":"1391647693","filename":"file0"},{"photo_id":"1391647708","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647693":["hashtag1","hashtag2"]},{"1391647708":["hashtag1","hashtag2"]},{"1391647711":["hashtag1","hashtag2"]},{"1391647698":["hashtag1","hashtag2"]},{"1391647704":["hashtag1","hashtag2"]},{"1391647713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647693, 1391647708, 1391647711, 1391647698, 1391647704, 1391647713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10123157501221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:42:22.537923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_35_7370.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_37_1547.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_38_1633.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_40_1598.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_46_2757.jpg', '/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_49_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_35_7370.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_37_1547.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_38_1633.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_40_1598.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_46_2757.jpg
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_49_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647772","1391647775","1391647760","1391647768","1391647764","1391647758"],"photo_ids_order":["1391647758","1391647760","1391647764","1391647768","1391647772","1391647775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6037f3a779a77dc83838a272cabbd44.jpg","text":"TemporaryFile(/tmp/multipartBody4740511511507045412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_46_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/241b11cf8d87f1d987da6b8b41fe1569.jpg","text":"TemporaryFile(/tmp/multipartBody7298407924198586139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_49_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98ad5348ed6859767091e1aed326d6ba.jpg","text":"TemporaryFile(/tmp/multipartBody631047978675408296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_37_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ddb0cefd00a0e5f755b36adef9b22a6.jpg","text":"TemporaryFile(/tmp/multipartBody7305555772876847295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_40_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bc50f7a44582296ab206b029cc37ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5828621167867107306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_38_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/003d392faee674870b4f89c411137e2e.jpg","text":"TemporaryFile(/tmp/multipartBody189122496020867532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004605474,"filename":"image_30102025_04_03_35_7370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647764","file1":"1391647760","file0":"1391647758","file4":"1391647772","file5":"1391647775","file3":"1391647768"},"map_files_photo_id_array":[{"photo_id":"1391647775","filename":"file5"},{"photo_id":"1391647764","filename":"file2"},{"photo_id":"1391647772","filename":"file4"},{"photo_id":"1391647760","filename":"file1"},{"photo_id":"1391647758","filename":"file0"},{"photo_id":"1391647768","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647772":["hashtag1","hashtag2"]},{"1391647775":["hashtag1","hashtag2"]},{"1391647760":["hashtag1","hashtag2"]},{"1391647768":["hashtag1","hashtag2"]},{"1391647764":["hashtag1","hashtag2"]},{"1391647758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647772, 1391647775, 1391647760, 1391647768, 1391647764, 1391647758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.221694469451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:43:03.400603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_55_2581.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_01_2608.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_04_2668.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_07_3660.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_10_2594.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_14_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/03/image_30102025_04_03_55_2581.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_01_2608.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_04_2668.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_07_3660.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_10_2594.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_14_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391647931","1391647888","1391647846","1391647785","1391647804","1391647788"],"photo_ids_order":["1391647785","1391647788","1391647804","1391647846","1391647888","1391647931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a779c28270f0917f2811fbe2a328a592.jpg","text":"TemporaryFile(/tmp/multipartBody6303591241273499017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_04_14_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a37fd0c96238396724aeb45038c4601.jpg","text":"TemporaryFile(/tmp/multipartBody8773722605623643578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_04_10_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/335542a47c400c3939dc4c25d83403a9.jpg","text":"TemporaryFile(/tmp/multipartBody8921300435000417557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_04_07_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/751bc69558c14a10c46acf5810db2680.jpg","text":"TemporaryFile(/tmp/multipartBody6113057536700504135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_03_55_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0f96ef3734b54262653ed07e1a1676a.jpg","text":"TemporaryFile(/tmp/multipartBody2221317034167281630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_04_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6edbd0f7133cc986184c7b2624f3284.jpg","text":"TemporaryFile(/tmp/multipartBody7283695685974464479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004645875,"filename":"image_30102025_04_04_01_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391647804","file1":"1391647788","file0":"1391647785","file4":"1391647888","file5":"1391647931","file3":"1391647846"},"map_files_photo_id_array":[{"photo_id":"1391647931","filename":"file5"},{"photo_id":"1391647804","filename":"file2"},{"photo_id":"1391647888","filename":"file4"},{"photo_id":"1391647788","filename":"file1"},{"photo_id":"1391647785","filename":"file0"},{"photo_id":"1391647846","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391647931":["hashtag1","hashtag2"]},{"1391647888":["hashtag1","hashtag2"]},{"1391647846":["hashtag1","hashtag2"]},{"1391647785":["hashtag1","hashtag2"]},{"1391647804":["hashtag1","hashtag2"]},{"1391647788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391647931, 1391647888, 1391647846, 1391647785, 1391647804, 1391647788)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.66575860977173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:44:02.611028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_16_2588.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_19_2599.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_22_3583.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_25_2707.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_28_2542.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_31_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_16_2588.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_19_2599.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_22_3583.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_25_2707.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_28_2542.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_31_3797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648054","1391648018","1391648050","1391648058","1391648046","1391648061"],"photo_ids_order":["1391648018","1391648046","1391648050","1391648054","1391648058","1391648061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f40f7a293c3a7846a64c13ec41a72080.jpg","text":"TemporaryFile(/tmp/multipartBody3072652791385488583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_25_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61c6ea67123b0d6b0d092cee55376c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5984793031818541224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_16_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee41e87f8017bb3ec60240ebdc1dc5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3085039826218234408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_22_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e80592659822a62b540f451d4aa4d9e7.jpg","text":"TemporaryFile(/tmp/multipartBody104801818181579695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_28_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f26335b9cc27dcd45bffd37ac2134bf.jpg","text":"TemporaryFile(/tmp/multipartBody3883628873471016662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_19_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a60292d51d37f5cb291c78741d6da340.jpg","text":"TemporaryFile(/tmp/multipartBody8715352164302703280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004705191,"filename":"image_30102025_04_04_31_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648050","file1":"1391648046","file0":"1391648018","file4":"1391648058","file5":"1391648061","file3":"1391648054"},"map_files_photo_id_array":[{"photo_id":"1391648061","filename":"file5"},{"photo_id":"1391648050","filename":"file2"},{"photo_id":"1391648058","filename":"file4"},{"photo_id":"1391648046","filename":"file1"},{"photo_id":"1391648018","filename":"file0"},{"photo_id":"1391648054","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648054":["hashtag1","hashtag2"]},{"1391648018":["hashtag1","hashtag2"]},{"1391648050":["hashtag1","hashtag2"]},{"1391648058":["hashtag1","hashtag2"]},{"1391648046":["hashtag1","hashtag2"]},{"1391648061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648054, 1391648018, 1391648050, 1391648058, 1391648046, 1391648061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.343873500823975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:45:02.753566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_34_2734.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_37_2532.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_40_3730.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_46_2685.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_49_3629.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_52_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_34_2734.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_37_2532.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_40_3730.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_46_2685.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_49_3629.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_52_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648152","1391648158","1391648151","1391648154","1391648148","1391648156"],"photo_ids_order":["1391648148","1391648151","1391648152","1391648154","1391648156","1391648158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7422e6c5fa9fab59ecba464bf963ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1417922830931540842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_40_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16ac1e684839a1b9674e45be499288d8.jpg","text":"TemporaryFile(/tmp/multipartBody6927956516554734217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_52_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e780f3c0d3ca23187bc36b8634c3d987.jpg","text":"TemporaryFile(/tmp/multipartBody6480619127504391313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_37_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe8ce1b3f777fcd0141a970dd81b095a.jpg","text":"TemporaryFile(/tmp/multipartBody3093715717667844172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/137c4e7cac1d488c95d9d174addcd57f.jpg","text":"TemporaryFile(/tmp/multipartBody2636425238735282243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_34_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14351ae7345f4b1c124e698bf40eaf7c.jpg","text":"TemporaryFile(/tmp/multipartBody3119104458233513058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004765436,"filename":"image_30102025_04_04_49_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648152","file1":"1391648151","file0":"1391648148","file4":"1391648156","file5":"1391648158","file3":"1391648154"},"map_files_photo_id_array":[{"photo_id":"1391648158","filename":"file5"},{"photo_id":"1391648152","filename":"file2"},{"photo_id":"1391648156","filename":"file4"},{"photo_id":"1391648151","filename":"file1"},{"photo_id":"1391648148","filename":"file0"},{"photo_id":"1391648154","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648152":["hashtag1","hashtag2"]},{"1391648158":["hashtag1","hashtag2"]},{"1391648151":["hashtag1","hashtag2"]},{"1391648154":["hashtag1","hashtag2"]},{"1391648148":["hashtag1","hashtag2"]},{"1391648156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648152, 1391648158, 1391648151, 1391648154, 1391648148, 1391648156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52291655540466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:45:42.138908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_55_3617.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_58_2547.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_04_3547.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_07_2663.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_13_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_55_3617.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_58_2547.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_04_3547.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_07_2663.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_13_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648176","1391648184","1391648172","1391648186","1391648180","1391648183"],"photo_ids_order":["1391648172","1391648176","1391648180","1391648183","1391648184","1391648186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b428264602656b02abbc5d4735f39c6.jpg","text":"TemporaryFile(/tmp/multipartBody1284183099698633786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_04_58_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/122d6bab681ef11f41c0ec1001aaf5fe.jpg","text":"TemporaryFile(/tmp/multipartBody9150576505924623114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_05_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b12e132c296ccd9d3a54a9ecc8c04e5.jpg","text":"TemporaryFile(/tmp/multipartBody6948356555292892677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_04_55_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58ca9e14d4d947bd70d55d36b10c8ff0.jpg","text":"TemporaryFile(/tmp/multipartBody508198635096539948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_05_13_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3df30530406adc3da4f89212eeb4c9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3551476905781781515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_05_01_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f20c942a4392567d19d0fa44027a08a.jpg","text":"TemporaryFile(/tmp/multipartBody5612672510043918059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762004803495,"filename":"image_30102025_04_05_04_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648180","file1":"1391648176","file0":"1391648172","file4":"1391648184","file5":"1391648186","file3":"1391648183"},"map_files_photo_id_array":[{"photo_id":"1391648186","filename":"file5"},{"photo_id":"1391648180","filename":"file2"},{"photo_id":"1391648184","filename":"file4"},{"photo_id":"1391648176","filename":"file1"},{"photo_id":"1391648172","filename":"file0"},{"photo_id":"1391648183","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648176":["hashtag1","hashtag2"]},{"1391648184":["hashtag1","hashtag2"]},{"1391648172":["hashtag1","hashtag2"]},{"1391648186":["hashtag1","hashtag2"]},{"1391648180":["hashtag1","hashtag2"]},{"1391648183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648176, 1391648184, 1391648172, 1391648186, 1391648180, 1391648183)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391648180 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391648180 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg";
uploaded 6 photos
time to upload: 62.5207896232605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:47:12.030388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:47:31.378193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:47:51.248037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:48:14.826654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:48:55.311057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
2025-11-01 14:48:55.316966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:49:03.332226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:49:33.654204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:49:42.479197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:50:02.796782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-01 14:50:38.457029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:51:28.783696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:51:48.246466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-01 14:52:02.924890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-01 14:52:38.062615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:53:08.149948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_55_3617.jpg', '/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_58_2547.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_04_3547.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_07_2663.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_13_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_55_3617.jpg
/home/pi/Desktop/images/30102025/04/04/image_30102025_04_04_58_2547.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_01_2585.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_04_3547.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_07_2663.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_13_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648545","1391648536","1391648541","1391648538","1391648547","1391648534"],"photo_ids_order":["1391648534","1391648536","1391648538","1391648541","1391648545","1391648547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f0c55c064e5d01c436429e5cac989f9.jpg","text":"TemporaryFile(/tmp/multipartBody2158008325035902919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_05_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/242230c3d5e281cce8d5c53df8a464a2.jpg","text":"TemporaryFile(/tmp/multipartBody7673144675267340243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_04_58_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7fec5b52898ebd88cbf4b4983b88c88.jpg","text":"TemporaryFile(/tmp/multipartBody7958727275549001550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_05_04_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a5706c75fe45367308fa5c1578d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody294853874272243969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_05_01_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0c5af43d364452466b7fceceb34be8d.jpg","text":"TemporaryFile(/tmp/multipartBody8311508490847779487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_05_13_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb5974e1b858ef7c05c9d73f02a45dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2037350780000167706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005250332,"filename":"image_30102025_04_04_55_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648538","file1":"1391648536","file0":"1391648534","file4":"1391648545","file5":"1391648547","file3":"1391648541"},"map_files_photo_id_array":[{"photo_id":"1391648547","filename":"file5"},{"photo_id":"1391648538","filename":"file2"},{"photo_id":"1391648545","filename":"file4"},{"photo_id":"1391648536","filename":"file1"},{"photo_id":"1391648534","filename":"file0"},{"photo_id":"1391648541","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648545":["hashtag1","hashtag2"]},{"1391648536":["hashtag1","hashtag2"]},{"1391648541":["hashtag1","hashtag2"]},{"1391648538":["hashtag1","hashtag2"]},{"1391648547":["hashtag1","hashtag2"]},{"1391648534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648545, 1391648536, 1391648541, 1391648538, 1391648547, 1391648534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91237163543701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:53:47.530451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_16_2726.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_19_2587.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_25_2794.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_28_2621.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_31_3582.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_34_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_16_2726.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_19_2587.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_25_2794.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_28_2621.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_31_3582.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_34_2857.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2325797080993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:54:03.215030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_16_2726.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_19_2587.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_25_2794.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_28_2621.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_31_3582.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_34_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_16_2726.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_19_2587.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_25_2794.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_28_2621.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_31_3582.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_34_2857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648621","1391648671","1391648661","1391648681","1391648613","1391648648"],"photo_ids_order":["1391648613","1391648621","1391648648","1391648661","1391648671","1391648681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a3eff4f3fae7c7ceb7b3f89b6097c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8444519013086044922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_19_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38f4b2cc76e249640cbd93658ec9def7.jpg","text":"TemporaryFile(/tmp/multipartBody3546490478661154859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_31_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7793bd84cb65e4c4fd948c06dbbeaec7.jpg","text":"TemporaryFile(/tmp/multipartBody2223166637130623626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cac669eb2963fdc19731b6927b07f86.jpg","text":"TemporaryFile(/tmp/multipartBody6694118776509182514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_34_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4f90af346fad179149990ef65c3ca4a.jpg","text":"TemporaryFile(/tmp/multipartBody1994915193534258563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_16_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f253f379ef1ed0f66915ebde9f780e9.jpg","text":"TemporaryFile(/tmp/multipartBody3265880561831275943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005305366,"filename":"image_30102025_04_05_25_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648648","file1":"1391648621","file0":"1391648613","file4":"1391648671","file5":"1391648681","file3":"1391648661"},"map_files_photo_id_array":[{"photo_id":"1391648681","filename":"file5"},{"photo_id":"1391648648","filename":"file2"},{"photo_id":"1391648671","filename":"file4"},{"photo_id":"1391648621","filename":"file1"},{"photo_id":"1391648613","filename":"file0"},{"photo_id":"1391648661","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648621":["hashtag1","hashtag2"]},{"1391648671":["hashtag1","hashtag2"]},{"1391648661":["hashtag1","hashtag2"]},{"1391648681":["hashtag1","hashtag2"]},{"1391648613":["hashtag1","hashtag2"]},{"1391648648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648621, 1391648671, 1391648661, 1391648681, 1391648613, 1391648648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36640763282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:54:42.679778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_37_2635.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_40_3631.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_46_2814.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_49_2747.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_52_3570.jpg', '/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_55_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_37_2635.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_40_3631.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_46_2814.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_49_2747.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_52_3570.jpg
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_55_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648702","1391648695","1391648704","1391648699","1391648690","1391648687"],"photo_ids_order":["1391648687","1391648690","1391648695","1391648699","1391648702","1391648704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bb394ea8fcc1401bea53d72812e5e46.jpg","text":"TemporaryFile(/tmp/multipartBody3633458448905077751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_52_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4963d147754d14a105649d5ed70cbbfa.jpg","text":"TemporaryFile(/tmp/multipartBody6406208672131883104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_46_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f1909c39832af41610f9e26cd089620.jpg","text":"TemporaryFile(/tmp/multipartBody565390520929280505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_55_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/518f7a9a05eef6939d412e5ec471da8c.jpg","text":"TemporaryFile(/tmp/multipartBody620986694928168196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_49_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56319c9da27ed4f95b5e987674903abe.jpg","text":"TemporaryFile(/tmp/multipartBody3695794711920975884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_40_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c63354d92cbe5efbc9ef40f391a5e229.jpg","text":"TemporaryFile(/tmp/multipartBody7999621265010302427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005344002,"filename":"image_30102025_04_05_37_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648695","file1":"1391648690","file0":"1391648687","file4":"1391648702","file5":"1391648704","file3":"1391648699"},"map_files_photo_id_array":[{"photo_id":"1391648704","filename":"file5"},{"photo_id":"1391648695","filename":"file2"},{"photo_id":"1391648702","filename":"file4"},{"photo_id":"1391648690","filename":"file1"},{"photo_id":"1391648687","filename":"file0"},{"photo_id":"1391648699","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648702":["hashtag1","hashtag2"]},{"1391648695":["hashtag1","hashtag2"]},{"1391648704":["hashtag1","hashtag2"]},{"1391648699":["hashtag1","hashtag2"]},{"1391648690":["hashtag1","hashtag2"]},{"1391648687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648702, 1391648695, 1391648704, 1391648699, 1391648690, 1391648687)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.38459801673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 14:55:41.838627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_58_3590.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_01_2702.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_07_3614.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_10_2689.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_13_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_58_3590.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_01_2702.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_07_3614.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_10_2689.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_13_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648740","1391648743","1391648731","1391648759","1391648753","1391648726"],"photo_ids_order":["1391648726","1391648731","1391648740","1391648743","1391648753","1391648759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08ce2b7192d5b9783bf46f4a9caded7b.jpg","text":"TemporaryFile(/tmp/multipartBody1290157403293977680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_06_04_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad69e7e32734b8167209616a3e49dda4.jpg","text":"TemporaryFile(/tmp/multipartBody8215202569114798414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_06_07_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d84bda7d08a06d09faa765c6b111a75.jpg","text":"TemporaryFile(/tmp/multipartBody8580329203593450984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_06_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9b80e13a5bd7ba746b68a96511b2b1d.jpg","text":"TemporaryFile(/tmp/multipartBody509636256158589305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_06_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a93c6feb5ddb3ef4220942df5eaf0298.jpg","text":"TemporaryFile(/tmp/multipartBody5488916102660414520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_06_10_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e69043a2b7d54c346beb27e5009efc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7453004247465436644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005403123,"filename":"image_30102025_04_05_58_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648740","file1":"1391648731","file0":"1391648726","file4":"1391648753","file5":"1391648759","file3":"1391648743"},"map_files_photo_id_array":[{"photo_id":"1391648759","filename":"file5"},{"photo_id":"1391648740","filename":"file2"},{"photo_id":"1391648753","filename":"file4"},{"photo_id":"1391648731","filename":"file1"},{"photo_id":"1391648726","filename":"file0"},{"photo_id":"1391648743","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648740":["hashtag1","hashtag2"]},{"1391648743":["hashtag1","hashtag2"]},{"1391648731":["hashtag1","hashtag2"]},{"1391648759":["hashtag1","hashtag2"]},{"1391648753":["hashtag1","hashtag2"]},{"1391648726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648740, 1391648743, 1391648731, 1391648759, 1391648753, 1391648726)","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 = 1391648740 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391648740 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg";
uploaded 6 photos
time to upload: 61.27014183998108 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:57:16.584685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 14:57:28.740975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_58_3590.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_01_2702.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_07_3614.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_10_2689.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_13_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/05/image_30102025_04_05_58_3590.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_01_2702.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_04_2610.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_07_3614.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_10_2689.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_13_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648840","1391648909","1391648857","1391648862","1391648850","1391648853"],"photo_ids_order":["1391648840","1391648850","1391648853","1391648857","1391648862","1391648909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aaf6f0738053492ab70c755a4b253426.jpg","text":"TemporaryFile(/tmp/multipartBody1704869076248967443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_05_58_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42035ef7213d2730ed59505300080afe.jpg","text":"TemporaryFile(/tmp/multipartBody3329090644447461174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_06_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb56fe8222ea075eb6434493b6d20f40.jpg","text":"TemporaryFile(/tmp/multipartBody1138456237414295613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_06_07_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da8c0324554d0bc77ef45b437c372e81.jpg","text":"TemporaryFile(/tmp/multipartBody1935089331319158681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_06_10_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0f7e993b13313d81a65e06d69a3d64d.jpg","text":"TemporaryFile(/tmp/multipartBody3031743751818908172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_06_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bb0d39f2274e3541b2fc9a73fcfd553.jpg","text":"TemporaryFile(/tmp/multipartBody3130270361490969547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005511377,"filename":"image_30102025_04_06_04_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648853","file1":"1391648850","file0":"1391648840","file4":"1391648862","file5":"1391648909","file3":"1391648857"},"map_files_photo_id_array":[{"photo_id":"1391648909","filename":"file5"},{"photo_id":"1391648853","filename":"file2"},{"photo_id":"1391648862","filename":"file4"},{"photo_id":"1391648850","filename":"file1"},{"photo_id":"1391648840","filename":"file0"},{"photo_id":"1391648857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648840":["hashtag1","hashtag2"]},{"1391648909":["hashtag1","hashtag2"]},{"1391648857":["hashtag1","hashtag2"]},{"1391648862":["hashtag1","hashtag2"]},{"1391648850":["hashtag1","hashtag2"]},{"1391648853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648840, 1391648909, 1391648857, 1391648862, 1391648850, 1391648853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49216842651367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 14:59:10.684936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_16_2977.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_19_2784.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_22_3563.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_25_2728.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_27_2594.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_31_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_16_2977.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_19_2784.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_22_3563.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_25_2728.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_27_2594.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_31_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391648938","1391649054","1391649009","1391648934","1391648969","1391648939"],"photo_ids_order":["1391648934","1391648938","1391648939","1391648969","1391649009","1391649054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8726c4209329de176dead809bf079d21.jpg","text":"TemporaryFile(/tmp/multipartBody8948647131712806497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_19_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d01ec1a7ba7d74367797b4164050b27.jpg","text":"TemporaryFile(/tmp/multipartBody9027299985000736200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_31_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bba318d2ba40a1a71fcd57588d4c613.jpg","text":"TemporaryFile(/tmp/multipartBody73080947431662170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_27_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0007d89b832134ba47d5a43f97848f29.jpg","text":"TemporaryFile(/tmp/multipartBody3014443697743614019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_16_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dfe98a390c3cc7dffc8da7cbb1efbd5.jpg","text":"TemporaryFile(/tmp/multipartBody2779919835681075396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df3ef996eea6498b5fcda5d10afb38ca.jpg","text":"TemporaryFile(/tmp/multipartBody480601671501127763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005620336,"filename":"image_30102025_04_06_22_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391648939","file1":"1391648938","file0":"1391648934","file4":"1391649009","file5":"1391649054","file3":"1391648969"},"map_files_photo_id_array":[{"photo_id":"1391649054","filename":"file5"},{"photo_id":"1391648939","filename":"file2"},{"photo_id":"1391649009","filename":"file4"},{"photo_id":"1391648938","filename":"file1"},{"photo_id":"1391648934","filename":"file0"},{"photo_id":"1391648969","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391648938":["hashtag1","hashtag2"]},{"1391649054":["hashtag1","hashtag2"]},{"1391649009":["hashtag1","hashtag2"]},{"1391648934":["hashtag1","hashtag2"]},{"1391648969":["hashtag1","hashtag2"]},{"1391648939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391648938, 1391649054, 1391649009, 1391648934, 1391648969, 1391648939)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.77278518676758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:00:22.477048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_34_2666.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_37_3719.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_40_2702.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_43_2641.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_49_2592.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_52_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_34_2666.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_37_3719.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_40_2702.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_43_2641.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_49_2592.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_52_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391649901","1391650048","1391650135","1391649860","1391649941","1391649982"],"photo_ids_order":["1391649860","1391649901","1391649941","1391649982","1391650048","1391650135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1be3f1ec5174a95888440817a1302117.jpg","text":"TemporaryFile(/tmp/multipartBody2049544862389350383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_37_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/849ffe10c715e8bfbe49421f85b11f44.jpg","text":"TemporaryFile(/tmp/multipartBody2903227686945761267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_49_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95fb9e9eeb5604786c4ee1b4f5a03bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1303822689229573941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_52_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/425d13cac1f2aa44a44c550595641e6c.jpg","text":"TemporaryFile(/tmp/multipartBody593739259962710597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_34_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c6473b58d1608d515209eea2bee7577.jpg","text":"TemporaryFile(/tmp/multipartBody6313294453893251510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_40_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad5961f859761d933eb2c39a42596a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2474693672945904900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005709619,"filename":"image_30102025_04_06_43_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391649941","file1":"1391649901","file0":"1391649860","file4":"1391650048","file5":"1391650135","file3":"1391649982"},"map_files_photo_id_array":[{"photo_id":"1391650135","filename":"file5"},{"photo_id":"1391649941","filename":"file2"},{"photo_id":"1391650048","filename":"file4"},{"photo_id":"1391649901","filename":"file1"},{"photo_id":"1391649860","filename":"file0"},{"photo_id":"1391649982","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391649901":["hashtag1","hashtag2"]},{"1391650048":["hashtag1","hashtag2"]},{"1391650135":["hashtag1","hashtag2"]},{"1391649860":["hashtag1","hashtag2"]},{"1391649941":["hashtag1","hashtag2"]},{"1391649982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391649901, 1391650048, 1391650135, 1391649860, 1391649941, 1391649982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.41546177864075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:01:43.470017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_54_2810.jpg', '/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_58_3539.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_01_2828.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_03_2587.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_07_3741.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_10_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_54_2810.jpg
/home/pi/Desktop/images/30102025/04/06/image_30102025_04_06_58_3539.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_01_2828.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_03_2587.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_07_3741.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_10_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391650600","1391650639","1391650482","1391650491","1391650554","1391650509"],"photo_ids_order":["1391650482","1391650491","1391650509","1391650554","1391650600","1391650639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c207964dd6cb5714e29f8e13194ad4dd.jpg","text":"TemporaryFile(/tmp/multipartBody2504984513329602975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_07_07_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a931a2e6f2c6689a9e0c809fe2ffd725.jpg","text":"TemporaryFile(/tmp/multipartBody2521045537609236630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_07_10_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e03056dedeaa03c72fe9d825494e00b7.jpg","text":"TemporaryFile(/tmp/multipartBody7371037732629437977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_06_54_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54e936caa0d9876b4f1f560e7bd0ad73.jpg","text":"TemporaryFile(/tmp/multipartBody7170133888669277997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_06_58_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b3182cac18eaa987339e947e840e060.jpg","text":"TemporaryFile(/tmp/multipartBody8907034054919090424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_07_03_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/838a81da24d8a757619acabe158b7051.jpg","text":"TemporaryFile(/tmp/multipartBody6696092113198227805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005777273,"filename":"image_30102025_04_07_01_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391650509","file1":"1391650491","file0":"1391650482","file4":"1391650600","file5":"1391650639","file3":"1391650554"},"map_files_photo_id_array":[{"photo_id":"1391650639","filename":"file5"},{"photo_id":"1391650509","filename":"file2"},{"photo_id":"1391650600","filename":"file4"},{"photo_id":"1391650491","filename":"file1"},{"photo_id":"1391650482","filename":"file0"},{"photo_id":"1391650554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391650600":["hashtag1","hashtag2"]},{"1391650639":["hashtag1","hashtag2"]},{"1391650482":["hashtag1","hashtag2"]},{"1391650491":["hashtag1","hashtag2"]},{"1391650554":["hashtag1","hashtag2"]},{"1391650509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391650600, 1391650639, 1391650482, 1391650491, 1391650554, 1391650509)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.09206533432007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:03:09.109130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_12_2617.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_16_3618.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_19_2680.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_25_2758.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_28_2720.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_30_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_12_2617.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_16_3618.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_19_2680.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_25_2758.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_28_2720.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_30_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391651176","1391650984","1391651163","1391651096","1391651054","1391651185"],"photo_ids_order":["1391650984","1391651054","1391651096","1391651163","1391651176","1391651185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c99c26cdd1ddce81b3add1762ac9e24.jpg","text":"TemporaryFile(/tmp/multipartBody7360012494186068189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_28_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff96dbb9ac045e3d1f23fa08397df79f.jpg","text":"TemporaryFile(/tmp/multipartBody2157738869941081222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_12_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/081ffdcfcf6e4f951964b04ee769374d.jpg","text":"TemporaryFile(/tmp/multipartBody7811164847198497054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_25_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a37089ea6f34c935df02408f3934b411.jpg","text":"TemporaryFile(/tmp/multipartBody1362388733530072528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_19_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7abf8422a1b5e559e430f0ca6e5b433.jpg","text":"TemporaryFile(/tmp/multipartBody2156963410199387145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_16_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a774211c6177ad3814463fe3e953877a.jpg","text":"TemporaryFile(/tmp/multipartBody6564624121670199704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005902620,"filename":"image_30102025_04_07_30_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391651096","file1":"1391651054","file0":"1391650984","file4":"1391651176","file5":"1391651185","file3":"1391651163"},"map_files_photo_id_array":[{"photo_id":"1391651185","filename":"file5"},{"photo_id":"1391651096","filename":"file2"},{"photo_id":"1391651176","filename":"file4"},{"photo_id":"1391651054","filename":"file1"},{"photo_id":"1391650984","filename":"file0"},{"photo_id":"1391651163","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391651176":["hashtag1","hashtag2"]},{"1391650984":["hashtag1","hashtag2"]},{"1391651163":["hashtag1","hashtag2"]},{"1391651096":["hashtag1","hashtag2"]},{"1391651054":["hashtag1","hashtag2"]},{"1391651185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391651176, 1391650984, 1391651163, 1391651096, 1391651054, 1391651185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.31871509552002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:04:43.684187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_37_3621.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_39_2593.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_43_3660.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_46_2682.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_48_2588.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_52_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_37_3621.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_39_2593.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_43_3660.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_46_2682.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_48_2588.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_52_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391651440","1391651319","1391651400","1391651369","1391651324","1391651315"],"photo_ids_order":["1391651315","1391651319","1391651324","1391651369","1391651400","1391651440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c84c4c0f4ecd054ebfa25993980053d9.jpg","text":"TemporaryFile(/tmp/multipartBody5819524117177206478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_52_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1f4771148446b9c187b5ff600db6553.jpg","text":"TemporaryFile(/tmp/multipartBody2031821456740215872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_39_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fb40b6a4f1244467d96ef87563a7817.jpg","text":"TemporaryFile(/tmp/multipartBody4106963762426312123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_48_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c65c1064a4dfa22e3a48a903bcc9984a.jpg","text":"TemporaryFile(/tmp/multipartBody6992154476773228770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_46_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6f73545cc48131babfd3e5b119fe224.jpg","text":"TemporaryFile(/tmp/multipartBody4679586206217161175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_43_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f1c53a4fb784d28503b04824b3fa5c0.jpg","text":"TemporaryFile(/tmp/multipartBody1991854245773737837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762005945479,"filename":"image_30102025_04_07_37_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391651324","file1":"1391651319","file0":"1391651315","file4":"1391651400","file5":"1391651440","file3":"1391651369"},"map_files_photo_id_array":[{"photo_id":"1391651440","filename":"file5"},{"photo_id":"1391651324","filename":"file2"},{"photo_id":"1391651400","filename":"file4"},{"photo_id":"1391651319","filename":"file1"},{"photo_id":"1391651315","filename":"file0"},{"photo_id":"1391651369","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391651440":["hashtag1","hashtag2"]},{"1391651319":["hashtag1","hashtag2"]},{"1391651400":["hashtag1","hashtag2"]},{"1391651369":["hashtag1","hashtag2"]},{"1391651324":["hashtag1","hashtag2"]},{"1391651315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391651440, 1391651319, 1391651400, 1391651369, 1391651324, 1391651315)","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 = 1391651324 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_43_3660.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.0413498878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:06:03.140003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:06:22.716609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:06:43.255527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_55_2685.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_58_2868.jpg', '/home/pi/Desktop/images/30102025/04/07/image_30102025_04_08_00_2759.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_04_3666.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_07_2837.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_10_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_55_2685.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_07_58_2868.jpg
/home/pi/Desktop/images/30102025/04/07/image_30102025_04_08_00_2759.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_04_3666.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_07_2837.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_10_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391652214","1391652135","1391652095","1391652176","1391652256","1391652055"],"photo_ids_order":["1391652055","1391652095","1391652135","1391652176","1391652214","1391652256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d00ef89176c7a202e629ab9e5ef272ce.jpg","text":"TemporaryFile(/tmp/multipartBody3783726629053457861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_08_07_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3215f6098265e485b129c148f9004dda.jpg","text":"TemporaryFile(/tmp/multipartBody6614979703135489014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_08_00_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de3f2073d15a6e37f8a7a252f1994d14.jpg","text":"TemporaryFile(/tmp/multipartBody1774634310284149029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_07_58_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f524d099cd33f3a14c7e2a335de5ca7e.jpg","text":"TemporaryFile(/tmp/multipartBody7585257980571513742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_08_04_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/521bcba0a52b15c44061fa556226763c.jpg","text":"TemporaryFile(/tmp/multipartBody6845342649235178596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_08_10_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0eb6541104a92b25098f02eedd349bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1921969880993669290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006064487,"filename":"image_30102025_04_07_55_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391652135","file1":"1391652095","file0":"1391652055","file4":"1391652214","file5":"1391652256","file3":"1391652176"},"map_files_photo_id_array":[{"photo_id":"1391652256","filename":"file5"},{"photo_id":"1391652135","filename":"file2"},{"photo_id":"1391652214","filename":"file4"},{"photo_id":"1391652095","filename":"file1"},{"photo_id":"1391652055","filename":"file0"},{"photo_id":"1391652176","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391652214":["hashtag1","hashtag2"]},{"1391652135":["hashtag1","hashtag2"]},{"1391652095":["hashtag1","hashtag2"]},{"1391652176":["hashtag1","hashtag2"]},{"1391652256":["hashtag1","hashtag2"]},{"1391652055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391652214, 1391652135, 1391652095, 1391652176, 1391652256, 1391652055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44398593902588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:07:22.476520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_12_2519.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_16_3699.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_19_2679.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_22_3546.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_25_2677.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_27_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_12_2519.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_16_3699.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_19_2679.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_22_3546.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_25_2677.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_27_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391652502","1391652537","1391652464","1391652623","1391652422","1391652580"],"photo_ids_order":["1391652422","1391652464","1391652502","1391652537","1391652580","1391652623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ba2567d2d0d84ee9df23b55df0d8fbf.jpg","text":"TemporaryFile(/tmp/multipartBody286007127715947836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_19_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc22eaaafca3876e84f86deeb36011db.jpg","text":"TemporaryFile(/tmp/multipartBody4712499573214219009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_22_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e328177fee23df25bbbb09e57129743.jpg","text":"TemporaryFile(/tmp/multipartBody4251818738218925555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_16_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe7db5467bb60763e8eed5d602a06f1c.jpg","text":"TemporaryFile(/tmp/multipartBody72393666334667706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_27_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf3ca12992e82989c1f6715ea919a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody4406063922431161581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_12_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ced1c0f8b3c76f299fe53ebf4df38b0.jpg","text":"TemporaryFile(/tmp/multipartBody5326512791926575530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006104981,"filename":"image_30102025_04_08_25_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391652502","file1":"1391652464","file0":"1391652422","file4":"1391652580","file5":"1391652623","file3":"1391652537"},"map_files_photo_id_array":[{"photo_id":"1391652623","filename":"file5"},{"photo_id":"1391652502","filename":"file2"},{"photo_id":"1391652580","filename":"file4"},{"photo_id":"1391652464","filename":"file1"},{"photo_id":"1391652422","filename":"file0"},{"photo_id":"1391652537","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391652502":["hashtag1","hashtag2"]},{"1391652537":["hashtag1","hashtag2"]},{"1391652464":["hashtag1","hashtag2"]},{"1391652623":["hashtag1","hashtag2"]},{"1391652422":["hashtag1","hashtag2"]},{"1391652580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391652502, 1391652537, 1391652464, 1391652623, 1391652422, 1391652580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.896687507629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:08:03.163969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_31_3611.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_34_2632.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_36_2749.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_40_3155.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_47_7247.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_49_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_31_3611.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_34_2632.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_36_2749.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_40_3155.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_47_7247.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_49_1703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391652789","1391652876","1391652878","1391652866","1391652830","1391652874"],"photo_ids_order":["1391652789","1391652830","1391652866","1391652874","1391652876","1391652878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13081aea734dfc937cf010b67c8f55e8.jpg","text":"TemporaryFile(/tmp/multipartBody1431768901040479952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_31_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf9665acfa93194dd861610484253952.jpg","text":"TemporaryFile(/tmp/multipartBody8618230026960593122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_47_7247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaefb09f56501fc1c3f40ca42c3b8c02.jpg","text":"TemporaryFile(/tmp/multipartBody3432228300059808714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_49_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3955919dcd6ed9f33390ebfd1892d216.jpg","text":"TemporaryFile(/tmp/multipartBody8602918688175584209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_36_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2467f62e0838b7aeb2bc1d201aaeb4c.jpg","text":"TemporaryFile(/tmp/multipartBody8156388681850734504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_34_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3bea9b120cc785bb743a282f4d6a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody4674841076652960790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006145477,"filename":"image_30102025_04_08_40_3155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391652866","file1":"1391652830","file0":"1391652789","file4":"1391652876","file5":"1391652878","file3":"1391652874"},"map_files_photo_id_array":[{"photo_id":"1391652878","filename":"file5"},{"photo_id":"1391652866","filename":"file2"},{"photo_id":"1391652876","filename":"file4"},{"photo_id":"1391652830","filename":"file1"},{"photo_id":"1391652789","filename":"file0"},{"photo_id":"1391652874","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391652789":["hashtag1","hashtag2"]},{"1391652876":["hashtag1","hashtag2"]},{"1391652878":["hashtag1","hashtag2"]},{"1391652866":["hashtag1","hashtag2"]},{"1391652830":["hashtag1","hashtag2"]},{"1391652874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391652789, 1391652876, 1391652878, 1391652866, 1391652830, 1391652874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35837507247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:08:42.684755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_50_1511.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_52_1736.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_55_3082.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_58_2702.jpg', '/home/pi/Desktop/images/30102025/04/08/image_30102025_04_09_01_3499.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_04_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_50_1511.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_52_1736.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_55_3082.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_08_58_2702.jpg
/home/pi/Desktop/images/30102025/04/08/image_30102025_04_09_01_3499.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_04_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391652901","1391652904","1391652890","1391652902","1391652895","1391652898"],"photo_ids_order":["1391652890","1391652895","1391652898","1391652901","1391652902","1391652904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/452e47c6cb5467de70a0c3f9220f74e1.jpg","text":"TemporaryFile(/tmp/multipartBody8533425058063870794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_08_58_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7fda0c610510c73539f36b5f50f3194.jpg","text":"TemporaryFile(/tmp/multipartBody311548388967061550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_09_04_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34f711ec62c2863f5f238b2c6f901291.jpg","text":"TemporaryFile(/tmp/multipartBody854415806200027485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_08_50_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b91b47e38d55bd2e81581172802c8c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5373842140678825503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_09_01_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36997110ac88dcd6477b349b9e6a51d5.jpg","text":"TemporaryFile(/tmp/multipartBody6730995456084135030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_08_52_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/175c48b32913fa06bebb6a9128433140.jpg","text":"TemporaryFile(/tmp/multipartBody3952522100043996729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006184078,"filename":"image_30102025_04_08_55_3082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391652898","file1":"1391652895","file0":"1391652890","file4":"1391652902","file5":"1391652904","file3":"1391652901"},"map_files_photo_id_array":[{"photo_id":"1391652904","filename":"file5"},{"photo_id":"1391652898","filename":"file2"},{"photo_id":"1391652902","filename":"file4"},{"photo_id":"1391652895","filename":"file1"},{"photo_id":"1391652890","filename":"file0"},{"photo_id":"1391652901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391652901":["hashtag1","hashtag2"]},{"1391652904":["hashtag1","hashtag2"]},{"1391652890":["hashtag1","hashtag2"]},{"1391652902":["hashtag1","hashtag2"]},{"1391652895":["hashtag1","hashtag2"]},{"1391652898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391652901, 1391652904, 1391652890, 1391652902, 1391652895, 1391652898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08379077911377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:09:21.823456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_06_2548.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_10_3736.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_13_2643.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_15_2660.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_19_3778.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_22_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_06_2548.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_10_3736.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_13_2643.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_15_2660.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_19_3778.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_22_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391652936","1391653004","1391652962","1391652926","1391652931","1391652928"],"photo_ids_order":["1391652926","1391652928","1391652931","1391652936","1391652962","1391653004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b28be8ee5f5a6e327bb8197db36a9365.jpg","text":"TemporaryFile(/tmp/multipartBody1475057849736613608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_15_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce27b3f3f2c9f1ef7c05cb5bfbe17d59.jpg","text":"TemporaryFile(/tmp/multipartBody5209354772144666150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_22_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fec7b55caed4f5ec7034223b6a1ef2bb.jpg","text":"TemporaryFile(/tmp/multipartBody9088803242912001545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_19_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5536c337afd1ad29dd8491ac47b9421.jpg","text":"TemporaryFile(/tmp/multipartBody6165528552392721752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_06_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50776bf631dabc95d952e39c28b09d42.jpg","text":"TemporaryFile(/tmp/multipartBody6544415878403768984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_13_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ebc9ca52579e2c4a20d584c7fa1bb36.jpg","text":"TemporaryFile(/tmp/multipartBody3813771684758310639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006256351,"filename":"image_30102025_04_09_10_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391652931","file1":"1391652928","file0":"1391652926","file4":"1391652962","file5":"1391653004","file3":"1391652936"},"map_files_photo_id_array":[{"photo_id":"1391653004","filename":"file5"},{"photo_id":"1391652931","filename":"file2"},{"photo_id":"1391652962","filename":"file4"},{"photo_id":"1391652928","filename":"file1"},{"photo_id":"1391652926","filename":"file0"},{"photo_id":"1391652936","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391652936":["hashtag1","hashtag2"]},{"1391653004":["hashtag1","hashtag2"]},{"1391652962":["hashtag1","hashtag2"]},{"1391652926":["hashtag1","hashtag2"]},{"1391652931":["hashtag1","hashtag2"]},{"1391652928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391652936, 1391653004, 1391652962, 1391652926, 1391652931, 1391652928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.7327630519867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:10:41.820971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_24_2644.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_27_2773.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_31_3677.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_34_2749.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_36_2697.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_42_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_24_2644.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_27_2773.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_31_3677.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_34_2749.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_36_2697.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_42_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653344","1391653302","1391653469","1391653385","1391653424","1391653261"],"photo_ids_order":["1391653261","1391653302","1391653344","1391653385","1391653424","1391653469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46850fa27df5a2b2fbca7230ca02a237.jpg","text":"TemporaryFile(/tmp/multipartBody6788511174762947117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_31_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f40c3b4deb47ed60696802ff046f0139.jpg","text":"TemporaryFile(/tmp/multipartBody1711302226865292690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_27_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/652316cb985fd03eb6c63a83631ff07f.jpg","text":"TemporaryFile(/tmp/multipartBody8875496676494678193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_42_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66471892b12c5558eccc6d667b180c1a.jpg","text":"TemporaryFile(/tmp/multipartBody97234049409919798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_34_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68e70e9346e73237446e98ea968c4b55.jpg","text":"TemporaryFile(/tmp/multipartBody1131923634666411246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_36_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d2f1aa4b8a72e641b40d89eeff837ab.jpg","text":"TemporaryFile(/tmp/multipartBody1631462297173547419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006307282,"filename":"image_30102025_04_09_24_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653344","file1":"1391653302","file0":"1391653261","file4":"1391653424","file5":"1391653469","file3":"1391653385"},"map_files_photo_id_array":[{"photo_id":"1391653469","filename":"file5"},{"photo_id":"1391653344","filename":"file2"},{"photo_id":"1391653424","filename":"file4"},{"photo_id":"1391653302","filename":"file1"},{"photo_id":"1391653261","filename":"file0"},{"photo_id":"1391653385","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653344":["hashtag1","hashtag2"]},{"1391653302":["hashtag1","hashtag2"]},{"1391653469":["hashtag1","hashtag2"]},{"1391653385":["hashtag1","hashtag2"]},{"1391653424":["hashtag1","hashtag2"]},{"1391653261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653344, 1391653302, 1391653469, 1391653385, 1391653424, 1391653261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68457293510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:11:45.980207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_49_3583.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_51_2767.jpg', '/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_58_3709.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_01_2741.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_03_2687.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_06_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_49_3583.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_51_2767.jpg
/home/pi/Desktop/images/30102025/04/09/image_30102025_04_09_58_3709.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_01_2741.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_03_2687.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_06_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653691","1391653694","1391653687","1391653666","1391653654","1391653606"],"photo_ids_order":["1391653606","1391653654","1391653666","1391653687","1391653691","1391653694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/442ef4f4921f6868f1e671367d0257c8.jpg","text":"TemporaryFile(/tmp/multipartBody7218692041793627561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_10_03_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34b0098a73d983eca47b4d0eb8b29308.jpg","text":"TemporaryFile(/tmp/multipartBody3161099456799194609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_10_06_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68ce26ec1f910bc84c3967fafc18a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4337953963259389529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_10_01_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bb5f28ee7564aaa2c01fbb8e27432c9.jpg","text":"TemporaryFile(/tmp/multipartBody1838211517010927078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_09_58_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dff32a9c0671c385e5c5849c0a976fc.jpg","text":"TemporaryFile(/tmp/multipartBody25482415650678655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_09_51_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54c7308fe9b3d7413d385f027993ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody950586400256855324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006369774,"filename":"image_30102025_04_09_49_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653666","file1":"1391653654","file0":"1391653606","file4":"1391653691","file5":"1391653694","file3":"1391653687"},"map_files_photo_id_array":[{"photo_id":"1391653694","filename":"file5"},{"photo_id":"1391653666","filename":"file2"},{"photo_id":"1391653691","filename":"file4"},{"photo_id":"1391653654","filename":"file1"},{"photo_id":"1391653606","filename":"file0"},{"photo_id":"1391653687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653691":["hashtag1","hashtag2"]},{"1391653694":["hashtag1","hashtag2"]},{"1391653687":["hashtag1","hashtag2"]},{"1391653666":["hashtag1","hashtag2"]},{"1391653654":["hashtag1","hashtag2"]},{"1391653606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653691, 1391653694, 1391653687, 1391653666, 1391653654, 1391653606)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.57217049598694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:13:03.070798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:13:22.473271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_10_3739.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_15_2621.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_19_3629.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_21_2696.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_24_2589.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_31_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_10_3739.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_15_2621.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_19_3629.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_21_2696.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_24_2589.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_31_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653760","1391653754","1391653757","1391653762","1391653750","1391653752"],"photo_ids_order":["1391653750","1391653752","1391653754","1391653757","1391653760","1391653762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45e2fd0965c51db0bb15dba1ddddafe0.jpg","text":"TemporaryFile(/tmp/multipartBody70769561501219324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_24_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/252beadbd899d30c489ecf17b900ae75.jpg","text":"TemporaryFile(/tmp/multipartBody5317421950555652498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_19_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c284b4274caaf97362418bda2471553d.jpg","text":"TemporaryFile(/tmp/multipartBody4149947602271811386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_21_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1918780a617377d7227d08c66498978.jpg","text":"TemporaryFile(/tmp/multipartBody1420254838240631603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_31_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/422bc8b31ef3c860c870409f73a37d00.jpg","text":"TemporaryFile(/tmp/multipartBody1820231106155373703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_10_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3dd9802663b2b67c9ec51d739cd418c.jpg","text":"TemporaryFile(/tmp/multipartBody6602419907908267405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006465156,"filename":"image_30102025_04_10_15_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653754","file1":"1391653752","file0":"1391653750","file4":"1391653760","file5":"1391653762","file3":"1391653757"},"map_files_photo_id_array":[{"photo_id":"1391653762","filename":"file5"},{"photo_id":"1391653754","filename":"file2"},{"photo_id":"1391653760","filename":"file4"},{"photo_id":"1391653752","filename":"file1"},{"photo_id":"1391653750","filename":"file0"},{"photo_id":"1391653757","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653760":["hashtag1","hashtag2"]},{"1391653754":["hashtag1","hashtag2"]},{"1391653757":["hashtag1","hashtag2"]},{"1391653762":["hashtag1","hashtag2"]},{"1391653750":["hashtag1","hashtag2"]},{"1391653752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653760, 1391653754, 1391653757, 1391653762, 1391653750, 1391653752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88322710990906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:14:02.775498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_33_2669.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_37_3703.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_40_2728.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_42_2591.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_49_3618.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_54_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_33_2669.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_37_3703.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_40_2728.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_42_2591.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_49_3618.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_54_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653790","1391653793","1391653775","1391653780","1391653783","1391653786"],"photo_ids_order":["1391653775","1391653780","1391653783","1391653786","1391653790","1391653793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c6aa41cfc4eeeed313cccc8eb6a3421.jpg","text":"TemporaryFile(/tmp/multipartBody1620481264547311920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_49_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c508c528cb1aac95ba758ee89f742826.jpg","text":"TemporaryFile(/tmp/multipartBody5963131475460627372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_54_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d6600546749dfc4bd6d965a3d02637c.jpg","text":"TemporaryFile(/tmp/multipartBody6939591205841096237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_33_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/457693321ef77fd9dd4e70b461989c87.jpg","text":"TemporaryFile(/tmp/multipartBody3349373708963523736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_37_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b0e72daf71039489382a0c66425f39c.jpg","text":"TemporaryFile(/tmp/multipartBody315297575720249945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/feade18ea3e9f82f2327a720ecfe1286.jpg","text":"TemporaryFile(/tmp/multipartBody5173793323401538535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006505149,"filename":"image_30102025_04_10_42_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653783","file1":"1391653780","file0":"1391653775","file4":"1391653790","file5":"1391653793","file3":"1391653786"},"map_files_photo_id_array":[{"photo_id":"1391653793","filename":"file5"},{"photo_id":"1391653783","filename":"file2"},{"photo_id":"1391653790","filename":"file4"},{"photo_id":"1391653780","filename":"file1"},{"photo_id":"1391653775","filename":"file0"},{"photo_id":"1391653786","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653790":["hashtag1","hashtag2"]},{"1391653793":["hashtag1","hashtag2"]},{"1391653775":["hashtag1","hashtag2"]},{"1391653780":["hashtag1","hashtag2"]},{"1391653783":["hashtag1","hashtag2"]},{"1391653786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653790, 1391653793, 1391653775, 1391653780, 1391653783, 1391653786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85073757171631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:14:42.168153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_57_2827.jpg', '/home/pi/Desktop/images/30102025/04/10/image_30102025_04_11_01_3734.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_03_2651.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_06_2550.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_10_3712.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_12_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_10_57_2827.jpg
/home/pi/Desktop/images/30102025/04/10/image_30102025_04_11_01_3734.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_03_2651.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_06_2550.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_10_3712.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_12_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653821","1391653824","1391653827","1391653812","1391653808","1391653817"],"photo_ids_order":["1391653808","1391653812","1391653817","1391653821","1391653824","1391653827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a9929f55e6b6830ea2c686ae0af597f.jpg","text":"TemporaryFile(/tmp/multipartBody2066641847601071049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_11_06_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b00958e977c407b670df464324a084ed.jpg","text":"TemporaryFile(/tmp/multipartBody8668325970308538549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_11_10_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1514db201c3930b70245c809f244b3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4446571193241094379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_11_12_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ad1b1c58c4d47cc4eadd74448583eff.jpg","text":"TemporaryFile(/tmp/multipartBody2513863324732970064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_11_01_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ebc4ddcba878e76d03a20604c65ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody8374707998234102104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_10_57_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b1d201af3c2db1d8b365d8f67ecd6d5.jpg","text":"TemporaryFile(/tmp/multipartBody5609171833902381403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006543390,"filename":"image_30102025_04_11_03_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653817","file1":"1391653812","file0":"1391653808","file4":"1391653824","file5":"1391653827","file3":"1391653821"},"map_files_photo_id_array":[{"photo_id":"1391653827","filename":"file5"},{"photo_id":"1391653817","filename":"file2"},{"photo_id":"1391653824","filename":"file4"},{"photo_id":"1391653812","filename":"file1"},{"photo_id":"1391653808","filename":"file0"},{"photo_id":"1391653821","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653821":["hashtag1","hashtag2"]},{"1391653824":["hashtag1","hashtag2"]},{"1391653827":["hashtag1","hashtag2"]},{"1391653812":["hashtag1","hashtag2"]},{"1391653808":["hashtag1","hashtag2"]},{"1391653817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653821, 1391653824, 1391653827, 1391653812, 1391653808, 1391653817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48547029495239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:15:22.276947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_16_3544.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_19_2678.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_21_2585.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_25_3665.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_27_2552.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_30_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_16_3544.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_19_2678.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_21_2585.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_25_3665.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_27_2552.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_30_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653871","1391653874","1391653853","1391653884","1391653878","1391653887"],"photo_ids_order":["1391653853","1391653871","1391653874","1391653878","1391653884","1391653887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf0a694d9a9f62c5734fe9f7c146966b.jpg","text":"TemporaryFile(/tmp/multipartBody2977326480455843597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_19_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d37e8ec6359a360e9980fbf0018add0a.jpg","text":"TemporaryFile(/tmp/multipartBody7086708003712570107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_21_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f8830560a436bb0943e9e6fbcc11a93.jpg","text":"TemporaryFile(/tmp/multipartBody6160181502366662791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_16_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5363d5b8e47feeb8986b22d61d47ee70.jpg","text":"TemporaryFile(/tmp/multipartBody7115944134516999627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_27_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/171d8c87cfb23ec19779edade139f1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3932974412347805781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_25_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f026c14ce9ffa179791a4b33074859dd.jpg","text":"TemporaryFile(/tmp/multipartBody7751201223765804440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006585023,"filename":"image_30102025_04_11_30_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653874","file1":"1391653871","file0":"1391653853","file4":"1391653884","file5":"1391653887","file3":"1391653878"},"map_files_photo_id_array":[{"photo_id":"1391653887","filename":"file5"},{"photo_id":"1391653874","filename":"file2"},{"photo_id":"1391653884","filename":"file4"},{"photo_id":"1391653871","filename":"file1"},{"photo_id":"1391653853","filename":"file0"},{"photo_id":"1391653878","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653871":["hashtag1","hashtag2"]},{"1391653874":["hashtag1","hashtag2"]},{"1391653853":["hashtag1","hashtag2"]},{"1391653884":["hashtag1","hashtag2"]},{"1391653878":["hashtag1","hashtag2"]},{"1391653887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653871, 1391653874, 1391653853, 1391653884, 1391653878, 1391653887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3220853805542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:16:02.851445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_34_3676.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_36_2746.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_39_2645.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_43_3618.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_45_2683.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_48_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_34_3676.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_36_2746.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_39_2645.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_43_3618.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_45_2683.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_48_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391653937","1391653901","1391653910","1391653904","1391653912","1391653906"],"photo_ids_order":["1391653901","1391653904","1391653906","1391653910","1391653912","1391653937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4c396f9e043c1ee73edfd026e5be2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2069271634049969620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/214702b6c02b55dc033d3f2b3bb4b093.jpg","text":"TemporaryFile(/tmp/multipartBody2245280901972748774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_34_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/288764955614799a337a65cdc8d04b25.jpg","text":"TemporaryFile(/tmp/multipartBody1216958803418400549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_43_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/613cb0887f84bbcb8c07caa1138c4551.jpg","text":"TemporaryFile(/tmp/multipartBody9088897376238685719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_36_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/952bd58715bd4e888d410573f2cb2b51.jpg","text":"TemporaryFile(/tmp/multipartBody7078163517579888013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_45_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e12184a2412667715c6cdee50d115bc4.jpg","text":"TemporaryFile(/tmp/multipartBody511849665689224590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006625122,"filename":"image_30102025_04_11_39_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391653906","file1":"1391653904","file0":"1391653901","file4":"1391653912","file5":"1391653937","file3":"1391653910"},"map_files_photo_id_array":[{"photo_id":"1391653937","filename":"file5"},{"photo_id":"1391653906","filename":"file2"},{"photo_id":"1391653912","filename":"file4"},{"photo_id":"1391653904","filename":"file1"},{"photo_id":"1391653901","filename":"file0"},{"photo_id":"1391653910","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391653937":["hashtag1","hashtag2"]},{"1391653901":["hashtag1","hashtag2"]},{"1391653910":["hashtag1","hashtag2"]},{"1391653904":["hashtag1","hashtag2"]},{"1391653912":["hashtag1","hashtag2"]},{"1391653906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391653937, 1391653901, 1391653910, 1391653904, 1391653912, 1391653906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.787824869155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:16:42.583226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_52_3656.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_55_2809.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_57_2687.jpg', '/home/pi/Desktop/images/30102025/04/11/image_30102025_04_12_00_2677.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_04_3743.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_06_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_52_3656.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_55_2809.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_11_57_2687.jpg
/home/pi/Desktop/images/30102025/04/11/image_30102025_04_12_00_2677.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_04_3743.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_06_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654109","1391654100","1391654104","1391654107","1391654145","1391654088"],"photo_ids_order":["1391654088","1391654100","1391654104","1391654107","1391654109","1391654145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4627d5e152cffaa4c0fe27cd7a29d80b.jpg","text":"TemporaryFile(/tmp/multipartBody1287234033982772774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_12_04_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e816d99b87cbb678f1921237b6cdc2f3.jpg","text":"TemporaryFile(/tmp/multipartBody6489545291757306361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_11_55_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91d388ff205e6dbf2d07f4a41fd47648.jpg","text":"TemporaryFile(/tmp/multipartBody3169295885562893372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_11_57_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2eaa7bedfccd1a7c2b48991d54c29c71.jpg","text":"TemporaryFile(/tmp/multipartBody3385985399041371230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_12_00_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85a72f33f46adcec5b28012593453fdf.jpg","text":"TemporaryFile(/tmp/multipartBody9087497021660326592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_12_06_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67d248383298a6763072723613e5f6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3108030165446340775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006663861,"filename":"image_30102025_04_11_52_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654104","file1":"1391654100","file0":"1391654088","file4":"1391654109","file5":"1391654145","file3":"1391654107"},"map_files_photo_id_array":[{"photo_id":"1391654145","filename":"file5"},{"photo_id":"1391654104","filename":"file2"},{"photo_id":"1391654109","filename":"file4"},{"photo_id":"1391654100","filename":"file1"},{"photo_id":"1391654088","filename":"file0"},{"photo_id":"1391654107","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654109":["hashtag1","hashtag2"]},{"1391654100":["hashtag1","hashtag2"]},{"1391654104":["hashtag1","hashtag2"]},{"1391654107":["hashtag1","hashtag2"]},{"1391654145":["hashtag1","hashtag2"]},{"1391654088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654109, 1391654100, 1391654104, 1391654107, 1391654145, 1391654088)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.873952865600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:18:02.657730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:18:28.462630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_09_2743.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_13_3605.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_15_2905.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_18_2600.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_22_3655.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_24_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_09_2743.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_13_3605.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_15_2905.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_18_2600.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_22_3655.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_24_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654307","1391654301","1391654304","1391654318","1391654314","1391654311"],"photo_ids_order":["1391654301","1391654304","1391654307","1391654311","1391654314","1391654318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a3ffcc0877ecb0a5dab130b46b90d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4441095520720653099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_15_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/565833a733f0b9c069deeaacb3aa1b40.jpg","text":"TemporaryFile(/tmp/multipartBody1581796495108941130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_09_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec0286c0105be557532016ffd2e290e4.jpg","text":"TemporaryFile(/tmp/multipartBody4670712291021875098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_13_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/667db8e7746993cec4a9fafc49115e14.jpg","text":"TemporaryFile(/tmp/multipartBody1787069710155972755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_24_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7675c5e36bae1c66e330abbbbf62d013.jpg","text":"TemporaryFile(/tmp/multipartBody4228878775774239311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_22_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5f7ec4a2be517b729684f0ea8f2c86c.jpg","text":"TemporaryFile(/tmp/multipartBody3406511275376270368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006803918,"filename":"image_30102025_04_12_18_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654307","file1":"1391654304","file0":"1391654301","file4":"1391654314","file5":"1391654318","file3":"1391654311"},"map_files_photo_id_array":[{"photo_id":"1391654318","filename":"file5"},{"photo_id":"1391654307","filename":"file2"},{"photo_id":"1391654314","filename":"file4"},{"photo_id":"1391654304","filename":"file1"},{"photo_id":"1391654301","filename":"file0"},{"photo_id":"1391654311","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654307":["hashtag1","hashtag2"]},{"1391654301":["hashtag1","hashtag2"]},{"1391654304":["hashtag1","hashtag2"]},{"1391654318":["hashtag1","hashtag2"]},{"1391654314":["hashtag1","hashtag2"]},{"1391654311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654307, 1391654301, 1391654304, 1391654318, 1391654314, 1391654311)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 73.92272138595581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:20:10.746768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_27_2677.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_31_3575.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_33_2584.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_36_2763.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_40_3648.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_42_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_27_2677.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_31_3575.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_33_2584.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_36_2763.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_40_3648.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_42_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654362","1391654350","1391654344","1391654347","1391654356","1391654370"],"photo_ids_order":["1391654344","1391654347","1391654350","1391654356","1391654362","1391654370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9124244654ed9a5d9337aeb4d8d1855b.jpg","text":"TemporaryFile(/tmp/multipartBody4443276155501673792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_40_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1eeac7b61e5e1c62111bc1529f390db.jpg","text":"TemporaryFile(/tmp/multipartBody3990556416200570115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_33_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98d434c64921dcd71981142485a157eb.jpg","text":"TemporaryFile(/tmp/multipartBody4494674422886421522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_27_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b9eb0152a1dad844b33e349a30e680d.jpg","text":"TemporaryFile(/tmp/multipartBody9047054435810556904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_31_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fa402b1433cade3ccf4501628b33e18.jpg","text":"TemporaryFile(/tmp/multipartBody1555811809643246712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_36_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bb45a0f3acbba6f8d9aae48cb0874f2.jpg","text":"TemporaryFile(/tmp/multipartBody4769577768143676747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006884493,"filename":"image_30102025_04_12_42_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654350","file1":"1391654347","file0":"1391654344","file4":"1391654362","file5":"1391654370","file3":"1391654356"},"map_files_photo_id_array":[{"photo_id":"1391654370","filename":"file5"},{"photo_id":"1391654350","filename":"file2"},{"photo_id":"1391654362","filename":"file4"},{"photo_id":"1391654347","filename":"file1"},{"photo_id":"1391654344","filename":"file0"},{"photo_id":"1391654356","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654362":["hashtag1","hashtag2"]},{"1391654350":["hashtag1","hashtag2"]},{"1391654344":["hashtag1","hashtag2"]},{"1391654347":["hashtag1","hashtag2"]},{"1391654356":["hashtag1","hashtag2"]},{"1391654370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654362, 1391654350, 1391654344, 1391654347, 1391654356, 1391654370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.26642417907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:21:23.177846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_45_2746.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_50_4817.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_52_1699.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_57_2614.jpg', '/home/pi/Desktop/images/30102025/04/12/image_30102025_04_13_01_3694.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_03_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_45_2746.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_50_4817.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_52_1699.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_12_57_2614.jpg
/home/pi/Desktop/images/30102025/04/12/image_30102025_04_13_01_3694.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_03_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654411","1391654405","1391654408","1391654401","1391654394","1391654397"],"photo_ids_order":["1391654394","1391654397","1391654401","1391654405","1391654408","1391654411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e57bfe3dd2728b4cf972954282a744bc.jpg","text":"TemporaryFile(/tmp/multipartBody90419290908885794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_13_03_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c16ca441a32dec9f01a87d881518a00.jpg","text":"TemporaryFile(/tmp/multipartBody1527402251059953938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_12_57_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e42e20752e66cbed67da20ec1a8801f8.jpg","text":"TemporaryFile(/tmp/multipartBody3354055026837106350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_13_01_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ef57faea3286b37026321a5155f3da4.jpg","text":"TemporaryFile(/tmp/multipartBody4972964512164282932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_12_52_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24c9544326b64a28d177c11a8660b171.jpg","text":"TemporaryFile(/tmp/multipartBody3576896285534543749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_12_45_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de42e3c466ae6e51bc0c18c2acdd1335.jpg","text":"TemporaryFile(/tmp/multipartBody6992936516807369561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762006956127,"filename":"image_30102025_04_12_50_4817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654401","file1":"1391654397","file0":"1391654394","file4":"1391654408","file5":"1391654411","file3":"1391654405"},"map_files_photo_id_array":[{"photo_id":"1391654411","filename":"file5"},{"photo_id":"1391654401","filename":"file2"},{"photo_id":"1391654408","filename":"file4"},{"photo_id":"1391654397","filename":"file1"},{"photo_id":"1391654394","filename":"file0"},{"photo_id":"1391654405","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654411":["hashtag1","hashtag2"]},{"1391654405":["hashtag1","hashtag2"]},{"1391654408":["hashtag1","hashtag2"]},{"1391654401":["hashtag1","hashtag2"]},{"1391654394":["hashtag1","hashtag2"]},{"1391654397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654411, 1391654405, 1391654408, 1391654401, 1391654394, 1391654397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23756408691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:22:22.372826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_06_2641.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_09_3558.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_12_2611.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_15_2684.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_21_2795.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_24_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_06_2641.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_09_3558.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_12_2611.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_15_2684.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_21_2795.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_24_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654427","1391654447","1391654432","1391654440","1391654436","1391654430"],"photo_ids_order":["1391654427","1391654430","1391654432","1391654436","1391654440","1391654447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/510ef92dc670b1fb6929c38cb55c7900.jpg","text":"TemporaryFile(/tmp/multipartBody7242897952321252869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_06_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dc87a3548269d3e66770bd9363c2d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3117947138732348124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_24_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/399d1d3cc565f431f0849c7fb7785b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8287329273736425346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_12_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ed54ae980aba865a460733c783269b1.jpg","text":"TemporaryFile(/tmp/multipartBody561965040632722656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_21_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/822e32dd00e5a405d92d8e585c5a68d7.jpg","text":"TemporaryFile(/tmp/multipartBody3965851419509247450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_15_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6ba0401b3f18d2b5488f720453428c5.jpg","text":"TemporaryFile(/tmp/multipartBody6012053061575961160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007005200,"filename":"image_30102025_04_13_09_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654432","file1":"1391654430","file0":"1391654427","file4":"1391654440","file5":"1391654447","file3":"1391654436"},"map_files_photo_id_array":[{"photo_id":"1391654447","filename":"file5"},{"photo_id":"1391654432","filename":"file2"},{"photo_id":"1391654440","filename":"file4"},{"photo_id":"1391654430","filename":"file1"},{"photo_id":"1391654427","filename":"file0"},{"photo_id":"1391654436","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654427":["hashtag1","hashtag2"]},{"1391654447":["hashtag1","hashtag2"]},{"1391654432":["hashtag1","hashtag2"]},{"1391654440":["hashtag1","hashtag2"]},{"1391654436":["hashtag1","hashtag2"]},{"1391654430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654427, 1391654447, 1391654432, 1391654440, 1391654436, 1391654430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74501132965088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:23:03.303038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_28_3695.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_30_2786.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_33_2658.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_37_3630.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_39_2672.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_42_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_28_3695.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_30_2786.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_33_2658.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_37_3630.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_39_2672.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_42_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654468","1391654456","1391654479","1391654470","1391654466","1391654475"],"photo_ids_order":["1391654456","1391654466","1391654468","1391654470","1391654475","1391654479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75fbcfaa1359c5ab47da33f61d9da3a5.jpg","text":"TemporaryFile(/tmp/multipartBody2004305289400516377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_33_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2f71580ffc2435c50866682f1af422d.jpg","text":"TemporaryFile(/tmp/multipartBody7903018442108429773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_28_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/350cb78f2e99a18b13579415803e6e24.jpg","text":"TemporaryFile(/tmp/multipartBody5810580256723611869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_42_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cc2fb22a64f1b65570799a0232f50c6.jpg","text":"TemporaryFile(/tmp/multipartBody824279755677173554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_37_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9908e07911c19458e094a7023ead9692.jpg","text":"TemporaryFile(/tmp/multipartBody2528302835723998874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_30_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/894e80c87df67c95721f7c0b109b4730.jpg","text":"TemporaryFile(/tmp/multipartBody2604703142295377255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007045610,"filename":"image_30102025_04_13_39_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654468","file1":"1391654466","file0":"1391654456","file4":"1391654475","file5":"1391654479","file3":"1391654470"},"map_files_photo_id_array":[{"photo_id":"1391654479","filename":"file5"},{"photo_id":"1391654468","filename":"file2"},{"photo_id":"1391654475","filename":"file4"},{"photo_id":"1391654466","filename":"file1"},{"photo_id":"1391654456","filename":"file0"},{"photo_id":"1391654470","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654468":["hashtag1","hashtag2"]},{"1391654456":["hashtag1","hashtag2"]},{"1391654479":["hashtag1","hashtag2"]},{"1391654470":["hashtag1","hashtag2"]},{"1391654466":["hashtag1","hashtag2"]},{"1391654475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654468, 1391654456, 1391654479, 1391654470, 1391654466, 1391654475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.601402759552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:23:42.655549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_46_3694.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_48_2771.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_51_2768.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_54_2754.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_57_2733.jpg', '/home/pi/Desktop/images/30102025/04/13/image_30102025_04_14_00_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_46_3694.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_48_2771.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_51_2768.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_54_2754.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_13_57_2733.jpg
/home/pi/Desktop/images/30102025/04/13/image_30102025_04_14_00_3767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654594","1391654558","1391654573","1391654598","1391654595","1391654568"],"photo_ids_order":["1391654558","1391654568","1391654573","1391654594","1391654595","1391654598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acd2f2a5f80ad286aee7922d5a459eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3293025456627851216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_13_54_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c6408d79c43f95e023299bf61797f43.jpg","text":"TemporaryFile(/tmp/multipartBody8760670308772762097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_13_46_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/156943bbeb580d95d167fccce682f39e.jpg","text":"TemporaryFile(/tmp/multipartBody5443163540144871071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_13_51_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6586348f540dc14ee67f29004898997.jpg","text":"TemporaryFile(/tmp/multipartBody958954680519736264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_14_00_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37f3902edd52b8ae06e5b1dd35b459b9.jpg","text":"TemporaryFile(/tmp/multipartBody5541692307565196775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_13_57_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a03195193aadb60ba4c82a65c411d61f.jpg","text":"TemporaryFile(/tmp/multipartBody5354559146361448029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007083960,"filename":"image_30102025_04_13_48_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654573","file1":"1391654568","file0":"1391654558","file4":"1391654595","file5":"1391654598","file3":"1391654594"},"map_files_photo_id_array":[{"photo_id":"1391654598","filename":"file5"},{"photo_id":"1391654573","filename":"file2"},{"photo_id":"1391654595","filename":"file4"},{"photo_id":"1391654568","filename":"file1"},{"photo_id":"1391654558","filename":"file0"},{"photo_id":"1391654594","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654594":["hashtag1","hashtag2"]},{"1391654558":["hashtag1","hashtag2"]},{"1391654573":["hashtag1","hashtag2"]},{"1391654598":["hashtag1","hashtag2"]},{"1391654595":["hashtag1","hashtag2"]},{"1391654568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654594, 1391654558, 1391654573, 1391654598, 1391654595, 1391654568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.447261095047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:24:21.826002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_03_2693.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_06_2758.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_09_2797.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_12_3785.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_15_2636.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_18_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_03_2693.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_06_2758.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_09_2797.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_12_3785.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_15_2636.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_18_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654610","1391654607","1391654618","1391654611","1391654614","1391654622"],"photo_ids_order":["1391654607","1391654610","1391654611","1391654614","1391654618","1391654622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae8f0eb2152c17029ca0d5d0bf35f034.jpg","text":"TemporaryFile(/tmp/multipartBody1087701106738293720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_06_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a45a42397301a73a21c547369acaedac.jpg","text":"TemporaryFile(/tmp/multipartBody7802128162116831919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_03_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4e379622565c1295909ee5e2132a6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7617847449274211817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_15_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dbea114188783c742a15fa8bff3c759.jpg","text":"TemporaryFile(/tmp/multipartBody3719818027180824424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_09_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dc14705f29609052abb6a1b958a4bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2377350268759992238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_12_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03f3d6428b0cc86c8e6055e1238b9b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6411451281236215605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007124574,"filename":"image_30102025_04_14_18_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654611","file1":"1391654610","file0":"1391654607","file4":"1391654618","file5":"1391654622","file3":"1391654614"},"map_files_photo_id_array":[{"photo_id":"1391654622","filename":"file5"},{"photo_id":"1391654611","filename":"file2"},{"photo_id":"1391654618","filename":"file4"},{"photo_id":"1391654610","filename":"file1"},{"photo_id":"1391654607","filename":"file0"},{"photo_id":"1391654614","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654610":["hashtag1","hashtag2"]},{"1391654607":["hashtag1","hashtag2"]},{"1391654618":["hashtag1","hashtag2"]},{"1391654611":["hashtag1","hashtag2"]},{"1391654614":["hashtag1","hashtag2"]},{"1391654622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654610, 1391654607, 1391654618, 1391654611, 1391654614, 1391654622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.436763286590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:25:02.693980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_21_3656.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_29_8016.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_31_1574.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_33_1588.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_34_1587.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_36_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_21_3656.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_29_8016.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_31_1574.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_33_1588.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_34_1587.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_36_1609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654631","1391654639","1391654633","1391654642","1391654635","1391654632"],"photo_ids_order":["1391654631","1391654632","1391654633","1391654635","1391654639","1391654642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01a4916bcfbdcb3a0ca88120adf68c18.jpg","text":"TemporaryFile(/tmp/multipartBody7201944373389196600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_21_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f62d3259ff7c98c5803074a3cfdfe1a2.jpg","text":"TemporaryFile(/tmp/multipartBody8797037789304599096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_34_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b884419d6aa299edd475fbca2a8967b.jpg","text":"TemporaryFile(/tmp/multipartBody1821206354153534557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_31_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12a8fc31e7488011c0cac2859c9be220.jpg","text":"TemporaryFile(/tmp/multipartBody9017924125876955403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_36_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b316180b8aead77da29a083f0d43658.jpg","text":"TemporaryFile(/tmp/multipartBody1877206015863013703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_33_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b03250cbe22b1b3482d3e539130a891.jpg","text":"TemporaryFile(/tmp/multipartBody4861530633716225665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007165041,"filename":"image_30102025_04_14_29_8016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654633","file1":"1391654632","file0":"1391654631","file4":"1391654639","file5":"1391654642","file3":"1391654635"},"map_files_photo_id_array":[{"photo_id":"1391654642","filename":"file5"},{"photo_id":"1391654633","filename":"file2"},{"photo_id":"1391654639","filename":"file4"},{"photo_id":"1391654632","filename":"file1"},{"photo_id":"1391654631","filename":"file0"},{"photo_id":"1391654635","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654631":["hashtag1","hashtag2"]},{"1391654639":["hashtag1","hashtag2"]},{"1391654633":["hashtag1","hashtag2"]},{"1391654642":["hashtag1","hashtag2"]},{"1391654635":["hashtag1","hashtag2"]},{"1391654632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654631, 1391654639, 1391654633, 1391654642, 1391654635, 1391654632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.036142349243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:25:42.145775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_39_3689.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_42_2669.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_45_2633.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_48_3687.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_51_2735.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_54_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_39_3689.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_42_2669.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_45_2633.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_48_3687.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_51_2735.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_54_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654718","1391654681","1391654677","1391654722","1391654679","1391654673"],"photo_ids_order":["1391654673","1391654677","1391654679","1391654681","1391654718","1391654722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d17d5f1d9e36079c76767cf7bfa92765.jpg","text":"TemporaryFile(/tmp/multipartBody1758112010544528645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_51_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/940e14d1c71e284b24c383a84c34cf60.jpg","text":"TemporaryFile(/tmp/multipartBody1206279090357306722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_48_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b75b5909f2f64fc22f96d58e043f5b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3431267613540845017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/469f4cab088c8ec203155860942b152c.jpg","text":"TemporaryFile(/tmp/multipartBody8435180776114516950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_54_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9ad87eff11a9b118580c7c610f5841f.jpg","text":"TemporaryFile(/tmp/multipartBody5741976046267535176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_45_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/325e5605bba72ca753a6125e194fca29.jpg","text":"TemporaryFile(/tmp/multipartBody8346269304772037725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007203433,"filename":"image_30102025_04_14_39_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654679","file1":"1391654677","file0":"1391654673","file4":"1391654718","file5":"1391654722","file3":"1391654681"},"map_files_photo_id_array":[{"photo_id":"1391654722","filename":"file5"},{"photo_id":"1391654679","filename":"file2"},{"photo_id":"1391654718","filename":"file4"},{"photo_id":"1391654677","filename":"file1"},{"photo_id":"1391654673","filename":"file0"},{"photo_id":"1391654681","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654718":["hashtag1","hashtag2"]},{"1391654681":["hashtag1","hashtag2"]},{"1391654677":["hashtag1","hashtag2"]},{"1391654722":["hashtag1","hashtag2"]},{"1391654679":["hashtag1","hashtag2"]},{"1391654673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654718, 1391654681, 1391654677, 1391654722, 1391654679, 1391654673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.731969118118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:26:22.340195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_57_3598.jpg', '/home/pi/Desktop/images/30102025/04/14/image_30102025_04_15_00_2799.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_03_2307.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_06_3851.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_09_2695.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_12_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_14_57_3598.jpg
/home/pi/Desktop/images/30102025/04/14/image_30102025_04_15_00_2799.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_03_2307.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_06_3851.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_09_2695.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_12_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654739","1391654744","1391654735","1391654734","1391654737","1391654731"],"photo_ids_order":["1391654731","1391654734","1391654735","1391654737","1391654739","1391654744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f09967a09e7c5f49e2e50056d8f1389f.jpg","text":"TemporaryFile(/tmp/multipartBody211716249558072423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_15_09_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc9dec1de89003590ad582d0041a0991.jpg","text":"TemporaryFile(/tmp/multipartBody5762932325141506086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_15_12_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99956d344d2c9923c6de0929700eeaf8.jpg","text":"TemporaryFile(/tmp/multipartBody4605106101227140000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_15_03_2307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b04bfd94ace589e312caaa7b666c6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4199918614649356411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_15_00_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34a579a103ba01dcc51ed986261a82f5.jpg","text":"TemporaryFile(/tmp/multipartBody8197103991152228010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_15_06_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f9f551d4854ee59c7a890c6aea5c0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7542671177477988290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007245081,"filename":"image_30102025_04_14_57_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654735","file1":"1391654734","file0":"1391654731","file4":"1391654739","file5":"1391654744","file3":"1391654737"},"map_files_photo_id_array":[{"photo_id":"1391654744","filename":"file5"},{"photo_id":"1391654735","filename":"file2"},{"photo_id":"1391654739","filename":"file4"},{"photo_id":"1391654734","filename":"file1"},{"photo_id":"1391654731","filename":"file0"},{"photo_id":"1391654737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654739":["hashtag1","hashtag2"]},{"1391654744":["hashtag1","hashtag2"]},{"1391654735":["hashtag1","hashtag2"]},{"1391654734":["hashtag1","hashtag2"]},{"1391654737":["hashtag1","hashtag2"]},{"1391654731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654739, 1391654744, 1391654735, 1391654734, 1391654737, 1391654731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.469430685043335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:27:03.243355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_15_2720.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_18_3712.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_21_2635.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_27_3607.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_30_2542.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_36_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_15_2720.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_18_3712.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_21_2635.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_27_3607.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_30_2542.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_36_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654765","1391654767","1391654763","1391654772","1391654769","1391654760"],"photo_ids_order":["1391654760","1391654763","1391654765","1391654767","1391654769","1391654772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/752b3f56c684c6e205af52e59996fe07.jpg","text":"TemporaryFile(/tmp/multipartBody6994675717496951804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_21_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13a13a48019dcf37ea35f8051000479a.jpg","text":"TemporaryFile(/tmp/multipartBody6569019483564529636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_27_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce8823840206095dce7a94f21296f8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4483455314919428532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_18_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7881d087bf51ec1c139b52393e3b338.jpg","text":"TemporaryFile(/tmp/multipartBody152205527282285661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_36_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6247763031f4370cd24ef3c588f9b080.jpg","text":"TemporaryFile(/tmp/multipartBody1738188054378981838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_30_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/635fb80d3bd1633aa849400afb339b74.jpg","text":"TemporaryFile(/tmp/multipartBody2987167918901325573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007285548,"filename":"image_30102025_04_15_15_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654765","file1":"1391654763","file0":"1391654760","file4":"1391654769","file5":"1391654772","file3":"1391654767"},"map_files_photo_id_array":[{"photo_id":"1391654772","filename":"file5"},{"photo_id":"1391654765","filename":"file2"},{"photo_id":"1391654769","filename":"file4"},{"photo_id":"1391654763","filename":"file1"},{"photo_id":"1391654760","filename":"file0"},{"photo_id":"1391654767","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654765":["hashtag1","hashtag2"]},{"1391654767":["hashtag1","hashtag2"]},{"1391654763":["hashtag1","hashtag2"]},{"1391654772":["hashtag1","hashtag2"]},{"1391654769":["hashtag1","hashtag2"]},{"1391654760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654765, 1391654767, 1391654763, 1391654772, 1391654769, 1391654760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23698544502258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:27:42.492278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_39_2648.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_42_3643.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_45_2821.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_48_2717.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_51_2618.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_54_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_39_2648.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_42_3643.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_45_2821.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_48_2717.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_51_2618.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_54_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654792","1391654786","1391654789","1391654797","1391654794","1391654782"],"photo_ids_order":["1391654782","1391654786","1391654789","1391654792","1391654794","1391654797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9839651dc54c42bd1794f50f3eeeb82e.jpg","text":"TemporaryFile(/tmp/multipartBody312170536093418533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_48_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d0c71d3e27f8941f5a9435ad180a336.jpg","text":"TemporaryFile(/tmp/multipartBody2728830859012688506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_42_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ebcef182fe71f4cd893ec8526840182.jpg","text":"TemporaryFile(/tmp/multipartBody8123407181779256294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_45_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9790c4192adc05327761be65e67325c.jpg","text":"TemporaryFile(/tmp/multipartBody6093586970768577751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_54_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb049368a1a1bc572a3d148f119c7d15.jpg","text":"TemporaryFile(/tmp/multipartBody8884286847848912919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_51_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6363e8426efb066e1766d186c4f4bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody5361685271586599227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007323776,"filename":"image_30102025_04_15_39_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654789","file1":"1391654786","file0":"1391654782","file4":"1391654794","file5":"1391654797","file3":"1391654792"},"map_files_photo_id_array":[{"photo_id":"1391654797","filename":"file5"},{"photo_id":"1391654789","filename":"file2"},{"photo_id":"1391654794","filename":"file4"},{"photo_id":"1391654786","filename":"file1"},{"photo_id":"1391654782","filename":"file0"},{"photo_id":"1391654792","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654792":["hashtag1","hashtag2"]},{"1391654786":["hashtag1","hashtag2"]},{"1391654789":["hashtag1","hashtag2"]},{"1391654797":["hashtag1","hashtag2"]},{"1391654794":["hashtag1","hashtag2"]},{"1391654782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654792, 1391654786, 1391654789, 1391654797, 1391654794, 1391654782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6350519657135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:28:22.589091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_57_2668.jpg', '/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_59_2679.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_03_3776.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_06_2533.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_09_2818.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_12_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_57_2668.jpg
/home/pi/Desktop/images/30102025/04/15/image_30102025_04_15_59_2679.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_03_3776.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_06_2533.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_09_2818.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_12_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654805","1391654813","1391654818","1391654803","1391654806","1391654808"],"photo_ids_order":["1391654803","1391654805","1391654806","1391654808","1391654813","1391654818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7e0f14ff3d413fb264b4cd196cfdf9c.jpg","text":"TemporaryFile(/tmp/multipartBody3530454184179578682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_15_59_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e06728031cd9aed4942277f33f551358.jpg","text":"TemporaryFile(/tmp/multipartBody3843423255611441003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_16_09_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0955b76a0243558347c512b640526b70.jpg","text":"TemporaryFile(/tmp/multipartBody7564653087584496324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_16_12_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30fee4eb002d49a4652986ba17433df1.jpg","text":"TemporaryFile(/tmp/multipartBody6593522070696116965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_15_57_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05fdb1aaeb8a4b4a6b303109a88ebb75.jpg","text":"TemporaryFile(/tmp/multipartBody4213513196195119407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_16_03_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f12eb6e132d695e99af0bec1293c84b6.jpg","text":"TemporaryFile(/tmp/multipartBody5209703815387326745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007365366,"filename":"image_30102025_04_16_06_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654806","file1":"1391654805","file0":"1391654803","file4":"1391654813","file5":"1391654818","file3":"1391654808"},"map_files_photo_id_array":[{"photo_id":"1391654818","filename":"file5"},{"photo_id":"1391654806","filename":"file2"},{"photo_id":"1391654813","filename":"file4"},{"photo_id":"1391654805","filename":"file1"},{"photo_id":"1391654803","filename":"file0"},{"photo_id":"1391654808","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654805":["hashtag1","hashtag2"]},{"1391654813":["hashtag1","hashtag2"]},{"1391654818":["hashtag1","hashtag2"]},{"1391654803":["hashtag1","hashtag2"]},{"1391654806":["hashtag1","hashtag2"]},{"1391654808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654805, 1391654813, 1391654818, 1391654803, 1391654806, 1391654808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73424816131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:29:03.548995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_15_2535.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_17_2619.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_21_3553.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_24_2803.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_27_2734.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_30_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_15_2535.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_17_2619.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_21_3553.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_24_2803.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_27_2734.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_30_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654840","1391654831","1391654834","1391654836","1391654830","1391654832"],"photo_ids_order":["1391654830","1391654831","1391654832","1391654834","1391654836","1391654840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1c284826440c10429691989f58dd568.jpg","text":"TemporaryFile(/tmp/multipartBody420588700130968353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_30_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66731e0c8a6a0446fccb47b254f58ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2630939692460591788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_17_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdbe7f30e89bcd81e24a6f42cd847a8e.jpg","text":"TemporaryFile(/tmp/multipartBody896900882862331565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_24_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b467959cd9fd52f0154b800825795015.jpg","text":"TemporaryFile(/tmp/multipartBody6511535336094339140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_27_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56e23c9772418fbafb48b14027c551ee.jpg","text":"TemporaryFile(/tmp/multipartBody5170376230849405832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_15_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a722f88d26942f4d48688dc156b687c8.jpg","text":"TemporaryFile(/tmp/multipartBody4825511865467926556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007406026,"filename":"image_30102025_04_16_21_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654832","file1":"1391654831","file0":"1391654830","file4":"1391654836","file5":"1391654840","file3":"1391654834"},"map_files_photo_id_array":[{"photo_id":"1391654840","filename":"file5"},{"photo_id":"1391654832","filename":"file2"},{"photo_id":"1391654836","filename":"file4"},{"photo_id":"1391654831","filename":"file1"},{"photo_id":"1391654830","filename":"file0"},{"photo_id":"1391654834","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654840":["hashtag1","hashtag2"]},{"1391654831":["hashtag1","hashtag2"]},{"1391654834":["hashtag1","hashtag2"]},{"1391654836":["hashtag1","hashtag2"]},{"1391654830":["hashtag1","hashtag2"]},{"1391654832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654840, 1391654831, 1391654834, 1391654836, 1391654830, 1391654832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.968098878860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:29:42.874696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_33_2667.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_36_2944.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_39_2672.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_42_3512.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_45_2639.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_47_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_33_2667.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_36_2944.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_39_2672.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_42_3512.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_45_2639.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_47_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654861","1391654864","1391654854","1391654857","1391654862","1391654859"],"photo_ids_order":["1391654854","1391654857","1391654859","1391654861","1391654862","1391654864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be2d8ef55ae83cacd0c28bcf1065d8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3413575319147979113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_42_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/775013eff6438f91c8b635bafc37f351.jpg","text":"TemporaryFile(/tmp/multipartBody4989160852200108800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_47_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/130bc97b21af35dc5f5e5d08cdb4af52.jpg","text":"TemporaryFile(/tmp/multipartBody6918145365143743377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_33_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/182a4a23389a3aa77b1d586a34103bd5.jpg","text":"TemporaryFile(/tmp/multipartBody537745919055337849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_36_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a151e2b036716a3ba9e7ed9a9f6a9247.jpg","text":"TemporaryFile(/tmp/multipartBody515251112634892689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_45_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22e2f0be7e040aa459173353c1743db3.jpg","text":"TemporaryFile(/tmp/multipartBody7329692023569035132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007444163,"filename":"image_30102025_04_16_39_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654859","file1":"1391654857","file0":"1391654854","file4":"1391654862","file5":"1391654864","file3":"1391654861"},"map_files_photo_id_array":[{"photo_id":"1391654864","filename":"file5"},{"photo_id":"1391654859","filename":"file2"},{"photo_id":"1391654862","filename":"file4"},{"photo_id":"1391654857","filename":"file1"},{"photo_id":"1391654854","filename":"file0"},{"photo_id":"1391654861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654861":["hashtag1","hashtag2"]},{"1391654864":["hashtag1","hashtag2"]},{"1391654854":["hashtag1","hashtag2"]},{"1391654857":["hashtag1","hashtag2"]},{"1391654862":["hashtag1","hashtag2"]},{"1391654859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654861, 1391654864, 1391654854, 1391654857, 1391654862, 1391654859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39052891731262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:30:22.095244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_51_3668.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_54_2816.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_57_2711.jpg', '/home/pi/Desktop/images/30102025/04/16/image_30102025_04_17_00_3640.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_03_2870.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_06_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_51_3668.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_54_2816.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_16_57_2711.jpg
/home/pi/Desktop/images/30102025/04/16/image_30102025_04_17_00_3640.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_03_2870.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_06_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654888","1391654878","1391654875","1391654880","1391654883","1391654892"],"photo_ids_order":["1391654875","1391654878","1391654880","1391654883","1391654888","1391654892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbb9699e2259b3a2c31a76b0cf4c8970.jpg","text":"TemporaryFile(/tmp/multipartBody4367157921432722231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_17_03_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da4b7dca28d9c38649018e6a17543fee.jpg","text":"TemporaryFile(/tmp/multipartBody8548006657423250645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_16_54_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/374b358983937cb4a1e1c58c824fcbe7.jpg","text":"TemporaryFile(/tmp/multipartBody4510547208531965822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_16_51_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4423784faa64388b15d23f7ca694b497.jpg","text":"TemporaryFile(/tmp/multipartBody8723264081398116818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_16_57_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7886b33e086244d904216db9e91fa137.jpg","text":"TemporaryFile(/tmp/multipartBody7064845600957289355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_17_00_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/158c14da185795f028058ef76d07770a.jpg","text":"TemporaryFile(/tmp/multipartBody8552395589697758139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007484835,"filename":"image_30102025_04_17_06_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654880","file1":"1391654878","file0":"1391654875","file4":"1391654888","file5":"1391654892","file3":"1391654883"},"map_files_photo_id_array":[{"photo_id":"1391654892","filename":"file5"},{"photo_id":"1391654880","filename":"file2"},{"photo_id":"1391654888","filename":"file4"},{"photo_id":"1391654878","filename":"file1"},{"photo_id":"1391654875","filename":"file0"},{"photo_id":"1391654883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654888":["hashtag1","hashtag2"]},{"1391654878":["hashtag1","hashtag2"]},{"1391654875":["hashtag1","hashtag2"]},{"1391654880":["hashtag1","hashtag2"]},{"1391654883":["hashtag1","hashtag2"]},{"1391654892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654888, 1391654878, 1391654875, 1391654880, 1391654883, 1391654892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62716841697693 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:31:22.231694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_09_2809.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_12_3576.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_15_2631.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_17_2665.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_21_3671.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_24_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_09_2809.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_12_3576.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_15_2631.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_17_2665.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_21_3671.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_24_2897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654936","1391654945","1391654939","1391654933","1391654950","1391654935"],"photo_ids_order":["1391654933","1391654935","1391654936","1391654939","1391654945","1391654950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/401a1162478068bb28dc09398dca5b61.jpg","text":"TemporaryFile(/tmp/multipartBody2210718304927338557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_15_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d0bdacf58ea891e5305ad8dea8f1941.jpg","text":"TemporaryFile(/tmp/multipartBody5921988513196347023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_21_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8222e677861c8e0af761d23190691f5.jpg","text":"TemporaryFile(/tmp/multipartBody8275821584536259502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_17_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/065f59028b1a836695d9ceb419f1faa2.jpg","text":"TemporaryFile(/tmp/multipartBody2325345609653256914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_09_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f10b6be2d0994d98bf3fc5c25f2faf81.jpg","text":"TemporaryFile(/tmp/multipartBody2494387849665033244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_24_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc445c69a39958d592f6fe01b426bd42.jpg","text":"TemporaryFile(/tmp/multipartBody2265352249339153829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007544853,"filename":"image_30102025_04_17_12_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654936","file1":"1391654935","file0":"1391654933","file4":"1391654945","file5":"1391654950","file3":"1391654939"},"map_files_photo_id_array":[{"photo_id":"1391654950","filename":"file5"},{"photo_id":"1391654936","filename":"file2"},{"photo_id":"1391654945","filename":"file4"},{"photo_id":"1391654935","filename":"file1"},{"photo_id":"1391654933","filename":"file0"},{"photo_id":"1391654939","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654936":["hashtag1","hashtag2"]},{"1391654945":["hashtag1","hashtag2"]},{"1391654939":["hashtag1","hashtag2"]},{"1391654933":["hashtag1","hashtag2"]},{"1391654950":["hashtag1","hashtag2"]},{"1391654935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654936, 1391654945, 1391654939, 1391654933, 1391654950, 1391654935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24005389213562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:32:02.991857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_27_2597.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_29_2814.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_33_3724.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_36_2739.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_42_3639.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_45_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_27_2597.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_29_2814.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_33_3724.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_36_2739.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_42_3639.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_45_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654960","1391654965","1391654959","1391654968","1391654962","1391654961"],"photo_ids_order":["1391654959","1391654960","1391654961","1391654962","1391654965","1391654968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad816b1ff1b62c01a67096ca835596b0.jpg","text":"TemporaryFile(/tmp/multipartBody7839528968679901841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_29_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42722d3273225f9e3dfd31a6ce1b0353.jpg","text":"TemporaryFile(/tmp/multipartBody6757664577633580339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_42_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c909f1023249bc0c5b5b2e7d1c419c96.jpg","text":"TemporaryFile(/tmp/multipartBody4001287459269678945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_27_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1f159b6360a7d97ec6a97203b3d41bb.jpg","text":"TemporaryFile(/tmp/multipartBody7873003383725569614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd9928b56a30aee2a27519138f8009d4.jpg","text":"TemporaryFile(/tmp/multipartBody5521359418943582558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_36_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd9be2d9447b8d90fb3d7e608de5e773.jpg","text":"TemporaryFile(/tmp/multipartBody2314713524736294349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007585494,"filename":"image_30102025_04_17_33_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654961","file1":"1391654960","file0":"1391654959","file4":"1391654965","file5":"1391654968","file3":"1391654962"},"map_files_photo_id_array":[{"photo_id":"1391654968","filename":"file5"},{"photo_id":"1391654961","filename":"file2"},{"photo_id":"1391654965","filename":"file4"},{"photo_id":"1391654960","filename":"file1"},{"photo_id":"1391654959","filename":"file0"},{"photo_id":"1391654962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654960":["hashtag1","hashtag2"]},{"1391654965":["hashtag1","hashtag2"]},{"1391654959":["hashtag1","hashtag2"]},{"1391654968":["hashtag1","hashtag2"]},{"1391654962":["hashtag1","hashtag2"]},{"1391654961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654960, 1391654965, 1391654959, 1391654968, 1391654962, 1391654961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.507888317108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:32:42.649799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_48_2707.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_51_3619.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_54_2595.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_57_2770.jpg', '/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_59_2728.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_03_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_48_2707.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_51_3619.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_54_2595.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_57_2770.jpg
/home/pi/Desktop/images/30102025/04/17/image_30102025_04_17_59_2728.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_03_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391654984","1391654989","1391654992","1391654986","1391654980","1391654988"],"photo_ids_order":["1391654980","1391654984","1391654986","1391654988","1391654989","1391654992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5636709dc9de5b7f6a8240ce4b9c9790.jpg","text":"TemporaryFile(/tmp/multipartBody4293744302963635174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_17_51_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc5036f73cba6f670b6c63eb45182d76.jpg","text":"TemporaryFile(/tmp/multipartBody7229163043799749324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_17_59_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dca1e523e1f932ba8e2c06efbdc01706.jpg","text":"TemporaryFile(/tmp/multipartBody4822576422960802548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_18_03_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd6bb88e6aab088a63ac5941014c4a85.jpg","text":"TemporaryFile(/tmp/multipartBody1419879461556544917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_17_54_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d381b81a5e8debc63b0e77352aacc8c.jpg","text":"TemporaryFile(/tmp/multipartBody7959530338214343400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_17_48_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de388cdac51599802914f2f6d836ab02.jpg","text":"TemporaryFile(/tmp/multipartBody8316842174727497012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007623931,"filename":"image_30102025_04_17_57_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391654986","file1":"1391654984","file0":"1391654980","file4":"1391654989","file5":"1391654992","file3":"1391654988"},"map_files_photo_id_array":[{"photo_id":"1391654992","filename":"file5"},{"photo_id":"1391654986","filename":"file2"},{"photo_id":"1391654989","filename":"file4"},{"photo_id":"1391654984","filename":"file1"},{"photo_id":"1391654980","filename":"file0"},{"photo_id":"1391654988","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391654984":["hashtag1","hashtag2"]},{"1391654989":["hashtag1","hashtag2"]},{"1391654992":["hashtag1","hashtag2"]},{"1391654986":["hashtag1","hashtag2"]},{"1391654980":["hashtag1","hashtag2"]},{"1391654988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391654984, 1391654989, 1391654992, 1391654986, 1391654980, 1391654988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.325615882873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:33:22.827652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_05_2546.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_09_3759.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_12_2681.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_15_2688.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_18_3566.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_21_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_05_2546.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_09_3759.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_12_2681.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_15_2688.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_18_3566.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_21_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655020","1391655017","1391655011","1391655013","1391655006","1391655009"],"photo_ids_order":["1391655006","1391655009","1391655011","1391655013","1391655017","1391655020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e104bee582d1ff6dcc405851a7ba322.jpg","text":"TemporaryFile(/tmp/multipartBody4728861761747825966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_21_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57b900d0e05990b5560a1e2c78209048.jpg","text":"TemporaryFile(/tmp/multipartBody4406180217632249120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_18_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea248c7aa62fbab7ee268b68f93dd682.jpg","text":"TemporaryFile(/tmp/multipartBody3167298868698374573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_12_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99f4206a7fe2d5884ba1a0b913d7caef.jpg","text":"TemporaryFile(/tmp/multipartBody4704642341561009505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_15_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/525766dda5ee3a0e578434c5e3f892ce.jpg","text":"TemporaryFile(/tmp/multipartBody7743663848288385936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_05_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cc2d7ee11a84a54fc8111b13ab2247d.jpg","text":"TemporaryFile(/tmp/multipartBody2097639554981881676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007665635,"filename":"image_30102025_04_18_09_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655011","file1":"1391655009","file0":"1391655006","file4":"1391655017","file5":"1391655020","file3":"1391655013"},"map_files_photo_id_array":[{"photo_id":"1391655020","filename":"file5"},{"photo_id":"1391655011","filename":"file2"},{"photo_id":"1391655017","filename":"file4"},{"photo_id":"1391655009","filename":"file1"},{"photo_id":"1391655006","filename":"file0"},{"photo_id":"1391655013","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655020":["hashtag1","hashtag2"]},{"1391655017":["hashtag1","hashtag2"]},{"1391655011":["hashtag1","hashtag2"]},{"1391655013":["hashtag1","hashtag2"]},{"1391655006":["hashtag1","hashtag2"]},{"1391655009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655020, 1391655017, 1391655011, 1391655013, 1391655006, 1391655009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36656618118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:34:02.742917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_24_2805.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_26_2715.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_30_3626.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_32_2396.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_36_3633.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_39_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_24_2805.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_26_2715.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_30_3626.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_32_2396.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_36_3633.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_39_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655173","1391655128","1391655104","1391655135","1391655129","1391655065"],"photo_ids_order":["1391655065","1391655104","1391655128","1391655129","1391655135","1391655173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09ea3b79c06c978e85f5b131f486754a.jpg","text":"TemporaryFile(/tmp/multipartBody171454120903038939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_39_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4409ab47ff9810e0737ac7e82ea57f4.jpg","text":"TemporaryFile(/tmp/multipartBody5442846332993154491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_30_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8881650d63ed9eab27aad336985721a6.jpg","text":"TemporaryFile(/tmp/multipartBody179621915256912226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_26_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0829f6e70fd9e229a767f1f6dcd5f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4739599704762235988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_36_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05ea0d3252ac61ce4d4cc5dc20d91278.jpg","text":"TemporaryFile(/tmp/multipartBody6913205820288958725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_32_2396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b45e8481110c9e3b4f91d2e65797451.jpg","text":"TemporaryFile(/tmp/multipartBody5743472708642913205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007704946,"filename":"image_30102025_04_18_24_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655128","file1":"1391655104","file0":"1391655065","file4":"1391655135","file5":"1391655173","file3":"1391655129"},"map_files_photo_id_array":[{"photo_id":"1391655173","filename":"file5"},{"photo_id":"1391655128","filename":"file2"},{"photo_id":"1391655135","filename":"file4"},{"photo_id":"1391655104","filename":"file1"},{"photo_id":"1391655065","filename":"file0"},{"photo_id":"1391655129","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655173":["hashtag1","hashtag2"]},{"1391655128":["hashtag1","hashtag2"]},{"1391655104":["hashtag1","hashtag2"]},{"1391655135":["hashtag1","hashtag2"]},{"1391655129":["hashtag1","hashtag2"]},{"1391655065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655173, 1391655128, 1391655104, 1391655135, 1391655129, 1391655065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87141466140747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:34:42.063292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_42_3565.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_45_2559.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_47_2697.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_51_3527.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_54_2703.jpg', '/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_56_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_42_3565.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_45_2559.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_47_2697.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_51_3527.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_54_2703.jpg
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_18_56_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655245","1391655254","1391655259","1391655250","1391655255","1391655228"],"photo_ids_order":["1391655228","1391655245","1391655250","1391655254","1391655255","1391655259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e74dc003a36dffa4a42515e8993331a.jpg","text":"TemporaryFile(/tmp/multipartBody6521819308255331431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_45_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75269caadda8ef12c399277349978859.jpg","text":"TemporaryFile(/tmp/multipartBody5807479757666026556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_51_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82c1254a643bbc91156384aba76cfd44.jpg","text":"TemporaryFile(/tmp/multipartBody8087031397697394381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_56_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf43abfec1dc575a9070fd8c12faff84.jpg","text":"TemporaryFile(/tmp/multipartBody1948973256534031710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_47_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ced03bfb9b7696dce46ad540dd33b962.jpg","text":"TemporaryFile(/tmp/multipartBody9184888171204247594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_54_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbde0a21990bcd82bcaa3a9cc65d2a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3468301072912039760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007743447,"filename":"image_30102025_04_18_42_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655250","file1":"1391655245","file0":"1391655228","file4":"1391655255","file5":"1391655259","file3":"1391655254"},"map_files_photo_id_array":[{"photo_id":"1391655259","filename":"file5"},{"photo_id":"1391655250","filename":"file2"},{"photo_id":"1391655255","filename":"file4"},{"photo_id":"1391655245","filename":"file1"},{"photo_id":"1391655228","filename":"file0"},{"photo_id":"1391655254","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655245":["hashtag1","hashtag2"]},{"1391655254":["hashtag1","hashtag2"]},{"1391655259":["hashtag1","hashtag2"]},{"1391655250":["hashtag1","hashtag2"]},{"1391655255":["hashtag1","hashtag2"]},{"1391655228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655245, 1391655254, 1391655259, 1391655250, 1391655255, 1391655228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20011878013611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:35:22.175076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/18/image_30102025_04_19_00_3582.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_03_2794.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_05_2654.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_12_6320.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_13_1769.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_15_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/18/image_30102025_04_19_00_3582.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_03_2794.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_05_2654.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_12_6320.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_13_1769.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_15_1546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655350","1391655407","1391655308","1391655265","1391655403","1391655393"],"photo_ids_order":["1391655265","1391655308","1391655350","1391655393","1391655403","1391655407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09189fff94334567ff08a75f9e0b8e31.jpg","text":"TemporaryFile(/tmp/multipartBody6604561643397046939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_05_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee53f6d6087e2fade171cd79abf851af.jpg","text":"TemporaryFile(/tmp/multipartBody9141962387634177199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_15_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba4d2d29f73d68dee4618880807070b8.jpg","text":"TemporaryFile(/tmp/multipartBody2206368229897850601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_03_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bc45d6d51bc1a3b3ab1b06df0a2785e.jpg","text":"TemporaryFile(/tmp/multipartBody4527131460112709616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_00_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4ff6c57c3ea809965941235588a4b3a.jpg","text":"TemporaryFile(/tmp/multipartBody418870784635964258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_13_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44635bf0d4992e908bcecc9fc9d0129b.jpg","text":"TemporaryFile(/tmp/multipartBody8932709296942701639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007784969,"filename":"image_30102025_04_19_12_6320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655350","file1":"1391655308","file0":"1391655265","file4":"1391655403","file5":"1391655407","file3":"1391655393"},"map_files_photo_id_array":[{"photo_id":"1391655407","filename":"file5"},{"photo_id":"1391655350","filename":"file2"},{"photo_id":"1391655403","filename":"file4"},{"photo_id":"1391655308","filename":"file1"},{"photo_id":"1391655265","filename":"file0"},{"photo_id":"1391655393","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655350":["hashtag1","hashtag2"]},{"1391655407":["hashtag1","hashtag2"]},{"1391655308":["hashtag1","hashtag2"]},{"1391655265":["hashtag1","hashtag2"]},{"1391655403":["hashtag1","hashtag2"]},{"1391655393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655350, 1391655407, 1391655308, 1391655265, 1391655403, 1391655393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02105212211609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:36:02.847589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_18_2686.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_20_2563.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_24_3552.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_26_2586.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_29_3158.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_33_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_18_2686.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_20_2563.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_24_3552.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_26_2586.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_29_3158.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_33_3544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655536","1391655539","1391655502","1391655474","1391655543","1391655473"],"photo_ids_order":["1391655473","1391655474","1391655502","1391655536","1391655539","1391655543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd711f220bbc10ef3cfea842c33b4c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3176327318175674822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_26_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e9f7980dad9a935b08995e95cf589ba.jpg","text":"TemporaryFile(/tmp/multipartBody2190168360642067829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_29_3158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d940b867a7da492ef2f340867484138.jpg","text":"TemporaryFile(/tmp/multipartBody635797629518573471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_24_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71bb3347a0fe2e9398635df87f8066f5.jpg","text":"TemporaryFile(/tmp/multipartBody6158478697089305535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_20_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba114b5db33f23813f38b3736e97eb04.jpg","text":"TemporaryFile(/tmp/multipartBody6060570264581710751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_33_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e353788ea9ed44145b988342b455fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2885646936559561474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007826594,"filename":"image_30102025_04_19_18_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655502","file1":"1391655474","file0":"1391655473","file4":"1391655539","file5":"1391655543","file3":"1391655536"},"map_files_photo_id_array":[{"photo_id":"1391655543","filename":"file5"},{"photo_id":"1391655502","filename":"file2"},{"photo_id":"1391655539","filename":"file4"},{"photo_id":"1391655474","filename":"file1"},{"photo_id":"1391655473","filename":"file0"},{"photo_id":"1391655536","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655536":["hashtag1","hashtag2"]},{"1391655539":["hashtag1","hashtag2"]},{"1391655502":["hashtag1","hashtag2"]},{"1391655474":["hashtag1","hashtag2"]},{"1391655543":["hashtag1","hashtag2"]},{"1391655473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655536, 1391655539, 1391655502, 1391655474, 1391655543, 1391655473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.219051122665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:37:03.263780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_36_2710.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_38_2583.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_42_3245.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_47_3033.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_50_2789.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_54_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_36_2710.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_38_2583.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_42_3245.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_47_3033.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_50_2789.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_54_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655749","1391655650","1391655707","1391655757","1391655657","1391655627"],"photo_ids_order":["1391655627","1391655650","1391655657","1391655707","1391655749","1391655757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/128f94d5adc224f8c26d4dae90a1abb0.jpg","text":"TemporaryFile(/tmp/multipartBody7943977222635120992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_50_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/999edc9f79fc4715f4c0b724d61911e6.jpg","text":"TemporaryFile(/tmp/multipartBody3888430263616137012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_38_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d377c4f370534eefb0e85599ec63286c.jpg","text":"TemporaryFile(/tmp/multipartBody5881220432900866498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_47_3033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/931f8f8cbf92ce9192468afbf6db8806.jpg","text":"TemporaryFile(/tmp/multipartBody6920920244626086783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_54_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f82f32c39d6a465f154ef7270892f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1416737870479067100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_42_3245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c23011a08f33530220b2f10bc6778b5.jpg","text":"TemporaryFile(/tmp/multipartBody4601140461141245534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007885596,"filename":"image_30102025_04_19_36_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655657","file1":"1391655650","file0":"1391655627","file4":"1391655749","file5":"1391655757","file3":"1391655707"},"map_files_photo_id_array":[{"photo_id":"1391655757","filename":"file5"},{"photo_id":"1391655657","filename":"file2"},{"photo_id":"1391655749","filename":"file4"},{"photo_id":"1391655650","filename":"file1"},{"photo_id":"1391655627","filename":"file0"},{"photo_id":"1391655707","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655749":["hashtag1","hashtag2"]},{"1391655650":["hashtag1","hashtag2"]},{"1391655707":["hashtag1","hashtag2"]},{"1391655757":["hashtag1","hashtag2"]},{"1391655657":["hashtag1","hashtag2"]},{"1391655627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655749, 1391655650, 1391655707, 1391655757, 1391655657, 1391655627)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.84763693809509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:38:03.345730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_57_2726.jpg', '/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_59_2526.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_03_3661.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_06_2961.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_08_2591.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_15_7004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_57_2726.jpg
/home/pi/Desktop/images/30102025/04/19/image_30102025_04_19_59_2526.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_03_3661.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_06_2961.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_08_2591.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_15_7004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655914","1391655910","1391655916","1391655921","1391655924","1391655918"],"photo_ids_order":["1391655910","1391655914","1391655916","1391655918","1391655921","1391655924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93f4dcdb47cb4aa2030156eb9edf3bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2509278712764055184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_19_59_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6c374189f6760a4c9adda0a8f2ca9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3665227090325506578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_19_57_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b56eee6f39cb38b2de4800a00b63aa80.jpg","text":"TemporaryFile(/tmp/multipartBody1462283319934592052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_20_03_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/737529775b5d55b55a308f3fc8a1c25e.jpg","text":"TemporaryFile(/tmp/multipartBody7439361113755608582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_20_08_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49b96b0961589ccfec089f7c49cacf13.jpg","text":"TemporaryFile(/tmp/multipartBody7354390291637012975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_20_15_7004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56dc0bca176f2080a7957c56a453e118.jpg","text":"TemporaryFile(/tmp/multipartBody8177142614736690815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762007945571,"filename":"image_30102025_04_20_06_2961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655916","file1":"1391655914","file0":"1391655910","file4":"1391655921","file5":"1391655924","file3":"1391655918"},"map_files_photo_id_array":[{"photo_id":"1391655924","filename":"file5"},{"photo_id":"1391655916","filename":"file2"},{"photo_id":"1391655921","filename":"file4"},{"photo_id":"1391655914","filename":"file1"},{"photo_id":"1391655910","filename":"file0"},{"photo_id":"1391655918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655914":["hashtag1","hashtag2"]},{"1391655910":["hashtag1","hashtag2"]},{"1391655916":["hashtag1","hashtag2"]},{"1391655921":["hashtag1","hashtag2"]},{"1391655924":["hashtag1","hashtag2"]},{"1391655918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655914, 1391655910, 1391655916, 1391655921, 1391655924, 1391655918)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.90837264060974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:39:03.026505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_18_3026.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_20_1703.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_22_1707.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_23_1523.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_27_3654.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_29_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_18_3026.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_20_1703.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_22_1707.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_23_1523.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_27_3654.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_29_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391655958","1391655943","1391655946","1391655966","1391655948","1391655950"],"photo_ids_order":["1391655943","1391655946","1391655948","1391655950","1391655958","1391655966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d58e6c6f22bf37be2190ffc98f094f44.jpg","text":"TemporaryFile(/tmp/multipartBody1975406603396873685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_27_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75fa312af11f9f3c2102716ab0d5d264.jpg","text":"TemporaryFile(/tmp/multipartBody3748743446863588070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_18_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9880072c2db5a4d4015b6f854adc512c.jpg","text":"TemporaryFile(/tmp/multipartBody8490581913685184749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_20_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22e4df5cbb0b110094f9a1b2e307123c.jpg","text":"TemporaryFile(/tmp/multipartBody3073036691871636089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_29_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02a880e6480b3ff8a814e90c8edee3be.jpg","text":"TemporaryFile(/tmp/multipartBody6990479253134305279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_22_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/958a9e1f7bfc38d11b4517c6c7bf59f7.jpg","text":"TemporaryFile(/tmp/multipartBody5166569252954736348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008005394,"filename":"image_30102025_04_20_23_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391655948","file1":"1391655946","file0":"1391655943","file4":"1391655958","file5":"1391655966","file3":"1391655950"},"map_files_photo_id_array":[{"photo_id":"1391655966","filename":"file5"},{"photo_id":"1391655948","filename":"file2"},{"photo_id":"1391655958","filename":"file4"},{"photo_id":"1391655946","filename":"file1"},{"photo_id":"1391655943","filename":"file0"},{"photo_id":"1391655950","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391655958":["hashtag1","hashtag2"]},{"1391655943":["hashtag1","hashtag2"]},{"1391655946":["hashtag1","hashtag2"]},{"1391655966":["hashtag1","hashtag2"]},{"1391655948":["hashtag1","hashtag2"]},{"1391655950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391655958, 1391655943, 1391655946, 1391655966, 1391655948, 1391655950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.195273876190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:39:42.023907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_32_2573.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_36_3764.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_41_2850.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_44_2768.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_47_3311.jpg', '/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_50_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_32_2573.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_36_3764.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_41_2850.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_44_2768.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_47_3311.jpg
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_50_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656010","1391656012","1391656017","1391656008","1391655983","1391656013"],"photo_ids_order":["1391655983","1391656008","1391656010","1391656012","1391656013","1391656017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89beea14977f79608e9bcabc2af0b889.jpg","text":"TemporaryFile(/tmp/multipartBody6889070277227812597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_41_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd030db06dd4ee6fa6ed80d832075758.jpg","text":"TemporaryFile(/tmp/multipartBody4761479582605066053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_44_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c504ffe805a70bf480ed1b9934ce0909.jpg","text":"TemporaryFile(/tmp/multipartBody8344594850637648823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_50_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4119749b6979c7f3ae05f1f1c05d6ce.jpg","text":"TemporaryFile(/tmp/multipartBody8886126303309766464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_36_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/252d451db6701fd0e9c8ecdb02251afe.jpg","text":"TemporaryFile(/tmp/multipartBody6444991795566819738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_32_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c914d3f6e2280edb0d5a877f0969abaf.jpg","text":"TemporaryFile(/tmp/multipartBody2170954256004056495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008043316,"filename":"image_30102025_04_20_47_3311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656010","file1":"1391656008","file0":"1391655983","file4":"1391656013","file5":"1391656017","file3":"1391656012"},"map_files_photo_id_array":[{"photo_id":"1391656017","filename":"file5"},{"photo_id":"1391656010","filename":"file2"},{"photo_id":"1391656013","filename":"file4"},{"photo_id":"1391656008","filename":"file1"},{"photo_id":"1391655983","filename":"file0"},{"photo_id":"1391656012","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656010":["hashtag1","hashtag2"]},{"1391656012":["hashtag1","hashtag2"]},{"1391656017":["hashtag1","hashtag2"]},{"1391656008":["hashtag1","hashtag2"]},{"1391655983":["hashtag1","hashtag2"]},{"1391656013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656010, 1391656012, 1391656017, 1391656008, 1391655983, 1391656013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24522590637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:40:22.150154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_54_4300.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_01_4495.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_03_2741.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_05_1684.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_09_3635.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_14_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/20/image_30102025_04_20_54_4300.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_01_4495.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_03_2741.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_05_1684.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_09_3635.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_14_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656042","1391656030","1391656038","1391656032","1391656034","1391656028"],"photo_ids_order":["1391656028","1391656030","1391656032","1391656034","1391656038","1391656042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c501d88a138fb84ffbfbb8ee74a9b451.jpg","text":"TemporaryFile(/tmp/multipartBody6266273575488623631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_21_14_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/221aa644a89069d8ff679cc4da1e8de5.jpg","text":"TemporaryFile(/tmp/multipartBody4206600158420275269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_21_01_4495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb20547a82d6bdef19de7df5220e8752.jpg","text":"TemporaryFile(/tmp/multipartBody2157271765469760651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_21_09_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccc9092d353a3939c69b5f1d6f0e8ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6234612726895350541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_21_03_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d02efee5656c9ee22c262d969f09347e.jpg","text":"TemporaryFile(/tmp/multipartBody1101492923484178224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_21_05_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/577aa77deb0893ae63673df2cc9f80c4.jpg","text":"TemporaryFile(/tmp/multipartBody3094397552211873468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008084924,"filename":"image_30102025_04_20_54_4300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656032","file1":"1391656030","file0":"1391656028","file4":"1391656038","file5":"1391656042","file3":"1391656034"},"map_files_photo_id_array":[{"photo_id":"1391656042","filename":"file5"},{"photo_id":"1391656032","filename":"file2"},{"photo_id":"1391656038","filename":"file4"},{"photo_id":"1391656030","filename":"file1"},{"photo_id":"1391656028","filename":"file0"},{"photo_id":"1391656034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656042":["hashtag1","hashtag2"]},{"1391656030":["hashtag1","hashtag2"]},{"1391656038":["hashtag1","hashtag2"]},{"1391656032":["hashtag1","hashtag2"]},{"1391656034":["hashtag1","hashtag2"]},{"1391656028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656042, 1391656030, 1391656038, 1391656032, 1391656034, 1391656028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91211724281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:41:03.091438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_18_3506.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_20_2575.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_23_3274.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_26_2594.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_30_3681.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_32_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_18_3506.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_20_2575.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_23_3274.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_26_2594.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_30_3681.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_32_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656057","1391656053","1391656064","1391656058","1391656061","1391656055"],"photo_ids_order":["1391656053","1391656055","1391656057","1391656058","1391656061","1391656064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79d1384a3e1a3429fd2431fee8812b0f.jpg","text":"TemporaryFile(/tmp/multipartBody600746294681232593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_23_3274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55c96b34a889e0a8502add9b26dce8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4714652710052265830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_18_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cdd1ce26537385686e6993cc816e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5385770122048059110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_32_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d78dfe6111455ac397b9efe204869599.jpg","text":"TemporaryFile(/tmp/multipartBody4227186883065251095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_26_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d48789c9873c8e7e0f57b965932b2f08.jpg","text":"TemporaryFile(/tmp/multipartBody3503523473774837743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_30_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69488d7d3f685a03c18ef38748c09b14.jpg","text":"TemporaryFile(/tmp/multipartBody8875238145953069934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008125382,"filename":"image_30102025_04_21_20_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656057","file1":"1391656055","file0":"1391656053","file4":"1391656061","file5":"1391656064","file3":"1391656058"},"map_files_photo_id_array":[{"photo_id":"1391656064","filename":"file5"},{"photo_id":"1391656057","filename":"file2"},{"photo_id":"1391656061","filename":"file4"},{"photo_id":"1391656055","filename":"file1"},{"photo_id":"1391656053","filename":"file0"},{"photo_id":"1391656058","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656057":["hashtag1","hashtag2"]},{"1391656053":["hashtag1","hashtag2"]},{"1391656064":["hashtag1","hashtag2"]},{"1391656058":["hashtag1","hashtag2"]},{"1391656061":["hashtag1","hashtag2"]},{"1391656055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656057, 1391656053, 1391656064, 1391656058, 1391656061, 1391656055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.743149757385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:41:42.347664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_35_2822.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_38_2709.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_44_2612.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_47_3266.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_50_2720.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_54_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_35_2822.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_38_2709.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_44_2612.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_47_3266.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_50_2720.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_54_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656111","1391656110","1391656104","1391656113","1391656107","1391656085"],"photo_ids_order":["1391656085","1391656104","1391656107","1391656110","1391656111","1391656113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6b9c69462be5e9fe90eb0e2bd9475bb.jpg","text":"TemporaryFile(/tmp/multipartBody168768264132091637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_50_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6bd33b1019e1c9b89f6620d787d413e.jpg","text":"TemporaryFile(/tmp/multipartBody1468591266797745314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_47_3266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd90924ee1b92effadc65a5c2a049761.jpg","text":"TemporaryFile(/tmp/multipartBody334473911734026026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_38_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24fee65bfa6d606057c30d9a4a61ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody5016275227857737981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_54_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39c4973cef6662b77d8af491ca243d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5074221027906212079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_44_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2949770d1f6bdbe87bd5695638e9c58f.jpg","text":"TemporaryFile(/tmp/multipartBody3117764706336117835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008163636,"filename":"image_30102025_04_21_35_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656107","file1":"1391656104","file0":"1391656085","file4":"1391656111","file5":"1391656113","file3":"1391656110"},"map_files_photo_id_array":[{"photo_id":"1391656113","filename":"file5"},{"photo_id":"1391656107","filename":"file2"},{"photo_id":"1391656111","filename":"file4"},{"photo_id":"1391656104","filename":"file1"},{"photo_id":"1391656085","filename":"file0"},{"photo_id":"1391656110","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656111":["hashtag1","hashtag2"]},{"1391656110":["hashtag1","hashtag2"]},{"1391656104":["hashtag1","hashtag2"]},{"1391656113":["hashtag1","hashtag2"]},{"1391656107":["hashtag1","hashtag2"]},{"1391656085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656111, 1391656110, 1391656104, 1391656113, 1391656107, 1391656085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.440314054489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:42:22.515243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_57_2821.jpg', '/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_59_2500.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_03_4316.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_05_1805.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_12_3975.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_15_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_57_2821.jpg
/home/pi/Desktop/images/30102025/04/21/image_30102025_04_21_59_2500.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_03_4316.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_05_1805.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_12_3975.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_15_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656121","1391656128","1391656125","1391656142","1391656139","1391656133"],"photo_ids_order":["1391656121","1391656125","1391656128","1391656133","1391656139","1391656142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1826342dd79075cf86c9fe5cbaabfbae.jpg","text":"TemporaryFile(/tmp/multipartBody4248694344495529959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_21_57_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d1714fc28c438f122cb24bfb2d633a9.jpg","text":"TemporaryFile(/tmp/multipartBody31791756223635444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_22_03_4316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8cf2886f9538e02dc346a96424af81f.jpg","text":"TemporaryFile(/tmp/multipartBody1095620665837789388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_21_59_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6bf95138f48c10d6acb5327c637228f.jpg","text":"TemporaryFile(/tmp/multipartBody6026668597189408464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_22_15_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee880daf04060877564f40e63746b76f.jpg","text":"TemporaryFile(/tmp/multipartBody7760978165371249636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_22_12_3975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e0677ac7785d06777bc258993179f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6525244933919437383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008205351,"filename":"image_30102025_04_22_05_1805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656128","file1":"1391656125","file0":"1391656121","file4":"1391656139","file5":"1391656142","file3":"1391656133"},"map_files_photo_id_array":[{"photo_id":"1391656142","filename":"file5"},{"photo_id":"1391656128","filename":"file2"},{"photo_id":"1391656139","filename":"file4"},{"photo_id":"1391656125","filename":"file1"},{"photo_id":"1391656121","filename":"file0"},{"photo_id":"1391656133","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656121":["hashtag1","hashtag2"]},{"1391656128":["hashtag1","hashtag2"]},{"1391656125":["hashtag1","hashtag2"]},{"1391656142":["hashtag1","hashtag2"]},{"1391656139":["hashtag1","hashtag2"]},{"1391656133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656121, 1391656128, 1391656125, 1391656142, 1391656139, 1391656133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.925305128097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:43:03.498460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_17_2674.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_20_2787.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_23_2763.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_27_3678.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_29_2638.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_33_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_17_2674.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_20_2787.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_23_2763.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_27_3678.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_29_2638.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_33_3531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656153","1391656164","1391656152","1391656155","1391656160","1391656151"],"photo_ids_order":["1391656151","1391656152","1391656153","1391656155","1391656160","1391656164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbba4443db99c7050522852eaa518337.jpg","text":"TemporaryFile(/tmp/multipartBody6180482345534493566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_23_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42d47d2f43640a880065bc5035a18146.jpg","text":"TemporaryFile(/tmp/multipartBody6617965125937251488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_33_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac8a76681200d2683eb030c4f2a4c003.jpg","text":"TemporaryFile(/tmp/multipartBody5210108333432031530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_20_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4087fbe71e5b690a07632749cf465a9.jpg","text":"TemporaryFile(/tmp/multipartBody8027292070042451486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_27_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdbd0d6f739a41e1dd3c0053c4c8dda1.jpg","text":"TemporaryFile(/tmp/multipartBody89234071516517845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_29_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4570aafe40e852031b6155c41ef6d5cc.jpg","text":"TemporaryFile(/tmp/multipartBody8244237118126280899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008245780,"filename":"image_30102025_04_22_17_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656153","file1":"1391656152","file0":"1391656151","file4":"1391656160","file5":"1391656164","file3":"1391656155"},"map_files_photo_id_array":[{"photo_id":"1391656164","filename":"file5"},{"photo_id":"1391656153","filename":"file2"},{"photo_id":"1391656160","filename":"file4"},{"photo_id":"1391656152","filename":"file1"},{"photo_id":"1391656151","filename":"file0"},{"photo_id":"1391656155","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656153":["hashtag1","hashtag2"]},{"1391656164":["hashtag1","hashtag2"]},{"1391656152":["hashtag1","hashtag2"]},{"1391656155":["hashtag1","hashtag2"]},{"1391656160":["hashtag1","hashtag2"]},{"1391656151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656153, 1391656164, 1391656152, 1391656155, 1391656160, 1391656151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63511395454407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:43:42.684268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_35_2730.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_38_2665.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_42_3626.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_44_2550.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_47_2687.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_51_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_35_2730.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_38_2665.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_42_3626.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_44_2550.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_47_2687.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_51_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656186","1391656189","1391656180","1391656183","1391656177","1391656184"],"photo_ids_order":["1391656177","1391656180","1391656183","1391656184","1391656186","1391656189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41407d6349b97b30a247e525017b1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6080622495981170166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_47_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9745d823b88454cccde8bf3ca3db58b7.jpg","text":"TemporaryFile(/tmp/multipartBody2008826734708805394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_51_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbad0aecadf4421e8ab645f1634ce5be.jpg","text":"TemporaryFile(/tmp/multipartBody5077449405563744495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_38_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16f3ae2974a9dbed50bcd94efa1a8c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6197245071763582541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_42_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f95e823d09f0cf29708e0685bc17e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody755606680065967464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_35_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71ef574197e740d74db56d7628a862d7.jpg","text":"TemporaryFile(/tmp/multipartBody8164558273345572481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008284040,"filename":"image_30102025_04_22_44_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656183","file1":"1391656180","file0":"1391656177","file4":"1391656186","file5":"1391656189","file3":"1391656184"},"map_files_photo_id_array":[{"photo_id":"1391656189","filename":"file5"},{"photo_id":"1391656183","filename":"file2"},{"photo_id":"1391656186","filename":"file4"},{"photo_id":"1391656180","filename":"file1"},{"photo_id":"1391656177","filename":"file0"},{"photo_id":"1391656184","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656186":["hashtag1","hashtag2"]},{"1391656189":["hashtag1","hashtag2"]},{"1391656180":["hashtag1","hashtag2"]},{"1391656183":["hashtag1","hashtag2"]},{"1391656177":["hashtag1","hashtag2"]},{"1391656184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656186, 1391656189, 1391656180, 1391656183, 1391656177, 1391656184)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.00342321395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:44:41.768287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_53_2597.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_56_2530.jpg', '/home/pi/Desktop/images/30102025/04/22/image_30102025_04_23_00_3696.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_02_2672.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_05_2941.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_08_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_53_2597.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_22_56_2530.jpg
/home/pi/Desktop/images/30102025/04/22/image_30102025_04_23_00_3696.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_02_2672.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_05_2941.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_08_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656229","1391656220","1391656217","1391656231","1391656227","1391656223"],"photo_ids_order":["1391656217","1391656220","1391656223","1391656227","1391656229","1391656231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef490ebebaba424ee31feaf27ceb9548.jpg","text":"TemporaryFile(/tmp/multipartBody3814018271868075060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_23_05_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/570602532d8054f1acbf1e5420ab2b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8240639751693912311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_22_56_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da5bf5111bd28bbec7af28fca3fdeab3.jpg","text":"TemporaryFile(/tmp/multipartBody5231729758801672873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_22_53_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7d8c2003a5f8113cacf924faf3c56c3.jpg","text":"TemporaryFile(/tmp/multipartBody2954703521221023075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_23_08_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6eb410933d2b4deb340ac335c53eb99.jpg","text":"TemporaryFile(/tmp/multipartBody527470063234193327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_23_02_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d931dfc4ef6ae9f7f1ed564671ae719.jpg","text":"TemporaryFile(/tmp/multipartBody3315698471179194050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008343873,"filename":"image_30102025_04_23_00_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656223","file1":"1391656220","file0":"1391656217","file4":"1391656229","file5":"1391656231","file3":"1391656227"},"map_files_photo_id_array":[{"photo_id":"1391656231","filename":"file5"},{"photo_id":"1391656223","filename":"file2"},{"photo_id":"1391656229","filename":"file4"},{"photo_id":"1391656220","filename":"file1"},{"photo_id":"1391656217","filename":"file0"},{"photo_id":"1391656227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656229":["hashtag1","hashtag2"]},{"1391656220":["hashtag1","hashtag2"]},{"1391656217":["hashtag1","hashtag2"]},{"1391656231":["hashtag1","hashtag2"]},{"1391656227":["hashtag1","hashtag2"]},{"1391656223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656229, 1391656220, 1391656217, 1391656231, 1391656227, 1391656223)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 65.41723227500916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:46:02.345944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:46:22.042267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_14_2647.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_17_2651.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_20_3653.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_23_2613.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_27_3668.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_29_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_14_2647.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_17_2651.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_20_3653.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_23_2613.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_27_3668.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_29_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656285","1391656279","1391656281","1391656275","1391656290","1391656277"],"photo_ids_order":["1391656275","1391656277","1391656279","1391656281","1391656285","1391656290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95660338ebd246a72727b96a3dc7280c.jpg","text":"TemporaryFile(/tmp/multipartBody1756993816021168953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_27_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03123f1158ee0784c883123d553ae8b0.jpg","text":"TemporaryFile(/tmp/multipartBody777317922013189648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_20_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e4ec47ac764a79280608db4e1e1b1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5748080509930056079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_23_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f39ede988c9f060e107b227bcfd33d53.jpg","text":"TemporaryFile(/tmp/multipartBody5992053867737596563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_14_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f436ae538ae108340c720d623f180da6.jpg","text":"TemporaryFile(/tmp/multipartBody6503435419904446334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_29_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ceb53fb68e02755ef982fceac8fe1f0.jpg","text":"TemporaryFile(/tmp/multipartBody7203769868996080109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008447719,"filename":"image_30102025_04_23_17_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656279","file1":"1391656277","file0":"1391656275","file4":"1391656285","file5":"1391656290","file3":"1391656281"},"map_files_photo_id_array":[{"photo_id":"1391656290","filename":"file5"},{"photo_id":"1391656279","filename":"file2"},{"photo_id":"1391656285","filename":"file4"},{"photo_id":"1391656277","filename":"file1"},{"photo_id":"1391656275","filename":"file0"},{"photo_id":"1391656281","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656285":["hashtag1","hashtag2"]},{"1391656279":["hashtag1","hashtag2"]},{"1391656281":["hashtag1","hashtag2"]},{"1391656275":["hashtag1","hashtag2"]},{"1391656290":["hashtag1","hashtag2"]},{"1391656277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656285, 1391656279, 1391656281, 1391656275, 1391656290, 1391656277)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391656279 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_20_3653.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 91.04105234146118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:48:05.981696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_32_2674.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_35_2741.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_38_3765.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_41_2549.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_44_2650.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_47_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_32_2674.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_35_2741.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_38_3765.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_41_2549.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_44_2650.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_47_3576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.166226387023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:48:23.754883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_32_2674.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_35_2741.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_38_3765.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_41_2549.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_44_2650.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_47_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_32_2674.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_35_2741.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_38_3765.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_41_2549.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_44_2650.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_47_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656369","1391656360","1391656354","1391656357","1391656365","1391656364"],"photo_ids_order":["1391656354","1391656357","1391656360","1391656364","1391656365","1391656369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af7c859eb6608e20b1dfeb1c127ec5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8285587949136994335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_47_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7655ed28e75d253c537bceec369f46c.jpg","text":"TemporaryFile(/tmp/multipartBody6419075684438672469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_38_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25a4928ff24e0e80b86bd0344a7fa935.jpg","text":"TemporaryFile(/tmp/multipartBody3141805332457861155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_32_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/daf21702515d654c321ea003690f0c30.jpg","text":"TemporaryFile(/tmp/multipartBody7453098662044384294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_35_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35316a85121bd24d75b1359cb175018b.jpg","text":"TemporaryFile(/tmp/multipartBody8837535623312595769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_44_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c4d95a59d3239083924971688287af1.jpg","text":"TemporaryFile(/tmp/multipartBody2308625892593503214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008569308,"filename":"image_30102025_04_23_41_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656360","file1":"1391656357","file0":"1391656354","file4":"1391656365","file5":"1391656369","file3":"1391656364"},"map_files_photo_id_array":[{"photo_id":"1391656369","filename":"file5"},{"photo_id":"1391656360","filename":"file2"},{"photo_id":"1391656365","filename":"file4"},{"photo_id":"1391656357","filename":"file1"},{"photo_id":"1391656354","filename":"file0"},{"photo_id":"1391656364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656369":["hashtag1","hashtag2"]},{"1391656360":["hashtag1","hashtag2"]},{"1391656354":["hashtag1","hashtag2"]},{"1391656357":["hashtag1","hashtag2"]},{"1391656365":["hashtag1","hashtag2"]},{"1391656364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656369, 1391656360, 1391656354, 1391656357, 1391656365, 1391656364)","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 = 1391656360 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_38_3765.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.850712299346924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:49:42.398752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_50_2580.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_56_2565.jpg', '/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_59_2873.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_03_3732.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_05_2744.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_08_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_50_2580.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_56_2565.jpg
/home/pi/Desktop/images/30102025/04/23/image_30102025_04_23_59_2873.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_03_3732.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_05_2744.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_08_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656396","1391656400","1391656393","1391656398","1391656391","1391656403"],"photo_ids_order":["1391656391","1391656393","1391656396","1391656398","1391656400","1391656403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f9778992d370114ab02c66f64265d6.jpg","text":"TemporaryFile(/tmp/multipartBody8361401731563448563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_23_59_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b232edc09a510beb147d2e50228305d2.jpg","text":"TemporaryFile(/tmp/multipartBody2460837594480268078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_24_05_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bdaeeeafdb7905a00b7751573105f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1844441671922016463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_23_56_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdf139f7c5dd40f01897771c57209641.jpg","text":"TemporaryFile(/tmp/multipartBody472564494638343770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_24_03_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44b7fa86b9d9f369d40b73e05581ba61.jpg","text":"TemporaryFile(/tmp/multipartBody237806040070706182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_23_50_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b294607c3fd6a48a69c3a81e6fd2ede3.jpg","text":"TemporaryFile(/tmp/multipartBody3992344456644910215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008643641,"filename":"image_30102025_04_24_08_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656396","file1":"1391656393","file0":"1391656391","file4":"1391656400","file5":"1391656403","file3":"1391656398"},"map_files_photo_id_array":[{"photo_id":"1391656403","filename":"file5"},{"photo_id":"1391656396","filename":"file2"},{"photo_id":"1391656400","filename":"file4"},{"photo_id":"1391656393","filename":"file1"},{"photo_id":"1391656391","filename":"file0"},{"photo_id":"1391656398","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656396":["hashtag1","hashtag2"]},{"1391656400":["hashtag1","hashtag2"]},{"1391656393":["hashtag1","hashtag2"]},{"1391656398":["hashtag1","hashtag2"]},{"1391656391":["hashtag1","hashtag2"]},{"1391656403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656396, 1391656400, 1391656393, 1391656398, 1391656391, 1391656403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0148549079895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:50:22.576913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_11_2626.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_17_2842.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_20_2708.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_23_2582.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_26_3686.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_29_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_11_2626.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_17_2842.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_20_2708.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_23_2582.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_26_3686.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_29_2653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7158284187316895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:50:42.770767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_11_2626.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_17_2842.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_20_2708.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_23_2582.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_26_3686.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_29_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_11_2626.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_17_2842.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_20_2708.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_23_2582.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_26_3686.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_29_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656427","1391656443","1391656437","1391656431","1391656440","1391656434"],"photo_ids_order":["1391656427","1391656431","1391656434","1391656437","1391656440","1391656443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ea935755faf85990583666170d36178.jpg","text":"TemporaryFile(/tmp/multipartBody6213971237526853096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_11_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a470666c703b2e3087d6f164ca59074.jpg","text":"TemporaryFile(/tmp/multipartBody4654043980445023884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_29_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc0a2268f1ccb4cd7f512d0901391efb.jpg","text":"TemporaryFile(/tmp/multipartBody1220041425723154410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_23_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfe86b98fef3e3aaab0d61ad3cdcf357.jpg","text":"TemporaryFile(/tmp/multipartBody8310415047576970586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_17_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc6bcd32cb1c0e88416306553ce04ad5.jpg","text":"TemporaryFile(/tmp/multipartBody4705674810524871779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_26_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa7be66a6a8fcc002f6fc77dc3813a63.jpg","text":"TemporaryFile(/tmp/multipartBody6516895422734150983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008703931,"filename":"image_30102025_04_24_20_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656434","file1":"1391656431","file0":"1391656427","file4":"1391656440","file5":"1391656443","file3":"1391656437"},"map_files_photo_id_array":[{"photo_id":"1391656443","filename":"file5"},{"photo_id":"1391656434","filename":"file2"},{"photo_id":"1391656440","filename":"file4"},{"photo_id":"1391656431","filename":"file1"},{"photo_id":"1391656427","filename":"file0"},{"photo_id":"1391656437","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656427":["hashtag1","hashtag2"]},{"1391656443":["hashtag1","hashtag2"]},{"1391656437":["hashtag1","hashtag2"]},{"1391656431":["hashtag1","hashtag2"]},{"1391656440":["hashtag1","hashtag2"]},{"1391656434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656427, 1391656443, 1391656437, 1391656431, 1391656440, 1391656434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.334171533584595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:51:21.928090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_32_2568.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_35_3594.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_38_2678.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_42_3648.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_44_2489.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_47_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_32_2568.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_35_3594.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_38_2678.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_42_3648.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_44_2489.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_47_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656466","1391656469","1391656460","1391656454","1391656463","1391656457"],"photo_ids_order":["1391656454","1391656457","1391656460","1391656463","1391656466","1391656469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dd9747e4161a636c6ff6832eb7fc505.jpg","text":"TemporaryFile(/tmp/multipartBody7001057385238371908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_44_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3b646e96160058d248ff4fbe4fce817.jpg","text":"TemporaryFile(/tmp/multipartBody4042073189162896407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8befb8664079a84876c2d888960c155e.jpg","text":"TemporaryFile(/tmp/multipartBody743267277540724045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_38_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c94197e851b011614e221c95498ca63.jpg","text":"TemporaryFile(/tmp/multipartBody2130097297018716380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_32_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7c60a72f5a87a3069a5972051891dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4853744996499460790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b59ac877fbb52918b410115bea4db00.jpg","text":"TemporaryFile(/tmp/multipartBody7639140487019225615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008744757,"filename":"image_30102025_04_24_35_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656460","file1":"1391656457","file0":"1391656454","file4":"1391656466","file5":"1391656469","file3":"1391656463"},"map_files_photo_id_array":[{"photo_id":"1391656469","filename":"file5"},{"photo_id":"1391656460","filename":"file2"},{"photo_id":"1391656466","filename":"file4"},{"photo_id":"1391656457","filename":"file1"},{"photo_id":"1391656454","filename":"file0"},{"photo_id":"1391656463","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656466":["hashtag1","hashtag2"]},{"1391656469":["hashtag1","hashtag2"]},{"1391656460":["hashtag1","hashtag2"]},{"1391656454":["hashtag1","hashtag2"]},{"1391656463":["hashtag1","hashtag2"]},{"1391656457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656466, 1391656469, 1391656460, 1391656454, 1391656463, 1391656457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.490893602371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:52:02.991194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_50_3740.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_53_2645.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_56_2592.jpg', '/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_59_3637.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_02_2685.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_05_3180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_50_3740.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_53_2645.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_56_2592.jpg
/home/pi/Desktop/images/30102025/04/24/image_30102025_04_24_59_3637.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_02_2685.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_05_3180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656486","1391656474","1391656482","1391656476","1391656479","1391656472"],"photo_ids_order":["1391656472","1391656474","1391656476","1391656479","1391656482","1391656486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f1e9838887985588efb27e549bb65dd.jpg","text":"TemporaryFile(/tmp/multipartBody825769510483475486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_25_05_3180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e6ea6e312644ff08f6d35dc7de608a7.jpg","text":"TemporaryFile(/tmp/multipartBody1959353273760561355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_24_53_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2817b067ce082d926fc390955e08faf.jpg","text":"TemporaryFile(/tmp/multipartBody521994929193572861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_25_02_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb81a85685f906db57e47c7de57f286a.jpg","text":"TemporaryFile(/tmp/multipartBody3286328925442418073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_24_56_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f5ce4459d16fced2c4cf046f60224a7.jpg","text":"TemporaryFile(/tmp/multipartBody6866086353625103294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_24_59_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ef776a12396ffdcaf0de96c4b7665ad.jpg","text":"TemporaryFile(/tmp/multipartBody1429738697805071789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008787156,"filename":"image_30102025_04_24_50_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656476","file1":"1391656474","file0":"1391656472","file4":"1391656482","file5":"1391656486","file3":"1391656479"},"map_files_photo_id_array":[{"photo_id":"1391656486","filename":"file5"},{"photo_id":"1391656476","filename":"file2"},{"photo_id":"1391656482","filename":"file4"},{"photo_id":"1391656474","filename":"file1"},{"photo_id":"1391656472","filename":"file0"},{"photo_id":"1391656479","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656486":["hashtag1","hashtag2"]},{"1391656474":["hashtag1","hashtag2"]},{"1391656482":["hashtag1","hashtag2"]},{"1391656476":["hashtag1","hashtag2"]},{"1391656479":["hashtag1","hashtag2"]},{"1391656472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656486, 1391656474, 1391656482, 1391656476, 1391656479, 1391656472)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.46068239212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:53:02.834197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_08_2687.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_11_3531.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_14_2813.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_17_2613.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_20_2845.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_23_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_08_2687.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_11_3531.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_14_2813.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_17_2613.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_20_2845.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_23_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656505","1391656507","1391656512","1391656515","1391656509","1391656502"],"photo_ids_order":["1391656502","1391656505","1391656507","1391656509","1391656512","1391656515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3969ffc15e95e5d5ec5aca80cb99ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2602750939503474876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_11_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea9f1f0cb7182832d51a32dd2fb08383.jpg","text":"TemporaryFile(/tmp/multipartBody5999037400338195703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_14_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e3ccf154f077a4ebb3ff6fd730bb512.jpg","text":"TemporaryFile(/tmp/multipartBody4109283187368343087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_20_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6973799d3c60a455d08a127c6c48183.jpg","text":"TemporaryFile(/tmp/multipartBody476381807918503155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_23_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ea716312ea5a21ec6c03fae70355234.jpg","text":"TemporaryFile(/tmp/multipartBody7219480363298419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_17_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f17d9abd1b19932542b0d6beeb12e28a.jpg","text":"TemporaryFile(/tmp/multipartBody7594803537505621105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008847168,"filename":"image_30102025_04_25_08_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656507","file1":"1391656505","file0":"1391656502","file4":"1391656512","file5":"1391656515","file3":"1391656509"},"map_files_photo_id_array":[{"photo_id":"1391656515","filename":"file5"},{"photo_id":"1391656507","filename":"file2"},{"photo_id":"1391656512","filename":"file4"},{"photo_id":"1391656505","filename":"file1"},{"photo_id":"1391656502","filename":"file0"},{"photo_id":"1391656509","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656505":["hashtag1","hashtag2"]},{"1391656507":["hashtag1","hashtag2"]},{"1391656512":["hashtag1","hashtag2"]},{"1391656515":["hashtag1","hashtag2"]},{"1391656509":["hashtag1","hashtag2"]},{"1391656502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656505, 1391656507, 1391656512, 1391656515, 1391656509, 1391656502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.326581954956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:54:03.198711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_26_2744.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_29_2557.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_32_3764.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_35_2758.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_38_2677.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_41_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_26_2744.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_29_2557.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_32_3764.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_35_2758.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_38_2677.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_41_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656543","1391656542","1391656536","1391656539","1391656533","1391656544"],"photo_ids_order":["1391656533","1391656536","1391656539","1391656542","1391656543","1391656544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/897a32c0cd7433a0670ef091b4bf219c.jpg","text":"TemporaryFile(/tmp/multipartBody2793903452135865936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_38_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c60d72d5252a0faf9122fd43b303f547.jpg","text":"TemporaryFile(/tmp/multipartBody6696590493196268337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_35_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86c0043079a4b8e753d34e0a58f1a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody1801809497652689486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_29_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5179d33c6f98565bcbaa6215fe847160.jpg","text":"TemporaryFile(/tmp/multipartBody7226276888976513341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_32_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e94110719478c2c8cc4ac3472643312.jpg","text":"TemporaryFile(/tmp/multipartBody279167052042878693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_26_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13306b776a0e40ebdbeb75dbff56bfee.jpg","text":"TemporaryFile(/tmp/multipartBody8592988002684243253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008914949,"filename":"image_30102025_04_25_41_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656539","file1":"1391656536","file0":"1391656533","file4":"1391656543","file5":"1391656544","file3":"1391656542"},"map_files_photo_id_array":[{"photo_id":"1391656544","filename":"file5"},{"photo_id":"1391656539","filename":"file2"},{"photo_id":"1391656543","filename":"file4"},{"photo_id":"1391656536","filename":"file1"},{"photo_id":"1391656533","filename":"file0"},{"photo_id":"1391656542","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656543":["hashtag1","hashtag2"]},{"1391656542":["hashtag1","hashtag2"]},{"1391656536":["hashtag1","hashtag2"]},{"1391656539":["hashtag1","hashtag2"]},{"1391656533":["hashtag1","hashtag2"]},{"1391656544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656543, 1391656542, 1391656536, 1391656539, 1391656533, 1391656544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.37325358390808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:55:03.402211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_44_3679.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_47_2705.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_50_2651.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_53_3591.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_56_2668.jpg', '/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_58_2498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_44_3679.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_47_2705.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_50_2651.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_53_3591.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_56_2668.jpg
/home/pi/Desktop/images/30102025/04/25/image_30102025_04_25_58_2498.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656561","1391656558","1391656555","1391656557","1391656565","1391656556"],"photo_ids_order":["1391656555","1391656556","1391656557","1391656558","1391656561","1391656565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3046ad366ec9904b11d6c1e637772a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6004432549748334868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_56_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09cda1167f025927c16b52e1d3d73a27.jpg","text":"TemporaryFile(/tmp/multipartBody6430897584775246825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_53_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d6c8a0d3bfc0a270ee5fa5b7d50b759.jpg","text":"TemporaryFile(/tmp/multipartBody540208970984413483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_44_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b9c6bff531f53ad229525dfc6a65c27.jpg","text":"TemporaryFile(/tmp/multipartBody4854127807557530411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_50_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af84f1b3523b90d375b411e73a26756c.jpg","text":"TemporaryFile(/tmp/multipartBody6601725916460084974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_58_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a63c87f681a50e0001c3a4f836110c5.jpg","text":"TemporaryFile(/tmp/multipartBody6125193863302902498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762008965698,"filename":"image_30102025_04_25_47_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656557","file1":"1391656556","file0":"1391656555","file4":"1391656561","file5":"1391656565","file3":"1391656558"},"map_files_photo_id_array":[{"photo_id":"1391656565","filename":"file5"},{"photo_id":"1391656557","filename":"file2"},{"photo_id":"1391656561","filename":"file4"},{"photo_id":"1391656556","filename":"file1"},{"photo_id":"1391656555","filename":"file0"},{"photo_id":"1391656558","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656561":["hashtag1","hashtag2"]},{"1391656558":["hashtag1","hashtag2"]},{"1391656555":["hashtag1","hashtag2"]},{"1391656557":["hashtag1","hashtag2"]},{"1391656565":["hashtag1","hashtag2"]},{"1391656556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656561, 1391656558, 1391656555, 1391656557, 1391656565, 1391656556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.025214195251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 15:55:42.709053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_02_3525.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_05_2608.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_08_3621.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_11_2736.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_14_2967.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_17_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_02_3525.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_05_2608.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_08_3621.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_11_2736.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_14_2967.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_17_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656582","1391656584","1391656583","1391656577","1391656586","1391656580"],"photo_ids_order":["1391656577","1391656580","1391656582","1391656583","1391656584","1391656586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bdc5cdc90127a22e53b4f7f5ec649db.jpg","text":"TemporaryFile(/tmp/multipartBody9067261643112498888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_08_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28ed8a88781499c9f2002606e9eb1c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7393678937747022097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_14_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45c82f8e9f2c17a7c77efb4e37fa3025.jpg","text":"TemporaryFile(/tmp/multipartBody6283931133135491506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_11_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bf3cb70d65b5966c8b2e69a71ce6d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4119013814154225679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_02_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd00ff0be006a45f4b769679d81e26da.jpg","text":"TemporaryFile(/tmp/multipartBody3505201941404416613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_17_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd9c95e88ac577e6595e1969bf8f6d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3491209136168772506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009003995,"filename":"image_30102025_04_26_05_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656582","file1":"1391656580","file0":"1391656577","file4":"1391656584","file5":"1391656586","file3":"1391656583"},"map_files_photo_id_array":[{"photo_id":"1391656586","filename":"file5"},{"photo_id":"1391656582","filename":"file2"},{"photo_id":"1391656584","filename":"file4"},{"photo_id":"1391656580","filename":"file1"},{"photo_id":"1391656577","filename":"file0"},{"photo_id":"1391656583","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656582":["hashtag1","hashtag2"]},{"1391656584":["hashtag1","hashtag2"]},{"1391656583":["hashtag1","hashtag2"]},{"1391656577":["hashtag1","hashtag2"]},{"1391656586":["hashtag1","hashtag2"]},{"1391656580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656582, 1391656584, 1391656583, 1391656577, 1391656586, 1391656580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28752517700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:56:21.910350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_20_3724.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_23_2639.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_26_2772.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_29_3569.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_32_2773.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_35_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_20_3724.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_23_2639.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_26_2772.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_29_3569.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_32_2773.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_35_2879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656610","1391656604","1391656606","1391656600","1391656596","1391656602"],"photo_ids_order":["1391656596","1391656600","1391656602","1391656604","1391656606","1391656610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3a8b1f6d8b7879c731a5c1db3b5e93b.jpg","text":"TemporaryFile(/tmp/multipartBody2630138666943377754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_35_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fec4a1d05d177dadbae9b5228bc0b15a.jpg","text":"TemporaryFile(/tmp/multipartBody6498820757622303938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_29_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73a3b6b8771107e683337386b06e6e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1850042597979433916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_32_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04cb4cc7580a39964f10a8cfcd817c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1813209380262176316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_23_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3eeb3500faf17047e9275009b6482039.jpg","text":"TemporaryFile(/tmp/multipartBody807416410223292973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_20_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81fd947baf7599e5f92635d641aeca29.jpg","text":"TemporaryFile(/tmp/multipartBody3694638354921065193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009044701,"filename":"image_30102025_04_26_26_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656602","file1":"1391656600","file0":"1391656596","file4":"1391656606","file5":"1391656610","file3":"1391656604"},"map_files_photo_id_array":[{"photo_id":"1391656610","filename":"file5"},{"photo_id":"1391656602","filename":"file2"},{"photo_id":"1391656606","filename":"file4"},{"photo_id":"1391656600","filename":"file1"},{"photo_id":"1391656596","filename":"file0"},{"photo_id":"1391656604","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656610":["hashtag1","hashtag2"]},{"1391656604":["hashtag1","hashtag2"]},{"1391656606":["hashtag1","hashtag2"]},{"1391656600":["hashtag1","hashtag2"]},{"1391656596":["hashtag1","hashtag2"]},{"1391656602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656610, 1391656604, 1391656606, 1391656600, 1391656596, 1391656602)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.14075446128845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:57:23.446780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_38_2694.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_41_3689.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_44_2831.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_47_2671.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_50_2749.jpg', '/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_53_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_38_2694.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_41_3689.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_44_2831.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_47_2671.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_50_2749.jpg
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_53_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391656633","1391656636","1391656641","1391656644","1391656647","1391656649"],"photo_ids_order":["1391656633","1391656636","1391656641","1391656644","1391656647","1391656649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0ef5f63ae0ec871d2cf1d5e70c21fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3822958078475288411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_38_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05456290ee6c578d2f32dd67a4a6b99a.jpg","text":"TemporaryFile(/tmp/multipartBody3681894744305946996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_41_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07e0e0d859bd45b727777166510eb1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2057597009734972801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_44_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8ead5e78846aba09c9edac00831e065.jpg","text":"TemporaryFile(/tmp/multipartBody926537127312231303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7322c6ad22eb256ad1e9721c19082910.jpg","text":"TemporaryFile(/tmp/multipartBody210687490317007286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_50_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d027813b2f7b4a5d611c314bf210299.jpg","text":"TemporaryFile(/tmp/multipartBody2248664801361864306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009117115,"filename":"image_30102025_04_26_53_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391656641","file1":"1391656636","file0":"1391656633","file4":"1391656647","file5":"1391656649","file3":"1391656644"},"map_files_photo_id_array":[{"photo_id":"1391656649","filename":"file5"},{"photo_id":"1391656641","filename":"file2"},{"photo_id":"1391656647","filename":"file4"},{"photo_id":"1391656636","filename":"file1"},{"photo_id":"1391656633","filename":"file0"},{"photo_id":"1391656644","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391656633":["hashtag1","hashtag2"]},{"1391656636":["hashtag1","hashtag2"]},{"1391656641":["hashtag1","hashtag2"]},{"1391656644":["hashtag1","hashtag2"]},{"1391656647":["hashtag1","hashtag2"]},{"1391656649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391656633, 1391656636, 1391656641, 1391656644, 1391656647, 1391656649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.15527820587158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 15:59:03.351934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 15:59:22.575024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_59_2713.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_08_2746.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_10_2587.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_14_3566.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_17_2695.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_20_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/26/image_30102025_04_26_59_2713.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_08_2746.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_10_2587.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_14_3566.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_17_2695.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_20_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391657101","1391657110","1391657079","1391657106","1391657100","1391657102"],"photo_ids_order":["1391657079","1391657100","1391657101","1391657102","1391657106","1391657110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da3feaea56a3f595307e1dc2ca037b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1066648038212759525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_27_10_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b6e71f8a6dc592dfe8a666ab05f6130.jpg","text":"TemporaryFile(/tmp/multipartBody2288131245049064236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_27_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a139b478f3a5f10100d782affb6475a4.jpg","text":"TemporaryFile(/tmp/multipartBody7646580276248482958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_26_59_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba472cc0e97310da9fc626b956c2141c.jpg","text":"TemporaryFile(/tmp/multipartBody6414507458074420194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_27_17_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f6bd071be56c50960708e63bd191af0.jpg","text":"TemporaryFile(/tmp/multipartBody3618912887269716138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_27_08_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fead26bcbbaf5bc28b526fb92cfc314d.jpg","text":"TemporaryFile(/tmp/multipartBody5501985343105910607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009226733,"filename":"image_30102025_04_27_14_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391657101","file1":"1391657100","file0":"1391657079","file4":"1391657106","file5":"1391657110","file3":"1391657102"},"map_files_photo_id_array":[{"photo_id":"1391657110","filename":"file5"},{"photo_id":"1391657101","filename":"file2"},{"photo_id":"1391657106","filename":"file4"},{"photo_id":"1391657100","filename":"file1"},{"photo_id":"1391657079","filename":"file0"},{"photo_id":"1391657102","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391657101":["hashtag1","hashtag2"]},{"1391657110":["hashtag1","hashtag2"]},{"1391657079":["hashtag1","hashtag2"]},{"1391657106":["hashtag1","hashtag2"]},{"1391657100":["hashtag1","hashtag2"]},{"1391657102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391657101, 1391657110, 1391657079, 1391657106, 1391657100, 1391657102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21060347557068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:00:21.776274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_23_2609.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_25_2573.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_28_2826.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_32_3595.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_35_2704.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_38_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_23_2609.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_25_2573.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_28_2826.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_32_3595.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_35_2704.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_38_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391657404","1391657547","1391657495","1391657444","1391657339","1391657263"],"photo_ids_order":["1391657263","1391657339","1391657404","1391657444","1391657495","1391657547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee2c747ab81827c932fec63d8ce495d2.jpg","text":"TemporaryFile(/tmp/multipartBody7980852701208374506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_28_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96ff7abe4ee157f0c0dfe7c7399d34f0.jpg","text":"TemporaryFile(/tmp/multipartBody4526486561353274107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_38_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcdcf07ec5e2763586ae519a1a7fb013.jpg","text":"TemporaryFile(/tmp/multipartBody5633546011245633579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_35_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/041fbfe0646016cbd9f75c50c6582681.jpg","text":"TemporaryFile(/tmp/multipartBody396378984752589611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_32_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11a356025953b3c91e27fa3ee9936d65.jpg","text":"TemporaryFile(/tmp/multipartBody3775183183509980561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_25_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da39b8f21d89a30efc732b6aa8f95e07.jpg","text":"TemporaryFile(/tmp/multipartBody7848835657355346227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009284534,"filename":"image_30102025_04_27_23_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391657404","file1":"1391657339","file0":"1391657263","file4":"1391657495","file5":"1391657547","file3":"1391657444"},"map_files_photo_id_array":[{"photo_id":"1391657547","filename":"file5"},{"photo_id":"1391657404","filename":"file2"},{"photo_id":"1391657495","filename":"file4"},{"photo_id":"1391657339","filename":"file1"},{"photo_id":"1391657263","filename":"file0"},{"photo_id":"1391657444","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391657404":["hashtag1","hashtag2"]},{"1391657547":["hashtag1","hashtag2"]},{"1391657495":["hashtag1","hashtag2"]},{"1391657444":["hashtag1","hashtag2"]},{"1391657339":["hashtag1","hashtag2"]},{"1391657263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391657404, 1391657547, 1391657495, 1391657444, 1391657339, 1391657263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.345524311065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:01:02.654261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_41_2786.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_44_2641.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_46_2704.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_50_3589.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_53_2661.jpg', '/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_56_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_41_2786.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_44_2641.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_46_2704.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_50_3589.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_53_2661.jpg
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_56_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391657827","1391657793","1391657719","1391657757","1391657864","1391657906"],"photo_ids_order":["1391657719","1391657757","1391657793","1391657827","1391657864","1391657906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59b48fd35cc2d9508608f5a5109a2533.jpg","text":"TemporaryFile(/tmp/multipartBody9003127710971714664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_50_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88615f7dcf8488a6d17c2aea74ceb9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4148629021460098587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_46_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3feb0271ebb6b721ff4c4f094ef4249.jpg","text":"TemporaryFile(/tmp/multipartBody3468831814313270175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_41_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a27e37b25eda0cce3d1feeee55fbd96d.jpg","text":"TemporaryFile(/tmp/multipartBody3799305042699197319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_44_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49c0c67f22c67f705aeec486ca4f0da6.jpg","text":"TemporaryFile(/tmp/multipartBody5733539266103430923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_53_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbe88d54c55a091857de65bf56b95275.jpg","text":"TemporaryFile(/tmp/multipartBody293550420574282115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009324994,"filename":"image_30102025_04_27_56_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391657793","file1":"1391657757","file0":"1391657719","file4":"1391657864","file5":"1391657906","file3":"1391657827"},"map_files_photo_id_array":[{"photo_id":"1391657906","filename":"file5"},{"photo_id":"1391657793","filename":"file2"},{"photo_id":"1391657864","filename":"file4"},{"photo_id":"1391657757","filename":"file1"},{"photo_id":"1391657719","filename":"file0"},{"photo_id":"1391657827","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391657827":["hashtag1","hashtag2"]},{"1391657793":["hashtag1","hashtag2"]},{"1391657719":["hashtag1","hashtag2"]},{"1391657757":["hashtag1","hashtag2"]},{"1391657864":["hashtag1","hashtag2"]},{"1391657906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391657827, 1391657793, 1391657719, 1391657757, 1391657864, 1391657906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.39545774459839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:02:02.316937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_59_2652.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_02_2820.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_04_2538.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_08_3888.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_11_2539.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_13_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/27/image_30102025_04_27_59_2652.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_02_2820.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_04_2538.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_08_3888.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_11_2539.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_13_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391658121","1391658118","1391658126","1391658113","1391658116","1391658166"],"photo_ids_order":["1391658113","1391658116","1391658118","1391658121","1391658126","1391658166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97ba8c97092adbc73003931f0e35a32c.jpg","text":"TemporaryFile(/tmp/multipartBody403315952342184558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_28_08_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3330f7b818b8387dc814fc9e732571ed.jpg","text":"TemporaryFile(/tmp/multipartBody2462698111179071882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_28_04_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25b097b358157e9517623674c19b1c48.jpg","text":"TemporaryFile(/tmp/multipartBody5805656873937829872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_28_11_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99c4ec47be4641faf39b56c7c95a4110.jpg","text":"TemporaryFile(/tmp/multipartBody8306486213679053322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_27_59_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d269c6ca5cbee6e4993785786f9a7316.jpg","text":"TemporaryFile(/tmp/multipartBody2654154268762488882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_28_02_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a2c2d0e03bd1213f97b365f91b1e05.jpg","text":"TemporaryFile(/tmp/multipartBody1645844408255628753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009384590,"filename":"image_30102025_04_28_13_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391658118","file1":"1391658116","file0":"1391658113","file4":"1391658126","file5":"1391658166","file3":"1391658121"},"map_files_photo_id_array":[{"photo_id":"1391658166","filename":"file5"},{"photo_id":"1391658118","filename":"file2"},{"photo_id":"1391658126","filename":"file4"},{"photo_id":"1391658116","filename":"file1"},{"photo_id":"1391658113","filename":"file0"},{"photo_id":"1391658121","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391658121":["hashtag1","hashtag2"]},{"1391658118":["hashtag1","hashtag2"]},{"1391658126":["hashtag1","hashtag2"]},{"1391658113":["hashtag1","hashtag2"]},{"1391658116":["hashtag1","hashtag2"]},{"1391658166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391658121, 1391658118, 1391658126, 1391658113, 1391658116, 1391658166)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 68.41479921340942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:03:28.503832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_17_3637.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_20_2699.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_22_2800.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_26_3636.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_29_2742.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_31_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_17_3637.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_20_2699.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_22_2800.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_26_3636.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_29_2742.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_31_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391658396","1391658381","1391658569","1391658437","1391658646","1391658502"],"photo_ids_order":["1391658381","1391658396","1391658437","1391658502","1391658569","1391658646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fc7789ab13a16178965ad2d3208730a.jpg","text":"TemporaryFile(/tmp/multipartBody2289209497953598802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a04c066c66895282651318f2473586a.jpg","text":"TemporaryFile(/tmp/multipartBody1578072234756429304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_17_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cb61edf75220d0664c53bca888eb142.jpg","text":"TemporaryFile(/tmp/multipartBody2326730442165956011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_29_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e41aeee2c1906e0d62f6484b1566d2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2711530376559409148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_22_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20dd3ae1da4b41d19b692ba177207f74.jpg","text":"TemporaryFile(/tmp/multipartBody5462522038109626348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_31_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbbafe77791e4a7a44a3c6e88e336551.jpg","text":"TemporaryFile(/tmp/multipartBody1490492449047571869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009476222,"filename":"image_30102025_04_28_26_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391658437","file1":"1391658396","file0":"1391658381","file4":"1391658569","file5":"1391658646","file3":"1391658502"},"map_files_photo_id_array":[{"photo_id":"1391658646","filename":"file5"},{"photo_id":"1391658437","filename":"file2"},{"photo_id":"1391658569","filename":"file4"},{"photo_id":"1391658396","filename":"file1"},{"photo_id":"1391658381","filename":"file0"},{"photo_id":"1391658502","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391658396":["hashtag1","hashtag2"]},{"1391658381":["hashtag1","hashtag2"]},{"1391658569":["hashtag1","hashtag2"]},{"1391658437":["hashtag1","hashtag2"]},{"1391658646":["hashtag1","hashtag2"]},{"1391658502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391658396, 1391658381, 1391658569, 1391658437, 1391658646, 1391658502)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.97089147567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:04:32.396532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_34_2798.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_38_3587.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_41_2735.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_44_3522.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_47_2804.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_50_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_34_2798.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_38_3587.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_41_2735.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_44_3522.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_47_2804.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_50_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391659379","1391659340","1391659184","1391659252","1391659293","1391659126"],"photo_ids_order":["1391659126","1391659184","1391659252","1391659293","1391659340","1391659379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f40445422c0ea9775e25da55dc6b65a9.jpg","text":"TemporaryFile(/tmp/multipartBody3692291412623035835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_50_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2660c64c70d04626b589136f4b15b370.jpg","text":"TemporaryFile(/tmp/multipartBody5349407623637736400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_47_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/687e74dfb39af1695f0f759bd918469c.jpg","text":"TemporaryFile(/tmp/multipartBody3259632273502815310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_38_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa3eab7cc2efa7351a7ed8ece85738c6.jpg","text":"TemporaryFile(/tmp/multipartBody9171175708418919274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_41_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2fe402a1e07540132e944c60bf23eb3.jpg","text":"TemporaryFile(/tmp/multipartBody5212572745539530111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_44_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d153672be69fefd9aaa03b9b7a740266.jpg","text":"TemporaryFile(/tmp/multipartBody8120295913158253078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009535277,"filename":"image_30102025_04_28_34_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391659252","file1":"1391659184","file0":"1391659126","file4":"1391659340","file5":"1391659379","file3":"1391659293"},"map_files_photo_id_array":[{"photo_id":"1391659379","filename":"file5"},{"photo_id":"1391659252","filename":"file2"},{"photo_id":"1391659340","filename":"file4"},{"photo_id":"1391659184","filename":"file1"},{"photo_id":"1391659126","filename":"file0"},{"photo_id":"1391659293","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391659379":["hashtag1","hashtag2"]},{"1391659340":["hashtag1","hashtag2"]},{"1391659184":["hashtag1","hashtag2"]},{"1391659252":["hashtag1","hashtag2"]},{"1391659293":["hashtag1","hashtag2"]},{"1391659126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391659379, 1391659340, 1391659184, 1391659252, 1391659293, 1391659126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.96413779258728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:05:22.529162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_52_2718.jpg', '/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_56_3829.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_02_2787.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_08_3682.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_10_2522.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_14_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_52_2718.jpg
/home/pi/Desktop/images/30102025/04/28/image_30102025_04_28_56_3829.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_02_2787.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_08_3682.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_10_2522.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_14_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391659812","1391659775","1391659937","1391659850","1391659894","1391659735"],"photo_ids_order":["1391659735","1391659775","1391659812","1391659850","1391659894","1391659937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d20a326a9f4af4e9b5e248283ba2eecd.jpg","text":"TemporaryFile(/tmp/multipartBody4153641412928179293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_29_02_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3a04a803b6ad480174f2f33c8f02d56.jpg","text":"TemporaryFile(/tmp/multipartBody2971730151224899227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_28_56_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/826f01c65fcb79622a6234dea358ec92.jpg","text":"TemporaryFile(/tmp/multipartBody5707795294954798868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_29_14_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bb76458e2eff4eb0ebaf982ea25cafd.jpg","text":"TemporaryFile(/tmp/multipartBody5976019734257682743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_29_08_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01e16e6aafdf851246f403245be99796.jpg","text":"TemporaryFile(/tmp/multipartBody5295879020202093646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_29_10_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b54a5e892abd96cabdb01a6ffaa7670.jpg","text":"TemporaryFile(/tmp/multipartBody1632680573736585860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009589184,"filename":"image_30102025_04_28_52_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391659812","file1":"1391659775","file0":"1391659735","file4":"1391659894","file5":"1391659937","file3":"1391659850"},"map_files_photo_id_array":[{"photo_id":"1391659937","filename":"file5"},{"photo_id":"1391659812","filename":"file2"},{"photo_id":"1391659894","filename":"file4"},{"photo_id":"1391659775","filename":"file1"},{"photo_id":"1391659735","filename":"file0"},{"photo_id":"1391659850","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391659812":["hashtag1","hashtag2"]},{"1391659775":["hashtag1","hashtag2"]},{"1391659937":["hashtag1","hashtag2"]},{"1391659850":["hashtag1","hashtag2"]},{"1391659894":["hashtag1","hashtag2"]},{"1391659735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391659812, 1391659775, 1391659937, 1391659850, 1391659894, 1391659735)","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 = 1391659812 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_02_2787.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.27378129959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:06:43.649060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_17_2658.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_19_2584.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_23_3765.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_26_2745.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_28_2585.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_32_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_17_2658.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_19_2584.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_23_3765.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_26_2745.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_28_2585.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_32_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391660184","1391660265","1391660304","1391660226","1391660141","1391660098"],"photo_ids_order":["1391660098","1391660141","1391660184","1391660226","1391660265","1391660304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ea67d14a5e3fa401dd82600c3107eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2985236675310494392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_23_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a34308bc920d2c948ba9a22d3db731c8.jpg","text":"TemporaryFile(/tmp/multipartBody9011193290770776601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_28_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/302181584d3e869881a29a50c45337ac.jpg","text":"TemporaryFile(/tmp/multipartBody2750990548072845398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_32_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffc5277814eadaf81f5b44aa9d2664dd.jpg","text":"TemporaryFile(/tmp/multipartBody2910018703349014715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_26_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46efe3858250f7f51c24dcd90fc6edde.jpg","text":"TemporaryFile(/tmp/multipartBody2550076206836481055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_19_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afb2ce2d4f752d2a70728afb99c70a88.jpg","text":"TemporaryFile(/tmp/multipartBody8714948525103770016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009665385,"filename":"image_30102025_04_29_17_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391660184","file1":"1391660141","file0":"1391660098","file4":"1391660265","file5":"1391660304","file3":"1391660226"},"map_files_photo_id_array":[{"photo_id":"1391660304","filename":"file5"},{"photo_id":"1391660184","filename":"file2"},{"photo_id":"1391660265","filename":"file4"},{"photo_id":"1391660141","filename":"file1"},{"photo_id":"1391660098","filename":"file0"},{"photo_id":"1391660226","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391660184":["hashtag1","hashtag2"]},{"1391660265":["hashtag1","hashtag2"]},{"1391660304":["hashtag1","hashtag2"]},{"1391660226":["hashtag1","hashtag2"]},{"1391660141":["hashtag1","hashtag2"]},{"1391660098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391660184, 1391660265, 1391660304, 1391660226, 1391660141, 1391660098)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 76.97456622123718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:08:02.810556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_35_2605.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_37_2627.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_40_2834.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_44_3585.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_46_2786.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_50_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_35_2605.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_37_2627.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_40_2834.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_44_3585.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_46_2786.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_50_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391660687","1391660840","1391660765","1391660567","1391660909","1391660611"],"photo_ids_order":["1391660567","1391660611","1391660687","1391660765","1391660840","1391660909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91e62b5423ddb318fc250ad871743a71.jpg","text":"TemporaryFile(/tmp/multipartBody590330716106158175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_40_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d5723dcd7b8513acc22e19bff9ab2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3830538796140955338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_46_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebe919b801ca010d36552eaff39085d2.jpg","text":"TemporaryFile(/tmp/multipartBody3800748456703195423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_44_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53a174f6690410a7dff4f735638540cf.jpg","text":"TemporaryFile(/tmp/multipartBody3534515649048748573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_35_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a90729dba82152cf41992a967ca7d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4912734757982980279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_50_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6352d586a5469b33a3153409488e0855.jpg","text":"TemporaryFile(/tmp/multipartBody3084849820577182010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009746532,"filename":"image_30102025_04_29_37_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391660687","file1":"1391660611","file0":"1391660567","file4":"1391660840","file5":"1391660909","file3":"1391660765"},"map_files_photo_id_array":[{"photo_id":"1391660909","filename":"file5"},{"photo_id":"1391660687","filename":"file2"},{"photo_id":"1391660840","filename":"file4"},{"photo_id":"1391660611","filename":"file1"},{"photo_id":"1391660567","filename":"file0"},{"photo_id":"1391660765","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391660687":["hashtag1","hashtag2"]},{"1391660840":["hashtag1","hashtag2"]},{"1391660765":["hashtag1","hashtag2"]},{"1391660567":["hashtag1","hashtag2"]},{"1391660909":["hashtag1","hashtag2"]},{"1391660611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391660687, 1391660840, 1391660765, 1391660567, 1391660909, 1391660611)","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 = 1391660687 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_40_2834.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 91.10894775390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:09:34.824513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_53_2604.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_55_2672.jpg', '/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_59_3532.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_01_2541.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_08_3634.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_11_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_53_2604.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_55_2672.jpg
/home/pi/Desktop/images/30102025/04/29/image_30102025_04_29_59_3532.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_01_2541.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_08_3634.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_11_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391661525","1391661689","1391661466","1391661751","1391661568","1391661610"],"photo_ids_order":["1391661466","1391661525","1391661568","1391661610","1391661689","1391661751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b7130c6d4ed7662fbee72465dab06c2.jpg","text":"TemporaryFile(/tmp/multipartBody2976356866352792989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_29_55_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc3ec0764f629f2d23edbc7a1d97aae0.jpg","text":"TemporaryFile(/tmp/multipartBody5229765605095208372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_30_08_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/927e74f8afd372be0fbc082f576b34e4.jpg","text":"TemporaryFile(/tmp/multipartBody9177263324752617781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_29_53_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3320d5a250298c2f709a90de6cc838e.jpg","text":"TemporaryFile(/tmp/multipartBody2838874320039113486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_30_11_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0e849748026e94f6d88c8a71caa7120.jpg","text":"TemporaryFile(/tmp/multipartBody7479451807645631445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_29_59_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42e51c7a533ad5df70a0116ed7a2a74b.jpg","text":"TemporaryFile(/tmp/multipartBody4453430394178846120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009837759,"filename":"image_30102025_04_30_01_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391661568","file1":"1391661525","file0":"1391661466","file4":"1391661689","file5":"1391661751","file3":"1391661610"},"map_files_photo_id_array":[{"photo_id":"1391661751","filename":"file5"},{"photo_id":"1391661568","filename":"file2"},{"photo_id":"1391661689","filename":"file4"},{"photo_id":"1391661525","filename":"file1"},{"photo_id":"1391661466","filename":"file0"},{"photo_id":"1391661610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391661525":["hashtag1","hashtag2"]},{"1391661689":["hashtag1","hashtag2"]},{"1391661466":["hashtag1","hashtag2"]},{"1391661751":["hashtag1","hashtag2"]},{"1391661568":["hashtag1","hashtag2"]},{"1391661610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391661525, 1391661689, 1391661466, 1391661751, 1391661568, 1391661610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86087989807129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:10:28.549840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_13_2670.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_16_2878.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_20_3812.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_23_2637.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_25_2835.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_29_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_13_2670.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_16_2878.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_20_3812.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_23_2637.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_25_2835.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_29_3549.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.697821140289307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:10:42.015620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_13_2670.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_16_2878.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_20_3812.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_23_2637.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_25_2835.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_29_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_13_2670.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_16_2878.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_20_3812.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_23_2637.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_25_2835.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_29_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391661804","1391661816","1391661812","1391661838","1391661808","1391661817"],"photo_ids_order":["1391661804","1391661808","1391661812","1391661816","1391661817","1391661838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a6d7ae9b3df951e0a7e2240f432d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody5614648050935439216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/091dd3b95e3daf2794327c8ef9fa26f8.jpg","text":"TemporaryFile(/tmp/multipartBody3014736115879229828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_23_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6797c0415443701cd5b02bdecdfdf1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5500117507258397825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_20_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92d6b886b7699f0f23a592b7d4af4953.jpg","text":"TemporaryFile(/tmp/multipartBody1989879681423267558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_29_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97a425ccc013c47bed84a387ae5be5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3771049146298475630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_16_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67b13a582da1dfe7deed1dc56d3f556b.jpg","text":"TemporaryFile(/tmp/multipartBody6450718740840119206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009903176,"filename":"image_30102025_04_30_25_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391661812","file1":"1391661808","file0":"1391661804","file4":"1391661817","file5":"1391661838","file3":"1391661816"},"map_files_photo_id_array":[{"photo_id":"1391661838","filename":"file5"},{"photo_id":"1391661812","filename":"file2"},{"photo_id":"1391661817","filename":"file4"},{"photo_id":"1391661808","filename":"file1"},{"photo_id":"1391661804","filename":"file0"},{"photo_id":"1391661816","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391661804":["hashtag1","hashtag2"]},{"1391661816":["hashtag1","hashtag2"]},{"1391661812":["hashtag1","hashtag2"]},{"1391661838":["hashtag1","hashtag2"]},{"1391661808":["hashtag1","hashtag2"]},{"1391661817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391661804, 1391661816, 1391661812, 1391661838, 1391661808, 1391661817)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.56758761405945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:11:42.304513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_32_2649.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_34_2723.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_38_3631.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_41_2674.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_43_2665.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_46_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_32_2649.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_34_2723.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_38_3631.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_41_2674.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_43_2665.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_46_2870.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391661927","1391661929","1391661911","1391661925","1391661922","1391661916"],"photo_ids_order":["1391661911","1391661916","1391661922","1391661925","1391661927","1391661929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d7db9ac263431af937e94b451f20bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8978169521068986201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_43_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a386f2ab1d264c38576ea0c57ff13c10.jpg","text":"TemporaryFile(/tmp/multipartBody5275161523043823217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_46_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa12ac899550c27e5777960b76ee2d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9023943064027940671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_32_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e27739fdb1277cdf697f0eb9f798236b.jpg","text":"TemporaryFile(/tmp/multipartBody7584721349370421561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_41_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e7989e76f54c782c74a5e23804b2ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8742711558694707425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_38_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f45af1cc2a3be30cc6fea676717ef330.jpg","text":"TemporaryFile(/tmp/multipartBody459066409495871766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762009966514,"filename":"image_30102025_04_30_34_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391661922","file1":"1391661916","file0":"1391661911","file4":"1391661927","file5":"1391661929","file3":"1391661925"},"map_files_photo_id_array":[{"photo_id":"1391661929","filename":"file5"},{"photo_id":"1391661922","filename":"file2"},{"photo_id":"1391661927","filename":"file4"},{"photo_id":"1391661916","filename":"file1"},{"photo_id":"1391661911","filename":"file0"},{"photo_id":"1391661925","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391661927":["hashtag1","hashtag2"]},{"1391661929":["hashtag1","hashtag2"]},{"1391661911":["hashtag1","hashtag2"]},{"1391661925":["hashtag1","hashtag2"]},{"1391661922":["hashtag1","hashtag2"]},{"1391661916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391661927, 1391661929, 1391661911, 1391661925, 1391661922, 1391661916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.4211688041687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:12:42.495129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_50_3680.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_53_2721.jpg', '/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_58_2790.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_02_3759.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_04_2610.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_11_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_50_3680.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_53_2721.jpg
/home/pi/Desktop/images/30102025/04/30/image_30102025_04_30_58_2790.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_02_3759.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_04_2610.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_11_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391661965","1391661956","1391661961","1391661958","1391661951","1391661960"],"photo_ids_order":["1391661951","1391661956","1391661958","1391661960","1391661961","1391661965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9e3097caa56c1f81d2e6c8ebab7a884.jpg","text":"TemporaryFile(/tmp/multipartBody1173264451977019376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_31_11_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5156e031ae58b238065834385bd19dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2075155570575854600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_30_53_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a112f04e88c2ea7c046ae42007e8ed3.jpg","text":"TemporaryFile(/tmp/multipartBody7570092001883112267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_31_04_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebdfe3d61c3845ee1252be71c9a6d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody6098846570280519926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_30_58_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbb5691581bc1caacd317478117feb83.jpg","text":"TemporaryFile(/tmp/multipartBody6647136571212422321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_30_50_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08e789c93fa8d48ae23f53dc23f2168d.jpg","text":"TemporaryFile(/tmp/multipartBody5916731673578525994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010023741,"filename":"image_30102025_04_31_02_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391661958","file1":"1391661956","file0":"1391661951","file4":"1391661961","file5":"1391661965","file3":"1391661960"},"map_files_photo_id_array":[{"photo_id":"1391661965","filename":"file5"},{"photo_id":"1391661958","filename":"file2"},{"photo_id":"1391661961","filename":"file4"},{"photo_id":"1391661956","filename":"file1"},{"photo_id":"1391661951","filename":"file0"},{"photo_id":"1391661960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391661965":["hashtag1","hashtag2"]},{"1391661956":["hashtag1","hashtag2"]},{"1391661961":["hashtag1","hashtag2"]},{"1391661958":["hashtag1","hashtag2"]},{"1391661951":["hashtag1","hashtag2"]},{"1391661960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391661965, 1391661956, 1391661961, 1391661958, 1391661951, 1391661960)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.84376072883606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:14:02.513902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:14:26.834733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:14:41.981159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_13_2683.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_20_3556.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_22_2625.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_25_2842.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_29_3639.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_31_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_13_2683.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_20_3556.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_22_2625.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_25_2842.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_29_3639.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_31_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662028","1391662030","1391662024","1391662027","1391662021","1391662017"],"photo_ids_order":["1391662017","1391662021","1391662024","1391662027","1391662028","1391662030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e49ce6713d6b48dff5ffc77dbdcc98c.jpg","text":"TemporaryFile(/tmp/multipartBody5371129222356829929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_29_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b276d2b1ff03c2904db1daf2c43702f.jpg","text":"TemporaryFile(/tmp/multipartBody528584031362036301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_31_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9e638d3c88455da57a2ca42b353b7ed.jpg","text":"TemporaryFile(/tmp/multipartBody3126955354331539442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebfb4e0a8c095716de373a671f865aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8236787531105459209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_25_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a5532c4b988fd3a157fac33bcfa5f0d.jpg","text":"TemporaryFile(/tmp/multipartBody3021757435126430086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_20_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27bcef020354238fac26b2ca9c72d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody6549535750387926353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010144299,"filename":"image_30102025_04_31_13_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662024","file1":"1391662021","file0":"1391662017","file4":"1391662028","file5":"1391662030","file3":"1391662027"},"map_files_photo_id_array":[{"photo_id":"1391662030","filename":"file5"},{"photo_id":"1391662024","filename":"file2"},{"photo_id":"1391662028","filename":"file4"},{"photo_id":"1391662021","filename":"file1"},{"photo_id":"1391662017","filename":"file0"},{"photo_id":"1391662027","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662028":["hashtag1","hashtag2"]},{"1391662030":["hashtag1","hashtag2"]},{"1391662024":["hashtag1","hashtag2"]},{"1391662027":["hashtag1","hashtag2"]},{"1391662021":["hashtag1","hashtag2"]},{"1391662017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662028, 1391662030, 1391662024, 1391662027, 1391662021, 1391662017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.880582094192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:15:21.778877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_35_3533.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_38_2799.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_41_2859.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_43_2582.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_47_3626.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_49_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_35_3533.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_38_2799.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_41_2859.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_43_2582.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_47_3626.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_49_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662052","1391662046","1391662049","1391662047","1391662041","1391662044"],"photo_ids_order":["1391662041","1391662044","1391662046","1391662047","1391662049","1391662052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7de7726d6771d0bfd72511b85b492f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6335160483625814335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c243a68ff8e4719b9c572564c52e47f5.jpg","text":"TemporaryFile(/tmp/multipartBody6435456787292298690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_41_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4e513b9e8e9449e8c1f84e728010fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7193620014305877874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_47_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6a2ce656cf8da6690129a4a84802e02.jpg","text":"TemporaryFile(/tmp/multipartBody5912840477193390994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_43_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a15fd413a961746ec5e725b1df3f8efd.jpg","text":"TemporaryFile(/tmp/multipartBody2955412783858953063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_35_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b29224dd2e807f818adbe6241764942.jpg","text":"TemporaryFile(/tmp/multipartBody3097115967656631286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010184628,"filename":"image_30102025_04_31_38_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662046","file1":"1391662044","file0":"1391662041","file4":"1391662049","file5":"1391662052","file3":"1391662047"},"map_files_photo_id_array":[{"photo_id":"1391662052","filename":"file5"},{"photo_id":"1391662046","filename":"file2"},{"photo_id":"1391662049","filename":"file4"},{"photo_id":"1391662044","filename":"file1"},{"photo_id":"1391662041","filename":"file0"},{"photo_id":"1391662047","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662052":["hashtag1","hashtag2"]},{"1391662046":["hashtag1","hashtag2"]},{"1391662049":["hashtag1","hashtag2"]},{"1391662047":["hashtag1","hashtag2"]},{"1391662041":["hashtag1","hashtag2"]},{"1391662044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662052, 1391662046, 1391662049, 1391662047, 1391662041, 1391662044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30603313446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:16:02.534648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_52_2682.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_56_3691.jpg', '/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_58_2608.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_01_2700.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_04_2736.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_07_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_52_2682.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_56_3691.jpg
/home/pi/Desktop/images/30102025/04/31/image_30102025_04_31_58_2608.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_01_2700.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_04_2736.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_07_3523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662067","1391662072","1391662069","1391662065","1391662068","1391662062"],"photo_ids_order":["1391662062","1391662065","1391662067","1391662068","1391662069","1391662072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70a734e3b069e25d4dfead9ccec414b3.jpg","text":"TemporaryFile(/tmp/multipartBody3775353605842248398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_31_58_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e55cc6728af245e341e29c9f8f3ff00.jpg","text":"TemporaryFile(/tmp/multipartBody3155527231591480658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_32_07_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bc3189c520db84cacdb617d5a82ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody3704171435874253442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_32_04_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57624fd9ba7a25946e64a82b5a4637f1.jpg","text":"TemporaryFile(/tmp/multipartBody6200158261970813436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_31_56_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9ec41390949ef45eb4a1001a45f802c.jpg","text":"TemporaryFile(/tmp/multipartBody2243042668922831543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_32_01_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ee15d55c7bc8421cc88ace2488117af.jpg","text":"TemporaryFile(/tmp/multipartBody8328754259915054901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010224767,"filename":"image_30102025_04_31_52_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662067","file1":"1391662065","file0":"1391662062","file4":"1391662069","file5":"1391662072","file3":"1391662068"},"map_files_photo_id_array":[{"photo_id":"1391662072","filename":"file5"},{"photo_id":"1391662067","filename":"file2"},{"photo_id":"1391662069","filename":"file4"},{"photo_id":"1391662065","filename":"file1"},{"photo_id":"1391662062","filename":"file0"},{"photo_id":"1391662068","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662067":["hashtag1","hashtag2"]},{"1391662072":["hashtag1","hashtag2"]},{"1391662069":["hashtag1","hashtag2"]},{"1391662065":["hashtag1","hashtag2"]},{"1391662068":["hashtag1","hashtag2"]},{"1391662062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662067, 1391662072, 1391662069, 1391662065, 1391662068, 1391662062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92325162887573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:16:42.135781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_10_2805.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_13_2713.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_17_3801.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_19_2700.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_22_2566.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_26_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_10_2805.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_13_2713.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_17_3801.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_19_2700.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_22_2566.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_26_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662091","1391662100","1391662099","1391662095","1391662102","1391662086"],"photo_ids_order":["1391662086","1391662091","1391662095","1391662099","1391662100","1391662102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/799255c28783077de8b9f691d52be7ac.jpg","text":"TemporaryFile(/tmp/multipartBody2311944313206715615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_13_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb0a1bc17ad292b4719e3918f79099b1.jpg","text":"TemporaryFile(/tmp/multipartBody7604886560060292720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4509cb06fc229339e53bdcf00954e4a5.jpg","text":"TemporaryFile(/tmp/multipartBody3087819792572661326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_19_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b71554955a39e0dd37c5b9bbc2023931.jpg","text":"TemporaryFile(/tmp/multipartBody5191698142339267983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_17_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60265753f9a391250a91ca5afd792a90.jpg","text":"TemporaryFile(/tmp/multipartBody4399207508478322940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_26_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4690bd40b4af6dfa91071c08780cb9f.jpg","text":"TemporaryFile(/tmp/multipartBody5343763214916263867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010263421,"filename":"image_30102025_04_32_10_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662095","file1":"1391662091","file0":"1391662086","file4":"1391662100","file5":"1391662102","file3":"1391662099"},"map_files_photo_id_array":[{"photo_id":"1391662102","filename":"file5"},{"photo_id":"1391662095","filename":"file2"},{"photo_id":"1391662100","filename":"file4"},{"photo_id":"1391662091","filename":"file1"},{"photo_id":"1391662086","filename":"file0"},{"photo_id":"1391662099","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662091":["hashtag1","hashtag2"]},{"1391662100":["hashtag1","hashtag2"]},{"1391662099":["hashtag1","hashtag2"]},{"1391662095":["hashtag1","hashtag2"]},{"1391662102":["hashtag1","hashtag2"]},{"1391662086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662091, 1391662100, 1391662099, 1391662095, 1391662102, 1391662086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92340540885925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:17:22.278146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_28_2691.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_31_2737.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_34_2776.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_37_3552.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_40_2675.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_43_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_28_2691.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_31_2737.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_34_2776.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_37_3552.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_40_2675.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_43_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662160","1391662154","1391662112","1391662115","1391662120","1391662140"],"photo_ids_order":["1391662112","1391662115","1391662120","1391662140","1391662154","1391662160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c78d81e87d2e16a1f5da417562036296.jpg","text":"TemporaryFile(/tmp/multipartBody2496217025440692483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_43_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be2b872d7a2e001e5bf9a98212f801c9.jpg","text":"TemporaryFile(/tmp/multipartBody7203895958986473866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_40_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8eed8d5143f64f006bf6bb1f399908c.jpg","text":"TemporaryFile(/tmp/multipartBody7462463799622279951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_28_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee6ef506ef733f0a7e5dac9453e4f52f.jpg","text":"TemporaryFile(/tmp/multipartBody8772788096145706673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_31_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8992ef5908d54d878754fdeeb87e0cf5.jpg","text":"TemporaryFile(/tmp/multipartBody9135161932131638881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_34_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97ddaabcc72b42d10ef8202b0c473ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8523399263060792229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010305137,"filename":"image_30102025_04_32_37_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662120","file1":"1391662115","file0":"1391662112","file4":"1391662154","file5":"1391662160","file3":"1391662140"},"map_files_photo_id_array":[{"photo_id":"1391662160","filename":"file5"},{"photo_id":"1391662120","filename":"file2"},{"photo_id":"1391662154","filename":"file4"},{"photo_id":"1391662115","filename":"file1"},{"photo_id":"1391662112","filename":"file0"},{"photo_id":"1391662140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662160":["hashtag1","hashtag2"]},{"1391662154":["hashtag1","hashtag2"]},{"1391662112":["hashtag1","hashtag2"]},{"1391662115":["hashtag1","hashtag2"]},{"1391662120":["hashtag1","hashtag2"]},{"1391662140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662160, 1391662154, 1391662112, 1391662115, 1391662120, 1391662140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.725573778152466 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:18:22.471796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_47_3804.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_49_2548.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_52_2818.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_56_3671.jpg', '/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_59_2887.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_01_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_47_3804.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_49_2548.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_52_2818.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_56_3671.jpg
/home/pi/Desktop/images/30102025/04/32/image_30102025_04_32_59_2887.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_01_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662310","1391662247","1391662205","1391662275","1391662272","1391662199"],"photo_ids_order":["1391662199","1391662205","1391662247","1391662272","1391662275","1391662310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fca5cccc941d13a6f2a1ebe19e12d716.jpg","text":"TemporaryFile(/tmp/multipartBody223672044855108437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_33_01_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f178e74f08cc7be13456330707d3da5f.jpg","text":"TemporaryFile(/tmp/multipartBody8243814267943944075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_32_52_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1493207bd8ea87abe04c7987a32b56b.jpg","text":"TemporaryFile(/tmp/multipartBody2053400462251610652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_32_49_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b30943a06703e8a405773007f26172b.jpg","text":"TemporaryFile(/tmp/multipartBody7993035641109769763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_32_59_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0453ec548eee6ece8c0863bb29d1ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody224931733023927310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_32_56_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fd1f91403345a4d92627f790e1ce9d1.jpg","text":"TemporaryFile(/tmp/multipartBody8081455297582677685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010388077,"filename":"image_30102025_04_32_47_3804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662247","file1":"1391662205","file0":"1391662199","file4":"1391662275","file5":"1391662310","file3":"1391662272"},"map_files_photo_id_array":[{"photo_id":"1391662310","filename":"file5"},{"photo_id":"1391662247","filename":"file2"},{"photo_id":"1391662275","filename":"file4"},{"photo_id":"1391662205","filename":"file1"},{"photo_id":"1391662199","filename":"file0"},{"photo_id":"1391662272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662310":["hashtag1","hashtag2"]},{"1391662247":["hashtag1","hashtag2"]},{"1391662205":["hashtag1","hashtag2"]},{"1391662275":["hashtag1","hashtag2"]},{"1391662272":["hashtag1","hashtag2"]},{"1391662199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662310, 1391662247, 1391662205, 1391662275, 1391662272, 1391662199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.13542294502258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:19:45.494645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_08_3676.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_11_2911.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_13_2521.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_16_2672.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_19_3670.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_22_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_08_3676.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_11_2911.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_13_2521.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_16_2672.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_19_3670.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_22_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662500","1391662466","1391662508","1391662522","1391662566","1391662519"],"photo_ids_order":["1391662466","1391662500","1391662508","1391662519","1391662522","1391662566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05cc0626266b6d1593901b6f27c8f66c.jpg","text":"TemporaryFile(/tmp/multipartBody8151746543239834612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_11_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/126519cd7b744108e8a2bbfd246fb029.jpg","text":"TemporaryFile(/tmp/multipartBody1909802982240114258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_08_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f512f030a4ece33bc2db6a5e2118af7.jpg","text":"TemporaryFile(/tmp/multipartBody6519407186706433050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_13_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbd87905a0724954a7ff38f331916c14.jpg","text":"TemporaryFile(/tmp/multipartBody2616860248937928787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_19_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71e7a058e6e4534baf5960abb0929b56.jpg","text":"TemporaryFile(/tmp/multipartBody4220231530464210717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_22_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ede04f2bc0713ab2b3be714a4e47b95e.jpg","text":"TemporaryFile(/tmp/multipartBody1182085038441776848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010477460,"filename":"image_30102025_04_33_16_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662508","file1":"1391662500","file0":"1391662466","file4":"1391662522","file5":"1391662566","file3":"1391662519"},"map_files_photo_id_array":[{"photo_id":"1391662566","filename":"file5"},{"photo_id":"1391662508","filename":"file2"},{"photo_id":"1391662522","filename":"file4"},{"photo_id":"1391662500","filename":"file1"},{"photo_id":"1391662466","filename":"file0"},{"photo_id":"1391662519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662500":["hashtag1","hashtag2"]},{"1391662466":["hashtag1","hashtag2"]},{"1391662508":["hashtag1","hashtag2"]},{"1391662522":["hashtag1","hashtag2"]},{"1391662566":["hashtag1","hashtag2"]},{"1391662519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662500, 1391662466, 1391662508, 1391662522, 1391662566, 1391662519)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 77.95602917671204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:21:25.565955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:22:12.220748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_25_2591.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_28_3790.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_31_2692.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_34_2872.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_37_2624.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_40_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_25_2591.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_28_3790.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_31_2692.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_34_2872.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_37_2624.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_40_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662631","1391662627","1391662621","1391662615","1391662618","1391662635"],"photo_ids_order":["1391662615","1391662618","1391662621","1391662627","1391662631","1391662635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e62068c37440f7fa9c3cfc2934fa1a8.jpg","text":"TemporaryFile(/tmp/multipartBody490476429984718067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_37_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fdbccd729184c2cf7194d182a87f150.jpg","text":"TemporaryFile(/tmp/multipartBody1243695242870543337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_34_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a93df85c17efd66f115a9b598d7a9aa2.jpg","text":"TemporaryFile(/tmp/multipartBody1679709147492707350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0debf1cefee7fd687fd6cc6f5a79a30d.jpg","text":"TemporaryFile(/tmp/multipartBody7186161876022679892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_25_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ba2c8a993c156eeabd260a441527261.jpg","text":"TemporaryFile(/tmp/multipartBody1007798600215489765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_28_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72f8fd8cfd86554f8146213d8845aaff.jpg","text":"TemporaryFile(/tmp/multipartBody4170482125715980163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010613497,"filename":"image_30102025_04_33_40_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662621","file1":"1391662618","file0":"1391662615","file4":"1391662631","file5":"1391662635","file3":"1391662627"},"map_files_photo_id_array":[{"photo_id":"1391662635","filename":"file5"},{"photo_id":"1391662621","filename":"file2"},{"photo_id":"1391662631","filename":"file4"},{"photo_id":"1391662618","filename":"file1"},{"photo_id":"1391662615","filename":"file0"},{"photo_id":"1391662627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662631":["hashtag1","hashtag2"]},{"1391662627":["hashtag1","hashtag2"]},{"1391662621":["hashtag1","hashtag2"]},{"1391662615":["hashtag1","hashtag2"]},{"1391662618":["hashtag1","hashtag2"]},{"1391662635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662631, 1391662627, 1391662621, 1391662615, 1391662618, 1391662635)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 82.46103119850159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:23:42.109509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662664","1391662658","1391662669","1391662672","1391662666","1391662668"],"photo_ids_order":["1391662658","1391662664","1391662666","1391662668","1391662669","1391662672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c4213db755ca6166a53626ea42202fe.jpg","text":"TemporaryFile(/tmp/multipartBody3444115957378115305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_47_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9397c2bdb39515ac0474932e872217e9.jpg","text":"TemporaryFile(/tmp/multipartBody3297332244848234474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_43_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1818b578e6ebdbfb50215a8af8fcb754.jpg","text":"TemporaryFile(/tmp/multipartBody1668475675115752752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_55_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/414f5486c982b2d7a4ec9f0182134c74.jpg","text":"TemporaryFile(/tmp/multipartBody4704606835313182067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_58_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cea6ecfd9bcfdce38c4c5b5fe710acd7.jpg","text":"TemporaryFile(/tmp/multipartBody4460254422339297979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/132d93f6d73331880749739099e0995d.jpg","text":"TemporaryFile(/tmp/multipartBody163994958013772787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010683341,"filename":"image_30102025_04_33_52_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662666","file1":"1391662664","file0":"1391662658","file4":"1391662669","file5":"1391662672","file3":"1391662668"},"map_files_photo_id_array":[{"photo_id":"1391662672","filename":"file5"},{"photo_id":"1391662666","filename":"file2"},{"photo_id":"1391662669","filename":"file4"},{"photo_id":"1391662664","filename":"file1"},{"photo_id":"1391662658","filename":"file0"},{"photo_id":"1391662668","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662664":["hashtag1","hashtag2"]},{"1391662658":["hashtag1","hashtag2"]},{"1391662669":["hashtag1","hashtag2"]},{"1391662672":["hashtag1","hashtag2"]},{"1391662666":["hashtag1","hashtag2"]},{"1391662668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662664, 1391662658, 1391662669, 1391662672, 1391662666, 1391662668)","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 = 1391662666 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391662666 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
uploaded 6 photos
time to upload: 61.219261169433594 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:25:05.522223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:25:24.812191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662727","1391662723","1391662717","1391662732","1391662720","1391662734"],"photo_ids_order":["1391662717","1391662720","1391662723","1391662727","1391662732","1391662734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e14450a5e659f40eac028f1b3dbf4e9.jpg","text":"TemporaryFile(/tmp/multipartBody2301330409059928054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_52_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/468ec8a81dda2279188c8a9b135aeffa.jpg","text":"TemporaryFile(/tmp/multipartBody450096127037215485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5354eaabc033dfb6789ed4c6086222a3.jpg","text":"TemporaryFile(/tmp/multipartBody5649451165934673182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_43_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d31d2dc40bd81c53c5af206420c1d7bc.jpg","text":"TemporaryFile(/tmp/multipartBody8555916650368406843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_55_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b64082c12e221a2f6afd0469499bf67c.jpg","text":"TemporaryFile(/tmp/multipartBody3686242599075017056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_47_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c23994b5111251be1bf147999a2cd524.jpg","text":"TemporaryFile(/tmp/multipartBody3224167358948411119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010790615,"filename":"image_30102025_04_33_58_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662723","file1":"1391662720","file0":"1391662717","file4":"1391662732","file5":"1391662734","file3":"1391662727"},"map_files_photo_id_array":[{"photo_id":"1391662734","filename":"file5"},{"photo_id":"1391662723","filename":"file2"},{"photo_id":"1391662732","filename":"file4"},{"photo_id":"1391662720","filename":"file1"},{"photo_id":"1391662717","filename":"file0"},{"photo_id":"1391662727","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662727":["hashtag1","hashtag2"]},{"1391662723":["hashtag1","hashtag2"]},{"1391662717":["hashtag1","hashtag2"]},{"1391662732":["hashtag1","hashtag2"]},{"1391662720":["hashtag1","hashtag2"]},{"1391662734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662727, 1391662723, 1391662717, 1391662732, 1391662720, 1391662734)","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 = 1391662723 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391662723 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
uploaded 6 photos
time to upload: 69.73810315132141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:26:48.733558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662889","1391662862","1391662897","1391662901","1391662817","1391662893"],"photo_ids_order":["1391662817","1391662862","1391662889","1391662893","1391662897","1391662901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3d2e9620b23d33b73e164eb625d7d49.jpg","text":"TemporaryFile(/tmp/multipartBody6171721125228761652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05c3fd7a376c181a514c341cfb72edd0.jpg","text":"TemporaryFile(/tmp/multipartBody8291652683031385673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_47_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/886ef696b76b1b3d3d703182fd29e437.jpg","text":"TemporaryFile(/tmp/multipartBody1878320850894648097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_55_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20709e2aacb659b07203771ff3cf1771.jpg","text":"TemporaryFile(/tmp/multipartBody5241572532874938594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_58_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cca18e374e829410af0e141ba2daf122.jpg","text":"TemporaryFile(/tmp/multipartBody4300667735134063097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_43_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/960e999a63a8fd79a3455123890917e0.jpg","text":"TemporaryFile(/tmp/multipartBody2265711758062806406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010874064,"filename":"image_30102025_04_33_52_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662889","file1":"1391662862","file0":"1391662817","file4":"1391662897","file5":"1391662901","file3":"1391662893"},"map_files_photo_id_array":[{"photo_id":"1391662901","filename":"file5"},{"photo_id":"1391662889","filename":"file2"},{"photo_id":"1391662897","filename":"file4"},{"photo_id":"1391662862","filename":"file1"},{"photo_id":"1391662817","filename":"file0"},{"photo_id":"1391662893","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662889":["hashtag1","hashtag2"]},{"1391662862":["hashtag1","hashtag2"]},{"1391662897":["hashtag1","hashtag2"]},{"1391662901":["hashtag1","hashtag2"]},{"1391662817":["hashtag1","hashtag2"]},{"1391662893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662889, 1391662862, 1391662897, 1391662901, 1391662817, 1391662893)","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 = 1391662889 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391662889 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg";
uploaded 6 photos
time to upload: 66.73010683059692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-01 16:28:25.894939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:28:48.688659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg', '/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_43_2572.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_47_3638.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_49_2665.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_52_2555.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_55_3692.jpg
/home/pi/Desktop/images/30102025/04/33/image_30102025_04_33_58_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391662978","1391662963","1391662957","1391662980","1391662983","1391662977"],"photo_ids_order":["1391662957","1391662963","1391662977","1391662978","1391662980","1391662983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44e70e65239d3cb0f0f724e85bdd7f66.jpg","text":"TemporaryFile(/tmp/multipartBody8687532993276564579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_52_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8004949bb58e3f8c6344c12e1ecdf087.jpg","text":"TemporaryFile(/tmp/multipartBody1712474436818923926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_47_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20d382ac32479049911d26169043d03f.jpg","text":"TemporaryFile(/tmp/multipartBody7175603656881253101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_43_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/486903d127699f4cf59b0fd8ee3d1baf.jpg","text":"TemporaryFile(/tmp/multipartBody5095011918284489913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_55_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2daecb44a7539e650317c25a89545c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7760557663965797101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_58_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc0c924e203f14376ffd7d578f7e9098.jpg","text":"TemporaryFile(/tmp/multipartBody3701502325735161045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762010989838,"filename":"image_30102025_04_33_49_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391662977","file1":"1391662963","file0":"1391662957","file4":"1391662980","file5":"1391662983","file3":"1391662978"},"map_files_photo_id_array":[{"photo_id":"1391662983","filename":"file5"},{"photo_id":"1391662977","filename":"file2"},{"photo_id":"1391662980","filename":"file4"},{"photo_id":"1391662963","filename":"file1"},{"photo_id":"1391662957","filename":"file0"},{"photo_id":"1391662978","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391662978":["hashtag1","hashtag2"]},{"1391662963":["hashtag1","hashtag2"]},{"1391662957":["hashtag1","hashtag2"]},{"1391662980":["hashtag1","hashtag2"]},{"1391662983":["hashtag1","hashtag2"]},{"1391662977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391662978, 1391662963, 1391662957, 1391662980, 1391662983, 1391662977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93967366218567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:29:41.989620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_01_2648.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_04_3642.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_07_2592.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_11_3619.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_13_2654.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_16_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_01_2648.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_04_3642.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_07_2592.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_11_3619.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_13_2654.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_16_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663063","1391663065","1391663061","1391663070","1391663058","1391663066"],"photo_ids_order":["1391663058","1391663061","1391663063","1391663065","1391663066","1391663070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d80d5e1988f53e7eb3e162772819bd64.jpg","text":"TemporaryFile(/tmp/multipartBody1836171082482350543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_07_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6419c36a3a59abaa125f7c736d419af8.jpg","text":"TemporaryFile(/tmp/multipartBody1023132311141283247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_11_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f81fd28b2ed88b32adbb67db38cffb11.jpg","text":"TemporaryFile(/tmp/multipartBody2486096625293939652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_04_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37f7221fde7381cba60ebcf07921db78.jpg","text":"TemporaryFile(/tmp/multipartBody9198054420750931400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_16_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a34445334fc79f35a952c8185453ba2f.jpg","text":"TemporaryFile(/tmp/multipartBody5923381729391309763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_01_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3314512081700fe83796657d2717e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3868429546666753364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011043284,"filename":"image_30102025_04_34_13_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663063","file1":"1391663061","file0":"1391663058","file4":"1391663066","file5":"1391663070","file3":"1391663065"},"map_files_photo_id_array":[{"photo_id":"1391663070","filename":"file5"},{"photo_id":"1391663063","filename":"file2"},{"photo_id":"1391663066","filename":"file4"},{"photo_id":"1391663061","filename":"file1"},{"photo_id":"1391663058","filename":"file0"},{"photo_id":"1391663065","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663063":["hashtag1","hashtag2"]},{"1391663065":["hashtag1","hashtag2"]},{"1391663061":["hashtag1","hashtag2"]},{"1391663070":["hashtag1","hashtag2"]},{"1391663058":["hashtag1","hashtag2"]},{"1391663066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663063, 1391663065, 1391663061, 1391663070, 1391663058, 1391663066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89760446548462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:30:42.255001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:31:03.123642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_19_2594.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_22_3826.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_28_2649.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_32_3704.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_34_2725.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_37_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_19_2594.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_22_3826.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_28_2649.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_32_3704.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_34_2725.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_37_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663095","1391663098","1391663113","1391663101","1391663091","1391663087"],"photo_ids_order":["1391663087","1391663091","1391663095","1391663098","1391663101","1391663113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9d87aa4ae2bfb00c9af12115fc6f42d.jpg","text":"TemporaryFile(/tmp/multipartBody6893713087731540772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_28_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/985fcb9c2a8b419218eb5eeaf64b6406.jpg","text":"TemporaryFile(/tmp/multipartBody2894835071607997847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_32_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d30a8fe10d5ebfbae13f38e18b82348c.jpg","text":"TemporaryFile(/tmp/multipartBody8541872556990068235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_37_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c14e9992e782f0bbb9d04a3ec76eac83.jpg","text":"TemporaryFile(/tmp/multipartBody5337441339798131101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_34_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6da2fa5cd07b12dbb7b1a008c27b54a9.jpg","text":"TemporaryFile(/tmp/multipartBody9078490634791016112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_22_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d52fc9c634635830d79ca127706f20ae.jpg","text":"TemporaryFile(/tmp/multipartBody4079197396219104116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011125995,"filename":"image_30102025_04_34_19_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663095","file1":"1391663091","file0":"1391663087","file4":"1391663101","file5":"1391663113","file3":"1391663098"},"map_files_photo_id_array":[{"photo_id":"1391663113","filename":"file5"},{"photo_id":"1391663095","filename":"file2"},{"photo_id":"1391663101","filename":"file4"},{"photo_id":"1391663091","filename":"file1"},{"photo_id":"1391663087","filename":"file0"},{"photo_id":"1391663098","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663095":["hashtag1","hashtag2"]},{"1391663098":["hashtag1","hashtag2"]},{"1391663113":["hashtag1","hashtag2"]},{"1391663101":["hashtag1","hashtag2"]},{"1391663091":["hashtag1","hashtag2"]},{"1391663087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663095, 1391663098, 1391663113, 1391663101, 1391663091, 1391663087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.3985378742218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:32:04.830054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_41_3518.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_43_2514.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_46_2640.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_49_3658.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_52_2787.jpg', '/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_55_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_41_3518.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_43_2514.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_46_2640.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_49_3658.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_52_2787.jpg
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_55_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663170","1391663158","1391663160","1391663163","1391663166","1391663168"],"photo_ids_order":["1391663158","1391663160","1391663163","1391663166","1391663168","1391663170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5d067c6d57d8a7b395c8f88fe54c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody6627131627311766167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_55_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d13017c9dc92aebbe380c06b9d1f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1688033284612762774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_41_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17d1ca1d67e875a92408896c3f348211.jpg","text":"TemporaryFile(/tmp/multipartBody8437368857400106185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_43_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07faf3fa94c391706eeb6cb1c65e2d96.jpg","text":"TemporaryFile(/tmp/multipartBody2650291143185699771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_46_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa130243408f90ab4220da756ca46425.jpg","text":"TemporaryFile(/tmp/multipartBody7519699484109387534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_49_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d7174565bc62c8d2c950c9e90a19e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8633525018428645306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011188845,"filename":"image_30102025_04_34_52_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663163","file1":"1391663160","file0":"1391663158","file4":"1391663168","file5":"1391663170","file3":"1391663166"},"map_files_photo_id_array":[{"photo_id":"1391663170","filename":"file5"},{"photo_id":"1391663163","filename":"file2"},{"photo_id":"1391663168","filename":"file4"},{"photo_id":"1391663160","filename":"file1"},{"photo_id":"1391663158","filename":"file0"},{"photo_id":"1391663166","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663170":["hashtag1","hashtag2"]},{"1391663158":["hashtag1","hashtag2"]},{"1391663160":["hashtag1","hashtag2"]},{"1391663163":["hashtag1","hashtag2"]},{"1391663166":["hashtag1","hashtag2"]},{"1391663168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663170, 1391663158, 1391663160, 1391663163, 1391663166, 1391663168)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.08712196350098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:33:04.755971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_58_3714.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_01_2601.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_04_2536.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_07_3568.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_10_2681.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_13_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/34/image_30102025_04_34_58_3714.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_01_2601.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_04_2536.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_07_3568.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_10_2681.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_13_2833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663300","1391663237","1391663188","1391663311","1391663200","1391663280"],"photo_ids_order":["1391663188","1391663200","1391663237","1391663280","1391663300","1391663311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d25412463186df479cc5b75407d9fdae.jpg","text":"TemporaryFile(/tmp/multipartBody3295235422110019510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_35_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8b073a8370d5f65b9b859b6c9bdda7d.jpg","text":"TemporaryFile(/tmp/multipartBody4819588025818209413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_35_04_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64427183f25365efb40b53a616a5f318.jpg","text":"TemporaryFile(/tmp/multipartBody1754374080401523931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_34_58_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dcd092e881cbe45012e308afc8f9808.jpg","text":"TemporaryFile(/tmp/multipartBody347454545017721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_35_13_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc692a90586cbbd254621baaae20b409.jpg","text":"TemporaryFile(/tmp/multipartBody5621503101799400139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_35_01_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c85f679de210816725075e5f8acf742.jpg","text":"TemporaryFile(/tmp/multipartBody5534632413250873340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011249874,"filename":"image_30102025_04_35_07_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663237","file1":"1391663200","file0":"1391663188","file4":"1391663300","file5":"1391663311","file3":"1391663280"},"map_files_photo_id_array":[{"photo_id":"1391663311","filename":"file5"},{"photo_id":"1391663237","filename":"file2"},{"photo_id":"1391663300","filename":"file4"},{"photo_id":"1391663200","filename":"file1"},{"photo_id":"1391663188","filename":"file0"},{"photo_id":"1391663280","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663300":["hashtag1","hashtag2"]},{"1391663237":["hashtag1","hashtag2"]},{"1391663188":["hashtag1","hashtag2"]},{"1391663311":["hashtag1","hashtag2"]},{"1391663200":["hashtag1","hashtag2"]},{"1391663280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663300, 1391663237, 1391663188, 1391663311, 1391663200, 1391663280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.191450119018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:34:02.540665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_16_3588.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_19_2808.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_22_2577.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_25_3743.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_28_2625.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_31_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_16_3588.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_19_2808.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_22_2577.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_25_3743.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_28_2625.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_31_2651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.818286418914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:34:21.865674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_16_3588.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_19_2808.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_22_2577.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_25_3743.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_28_2625.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_31_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_16_3588.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_19_2808.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_22_2577.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_25_3743.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_28_2625.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_31_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663514","1391663517","1391663502","1391663511","1391663505","1391663508"],"photo_ids_order":["1391663502","1391663505","1391663508","1391663511","1391663514","1391663517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/892d6c846d5e677a333d78074ffff68f.jpg","text":"TemporaryFile(/tmp/multipartBody1911419585614748374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc449018767d63ff90b1cd2e29b3005f.jpg","text":"TemporaryFile(/tmp/multipartBody5218794419622507748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/254403833a2317920e9c5ccb24edbdb7.jpg","text":"TemporaryFile(/tmp/multipartBody835134887124533940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_16_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e09dcc67a1690b42a00d3024c445bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4175589812616629669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_25_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b3acb601f215ff87cf6c1c26cb24044.jpg","text":"TemporaryFile(/tmp/multipartBody3031266317713284963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_19_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc8bbea32969ea5423d67a76d6e8eb16.jpg","text":"TemporaryFile(/tmp/multipartBody3214558590993542284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011324504,"filename":"image_30102025_04_35_22_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663508","file1":"1391663505","file0":"1391663502","file4":"1391663514","file5":"1391663517","file3":"1391663511"},"map_files_photo_id_array":[{"photo_id":"1391663517","filename":"file5"},{"photo_id":"1391663508","filename":"file2"},{"photo_id":"1391663514","filename":"file4"},{"photo_id":"1391663505","filename":"file1"},{"photo_id":"1391663502","filename":"file0"},{"photo_id":"1391663511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663514":["hashtag1","hashtag2"]},{"1391663517":["hashtag1","hashtag2"]},{"1391663502":["hashtag1","hashtag2"]},{"1391663511":["hashtag1","hashtag2"]},{"1391663505":["hashtag1","hashtag2"]},{"1391663508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663514, 1391663517, 1391663502, 1391663511, 1391663505, 1391663508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04378271102905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:35:02.718068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_37_2653.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_40_3562.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_43_2620.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_46_2573.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_49_3690.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_52_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_37_2653.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_40_3562.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_43_2620.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_46_2573.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_49_3690.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_52_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391663726","1391663773","1391663767","1391663605","1391663685","1391663646"],"photo_ids_order":["1391663605","1391663646","1391663685","1391663726","1391663767","1391663773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c23d91da7cf60b572479fac05c6acde2.jpg","text":"TemporaryFile(/tmp/multipartBody7700184887100210077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_46_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e294cc7e4a8e93fc474aad9fc0be4dba.jpg","text":"TemporaryFile(/tmp/multipartBody8797416868291504037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_52_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/508cde8b8677a937fd11fb4a1d190e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5972607906193646172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_49_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1339aa6f0e982bbbb3a2dd1e191aa97b.jpg","text":"TemporaryFile(/tmp/multipartBody4221349916333933253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_37_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/959a2508b50b1ee334d2f71ba3b06451.jpg","text":"TemporaryFile(/tmp/multipartBody8420953048789448663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_43_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fbbd8e7002be7bf9f3369e3e9c2b637.jpg","text":"TemporaryFile(/tmp/multipartBody249606283979518142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011365694,"filename":"image_30102025_04_35_40_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391663685","file1":"1391663646","file0":"1391663605","file4":"1391663767","file5":"1391663773","file3":"1391663726"},"map_files_photo_id_array":[{"photo_id":"1391663773","filename":"file5"},{"photo_id":"1391663685","filename":"file2"},{"photo_id":"1391663767","filename":"file4"},{"photo_id":"1391663646","filename":"file1"},{"photo_id":"1391663605","filename":"file0"},{"photo_id":"1391663726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391663726":["hashtag1","hashtag2"]},{"1391663773":["hashtag1","hashtag2"]},{"1391663767":["hashtag1","hashtag2"]},{"1391663605":["hashtag1","hashtag2"]},{"1391663685":["hashtag1","hashtag2"]},{"1391663646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391663726, 1391663773, 1391663767, 1391663605, 1391663685, 1391663646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7756564617157 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:36:02.973843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:36:30.531308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:37:03.437732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:37:22.780489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-01 16:38:23.084518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:38:49.638492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:39:11.134738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:39:50.543270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:40:14.819676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:40:55.226541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
2025-11-01 16:40:55.232619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:41:02.756641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:41:30.361876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:42:02.516136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_55_2674.jpg', '/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_58_3611.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_01_2773.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_04_2595.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_07_3635.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_10_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_55_2674.jpg
/home/pi/Desktop/images/30102025/04/35/image_30102025_04_35_58_3611.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_01_2773.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_04_2595.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_07_3635.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_10_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665120","1391665117","1391665126","1391665128","1391665124","1391665112"],"photo_ids_order":["1391665112","1391665117","1391665120","1391665124","1391665126","1391665128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0a574f2d483156585c7dd8d99107f41.jpg","text":"TemporaryFile(/tmp/multipartBody9188593310180005470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_36_01_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6116688cdd47d9aa7cd6311d59d4f288.jpg","text":"TemporaryFile(/tmp/multipartBody4466091720960553830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_35_58_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3739ecc1221d320cbaad6ff5b22b5093.jpg","text":"TemporaryFile(/tmp/multipartBody5356338367399003796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_36_07_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d561ebaa191f3fc5e9b71412ebc1c02.jpg","text":"TemporaryFile(/tmp/multipartBody8929288658876670892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_36_10_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d44c57e0f565c125fb8898737c780cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5783456281773586734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_36_04_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/346a44c747c52ceb5b46462781b6109c.jpg","text":"TemporaryFile(/tmp/multipartBody2522498856552572781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011784667,"filename":"image_30102025_04_35_55_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665120","file1":"1391665117","file0":"1391665112","file4":"1391665126","file5":"1391665128","file3":"1391665124"},"map_files_photo_id_array":[{"photo_id":"1391665128","filename":"file5"},{"photo_id":"1391665120","filename":"file2"},{"photo_id":"1391665126","filename":"file4"},{"photo_id":"1391665117","filename":"file1"},{"photo_id":"1391665112","filename":"file0"},{"photo_id":"1391665124","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665120":["hashtag1","hashtag2"]},{"1391665117":["hashtag1","hashtag2"]},{"1391665126":["hashtag1","hashtag2"]},{"1391665128":["hashtag1","hashtag2"]},{"1391665124":["hashtag1","hashtag2"]},{"1391665112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665120, 1391665117, 1391665126, 1391665128, 1391665124, 1391665112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2707724571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:42:42.156765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_13_3576.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_22_2678.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_25_2759.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_31_2988.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_34_2639.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_37_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_13_3576.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_22_2678.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_25_2759.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_31_2988.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_34_2639.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_37_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391665150","1391665138","1391665152","1391665146","1391665154","1391665142"],"photo_ids_order":["1391665138","1391665142","1391665146","1391665150","1391665152","1391665154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6195a8ca2970a831bedf6c5d8be576d5.jpg","text":"TemporaryFile(/tmp/multipartBody7088831455903940700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_31_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efed5ddfa3abeadb8779c62c792c8831.jpg","text":"TemporaryFile(/tmp/multipartBody4088739383704342965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_13_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ffe3d7ccc73ba98f990076df643ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody8959853186873627524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_34_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e5fb856b118fd3554578e68e7c12b31.jpg","text":"TemporaryFile(/tmp/multipartBody6323432493394386057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_25_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79715f26c89bacb72fb7c02dae5866e9.jpg","text":"TemporaryFile(/tmp/multipartBody2868523959315932796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_37_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8c5055c4b6bcbd25da990b7b9416845.jpg","text":"TemporaryFile(/tmp/multipartBody1965940789626909755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011823443,"filename":"image_30102025_04_36_22_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665146","file1":"1391665142","file0":"1391665138","file4":"1391665152","file5":"1391665154","file3":"1391665150"},"map_files_photo_id_array":[{"photo_id":"1391665154","filename":"file5"},{"photo_id":"1391665146","filename":"file2"},{"photo_id":"1391665152","filename":"file4"},{"photo_id":"1391665142","filename":"file1"},{"photo_id":"1391665138","filename":"file0"},{"photo_id":"1391665150","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665150":["hashtag1","hashtag2"]},{"1391665138":["hashtag1","hashtag2"]},{"1391665152":["hashtag1","hashtag2"]},{"1391665146":["hashtag1","hashtag2"]},{"1391665154":["hashtag1","hashtag2"]},{"1391665142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665150, 1391665138, 1391665152, 1391665146, 1391665154, 1391665142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.159318685531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:43:42.512199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_40_2631.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_43_2671.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_46_3556.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_49_2656.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_52_2676.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_55_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_40_2631.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_43_2671.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_46_3556.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_49_2656.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_52_2676.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_55_3529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665188","1391665182","1391665185","1391665179","1391665187","1391665175"],"photo_ids_order":["1391665175","1391665179","1391665182","1391665185","1391665187","1391665188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf5915c106f19deaa24931efda93af08.jpg","text":"TemporaryFile(/tmp/multipartBody660698773498664545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_55_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69dd9976e49b3a81435969a28e320d12.jpg","text":"TemporaryFile(/tmp/multipartBody2630670672366906216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_46_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bc9bf5b161fb6cf8e3c71b9bc7a9b83.jpg","text":"TemporaryFile(/tmp/multipartBody7521147547080423740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_49_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fdbaaae5b0515fb617c05c9e363e5da.jpg","text":"TemporaryFile(/tmp/multipartBody6834858508298861897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_43_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2237a6be6b53a98d6cd712dbc7c8e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody1224609101620203147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7812bbe9fea681e8aaa54d2fba8e995.jpg","text":"TemporaryFile(/tmp/multipartBody8165501303761375578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011883848,"filename":"image_30102025_04_36_40_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665182","file1":"1391665179","file0":"1391665175","file4":"1391665187","file5":"1391665188","file3":"1391665185"},"map_files_photo_id_array":[{"photo_id":"1391665188","filename":"file5"},{"photo_id":"1391665182","filename":"file2"},{"photo_id":"1391665187","filename":"file4"},{"photo_id":"1391665179","filename":"file1"},{"photo_id":"1391665175","filename":"file0"},{"photo_id":"1391665185","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665188":["hashtag1","hashtag2"]},{"1391665182":["hashtag1","hashtag2"]},{"1391665185":["hashtag1","hashtag2"]},{"1391665179":["hashtag1","hashtag2"]},{"1391665187":["hashtag1","hashtag2"]},{"1391665175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665188, 1391665182, 1391665185, 1391665179, 1391665187, 1391665175)","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 = 1391665182 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_46_3556.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.68042731285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:44:42.609672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_58_2625.jpg', '/home/pi/Desktop/images/30102025/04/36/image_30102025_04_37_00_2665.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_04_3728.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_07_2506.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_13_2529.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_15_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_36_58_2625.jpg
/home/pi/Desktop/images/30102025/04/36/image_30102025_04_37_00_2665.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_04_3728.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_07_2506.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_13_2529.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_15_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665216","1391665219","1391665213","1391665221","1391665223","1391665226"],"photo_ids_order":["1391665213","1391665216","1391665219","1391665221","1391665223","1391665226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7b7431b686296189f47cd6f133ab81b.jpg","text":"TemporaryFile(/tmp/multipartBody7516645901455926648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_37_00_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70786be2ba5b3c2cbfdfb22a5d35182a.jpg","text":"TemporaryFile(/tmp/multipartBody4731988695474942193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_37_04_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7242ee2cb61b94ea18ab82c53ab132dd.jpg","text":"TemporaryFile(/tmp/multipartBody7231204564902311452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_36_58_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3a34f88defdef02a769d774d278682b.jpg","text":"TemporaryFile(/tmp/multipartBody2542307963896157072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_37_07_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b327ca81726bd620121bd2d45438ff67.jpg","text":"TemporaryFile(/tmp/multipartBody5306760792408122538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_37_13_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a85f3f4a8fa840c0147518d90d974c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6538506504948900214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011943865,"filename":"image_30102025_04_37_15_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665219","file1":"1391665216","file0":"1391665213","file4":"1391665223","file5":"1391665226","file3":"1391665221"},"map_files_photo_id_array":[{"photo_id":"1391665226","filename":"file5"},{"photo_id":"1391665219","filename":"file2"},{"photo_id":"1391665223","filename":"file4"},{"photo_id":"1391665216","filename":"file1"},{"photo_id":"1391665213","filename":"file0"},{"photo_id":"1391665221","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665216":["hashtag1","hashtag2"]},{"1391665219":["hashtag1","hashtag2"]},{"1391665213":["hashtag1","hashtag2"]},{"1391665221":["hashtag1","hashtag2"]},{"1391665223":["hashtag1","hashtag2"]},{"1391665226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665216, 1391665219, 1391665213, 1391665221, 1391665223, 1391665226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.048405170440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:45:21.763802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_19_3507.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_22_2639.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_24_2725.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_28_3510.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_30_2636.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_33_2937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_19_3507.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_22_2639.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_24_2725.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_28_3510.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_30_2636.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_33_2937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665255","1391665243","1391665239","1391665248","1391665259","1391665252"],"photo_ids_order":["1391665239","1391665243","1391665248","1391665252","1391665255","1391665259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c9fa94e33e8aa3bdaa9f9638ca1b24.jpg","text":"TemporaryFile(/tmp/multipartBody5959839680368508210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_30_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5a2eabf65a1862251cb0f9f6b22294d.jpg","text":"TemporaryFile(/tmp/multipartBody8719075236371563976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_22_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6fe7e01b8dc411cceb53b5934328673.jpg","text":"TemporaryFile(/tmp/multipartBody40330020089813434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_19_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d199aa6333665cb6f99c7ac8f6cceb59.jpg","text":"TemporaryFile(/tmp/multipartBody5293371549694125839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_24_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3528882e36d7f3db18510a62b719f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody3165526387779482215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_33_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f614a81c409b991c9a0463d86dd7da51.jpg","text":"TemporaryFile(/tmp/multipartBody6548490051721178921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762011994535,"filename":"image_30102025_04_37_28_3510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665248","file1":"1391665243","file0":"1391665239","file4":"1391665255","file5":"1391665259","file3":"1391665252"},"map_files_photo_id_array":[{"photo_id":"1391665259","filename":"file5"},{"photo_id":"1391665248","filename":"file2"},{"photo_id":"1391665255","filename":"file4"},{"photo_id":"1391665243","filename":"file1"},{"photo_id":"1391665239","filename":"file0"},{"photo_id":"1391665252","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665255":["hashtag1","hashtag2"]},{"1391665243":["hashtag1","hashtag2"]},{"1391665239":["hashtag1","hashtag2"]},{"1391665248":["hashtag1","hashtag2"]},{"1391665259":["hashtag1","hashtag2"]},{"1391665252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665255, 1391665243, 1391665239, 1391665248, 1391665259, 1391665252)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 99.4975905418396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:47:02.845874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_37_3615.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_40_2682.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_42_2690.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_46_3685.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_49_2636.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_51_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_37_3615.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_40_2682.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_42_2690.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_46_3685.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_49_2636.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_51_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665293","1391665299","1391665308","1391665295","1391665297","1391665291"],"photo_ids_order":["1391665291","1391665293","1391665295","1391665297","1391665299","1391665308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf7d4abe05069bc9290ea8b22d9231c8.jpg","text":"TemporaryFile(/tmp/multipartBody3053464730226199976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_40_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/748ff89c763cef4edbf59a3d72b5267a.jpg","text":"TemporaryFile(/tmp/multipartBody5888993354871876406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_49_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5be9165f06c61b9ea4b2e4bd6a371398.jpg","text":"TemporaryFile(/tmp/multipartBody4393287249327760716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_51_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c509d64b677c71c39cb77eedc1fd818.jpg","text":"TemporaryFile(/tmp/multipartBody8821819701940122748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_42_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94a7266d022626136034b68ba2d9e24a.jpg","text":"TemporaryFile(/tmp/multipartBody4209752305176063791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_46_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b34b5c341ea145198ad4ef44140074e.jpg","text":"TemporaryFile(/tmp/multipartBody1447340265417436066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012091683,"filename":"image_30102025_04_37_37_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665295","file1":"1391665293","file0":"1391665291","file4":"1391665299","file5":"1391665308","file3":"1391665297"},"map_files_photo_id_array":[{"photo_id":"1391665308","filename":"file5"},{"photo_id":"1391665295","filename":"file2"},{"photo_id":"1391665299","filename":"file4"},{"photo_id":"1391665293","filename":"file1"},{"photo_id":"1391665291","filename":"file0"},{"photo_id":"1391665297","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665293":["hashtag1","hashtag2"]},{"1391665299":["hashtag1","hashtag2"]},{"1391665308":["hashtag1","hashtag2"]},{"1391665295":["hashtag1","hashtag2"]},{"1391665297":["hashtag1","hashtag2"]},{"1391665291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665293, 1391665299, 1391665308, 1391665295, 1391665297, 1391665291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.313435554504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:48:02.258644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-01 16:48:21.868966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_55_3738.jpg', '/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_58_2565.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_01_2794.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_03_2676.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_07_3886.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_10_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_55_3738.jpg
/home/pi/Desktop/images/30102025/04/37/image_30102025_04_37_58_2565.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_01_2794.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_03_2676.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_07_3886.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_10_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665369","1391665359","1391665355","1391665364","1391665357","1391665372"],"photo_ids_order":["1391665355","1391665357","1391665359","1391665364","1391665369","1391665372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/814c8f0a07df74ee6736da30a7bae874.jpg","text":"TemporaryFile(/tmp/multipartBody1129500336929194944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_38_07_3886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37c7e3b7db094ddf317769aaff22d997.jpg","text":"TemporaryFile(/tmp/multipartBody5449373954904046602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_38_01_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05cba521137cfc6d5439a5d92f4d2022.jpg","text":"TemporaryFile(/tmp/multipartBody5509180992029093063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_37_55_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/258296d9c7d80ae77433dfd314c04aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1776565050620050624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_38_03_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38338c3deae1ed9784ee63c021aa22ee.jpg","text":"TemporaryFile(/tmp/multipartBody4495127609727819998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_37_58_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc28a57b857278b85d4100bf538f2edb.jpg","text":"TemporaryFile(/tmp/multipartBody2037754125288480274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012193192,"filename":"image_30102025_04_38_10_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665359","file1":"1391665357","file0":"1391665355","file4":"1391665369","file5":"1391665372","file3":"1391665364"},"map_files_photo_id_array":[{"photo_id":"1391665372","filename":"file5"},{"photo_id":"1391665359","filename":"file2"},{"photo_id":"1391665369","filename":"file4"},{"photo_id":"1391665357","filename":"file1"},{"photo_id":"1391665355","filename":"file0"},{"photo_id":"1391665364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665369":["hashtag1","hashtag2"]},{"1391665359":["hashtag1","hashtag2"]},{"1391665355":["hashtag1","hashtag2"]},{"1391665364":["hashtag1","hashtag2"]},{"1391665357":["hashtag1","hashtag2"]},{"1391665372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665369, 1391665359, 1391665355, 1391665364, 1391665357, 1391665372)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 96.58616185188293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:50:02.662253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:50:22.438634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_13_3304.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_16_2666.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_18_2672.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_22_3549.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_25_2614.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_27_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_13_3304.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_16_2666.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_18_2672.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_22_3549.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_25_2614.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_27_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665417","1391665402","1391665405","1391665419","1391665413","1391665409"],"photo_ids_order":["1391665402","1391665405","1391665409","1391665413","1391665417","1391665419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0c40edc0eae4141d8732b3a3d3deb4c.jpg","text":"TemporaryFile(/tmp/multipartBody1535127403224541990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_25_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7390d25159de67b2c8b76c2f83a7b80f.jpg","text":"TemporaryFile(/tmp/multipartBody2199592301818173176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_13_3304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39ffd7045422cdf77dd036322b3d31c7.jpg","text":"TemporaryFile(/tmp/multipartBody5293876378840426418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_16_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4092896df8bb4643992cddf93836f351.jpg","text":"TemporaryFile(/tmp/multipartBody7169275748725974361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_27_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/198abc7d9fad3344ea9c4852f909a2b6.jpg","text":"TemporaryFile(/tmp/multipartBody989897598825656405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_22_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a284fb6344128e201de3cebb4d50325.jpg","text":"TemporaryFile(/tmp/multipartBody4015619074463959008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012289083,"filename":"image_30102025_04_38_18_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665409","file1":"1391665405","file0":"1391665402","file4":"1391665417","file5":"1391665419","file3":"1391665413"},"map_files_photo_id_array":[{"photo_id":"1391665419","filename":"file5"},{"photo_id":"1391665409","filename":"file2"},{"photo_id":"1391665417","filename":"file4"},{"photo_id":"1391665405","filename":"file1"},{"photo_id":"1391665402","filename":"file0"},{"photo_id":"1391665413","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665417":["hashtag1","hashtag2"]},{"1391665402":["hashtag1","hashtag2"]},{"1391665405":["hashtag1","hashtag2"]},{"1391665419":["hashtag1","hashtag2"]},{"1391665413":["hashtag1","hashtag2"]},{"1391665409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665417, 1391665402, 1391665405, 1391665419, 1391665413, 1391665409)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 79.60382437705994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:51:45.201552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_31_3620.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_33_2615.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_37_3638.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_40_2523.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_42_2566.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_46_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_31_3620.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_33_2615.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_37_3638.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_40_2523.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_42_2566.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_46_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665455","1391665449","1391665452","1391665446","1391665457","1391665442"],"photo_ids_order":["1391665442","1391665446","1391665449","1391665452","1391665455","1391665457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0591eda12ef8ad690926c7ba9ec892fc.jpg","text":"TemporaryFile(/tmp/multipartBody538171398274220097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_42_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2189ed803fb5a32a2c7a82e8c39ec5c9.jpg","text":"TemporaryFile(/tmp/multipartBody1131327351240687355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_37_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43851b3aa718b8bc09634a6e18587868.jpg","text":"TemporaryFile(/tmp/multipartBody7972539285204751257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_40_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ac76e458264e384271024df90d56921.jpg","text":"TemporaryFile(/tmp/multipartBody161981132209506239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26accb7134f59b78d9206ad6be702ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3126115186087775338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_46_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9e0fae04da87d6c0f2b912a5f12e63b.jpg","text":"TemporaryFile(/tmp/multipartBody5055041387665059522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012366428,"filename":"image_30102025_04_38_31_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665449","file1":"1391665446","file0":"1391665442","file4":"1391665455","file5":"1391665457","file3":"1391665452"},"map_files_photo_id_array":[{"photo_id":"1391665457","filename":"file5"},{"photo_id":"1391665449","filename":"file2"},{"photo_id":"1391665455","filename":"file4"},{"photo_id":"1391665446","filename":"file1"},{"photo_id":"1391665442","filename":"file0"},{"photo_id":"1391665452","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665455":["hashtag1","hashtag2"]},{"1391665449":["hashtag1","hashtag2"]},{"1391665452":["hashtag1","hashtag2"]},{"1391665446":["hashtag1","hashtag2"]},{"1391665457":["hashtag1","hashtag2"]},{"1391665442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665455, 1391665449, 1391665452, 1391665446, 1391665457, 1391665442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13549876213074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:52:22.300343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_49_2723.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_52_3545.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_55_2683.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_58_2753.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_39_00_2688.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_04_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_49_2723.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_52_3545.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_55_2683.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_58_2753.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_39_00_2688.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_04_3610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 18.414153575897217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:52:42.345001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_49_2723.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_52_3545.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_55_2683.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_58_2753.jpg', '/home/pi/Desktop/images/30102025/04/38/image_30102025_04_39_00_2688.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_04_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_49_2723.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_52_3545.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_55_2683.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_38_58_2753.jpg
/home/pi/Desktop/images/30102025/04/38/image_30102025_04_39_00_2688.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_04_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665485","1391665487","1391665472","1391665481","1391665489","1391665477"],"photo_ids_order":["1391665472","1391665477","1391665481","1391665485","1391665487","1391665489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3164f272680700f2b03b97d226980e93.jpg","text":"TemporaryFile(/tmp/multipartBody4847368171553255277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_38_58_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0bd7d47c2db4ecbaeb865a4b7e1543a.jpg","text":"TemporaryFile(/tmp/multipartBody4022308537354749462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_39_00_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a11a23248846f34e94250af9625473fc.jpg","text":"TemporaryFile(/tmp/multipartBody7361720601516554887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_38_49_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/287d1a90442d247e3d2a3354c00375eb.jpg","text":"TemporaryFile(/tmp/multipartBody3876988711429431821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_38_55_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccb9be797944e29a279bf11762ddbdd8.jpg","text":"TemporaryFile(/tmp/multipartBody4767583324244986998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_39_04_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7380000b438989f2b30a77e52d89d47c.jpg","text":"TemporaryFile(/tmp/multipartBody8256519599858451541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012423493,"filename":"image_30102025_04_38_52_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665481","file1":"1391665477","file0":"1391665472","file4":"1391665487","file5":"1391665489","file3":"1391665485"},"map_files_photo_id_array":[{"photo_id":"1391665489","filename":"file5"},{"photo_id":"1391665481","filename":"file2"},{"photo_id":"1391665487","filename":"file4"},{"photo_id":"1391665477","filename":"file1"},{"photo_id":"1391665472","filename":"file0"},{"photo_id":"1391665485","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665485":["hashtag1","hashtag2"]},{"1391665487":["hashtag1","hashtag2"]},{"1391665472":["hashtag1","hashtag2"]},{"1391665481":["hashtag1","hashtag2"]},{"1391665489":["hashtag1","hashtag2"]},{"1391665477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665485, 1391665487, 1391665472, 1391665481, 1391665489, 1391665477)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.57588338851929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:54:03.182430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_07_2734.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_09_2898.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_12_2648.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_16_3687.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_18_2629.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_21_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_07_2734.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_09_2898.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_12_2648.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_16_3687.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_18_2629.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_21_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665531","1391665525","1391665528","1391665522","1391665518","1391665515"],"photo_ids_order":["1391665515","1391665518","1391665522","1391665525","1391665528","1391665531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f03746fa6994712c7c44bfbc97c888a9.jpg","text":"TemporaryFile(/tmp/multipartBody8791082153755353128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_21_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98175e08f14f989b1a51d198389014a1.jpg","text":"TemporaryFile(/tmp/multipartBody3380639157406070042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_16_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42fce38d79cfe906522bf1b954e44c54.jpg","text":"TemporaryFile(/tmp/multipartBody6294174100546432990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/deab3fe6f17e5068b57c809ef0204627.jpg","text":"TemporaryFile(/tmp/multipartBody446502095876565605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_12_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b389189694b6dec9e99d73b078108036.jpg","text":"TemporaryFile(/tmp/multipartBody5192299796261852229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_09_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fac7f2642859f2d393ade98b88f956c9.jpg","text":"TemporaryFile(/tmp/multipartBody4436560069635607497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012505286,"filename":"image_30102025_04_39_07_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665522","file1":"1391665518","file0":"1391665515","file4":"1391665528","file5":"1391665531","file3":"1391665525"},"map_files_photo_id_array":[{"photo_id":"1391665531","filename":"file5"},{"photo_id":"1391665522","filename":"file2"},{"photo_id":"1391665528","filename":"file4"},{"photo_id":"1391665518","filename":"file1"},{"photo_id":"1391665515","filename":"file0"},{"photo_id":"1391665525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665531":["hashtag1","hashtag2"]},{"1391665525":["hashtag1","hashtag2"]},{"1391665528":["hashtag1","hashtag2"]},{"1391665522":["hashtag1","hashtag2"]},{"1391665518":["hashtag1","hashtag2"]},{"1391665515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665531, 1391665525, 1391665528, 1391665522, 1391665518, 1391665515)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.84712886810303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 16:55:05.208082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 16:55:22.849849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_25_3580.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_28_2701.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_37_3563.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_39_2662.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_43_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_25_3580.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_28_2701.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_37_3563.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_39_2662.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_43_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391665630","1391665627","1391665612","1391665623","1391665616","1391665619"],"photo_ids_order":["1391665612","1391665616","1391665619","1391665623","1391665627","1391665630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d0e199565d92a1582a412040703563f.jpg","text":"TemporaryFile(/tmp/multipartBody3375825245730500156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_43_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6e1f81ffd0e2a0b3dbfd0405609d237.jpg","text":"TemporaryFile(/tmp/multipartBody4492886537725233773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_39_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3729fb3d0efc2f7fad31e6158d7e4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7436998478001295552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_25_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0f7fdfa305e917eebc26efedd22c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody9222565570748127971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_37_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32df7e763c2848f977c6d55b85da2af3.jpg","text":"TemporaryFile(/tmp/multipartBody488328976965481203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42aa6f8210d796502df27167d662bb4e.jpg","text":"TemporaryFile(/tmp/multipartBody836995609445402922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012655001,"filename":"image_30102025_04_39_33_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391665619","file1":"1391665616","file0":"1391665612","file4":"1391665627","file5":"1391665630","file3":"1391665623"},"map_files_photo_id_array":[{"photo_id":"1391665630","filename":"file5"},{"photo_id":"1391665619","filename":"file2"},{"photo_id":"1391665627","filename":"file4"},{"photo_id":"1391665616","filename":"file1"},{"photo_id":"1391665612","filename":"file0"},{"photo_id":"1391665623","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391665630":["hashtag1","hashtag2"]},{"1391665627":["hashtag1","hashtag2"]},{"1391665612":["hashtag1","hashtag2"]},{"1391665623":["hashtag1","hashtag2"]},{"1391665616":["hashtag1","hashtag2"]},{"1391665619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391665630, 1391665627, 1391665612, 1391665623, 1391665616, 1391665619)","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 = 1391665619 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391665619 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg";
uploaded 6 photos
time to upload: 131.4679651260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 16:57:54.722874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:00:02.533957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_25_3580.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_28_2701.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_37_3563.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_39_2662.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_43_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_25_3580.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_28_2701.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_33_2784.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_37_3563.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_39_2662.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_43_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391666463","1391666388","1391666352","1391666423","1391666272","1391666314"],"photo_ids_order":["1391666272","1391666314","1391666352","1391666388","1391666423","1391666463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e92a8299c491f1acff1873c061d642d7.jpg","text":"TemporaryFile(/tmp/multipartBody5857647862515091758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_43_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b253bd3a370b67312f97f70b6983953.jpg","text":"TemporaryFile(/tmp/multipartBody7352377319687658967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_37_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f848429769eec67288621962643798a.jpg","text":"TemporaryFile(/tmp/multipartBody7799560739045558029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_33_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9435e301451278fc50be33ec9d61b389.jpg","text":"TemporaryFile(/tmp/multipartBody1750746737833090133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_39_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5df2c09ff824325257115a63ddd489a6.jpg","text":"TemporaryFile(/tmp/multipartBody7146056071347138727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_25_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3155e32e766da4a57a2421384857d4c7.jpg","text":"TemporaryFile(/tmp/multipartBody1769917217566331066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012864637,"filename":"image_30102025_04_39_28_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391666352","file1":"1391666314","file0":"1391666272","file4":"1391666423","file5":"1391666463","file3":"1391666388"},"map_files_photo_id_array":[{"photo_id":"1391666463","filename":"file5"},{"photo_id":"1391666352","filename":"file2"},{"photo_id":"1391666423","filename":"file4"},{"photo_id":"1391666314","filename":"file1"},{"photo_id":"1391666272","filename":"file0"},{"photo_id":"1391666388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391666463":["hashtag1","hashtag2"]},{"1391666388":["hashtag1","hashtag2"]},{"1391666352":["hashtag1","hashtag2"]},{"1391666423":["hashtag1","hashtag2"]},{"1391666272":["hashtag1","hashtag2"]},{"1391666314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391666463, 1391666388, 1391666352, 1391666423, 1391666272, 1391666314)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 75.73844909667969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:01:24.406686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_46_2725.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_49_2909.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_55_3636.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_57_2558.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_40_00_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_46_2725.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_49_2909.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_55_3636.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_57_2558.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_40_00_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391667417","1391667496","1391667346","1391667304","1391667226","1391667264"],"photo_ids_order":["1391667226","1391667264","1391667304","1391667346","1391667417","1391667496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e92183706f6d75f32f67f92df231ba67.jpg","text":"TemporaryFile(/tmp/multipartBody4649777877949368136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_39_57_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a47326836e139d011f17ceae03062edf.jpg","text":"TemporaryFile(/tmp/multipartBody4994538562569858008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_40_00_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b61115e32dc53e550fe90757c7a19fcc.jpg","text":"TemporaryFile(/tmp/multipartBody1953768215679566112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_39_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/277e2629e3c127cbc26361b382914907.jpg","text":"TemporaryFile(/tmp/multipartBody6604445779707190335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_39_51_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9e606f3345eec037a9abd844dc2c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6292332787041388623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_39_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21393605a93d22d04c54ac384cd254fb.jpg","text":"TemporaryFile(/tmp/multipartBody3511189057502708040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762012950031,"filename":"image_30102025_04_39_49_2909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391667304","file1":"1391667264","file0":"1391667226","file4":"1391667417","file5":"1391667496","file3":"1391667346"},"map_files_photo_id_array":[{"photo_id":"1391667496","filename":"file5"},{"photo_id":"1391667304","filename":"file2"},{"photo_id":"1391667417","filename":"file4"},{"photo_id":"1391667264","filename":"file1"},{"photo_id":"1391667226","filename":"file0"},{"photo_id":"1391667346","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391667417":["hashtag1","hashtag2"]},{"1391667496":["hashtag1","hashtag2"]},{"1391667346":["hashtag1","hashtag2"]},{"1391667304":["hashtag1","hashtag2"]},{"1391667226":["hashtag1","hashtag2"]},{"1391667264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391667417, 1391667496, 1391667346, 1391667304, 1391667226, 1391667264)","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 = 1391667304 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391667304 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg";
uploaded 6 photos
time to upload: 65.41036248207092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:02:42.565291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:03:03.050429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:03:22.353755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_46_2725.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_49_2909.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_55_3636.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_57_2558.jpg', '/home/pi/Desktop/images/30102025/04/39/image_30102025_04_40_00_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_46_2725.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_49_2909.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_51_2650.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_55_3636.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_39_57_2558.jpg
/home/pi/Desktop/images/30102025/04/39/image_30102025_04_40_00_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391668509","1391668511","1391668522","1391668513","1391668479","1391668518"],"photo_ids_order":["1391668479","1391668509","1391668511","1391668513","1391668518","1391668522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ba157eb0f678dbf6d2585ea9d5e1835.jpg","text":"TemporaryFile(/tmp/multipartBody1620684193187586688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_39_49_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b8487a632204bb91874e6cfe308310d.jpg","text":"TemporaryFile(/tmp/multipartBody2356605541235616601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_39_51_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41ccc0cd487ce09386d79f0ffadd992f.jpg","text":"TemporaryFile(/tmp/multipartBody185563190130553517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_40_00_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd93141b2fe08267cde58954b37d5008.jpg","text":"TemporaryFile(/tmp/multipartBody293823369961331771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_39_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8814ed5b22e5bb64b175080ac724e40e.jpg","text":"TemporaryFile(/tmp/multipartBody1452110377468555371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_39_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/381be931ecd0faf79b5c1b6eff6051f5.jpg","text":"TemporaryFile(/tmp/multipartBody539198671178412155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013064901,"filename":"image_30102025_04_39_57_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391668511","file1":"1391668509","file0":"1391668479","file4":"1391668518","file5":"1391668522","file3":"1391668513"},"map_files_photo_id_array":[{"photo_id":"1391668522","filename":"file5"},{"photo_id":"1391668511","filename":"file2"},{"photo_id":"1391668518","filename":"file4"},{"photo_id":"1391668509","filename":"file1"},{"photo_id":"1391668479","filename":"file0"},{"photo_id":"1391668513","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391668509":["hashtag1","hashtag2"]},{"1391668511":["hashtag1","hashtag2"]},{"1391668522":["hashtag1","hashtag2"]},{"1391668513":["hashtag1","hashtag2"]},{"1391668479":["hashtag1","hashtag2"]},{"1391668518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391668509, 1391668511, 1391668522, 1391668513, 1391668479, 1391668518)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 74.67663073539734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:04:42.604157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_04_3796.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_07_2696.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_09_2577.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_13_3619.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_15_2573.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_18_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_04_3796.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_07_2696.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_09_2577.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_13_3619.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_15_2573.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_18_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391668745","1391668858","1391668705","1391668807","1391668644","1391668605"],"photo_ids_order":["1391668605","1391668644","1391668705","1391668745","1391668807","1391668858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64384a8d79d8a7db1021ad9579eaa61c.jpg","text":"TemporaryFile(/tmp/multipartBody9102601570570275009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_13_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c733a765a1e0a5bd790043d0ab78f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody6965255699385638292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_18_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc524545aed01749de4c6f8b4222b23f.jpg","text":"TemporaryFile(/tmp/multipartBody5443420340853963977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_09_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c40ec65c4ac1f2de349ab98aa6c52e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5512472560304020788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_15_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8346419a0471774d68e1f3156d18f47f.jpg","text":"TemporaryFile(/tmp/multipartBody4314503182352518932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_07_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6632192db46aa68f888a88294f628bf1.jpg","text":"TemporaryFile(/tmp/multipartBody987764930118289585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013143921,"filename":"image_30102025_04_40_04_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391668705","file1":"1391668644","file0":"1391668605","file4":"1391668807","file5":"1391668858","file3":"1391668745"},"map_files_photo_id_array":[{"photo_id":"1391668858","filename":"file5"},{"photo_id":"1391668705","filename":"file2"},{"photo_id":"1391668807","filename":"file4"},{"photo_id":"1391668644","filename":"file1"},{"photo_id":"1391668605","filename":"file0"},{"photo_id":"1391668745","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391668745":["hashtag1","hashtag2"]},{"1391668858":["hashtag1","hashtag2"]},{"1391668705":["hashtag1","hashtag2"]},{"1391668807":["hashtag1","hashtag2"]},{"1391668644":["hashtag1","hashtag2"]},{"1391668605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391668745, 1391668858, 1391668705, 1391668807, 1391668644, 1391668605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.000584840774536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:05:26.702375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_22_3664.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_24_2658.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_27_2901.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_30_2893.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_34_3711.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_37_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_22_3664.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_24_2658.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_27_2901.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_30_2893.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_34_3711.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_37_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391669219","1391669356","1391669088","1391669262","1391669304","1391669171"],"photo_ids_order":["1391669088","1391669171","1391669219","1391669262","1391669304","1391669356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c969510c405eb2dee0813b2e6d4172fa.jpg","text":"TemporaryFile(/tmp/multipartBody3719502164608188364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_27_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a8d509663bc5f81bcb8307ff2172ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8994577983907979128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96b3c5c4dc0d13048be2382c8428a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody7528655246850254746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_22_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95be01c5eb2e040798ea7fac10bb37a2.jpg","text":"TemporaryFile(/tmp/multipartBody6025576961465762022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_30_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0735fedca1b5ace03047ddd9c399c937.jpg","text":"TemporaryFile(/tmp/multipartBody2268817734303273673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_34_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e72b4dabc2283d20da0e2d01f570fc7c.jpg","text":"TemporaryFile(/tmp/multipartBody3966111848859210606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013192900,"filename":"image_30102025_04_40_24_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391669219","file1":"1391669171","file0":"1391669088","file4":"1391669304","file5":"1391669356","file3":"1391669262"},"map_files_photo_id_array":[{"photo_id":"1391669356","filename":"file5"},{"photo_id":"1391669219","filename":"file2"},{"photo_id":"1391669304","filename":"file4"},{"photo_id":"1391669171","filename":"file1"},{"photo_id":"1391669088","filename":"file0"},{"photo_id":"1391669262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391669219":["hashtag1","hashtag2"]},{"1391669356":["hashtag1","hashtag2"]},{"1391669088":["hashtag1","hashtag2"]},{"1391669262":["hashtag1","hashtag2"]},{"1391669304":["hashtag1","hashtag2"]},{"1391669171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391669219, 1391669356, 1391669088, 1391669262, 1391669304, 1391669171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.53195786476135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:06:22.092414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_39_2567.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_43_3606.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_45_2683.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_48_2547.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_52_3796.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_55_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_39_2567.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_43_3606.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_45_2683.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_48_2547.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_52_3796.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_55_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391669816","1391669819","1391669677","1391669806","1391669751","1391669832"],"photo_ids_order":["1391669677","1391669751","1391669806","1391669816","1391669819","1391669832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d20863f6074e38346c37bc5f4b4dd701.jpg","text":"TemporaryFile(/tmp/multipartBody8658339074726988593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_48_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f05c4ba9e9e7b63850ab80111bf9247b.jpg","text":"TemporaryFile(/tmp/multipartBody2325789289822287617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_52_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ce5726f95bf1b112cbb8a690af646d9.jpg","text":"TemporaryFile(/tmp/multipartBody923229161480655132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_39_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b5824a02d02ee8575cd77b56b7e34bf.jpg","text":"TemporaryFile(/tmp/multipartBody539258859338066925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_45_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dff067173017c5d7b6e1296b69869766.jpg","text":"TemporaryFile(/tmp/multipartBody2574709216105761683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_43_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acd12e4670735fd9b044d58a322abb74.jpg","text":"TemporaryFile(/tmp/multipartBody1421922780362146693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013244704,"filename":"image_30102025_04_40_55_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391669806","file1":"1391669751","file0":"1391669677","file4":"1391669819","file5":"1391669832","file3":"1391669816"},"map_files_photo_id_array":[{"photo_id":"1391669832","filename":"file5"},{"photo_id":"1391669806","filename":"file2"},{"photo_id":"1391669819","filename":"file4"},{"photo_id":"1391669751","filename":"file1"},{"photo_id":"1391669677","filename":"file0"},{"photo_id":"1391669816","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391669816":["hashtag1","hashtag2"]},{"1391669819":["hashtag1","hashtag2"]},{"1391669677":["hashtag1","hashtag2"]},{"1391669806":["hashtag1","hashtag2"]},{"1391669751":["hashtag1","hashtag2"]},{"1391669832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391669816, 1391669819, 1391669677, 1391669806, 1391669751, 1391669832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.007543325424194 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:07:22.804960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_57_2769.jpg', '/home/pi/Desktop/images/30102025/04/40/image_30102025_04_41_00_2629.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_04_3807.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_09_2707.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_13_3652.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_15_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_40_57_2769.jpg
/home/pi/Desktop/images/30102025/04/40/image_30102025_04_41_00_2629.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_04_3807.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_09_2707.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_13_3652.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_15_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391670298","1391670193","1391670244","1391670151","1391670211","1391670282"],"photo_ids_order":["1391670151","1391670193","1391670211","1391670244","1391670282","1391670298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/333df07d42ae4e1eb091b55321e98364.jpg","text":"TemporaryFile(/tmp/multipartBody4979570656077967485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_41_15_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e321462c684583cf72d6f4f39186a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3311989094581377788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_41_00_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0da802bf999471db831b8a5009f3c9a3.jpg","text":"TemporaryFile(/tmp/multipartBody623067146240592044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_41_09_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7be2cdd89142320979fe918b27a2e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody812267822163087039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_40_57_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f0b46155e3566039513b7f9fd4c8588.jpg","text":"TemporaryFile(/tmp/multipartBody7981383902307513380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_41_04_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7043a64f34e6df356021d1632802662.jpg","text":"TemporaryFile(/tmp/multipartBody7640827207231180404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013305692,"filename":"image_30102025_04_41_13_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391670211","file1":"1391670193","file0":"1391670151","file4":"1391670282","file5":"1391670298","file3":"1391670244"},"map_files_photo_id_array":[{"photo_id":"1391670298","filename":"file5"},{"photo_id":"1391670211","filename":"file2"},{"photo_id":"1391670282","filename":"file4"},{"photo_id":"1391670193","filename":"file1"},{"photo_id":"1391670151","filename":"file0"},{"photo_id":"1391670244","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391670298":["hashtag1","hashtag2"]},{"1391670193":["hashtag1","hashtag2"]},{"1391670244":["hashtag1","hashtag2"]},{"1391670151":["hashtag1","hashtag2"]},{"1391670211":["hashtag1","hashtag2"]},{"1391670282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391670298, 1391670193, 1391670244, 1391670151, 1391670211, 1391670282)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 73.43348264694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:08:42.104141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_18_2710.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_22_3665.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_25_2787.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_27_2611.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_30_2653.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_34_3937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_18_2710.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_22_3665.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_25_2787.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_27_2611.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_30_2653.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_34_3937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391670341","1391670340","1391670337","1391670345","1391670339","1391670342"],"photo_ids_order":["1391670337","1391670339","1391670340","1391670341","1391670342","1391670345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dbe59b251f16fc057cd5dc65841df3b.jpg","text":"TemporaryFile(/tmp/multipartBody9175013062890720810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_27_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/635740817fc50303afe0b78503fd8aae.jpg","text":"TemporaryFile(/tmp/multipartBody7353629038183699500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_25_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/934488eaaee0d923f6983f452dbe9674.jpg","text":"TemporaryFile(/tmp/multipartBody3104923624070203933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_18_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d52184ba00cb6718921f2810f71d564e.jpg","text":"TemporaryFile(/tmp/multipartBody2472591608775079251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_34_3937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef5ccc143a7258e4d8dd78424e98e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4191181417413459318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_22_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4dc8543a8408023428a99b1340117ee.jpg","text":"TemporaryFile(/tmp/multipartBody5348338980659153300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013383331,"filename":"image_30102025_04_41_30_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391670340","file1":"1391670339","file0":"1391670337","file4":"1391670342","file5":"1391670345","file3":"1391670341"},"map_files_photo_id_array":[{"photo_id":"1391670345","filename":"file5"},{"photo_id":"1391670340","filename":"file2"},{"photo_id":"1391670342","filename":"file4"},{"photo_id":"1391670339","filename":"file1"},{"photo_id":"1391670337","filename":"file0"},{"photo_id":"1391670341","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391670341":["hashtag1","hashtag2"]},{"1391670340":["hashtag1","hashtag2"]},{"1391670337":["hashtag1","hashtag2"]},{"1391670345":["hashtag1","hashtag2"]},{"1391670339":["hashtag1","hashtag2"]},{"1391670342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391670341, 1391670340, 1391670337, 1391670345, 1391670339, 1391670342)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.278934955596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:09:42.002678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_36_2642.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_39_2753.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_42_2807.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_45_2822.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_49_3678.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_51_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_36_2642.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_39_2753.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_42_2807.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_45_2822.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_49_3678.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_51_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391670374","1391670365","1391670379","1391670370","1391670376","1391670361"],"photo_ids_order":["1391670361","1391670365","1391670370","1391670374","1391670376","1391670379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdb87b4e83e4db3ba5a5f0e847a436db.jpg","text":"TemporaryFile(/tmp/multipartBody780493809726655142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_45_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9ad10276bb9882352d88a6af6f92246.jpg","text":"TemporaryFile(/tmp/multipartBody1702273504378534004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_39_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da320fadd7b16ed722b3a2d48d92ed3d.jpg","text":"TemporaryFile(/tmp/multipartBody2331626640029987331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_51_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fa541f55b6c4eb6b39069655fc57094.jpg","text":"TemporaryFile(/tmp/multipartBody8653912899304064309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_42_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f41e3e190fae3fce3088f4317b416cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3781156465481855054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_49_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a58196a290ca1ee21cb293f247dc76fa.jpg","text":"TemporaryFile(/tmp/multipartBody1925304388392259424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013443298,"filename":"image_30102025_04_41_36_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391670370","file1":"1391670365","file0":"1391670361","file4":"1391670376","file5":"1391670379","file3":"1391670374"},"map_files_photo_id_array":[{"photo_id":"1391670379","filename":"file5"},{"photo_id":"1391670370","filename":"file2"},{"photo_id":"1391670376","filename":"file4"},{"photo_id":"1391670365","filename":"file1"},{"photo_id":"1391670361","filename":"file0"},{"photo_id":"1391670374","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391670374":["hashtag1","hashtag2"]},{"1391670365":["hashtag1","hashtag2"]},{"1391670379":["hashtag1","hashtag2"]},{"1391670370":["hashtag1","hashtag2"]},{"1391670376":["hashtag1","hashtag2"]},{"1391670361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391670374, 1391670365, 1391670379, 1391670370, 1391670376, 1391670361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24511742591858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:10:22.153859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_54_2683.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_58_3702.jpg', '/home/pi/Desktop/images/30102025/04/41/image_30102025_04_42_00_2786.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_03_2708.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_07_3622.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_09_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_54_2683.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_41_58_3702.jpg
/home/pi/Desktop/images/30102025/04/41/image_30102025_04_42_00_2786.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_03_2708.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_07_3622.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_09_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391670389","1391670484","1391670391","1391670388","1391670436","1391670386"],"photo_ids_order":["1391670386","1391670388","1391670389","1391670391","1391670436","1391670484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bba975dda4b7e656b2a377280749e1f.jpg","text":"TemporaryFile(/tmp/multipartBody7193026403024220265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_42_00_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4be753a99eb9c4ebf3bf98552a105d9.jpg","text":"TemporaryFile(/tmp/multipartBody1975913796044065309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_42_09_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/108a4ca7287dc106e4575a560cc34443.jpg","text":"TemporaryFile(/tmp/multipartBody6758612613384329424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_42_03_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/676d39a34bac40c1efac613923fda388.jpg","text":"TemporaryFile(/tmp/multipartBody250151357137407496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_41_58_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0048e9ce88cd84957d3b37536868deef.jpg","text":"TemporaryFile(/tmp/multipartBody7232525538337418954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_42_07_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f992b7dd07860224be7b986444f5e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7839787926732776573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013484967,"filename":"image_30102025_04_41_54_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391670389","file1":"1391670388","file0":"1391670386","file4":"1391670436","file5":"1391670484","file3":"1391670391"},"map_files_photo_id_array":[{"photo_id":"1391670484","filename":"file5"},{"photo_id":"1391670389","filename":"file2"},{"photo_id":"1391670436","filename":"file4"},{"photo_id":"1391670388","filename":"file1"},{"photo_id":"1391670386","filename":"file0"},{"photo_id":"1391670391","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391670389":["hashtag1","hashtag2"]},{"1391670484":["hashtag1","hashtag2"]},{"1391670391":["hashtag1","hashtag2"]},{"1391670388":["hashtag1","hashtag2"]},{"1391670436":["hashtag1","hashtag2"]},{"1391670386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391670389, 1391670484, 1391670391, 1391670388, 1391670436, 1391670386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.276960372924805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:11:02.611294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_12_2536.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_16_3646.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_18_2586.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_21_2726.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_25_3785.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_27_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_12_2536.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_16_3646.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_18_2586.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_21_2726.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_25_3785.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_27_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391670827","1391670769","1391670835","1391670798","1391670795","1391670831"],"photo_ids_order":["1391670769","1391670795","1391670798","1391670827","1391670831","1391670835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00f71541d6d141efb394c56369b1772f.jpg","text":"TemporaryFile(/tmp/multipartBody255126251367541761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fac0b363929a327f048c49dde864341f.jpg","text":"TemporaryFile(/tmp/multipartBody7491461331149295007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_12_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2925b633fd6b41cbdf586e8dae2e8f79.jpg","text":"TemporaryFile(/tmp/multipartBody4349316828445524625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_27_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cae5777db37499483bb061d93dbd44c6.jpg","text":"TemporaryFile(/tmp/multipartBody3466003549383256047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_18_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02efa8073b9c9f3e8c5efd8f1769846a.jpg","text":"TemporaryFile(/tmp/multipartBody9212393013506606038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_16_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/721a3e996cf4a6d5c1be0175e65bd4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5256760602147576396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013536303,"filename":"image_30102025_04_42_25_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391670798","file1":"1391670795","file0":"1391670769","file4":"1391670831","file5":"1391670835","file3":"1391670827"},"map_files_photo_id_array":[{"photo_id":"1391670835","filename":"file5"},{"photo_id":"1391670798","filename":"file2"},{"photo_id":"1391670831","filename":"file4"},{"photo_id":"1391670795","filename":"file1"},{"photo_id":"1391670769","filename":"file0"},{"photo_id":"1391670827","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391670827":["hashtag1","hashtag2"]},{"1391670769":["hashtag1","hashtag2"]},{"1391670835":["hashtag1","hashtag2"]},{"1391670798":["hashtag1","hashtag2"]},{"1391670795":["hashtag1","hashtag2"]},{"1391670831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391670827, 1391670769, 1391670835, 1391670798, 1391670795, 1391670831)","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 = 1391670798 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_18_2586.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.69554495811462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:12:22.456980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_30_2907.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_33_2890.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_37_3716.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_39_2643.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_42_2875.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_45_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_30_2907.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_33_2890.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_37_3716.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_39_2643.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_42_2875.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_45_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671090","1391671060","1391671021","1391671076","1391671085","1391671079"],"photo_ids_order":["1391671021","1391671060","1391671076","1391671079","1391671085","1391671090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa77736fcbd18f76d86d304380298793.jpg","text":"TemporaryFile(/tmp/multipartBody4065507441446138762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_45_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c1baf400ccf8da45c07be1e18e956ae.jpg","text":"TemporaryFile(/tmp/multipartBody8060781528708630146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_33_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d454226c15256e277e525108c396de03.jpg","text":"TemporaryFile(/tmp/multipartBody3211883850490586228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_30_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dfb70d7f79586932cea7dcdf75bf177.jpg","text":"TemporaryFile(/tmp/multipartBody3076485299701410013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_37_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a675dbca15ec74db27431fbfc3184cc7.jpg","text":"TemporaryFile(/tmp/multipartBody448796178010255364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_42_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c07ec252adaf6aa37a4d70434d21ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5477403738638800778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013605208,"filename":"image_30102025_04_42_39_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671076","file1":"1391671060","file0":"1391671021","file4":"1391671085","file5":"1391671090","file3":"1391671079"},"map_files_photo_id_array":[{"photo_id":"1391671090","filename":"file5"},{"photo_id":"1391671076","filename":"file2"},{"photo_id":"1391671085","filename":"file4"},{"photo_id":"1391671060","filename":"file1"},{"photo_id":"1391671021","filename":"file0"},{"photo_id":"1391671079","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671090":["hashtag1","hashtag2"]},{"1391671060":["hashtag1","hashtag2"]},{"1391671021":["hashtag1","hashtag2"]},{"1391671076":["hashtag1","hashtag2"]},{"1391671085":["hashtag1","hashtag2"]},{"1391671079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671090, 1391671060, 1391671021, 1391671076, 1391671085, 1391671079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19320750236511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:13:03.309826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_49_3668.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_51_2567.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_54_2648.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_57_3704.jpg', '/home/pi/Desktop/images/30102025/04/42/image_30102025_04_43_00_2620.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_03_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_49_3668.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_51_2567.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_54_2648.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_42_57_3704.jpg
/home/pi/Desktop/images/30102025/04/42/image_30102025_04_43_00_2620.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_03_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671223","1391671183","1391671258","1391671144","1391671265","1391671262"],"photo_ids_order":["1391671144","1391671183","1391671223","1391671258","1391671262","1391671265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e14a1a048e2c9928b19d082a774d0555.jpg","text":"TemporaryFile(/tmp/multipartBody856462967007637726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_42_54_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b034bab44c3a6ce13efeabb7f385553.jpg","text":"TemporaryFile(/tmp/multipartBody8832575170612030997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_42_51_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ee9d9dac30ad894518b6fa9a71123f0.jpg","text":"TemporaryFile(/tmp/multipartBody6959011773596604827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_42_57_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10245a46ee6d621ae0598edb5973ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody7551024769748459298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_42_49_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2762b123ffa1b753d17ddcd806f5a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6572670303016417538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_43_03_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ceab5b299472efa3504b2f08e7ae576.jpg","text":"TemporaryFile(/tmp/multipartBody427428703243897748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013645650,"filename":"image_30102025_04_43_00_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671223","file1":"1391671183","file0":"1391671144","file4":"1391671262","file5":"1391671265","file3":"1391671258"},"map_files_photo_id_array":[{"photo_id":"1391671265","filename":"file5"},{"photo_id":"1391671223","filename":"file2"},{"photo_id":"1391671262","filename":"file4"},{"photo_id":"1391671183","filename":"file1"},{"photo_id":"1391671144","filename":"file0"},{"photo_id":"1391671258","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671223":["hashtag1","hashtag2"]},{"1391671183":["hashtag1","hashtag2"]},{"1391671258":["hashtag1","hashtag2"]},{"1391671144":["hashtag1","hashtag2"]},{"1391671265":["hashtag1","hashtag2"]},{"1391671262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671223, 1391671183, 1391671258, 1391671144, 1391671265, 1391671262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.692803621292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:13:42.816243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_06_3646.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_09_2577.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_13_3753.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_15_2555.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_18_2595.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_22_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_06_3646.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_09_2577.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_13_3753.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_15_2555.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_18_2595.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_22_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671282","1391671285","1391671283","1391671280","1391671274","1391671277"],"photo_ids_order":["1391671274","1391671277","1391671280","1391671282","1391671283","1391671285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2c5a1e8c4041add315b5adfdbf35b94.jpg","text":"TemporaryFile(/tmp/multipartBody3013520302361773789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_15_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63987fdc0891a28b31e30dd725cb1a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1674281147276314695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_22_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44beecf2be37fa5773e96f8e957ccdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3499108892370131827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e14546b9e761481660cb9801b2f0575.jpg","text":"TemporaryFile(/tmp/multipartBody3525439415874478057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_13_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15dc226b1bfe7d6254a80469000dddd3.jpg","text":"TemporaryFile(/tmp/multipartBody1409800713254800010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_06_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d4b2835582d36c15c81b06e93dfab26.jpg","text":"TemporaryFile(/tmp/multipartBody4181815553768023792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013684104,"filename":"image_30102025_04_43_09_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671280","file1":"1391671277","file0":"1391671274","file4":"1391671283","file5":"1391671285","file3":"1391671282"},"map_files_photo_id_array":[{"photo_id":"1391671285","filename":"file5"},{"photo_id":"1391671280","filename":"file2"},{"photo_id":"1391671283","filename":"file4"},{"photo_id":"1391671277","filename":"file1"},{"photo_id":"1391671274","filename":"file0"},{"photo_id":"1391671282","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671282":["hashtag1","hashtag2"]},{"1391671285":["hashtag1","hashtag2"]},{"1391671283":["hashtag1","hashtag2"]},{"1391671280":["hashtag1","hashtag2"]},{"1391671274":["hashtag1","hashtag2"]},{"1391671277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671282, 1391671285, 1391671283, 1391671280, 1391671274, 1391671277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.418713092803955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:14:22.044339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_24_2605.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_27_2600.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_30_3569.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_33_2610.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_37_3714.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_39_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_24_2605.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_27_2600.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_30_3569.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_33_2610.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_37_3714.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_39_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671294","1391671312","1391671300","1391671318","1391671305","1391671298"],"photo_ids_order":["1391671294","1391671298","1391671300","1391671305","1391671312","1391671318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd46edc25845b45d8188eb83cc1e3d91.jpg","text":"TemporaryFile(/tmp/multipartBody7886793109331846249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_24_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7731683a3c31428b29876dadde0745f2.jpg","text":"TemporaryFile(/tmp/multipartBody633292115233519720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_37_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65c19363122c35f6ab253b0eccf6f46b.jpg","text":"TemporaryFile(/tmp/multipartBody7492760503524953536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_30_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78263ae45fe0af23ce7fe0e4131d4a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2689878389389929633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_39_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bbabcf4828853393ac7156ef8b937c1.jpg","text":"TemporaryFile(/tmp/multipartBody3507184947932829649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_33_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3ef06ce513e7c514a235f076bc496bd.jpg","text":"TemporaryFile(/tmp/multipartBody8147674482633921643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013724871,"filename":"image_30102025_04_43_27_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671300","file1":"1391671298","file0":"1391671294","file4":"1391671312","file5":"1391671318","file3":"1391671305"},"map_files_photo_id_array":[{"photo_id":"1391671318","filename":"file5"},{"photo_id":"1391671300","filename":"file2"},{"photo_id":"1391671312","filename":"file4"},{"photo_id":"1391671298","filename":"file1"},{"photo_id":"1391671294","filename":"file0"},{"photo_id":"1391671305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671294":["hashtag1","hashtag2"]},{"1391671312":["hashtag1","hashtag2"]},{"1391671300":["hashtag1","hashtag2"]},{"1391671318":["hashtag1","hashtag2"]},{"1391671305":["hashtag1","hashtag2"]},{"1391671298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671294, 1391671312, 1391671300, 1391671318, 1391671305, 1391671298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13333749771118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:15:02.878342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_42_2673.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_46_3712.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_48_2684.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_51_2654.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_54_2700.jpg', '/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_57_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_42_2673.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_46_3712.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_48_2684.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_51_2654.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_54_2700.jpg
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_43_57_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671343","1391671330","1391671333","1391671338","1391671335","1391671334"],"photo_ids_order":["1391671330","1391671333","1391671334","1391671335","1391671338","1391671343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b066142e28dc55f4437efaaa41be986.jpg","text":"TemporaryFile(/tmp/multipartBody1308836623334425312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_57_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1cb5df202954d4960a2c08c8bd1f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody6175268384363901313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_42_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f3d02134a433fefc7cc1252f199781d.jpg","text":"TemporaryFile(/tmp/multipartBody7053296086150936230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_46_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0e78fe829dd693a2d15a5295a6e77ee.jpg","text":"TemporaryFile(/tmp/multipartBody1639582755728684386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_54_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/441f98f937f6617482bf4dc8a4750422.jpg","text":"TemporaryFile(/tmp/multipartBody4825431326613088483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_51_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f90177500362bb6da33c218caeb308af.jpg","text":"TemporaryFile(/tmp/multipartBody2514914377752260701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013765212,"filename":"image_30102025_04_43_48_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671334","file1":"1391671333","file0":"1391671330","file4":"1391671338","file5":"1391671343","file3":"1391671335"},"map_files_photo_id_array":[{"photo_id":"1391671343","filename":"file5"},{"photo_id":"1391671334","filename":"file2"},{"photo_id":"1391671338","filename":"file4"},{"photo_id":"1391671333","filename":"file1"},{"photo_id":"1391671330","filename":"file0"},{"photo_id":"1391671335","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671343":["hashtag1","hashtag2"]},{"1391671330":["hashtag1","hashtag2"]},{"1391671333":["hashtag1","hashtag2"]},{"1391671338":["hashtag1","hashtag2"]},{"1391671335":["hashtag1","hashtag2"]},{"1391671334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671343, 1391671330, 1391671333, 1391671338, 1391671335, 1391671334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.330097675323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:15:42.244800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/43/image_30102025_04_44_00_2936.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_03_2590.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_07_3690.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_09_2665.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_12_2622.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_15_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/43/image_30102025_04_44_00_2936.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_03_2590.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_07_3690.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_09_2665.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_12_2622.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_15_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671358","1391671368","1391671362","1391671365","1391671370","1391671373"],"photo_ids_order":["1391671358","1391671362","1391671365","1391671368","1391671370","1391671373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18a662c0b54e29475bcb5f50471f8f61.jpg","text":"TemporaryFile(/tmp/multipartBody1463818737407915942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_00_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fd68f30eb77ec2d1d8deeb0ec409d12.jpg","text":"TemporaryFile(/tmp/multipartBody7294588285788769706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_09_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31bbbd489b54b2a15f06d84ecc27d85f.jpg","text":"TemporaryFile(/tmp/multipartBody7683539614127367783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_03_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a75ae11afc175d1a568af3ced944605c.jpg","text":"TemporaryFile(/tmp/multipartBody3856491085622010536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_07_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e63653bd681ae2c6c52a0485db6b115.jpg","text":"TemporaryFile(/tmp/multipartBody22087461656733123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_12_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a82b68743521def55b172e7bd119eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody768814345972913480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013803590,"filename":"image_30102025_04_44_15_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671365","file1":"1391671362","file0":"1391671358","file4":"1391671370","file5":"1391671373","file3":"1391671368"},"map_files_photo_id_array":[{"photo_id":"1391671373","filename":"file5"},{"photo_id":"1391671365","filename":"file2"},{"photo_id":"1391671370","filename":"file4"},{"photo_id":"1391671362","filename":"file1"},{"photo_id":"1391671358","filename":"file0"},{"photo_id":"1391671368","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671358":["hashtag1","hashtag2"]},{"1391671368":["hashtag1","hashtag2"]},{"1391671362":["hashtag1","hashtag2"]},{"1391671365":["hashtag1","hashtag2"]},{"1391671370":["hashtag1","hashtag2"]},{"1391671373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671358, 1391671368, 1391671362, 1391671365, 1391671370, 1391671373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.180668115615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:16:22.499195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_18_3346.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_21_2887.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_24_2757.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_27_3678.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_30_2604.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_34_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_18_3346.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_21_2887.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_24_2757.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_27_3678.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_30_2604.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_34_3682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7718265056610107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:16:42.413317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_18_3346.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_21_2887.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_24_2757.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_27_3678.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_30_2604.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_34_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_18_3346.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_21_2887.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_24_2757.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_27_3678.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_30_2604.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_34_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671436","1391671430","1391671424","1391671426","1391671428","1391671433"],"photo_ids_order":["1391671424","1391671426","1391671428","1391671430","1391671433","1391671436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15f2402aab15693b8d93f5691416f30f.jpg","text":"TemporaryFile(/tmp/multipartBody6453787717426605088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_34_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7352f327606e4973a2b14bdf0b6db8a.jpg","text":"TemporaryFile(/tmp/multipartBody5293683244536274354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_27_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/002d8f21f53b7feae350744d901a6822.jpg","text":"TemporaryFile(/tmp/multipartBody898517874815387621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_18_3346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ec7779e57dd0b5a3a6cd2f8cb2afa22.jpg","text":"TemporaryFile(/tmp/multipartBody1726158593470098084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_21_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/580ae948ed271b14d2766abfaf1676cb.jpg","text":"TemporaryFile(/tmp/multipartBody2056513756327067808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_24_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92a982dd0b0e03dfbca3ddb4cb5aa0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7002968825150800719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013863589,"filename":"image_30102025_04_44_30_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671428","file1":"1391671426","file0":"1391671424","file4":"1391671433","file5":"1391671436","file3":"1391671430"},"map_files_photo_id_array":[{"photo_id":"1391671436","filename":"file5"},{"photo_id":"1391671428","filename":"file2"},{"photo_id":"1391671433","filename":"file4"},{"photo_id":"1391671426","filename":"file1"},{"photo_id":"1391671424","filename":"file0"},{"photo_id":"1391671430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671436":["hashtag1","hashtag2"]},{"1391671430":["hashtag1","hashtag2"]},{"1391671424":["hashtag1","hashtag2"]},{"1391671426":["hashtag1","hashtag2"]},{"1391671428":["hashtag1","hashtag2"]},{"1391671433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671436, 1391671430, 1391671424, 1391671426, 1391671428, 1391671433)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.107380390167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:17:42.459210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_36_2770.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_39_2845.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_42_2846.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_45_2683.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_48_3524.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_51_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_36_2770.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_39_2845.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_42_2846.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_45_2683.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_48_3524.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_51_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671456","1391671453","1391671449","1391671458","1391671463","1391671460"],"photo_ids_order":["1391671449","1391671453","1391671456","1391671458","1391671460","1391671463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b4a11c29c3537db76e8eaefc9af7632.jpg","text":"TemporaryFile(/tmp/multipartBody7855038807018324089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_42_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4dc7985ecc24210996e691bba842d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7592417588807714631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_39_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad748825a9a381e0240e2bf81b48c787.jpg","text":"TemporaryFile(/tmp/multipartBody9133391122318539731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_36_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/783a9e2106ee78066ea58fa2073ed6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5541733769167704160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_45_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/daf1edda3a90157c510c0c0769eb5a27.jpg","text":"TemporaryFile(/tmp/multipartBody34246618762123412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_51_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2288bb23480fcb373e2f5e19840bf720.jpg","text":"TemporaryFile(/tmp/multipartBody1121419238920719140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013926424,"filename":"image_30102025_04_44_48_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671456","file1":"1391671453","file0":"1391671449","file4":"1391671460","file5":"1391671463","file3":"1391671458"},"map_files_photo_id_array":[{"photo_id":"1391671463","filename":"file5"},{"photo_id":"1391671456","filename":"file2"},{"photo_id":"1391671460","filename":"file4"},{"photo_id":"1391671453","filename":"file1"},{"photo_id":"1391671449","filename":"file0"},{"photo_id":"1391671458","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671456":["hashtag1","hashtag2"]},{"1391671453":["hashtag1","hashtag2"]},{"1391671449":["hashtag1","hashtag2"]},{"1391671458":["hashtag1","hashtag2"]},{"1391671463":["hashtag1","hashtag2"]},{"1391671460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671456, 1391671453, 1391671449, 1391671458, 1391671463, 1391671460)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.035967111587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:18:43.667975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_54_2756.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_58_3834.jpg', '/home/pi/Desktop/images/30102025/04/44/image_30102025_04_45_00_2716.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_03_2586.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_06_2968.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_09_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_54_2756.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_44_58_3834.jpg
/home/pi/Desktop/images/30102025/04/44/image_30102025_04_45_00_2716.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_03_2586.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_06_2968.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_09_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671486","1391671480","1391671488","1391671482","1391671490","1391671484"],"photo_ids_order":["1391671480","1391671482","1391671484","1391671486","1391671488","1391671490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/339e53eee76174880f551e5c06dddcd7.jpg","text":"TemporaryFile(/tmp/multipartBody5477457186809531771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_45_03_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07d4baf089637f1d5cc19d17745d41f2.jpg","text":"TemporaryFile(/tmp/multipartBody6514058672920330871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_44_54_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/276e964abc169fe87717cb6fa33e75bb.jpg","text":"TemporaryFile(/tmp/multipartBody5522397753387026865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_45_06_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5570a13f912a0f2a4ab4e1852964378.jpg","text":"TemporaryFile(/tmp/multipartBody6400104138938172917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_44_58_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20b0bdbfba03b991d04123a28d5fccf0.jpg","text":"TemporaryFile(/tmp/multipartBody4041931771702799073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_45_09_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/861c24bf61403375bc4f69c715206f27.jpg","text":"TemporaryFile(/tmp/multipartBody4221688340943954102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762013984946,"filename":"image_30102025_04_45_00_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671484","file1":"1391671482","file0":"1391671480","file4":"1391671488","file5":"1391671490","file3":"1391671486"},"map_files_photo_id_array":[{"photo_id":"1391671490","filename":"file5"},{"photo_id":"1391671484","filename":"file2"},{"photo_id":"1391671488","filename":"file4"},{"photo_id":"1391671482","filename":"file1"},{"photo_id":"1391671480","filename":"file0"},{"photo_id":"1391671486","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671486":["hashtag1","hashtag2"]},{"1391671480":["hashtag1","hashtag2"]},{"1391671488":["hashtag1","hashtag2"]},{"1391671482":["hashtag1","hashtag2"]},{"1391671490":["hashtag1","hashtag2"]},{"1391671484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671486, 1391671480, 1391671488, 1391671482, 1391671490, 1391671484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.59123468399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:19:41.792658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_12_2617.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_15_2716.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_18_2789.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_21_3659.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_24_2648.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_26_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_12_2617.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_15_2716.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_18_2789.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_21_3659.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_24_2648.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_26_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671520","1391671508","1391671522","1391671516","1391671504","1391671512"],"photo_ids_order":["1391671504","1391671508","1391671512","1391671516","1391671520","1391671522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7df8c0b7f349f0989242c9ef2b97ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3116442569443727853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_24_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ca6fdb74b95bd32354f1dc20953658e.jpg","text":"TemporaryFile(/tmp/multipartBody3119976205439809147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_15_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/16c5f2c0bb4aa4b0133845bbfeac78c6.jpg","text":"TemporaryFile(/tmp/multipartBody7999004986679589855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce52186b065fcf9923667395f397449f.jpg","text":"TemporaryFile(/tmp/multipartBody3934015744591055627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_21_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ef2971d1cd27f4282aa0b1183e47d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8605694248087125508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_12_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79f18a7441d05ad37466e105b59e0370.jpg","text":"TemporaryFile(/tmp/multipartBody8766937986584866089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014048001,"filename":"image_30102025_04_45_18_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671512","file1":"1391671508","file0":"1391671504","file4":"1391671520","file5":"1391671522","file3":"1391671516"},"map_files_photo_id_array":[{"photo_id":"1391671522","filename":"file5"},{"photo_id":"1391671512","filename":"file2"},{"photo_id":"1391671520","filename":"file4"},{"photo_id":"1391671508","filename":"file1"},{"photo_id":"1391671504","filename":"file0"},{"photo_id":"1391671516","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671520":["hashtag1","hashtag2"]},{"1391671508":["hashtag1","hashtag2"]},{"1391671522":["hashtag1","hashtag2"]},{"1391671516":["hashtag1","hashtag2"]},{"1391671504":["hashtag1","hashtag2"]},{"1391671512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671520, 1391671508, 1391671522, 1391671516, 1391671504, 1391671512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.32258939743042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:20:43.261092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_30_3627.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_33_2747.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_39_3015.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_42_3709.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_48_2780.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_51_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_30_3627.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_33_2747.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_39_3015.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_42_3709.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_48_2780.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_51_2818.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.141702651977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:21:04.705468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_30_3627.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_33_2747.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_39_3015.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_42_3709.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_48_2780.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_51_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_30_3627.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_33_2747.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_39_3015.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_42_3709.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_48_2780.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_51_2818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391671556","1391671567","1391671561","1391671564","1391671558","1391671554"],"photo_ids_order":["1391671554","1391671556","1391671558","1391671561","1391671564","1391671567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0204bc4485afb95150d8a05dc2856fa.jpg","text":"TemporaryFile(/tmp/multipartBody2005735012546679108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_33_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f465fbf47a8dec1725536643b49ba53.jpg","text":"TemporaryFile(/tmp/multipartBody4087248988624191881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_51_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20a7ef05698edbccbba5262129556a33.jpg","text":"TemporaryFile(/tmp/multipartBody302737514381425894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_42_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/410971833b7e167a58f009cd63ed18ed.jpg","text":"TemporaryFile(/tmp/multipartBody2633622835268936118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_48_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af8c21cc27a86ef533c9e904c5471e86.jpg","text":"TemporaryFile(/tmp/multipartBody221252870194665411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_39_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8663915e839e4ff836f0326443d51d67.jpg","text":"TemporaryFile(/tmp/multipartBody2038101429173543528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014126873,"filename":"image_30102025_04_45_30_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671558","file1":"1391671556","file0":"1391671554","file4":"1391671564","file5":"1391671567","file3":"1391671561"},"map_files_photo_id_array":[{"photo_id":"1391671567","filename":"file5"},{"photo_id":"1391671558","filename":"file2"},{"photo_id":"1391671564","filename":"file4"},{"photo_id":"1391671556","filename":"file1"},{"photo_id":"1391671554","filename":"file0"},{"photo_id":"1391671561","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671556":["hashtag1","hashtag2"]},{"1391671567":["hashtag1","hashtag2"]},{"1391671561":["hashtag1","hashtag2"]},{"1391671564":["hashtag1","hashtag2"]},{"1391671558":["hashtag1","hashtag2"]},{"1391671554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671556, 1391671567, 1391671561, 1391671564, 1391671558, 1391671554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.6228506565094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:22:02.934233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_54_3735.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_57_2576.jpg', '/home/pi/Desktop/images/30102025/04/45/image_30102025_04_46_00_2668.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_03_3638.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_06_2636.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_08_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_54_3735.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_45_57_2576.jpg
/home/pi/Desktop/images/30102025/04/45/image_30102025_04_46_00_2668.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_03_3638.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_06_2636.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_08_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671613","1391671591","1391671594","1391671603","1391671609","1391671599"],"photo_ids_order":["1391671591","1391671594","1391671599","1391671603","1391671609","1391671613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/903c7deac6760a09836b1bf60ac4d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody6491286233429494499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_46_08_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f453abb688b0f07c48c2f8ff0507516.jpg","text":"TemporaryFile(/tmp/multipartBody1121849701383717484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_45_54_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ca96f0530f323ec4d6a43332b5faaf1.jpg","text":"TemporaryFile(/tmp/multipartBody5545098193561726519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_45_57_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da788e671c59b863277b23c3c9f744c8.jpg","text":"TemporaryFile(/tmp/multipartBody1687265237427314881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_46_03_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cccb417b785f73f9056426fdccc3675.jpg","text":"TemporaryFile(/tmp/multipartBody8429023889190428551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_46_06_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22caf5a99226464347dcd0b5b113135e.jpg","text":"TemporaryFile(/tmp/multipartBody2386591831164588991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014185188,"filename":"image_30102025_04_46_00_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671599","file1":"1391671594","file0":"1391671591","file4":"1391671609","file5":"1391671613","file3":"1391671603"},"map_files_photo_id_array":[{"photo_id":"1391671613","filename":"file5"},{"photo_id":"1391671599","filename":"file2"},{"photo_id":"1391671609","filename":"file4"},{"photo_id":"1391671594","filename":"file1"},{"photo_id":"1391671591","filename":"file0"},{"photo_id":"1391671603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671613":["hashtag1","hashtag2"]},{"1391671591":["hashtag1","hashtag2"]},{"1391671594":["hashtag1","hashtag2"]},{"1391671603":["hashtag1","hashtag2"]},{"1391671609":["hashtag1","hashtag2"]},{"1391671599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671613, 1391671591, 1391671594, 1391671603, 1391671609, 1391671599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06194877624512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:22:42.440480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_12_3609.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_15_2771.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_17_2637.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_21_3603.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_24_2703.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_27_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_12_3609.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_15_2771.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_17_2637.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_21_3603.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_24_2703.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_27_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671666","1391671662","1391671626","1391671658","1391671673","1391671652"],"photo_ids_order":["1391671626","1391671652","1391671658","1391671662","1391671666","1391671673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/407c34f7e1309946bdb81f6663890e99.jpg","text":"TemporaryFile(/tmp/multipartBody1279081675720099746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_24_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc5d0b502b958227d0900e793706fd15.jpg","text":"TemporaryFile(/tmp/multipartBody8847823679507837144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_21_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdd015f2be7040d767c883fde8e3b767.jpg","text":"TemporaryFile(/tmp/multipartBody5653343449753133221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_12_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52f8d514172f474a4de5919647320411.jpg","text":"TemporaryFile(/tmp/multipartBody7353029203829014968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_17_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c00dc698a86674123a11b3567dfca764.jpg","text":"TemporaryFile(/tmp/multipartBody7113305960494074131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_27_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3b7eea0732a35d2d896133ba15837a9.jpg","text":"TemporaryFile(/tmp/multipartBody8526412856801939249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014223669,"filename":"image_30102025_04_46_15_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671658","file1":"1391671652","file0":"1391671626","file4":"1391671666","file5":"1391671673","file3":"1391671662"},"map_files_photo_id_array":[{"photo_id":"1391671673","filename":"file5"},{"photo_id":"1391671658","filename":"file2"},{"photo_id":"1391671666","filename":"file4"},{"photo_id":"1391671652","filename":"file1"},{"photo_id":"1391671626","filename":"file0"},{"photo_id":"1391671662","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671666":["hashtag1","hashtag2"]},{"1391671662":["hashtag1","hashtag2"]},{"1391671626":["hashtag1","hashtag2"]},{"1391671658":["hashtag1","hashtag2"]},{"1391671673":["hashtag1","hashtag2"]},{"1391671652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671666, 1391671662, 1391671626, 1391671658, 1391671673, 1391671652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34274458885193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:23:22.671180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_30_3595.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_33_2615.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_35_2677.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_42_2738.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_45_3517.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_48_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_30_3595.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_33_2615.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_35_2677.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_42_2738.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_45_3517.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_48_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671693","1391671687","1391671681","1391671683","1391671691","1391671685"],"photo_ids_order":["1391671681","1391671683","1391671685","1391671687","1391671691","1391671693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a206099168b38bf3e3a19d0d4f16ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody7756745156153644035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_48_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecd9dbf4399f2b9f822a53b23f7677d4.jpg","text":"TemporaryFile(/tmp/multipartBody6552586808775450630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_42_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65c0a8400e60ac975c4ce04eb8cb0a19.jpg","text":"TemporaryFile(/tmp/multipartBody7591402225355214967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_30_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/967db1e155f2cfb34d324c96815949d0.jpg","text":"TemporaryFile(/tmp/multipartBody287446133719364795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1eea0b26e2cf2ecfcbb8a5680a77fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody5439973581924470958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_45_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e757d8e64a3f7951b8d9a303e8767657.jpg","text":"TemporaryFile(/tmp/multipartBody6397771754859198461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014265420,"filename":"image_30102025_04_46_35_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671685","file1":"1391671683","file0":"1391671681","file4":"1391671691","file5":"1391671693","file3":"1391671687"},"map_files_photo_id_array":[{"photo_id":"1391671693","filename":"file5"},{"photo_id":"1391671685","filename":"file2"},{"photo_id":"1391671691","filename":"file4"},{"photo_id":"1391671683","filename":"file1"},{"photo_id":"1391671681","filename":"file0"},{"photo_id":"1391671687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671693":["hashtag1","hashtag2"]},{"1391671687":["hashtag1","hashtag2"]},{"1391671681":["hashtag1","hashtag2"]},{"1391671683":["hashtag1","hashtag2"]},{"1391671691":["hashtag1","hashtag2"]},{"1391671685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671693, 1391671687, 1391671681, 1391671683, 1391671691, 1391671685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54411792755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:24:02.337452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_51_2689.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_54_3648.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_57_2997.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_47_00_2729.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_03_2766.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_08_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_51_2689.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_54_3648.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_57_2997.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_47_00_2729.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_03_2766.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_08_2834.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.167465925216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:24:21.921239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_51_2689.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_54_3648.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_57_2997.jpg', '/home/pi/Desktop/images/30102025/04/46/image_30102025_04_47_00_2729.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_03_2766.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_08_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_51_2689.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_54_3648.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_46_57_2997.jpg
/home/pi/Desktop/images/30102025/04/46/image_30102025_04_47_00_2729.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_03_2766.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_08_2834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671733","1391671720","1391671723","1391671717","1391671740","1391671728"],"photo_ids_order":["1391671717","1391671720","1391671723","1391671728","1391671733","1391671740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc403c2560b4b8216de95acda5628e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5111355392112213077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_47_03_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c9ba7469fe4bc3de48beccf78786e09.jpg","text":"TemporaryFile(/tmp/multipartBody2481602693320002435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_46_54_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/313b0ca195d577c9646e081d582f9b72.jpg","text":"TemporaryFile(/tmp/multipartBody4845792161679123545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_46_57_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9607e31ae0f0aee42b8f4cd9a43d4885.jpg","text":"TemporaryFile(/tmp/multipartBody7858141758584155351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_46_51_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea0208325e5675a27804a0cd274db29b.jpg","text":"TemporaryFile(/tmp/multipartBody7986018950863834557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_47_08_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9e6d37aa7bd2df8758fe6a2b8edffff.jpg","text":"TemporaryFile(/tmp/multipartBody6992519966137573757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014324248,"filename":"image_30102025_04_47_00_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671723","file1":"1391671720","file0":"1391671717","file4":"1391671733","file5":"1391671740","file3":"1391671728"},"map_files_photo_id_array":[{"photo_id":"1391671740","filename":"file5"},{"photo_id":"1391671723","filename":"file2"},{"photo_id":"1391671733","filename":"file4"},{"photo_id":"1391671720","filename":"file1"},{"photo_id":"1391671717","filename":"file0"},{"photo_id":"1391671728","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671733":["hashtag1","hashtag2"]},{"1391671720":["hashtag1","hashtag2"]},{"1391671723":["hashtag1","hashtag2"]},{"1391671717":["hashtag1","hashtag2"]},{"1391671740":["hashtag1","hashtag2"]},{"1391671728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671733, 1391671720, 1391671723, 1391671717, 1391671740, 1391671728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62121891975403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:25:02.859243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_12_3655.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_15_2556.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_17_2700.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_21_3672.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_24_2738.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_26_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_12_3655.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_15_2556.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_17_2700.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_21_3672.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_24_2738.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_26_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671753","1391671759","1391671755","1391671749","1391671763","1391671751"],"photo_ids_order":["1391671749","1391671751","1391671753","1391671755","1391671759","1391671763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/638f7f330236dbbfdf5c7bc5dcb14b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5257570834461843217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_17_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/370a3a66b19b735345757c60e40f2182.jpg","text":"TemporaryFile(/tmp/multipartBody3826469020470780250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_24_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5856f00d0657ec695f4801f69694ec83.jpg","text":"TemporaryFile(/tmp/multipartBody7644942774570276416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_21_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/280f28970d73fa1ac359b4dba35bf99d.jpg","text":"TemporaryFile(/tmp/multipartBody3134554325792798759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_12_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a17b54a9149af883df30d8734219098.jpg","text":"TemporaryFile(/tmp/multipartBody1807288526708444090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_26_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e70d70c8aaeec04ca4b4bda7b948adc8.jpg","text":"TemporaryFile(/tmp/multipartBody3200803278932810062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014365127,"filename":"image_30102025_04_47_15_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671753","file1":"1391671751","file0":"1391671749","file4":"1391671759","file5":"1391671763","file3":"1391671755"},"map_files_photo_id_array":[{"photo_id":"1391671763","filename":"file5"},{"photo_id":"1391671753","filename":"file2"},{"photo_id":"1391671759","filename":"file4"},{"photo_id":"1391671751","filename":"file1"},{"photo_id":"1391671749","filename":"file0"},{"photo_id":"1391671755","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671753":["hashtag1","hashtag2"]},{"1391671759":["hashtag1","hashtag2"]},{"1391671755":["hashtag1","hashtag2"]},{"1391671749":["hashtag1","hashtag2"]},{"1391671763":["hashtag1","hashtag2"]},{"1391671751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671753, 1391671759, 1391671755, 1391671749, 1391671763, 1391671751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.014355421066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:25:42.194854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_30_3659.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_33_2752.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_36_2759.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_38_2686.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_42_3791.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_45_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_30_3659.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_33_2752.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_36_2759.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_38_2686.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_42_3791.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_45_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671794","1391671788","1391671791","1391671785","1391671799","1391671796"],"photo_ids_order":["1391671785","1391671788","1391671791","1391671794","1391671796","1391671799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b6be6fb411316fcce2b68d7511077a0.jpg","text":"TemporaryFile(/tmp/multipartBody1861856164260699947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_38_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07843cb6739962bac2b1666040864339.jpg","text":"TemporaryFile(/tmp/multipartBody506348582910429445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_33_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f51e65477240930afc76c322abd3a473.jpg","text":"TemporaryFile(/tmp/multipartBody1740646807853299820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_36_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c922360a450652b2fffd151521eb3150.jpg","text":"TemporaryFile(/tmp/multipartBody1698765282915969981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_30_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f64cc1593081827f6c877fd3b428cd7d.jpg","text":"TemporaryFile(/tmp/multipartBody3143624899666494868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_45_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36307811f50a07a00ef2019205391f52.jpg","text":"TemporaryFile(/tmp/multipartBody6865531831710225877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014403478,"filename":"image_30102025_04_47_42_3791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671791","file1":"1391671788","file0":"1391671785","file4":"1391671796","file5":"1391671799","file3":"1391671794"},"map_files_photo_id_array":[{"photo_id":"1391671799","filename":"file5"},{"photo_id":"1391671791","filename":"file2"},{"photo_id":"1391671796","filename":"file4"},{"photo_id":"1391671788","filename":"file1"},{"photo_id":"1391671785","filename":"file0"},{"photo_id":"1391671794","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671794":["hashtag1","hashtag2"]},{"1391671788":["hashtag1","hashtag2"]},{"1391671791":["hashtag1","hashtag2"]},{"1391671785":["hashtag1","hashtag2"]},{"1391671799":["hashtag1","hashtag2"]},{"1391671796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671794, 1391671788, 1391671791, 1391671785, 1391671799, 1391671796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70887875556946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:26:22.332692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_48_2637.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_51_3641.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_54_2599.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_57_2713.jpg', '/home/pi/Desktop/images/30102025/04/47/image_30102025_04_48_00_3683.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_03_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_48_2637.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_51_3641.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_54_2599.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_47_57_2713.jpg
/home/pi/Desktop/images/30102025/04/47/image_30102025_04_48_00_3683.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_03_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671820","1391671808","1391671812","1391671815","1391671824","1391671818"],"photo_ids_order":["1391671808","1391671812","1391671815","1391671818","1391671820","1391671824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82e8e8bd892f02f4f763f11345625e3f.jpg","text":"TemporaryFile(/tmp/multipartBody9096107443138709573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_48_00_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d1736a418e2cd503a6735ef79c56e9a.jpg","text":"TemporaryFile(/tmp/multipartBody193421045816134920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_47_48_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35736309da43230b0dd925297e72fd46.jpg","text":"TemporaryFile(/tmp/multipartBody4639652492473074588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_47_51_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56dc16544cdf8cf6e8c0317cdc2f8456.jpg","text":"TemporaryFile(/tmp/multipartBody523369264475187033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_47_54_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c62e149fff79307b34e482c0be22dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7038828928462875803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_48_03_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c17ec117b996628610cf299b66401844.jpg","text":"TemporaryFile(/tmp/multipartBody3709272326159225014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014445120,"filename":"image_30102025_04_47_57_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671815","file1":"1391671812","file0":"1391671808","file4":"1391671820","file5":"1391671824","file3":"1391671818"},"map_files_photo_id_array":[{"photo_id":"1391671824","filename":"file5"},{"photo_id":"1391671815","filename":"file2"},{"photo_id":"1391671820","filename":"file4"},{"photo_id":"1391671812","filename":"file1"},{"photo_id":"1391671808","filename":"file0"},{"photo_id":"1391671818","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671820":["hashtag1","hashtag2"]},{"1391671808":["hashtag1","hashtag2"]},{"1391671812":["hashtag1","hashtag2"]},{"1391671815":["hashtag1","hashtag2"]},{"1391671824":["hashtag1","hashtag2"]},{"1391671818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671820, 1391671808, 1391671812, 1391671815, 1391671824, 1391671818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.132511138916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:27:03.266055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_05_2622.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_09_3616.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_12_2680.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_14_2628.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_18_3783.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_21_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_05_2622.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_09_3616.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_12_2680.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_14_2628.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_18_3783.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_21_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671846","1391671849","1391671834","1391671841","1391671844","1391671838"],"photo_ids_order":["1391671834","1391671838","1391671841","1391671844","1391671846","1391671849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c9abab84449bdbc87721913f47ab66a.jpg","text":"TemporaryFile(/tmp/multipartBody367038356122441725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_18_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f06577c49c4dd85f7e4f0054986932b4.jpg","text":"TemporaryFile(/tmp/multipartBody7200999901250923359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_21_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51e0278d6f3126520509dd8767880d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4948524910594968832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_05_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/145cda4d0339e790e6f802556f6d4c08.jpg","text":"TemporaryFile(/tmp/multipartBody8051810951285389044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_12_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce4869c34e9eba888bd680563f89cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody5627273662016904728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_14_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e719de5d8e30429e12044fdc37f0d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7091686609265726631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014485627,"filename":"image_30102025_04_48_09_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671841","file1":"1391671838","file0":"1391671834","file4":"1391671846","file5":"1391671849","file3":"1391671844"},"map_files_photo_id_array":[{"photo_id":"1391671849","filename":"file5"},{"photo_id":"1391671841","filename":"file2"},{"photo_id":"1391671846","filename":"file4"},{"photo_id":"1391671838","filename":"file1"},{"photo_id":"1391671834","filename":"file0"},{"photo_id":"1391671844","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671846":["hashtag1","hashtag2"]},{"1391671849":["hashtag1","hashtag2"]},{"1391671834":["hashtag1","hashtag2"]},{"1391671841":["hashtag1","hashtag2"]},{"1391671844":["hashtag1","hashtag2"]},{"1391671838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671846, 1391671849, 1391671834, 1391671841, 1391671844, 1391671838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95826578140259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:27:42.628668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_23_2629.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_27_3560.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_30_2589.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_33_3592.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_36_2780.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_39_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_23_2629.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_27_3560.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_30_2589.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_33_3592.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_36_2780.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_39_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671870","1391671867","1391671858","1391671875","1391671863","1391671872"],"photo_ids_order":["1391671858","1391671863","1391671867","1391671870","1391671872","1391671875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15f034b8ee4046841263277f5424bace.jpg","text":"TemporaryFile(/tmp/multipartBody7355405350782462481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_33_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5992e1687357035c4e9553d17223abbf.jpg","text":"TemporaryFile(/tmp/multipartBody7469908793619268922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_30_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/067ced7519a5f53a2c1ed9f4a89f76a1.jpg","text":"TemporaryFile(/tmp/multipartBody7218859806792617892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_23_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/100076cac69d5f4a34133fcd7d9e4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1104251465867842428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_39_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c7162651e346745f5b7bc73e34c6631.jpg","text":"TemporaryFile(/tmp/multipartBody1648767239566709653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_27_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18f74dc889478a910cab02e428df1b48.jpg","text":"TemporaryFile(/tmp/multipartBody9205999586182429402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014525852,"filename":"image_30102025_04_48_36_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671867","file1":"1391671863","file0":"1391671858","file4":"1391671872","file5":"1391671875","file3":"1391671870"},"map_files_photo_id_array":[{"photo_id":"1391671875","filename":"file5"},{"photo_id":"1391671867","filename":"file2"},{"photo_id":"1391671872","filename":"file4"},{"photo_id":"1391671863","filename":"file1"},{"photo_id":"1391671858","filename":"file0"},{"photo_id":"1391671870","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671870":["hashtag1","hashtag2"]},{"1391671867":["hashtag1","hashtag2"]},{"1391671858":["hashtag1","hashtag2"]},{"1391671875":["hashtag1","hashtag2"]},{"1391671863":["hashtag1","hashtag2"]},{"1391671872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671870, 1391671867, 1391671858, 1391671875, 1391671863, 1391671872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05755972862244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:28:22.710324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_42_2915.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_44_2763.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_48_3547.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_51_2924.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_54_2772.jpg', '/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_56_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_42_2915.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_44_2763.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_48_3547.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_51_2924.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_54_2772.jpg
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_48_56_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671882","1391671885","1391671894","1391671898","1391671892","1391671889"],"photo_ids_order":["1391671882","1391671885","1391671889","1391671892","1391671894","1391671898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47e683fe7e5ca7c20f9a6f06ea5f8974.jpg","text":"TemporaryFile(/tmp/multipartBody8816695235898333268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_42_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f28dc0448398f2b2f8fe24f5a8951f6.jpg","text":"TemporaryFile(/tmp/multipartBody7272787896146320228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_44_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b358eb2e92a7cd7d7627a80ee9a41650.jpg","text":"TemporaryFile(/tmp/multipartBody8043935265097919516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_54_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9180e081255549638e3b1bb261ea2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8193157145523885251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_56_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53890c630e4b7eb9551d42a5267f80bc.jpg","text":"TemporaryFile(/tmp/multipartBody6875731050104649234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_51_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82998d79f221f48346e9989ddd28cab0.jpg","text":"TemporaryFile(/tmp/multipartBody3729518739424345382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014565487,"filename":"image_30102025_04_48_48_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671889","file1":"1391671885","file0":"1391671882","file4":"1391671894","file5":"1391671898","file3":"1391671892"},"map_files_photo_id_array":[{"photo_id":"1391671898","filename":"file5"},{"photo_id":"1391671889","filename":"file2"},{"photo_id":"1391671894","filename":"file4"},{"photo_id":"1391671885","filename":"file1"},{"photo_id":"1391671882","filename":"file0"},{"photo_id":"1391671892","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671882":["hashtag1","hashtag2"]},{"1391671885":["hashtag1","hashtag2"]},{"1391671894":["hashtag1","hashtag2"]},{"1391671898":["hashtag1","hashtag2"]},{"1391671892":["hashtag1","hashtag2"]},{"1391671889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671882, 1391671885, 1391671894, 1391671898, 1391671892, 1391671889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.966981410980225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:29:02.803588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/48/image_30102025_04_49_00_3755.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_03_2769.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_06_2849.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_09_3559.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_12_2687.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_15_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/48/image_30102025_04_49_00_3755.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_03_2769.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_06_2849.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_09_3559.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_12_2687.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_15_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671919","1391671907","1391671915","1391671911","1391671923","1391671902"],"photo_ids_order":["1391671902","1391671907","1391671911","1391671915","1391671919","1391671923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6e88197d84839b39521b846d7819f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2980535321628155049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_12_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/316f5c832aecb275f03e29410bd690f8.jpg","text":"TemporaryFile(/tmp/multipartBody4965635586551414591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_03_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdf627e2b1a571960c4991542e67c2de.jpg","text":"TemporaryFile(/tmp/multipartBody298220515896226840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_09_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d701f09eba7a303a77f7552b89bda075.jpg","text":"TemporaryFile(/tmp/multipartBody823691203133894455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_06_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e788e18441d7e0d7b59bcc090dbed0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7818169272580808480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_15_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33cf268c32759b574ce1eed84a11e96f.jpg","text":"TemporaryFile(/tmp/multipartBody3884862798213495987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014605192,"filename":"image_30102025_04_49_00_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671911","file1":"1391671907","file0":"1391671902","file4":"1391671919","file5":"1391671923","file3":"1391671915"},"map_files_photo_id_array":[{"photo_id":"1391671923","filename":"file5"},{"photo_id":"1391671911","filename":"file2"},{"photo_id":"1391671919","filename":"file4"},{"photo_id":"1391671907","filename":"file1"},{"photo_id":"1391671902","filename":"file0"},{"photo_id":"1391671915","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671919":["hashtag1","hashtag2"]},{"1391671907":["hashtag1","hashtag2"]},{"1391671915":["hashtag1","hashtag2"]},{"1391671911":["hashtag1","hashtag2"]},{"1391671923":["hashtag1","hashtag2"]},{"1391671902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671919, 1391671907, 1391671915, 1391671911, 1391671923, 1391671902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.875805377960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:30:02.631354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_17_2652.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_21_3723.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_24_2663.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_26_2575.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_33_2818.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_35_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_17_2652.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_21_3723.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_24_2663.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_26_2575.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_33_2818.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_35_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391671975","1391671939","1391671971","1391671965","1391671967","1391671937"],"photo_ids_order":["1391671937","1391671939","1391671965","1391671967","1391671971","1391671975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/716ad2d9b9383ff347f886818d8b48a7.jpg","text":"TemporaryFile(/tmp/multipartBody7594007686825777151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_35_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c8e001529caf43897feeade7a6fb7eb.jpg","text":"TemporaryFile(/tmp/multipartBody7183204981245733143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_21_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6a089dde1ffde068fd11c4e0877b718.jpg","text":"TemporaryFile(/tmp/multipartBody2130393113843016832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_33_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2eeafd9a7bab1ba0a8c994e3044fd941.jpg","text":"TemporaryFile(/tmp/multipartBody1591601028776740346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_24_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1227b0caccae1bdb002ab450c6e0273.jpg","text":"TemporaryFile(/tmp/multipartBody1583113847733592004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_26_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da0778ce34528e9e5beffee1cfed590f.jpg","text":"TemporaryFile(/tmp/multipartBody5943604370073058309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014664858,"filename":"image_30102025_04_49_17_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671965","file1":"1391671939","file0":"1391671937","file4":"1391671971","file5":"1391671975","file3":"1391671967"},"map_files_photo_id_array":[{"photo_id":"1391671975","filename":"file5"},{"photo_id":"1391671965","filename":"file2"},{"photo_id":"1391671971","filename":"file4"},{"photo_id":"1391671939","filename":"file1"},{"photo_id":"1391671937","filename":"file0"},{"photo_id":"1391671967","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391671975":["hashtag1","hashtag2"]},{"1391671939":["hashtag1","hashtag2"]},{"1391671971":["hashtag1","hashtag2"]},{"1391671965":["hashtag1","hashtag2"]},{"1391671967":["hashtag1","hashtag2"]},{"1391671937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391671975, 1391671939, 1391671971, 1391671965, 1391671967, 1391671937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27330017089844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:30:42.122790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_38_2731.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_42_3712.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_45_2730.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_47_2780.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_50_2769.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_54_3813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_38_2731.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_42_3712.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_45_2730.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_47_2780.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_50_2769.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_54_3813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672002","1391671989","1391671998","1391672007","1391672004","1391671994"],"photo_ids_order":["1391671989","1391671994","1391671998","1391672002","1391672004","1391672007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26f6a05385be484841f30185c15b4d03.jpg","text":"TemporaryFile(/tmp/multipartBody4538467927199892924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_47_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/055074555e77737ee534d44ed5c6dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5902809628330306853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_38_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db7acd3667ab4cd794f00abb18f9921c.jpg","text":"TemporaryFile(/tmp/multipartBody5130418548134022790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_45_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee4f8c60049fad44665d2e9ebeafe5c2.jpg","text":"TemporaryFile(/tmp/multipartBody4478722718704910041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_54_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fb118e6834ddc5eab7c5e962c8fdaac.jpg","text":"TemporaryFile(/tmp/multipartBody6726749552343392084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_50_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4a7b8c524b6cc20965d6339a6821b14.jpg","text":"TemporaryFile(/tmp/multipartBody8482602712366546568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014703526,"filename":"image_30102025_04_49_42_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391671998","file1":"1391671994","file0":"1391671989","file4":"1391672004","file5":"1391672007","file3":"1391672002"},"map_files_photo_id_array":[{"photo_id":"1391672007","filename":"file5"},{"photo_id":"1391671998","filename":"file2"},{"photo_id":"1391672004","filename":"file4"},{"photo_id":"1391671994","filename":"file1"},{"photo_id":"1391671989","filename":"file0"},{"photo_id":"1391672002","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672002":["hashtag1","hashtag2"]},{"1391671989":["hashtag1","hashtag2"]},{"1391671998":["hashtag1","hashtag2"]},{"1391672007":["hashtag1","hashtag2"]},{"1391672004":["hashtag1","hashtag2"]},{"1391671994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672002, 1391671989, 1391671998, 1391672007, 1391672004, 1391671994)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391671998 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_45_2730.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.58956599235535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:32:03.574484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:32:49.623764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:33:25.180830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:33:44.749256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_57_2897.jpg', '/home/pi/Desktop/images/30102025/04/49/image_30102025_04_50_00_2761.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_02_2722.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_05_2744.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_12_2627.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_14_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_49_57_2897.jpg
/home/pi/Desktop/images/30102025/04/49/image_30102025_04_50_00_2761.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_02_2722.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_05_2744.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_12_2627.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_14_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672108","1391672104","1391672097","1391672100","1391672093","1391672089"],"photo_ids_order":["1391672089","1391672093","1391672097","1391672100","1391672104","1391672108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab8dda29550d13fe36e942fb99b58674.jpg","text":"TemporaryFile(/tmp/multipartBody6677445855886471006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_50_14_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd9e481efa38c6cc2e24ef0ea0c2013d.jpg","text":"TemporaryFile(/tmp/multipartBody3103742171984341104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_50_12_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6129bfb66107939c48a8f730cd02be84.jpg","text":"TemporaryFile(/tmp/multipartBody2916929923909169062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_50_02_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8d6cd8386e920e001205ed62baa9110.jpg","text":"TemporaryFile(/tmp/multipartBody4180600464224180354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_50_05_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a98918dc745ca8de02356beb2e07cf9a.jpg","text":"TemporaryFile(/tmp/multipartBody6231251445289654270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_50_00_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7074e2c45195ae75f2a043639e85af58.jpg","text":"TemporaryFile(/tmp/multipartBody8274076865273037893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014887514,"filename":"image_30102025_04_49_57_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672097","file1":"1391672093","file0":"1391672089","file4":"1391672104","file5":"1391672108","file3":"1391672100"},"map_files_photo_id_array":[{"photo_id":"1391672108","filename":"file5"},{"photo_id":"1391672097","filename":"file2"},{"photo_id":"1391672104","filename":"file4"},{"photo_id":"1391672093","filename":"file1"},{"photo_id":"1391672089","filename":"file0"},{"photo_id":"1391672100","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672108":["hashtag1","hashtag2"]},{"1391672104":["hashtag1","hashtag2"]},{"1391672097":["hashtag1","hashtag2"]},{"1391672100":["hashtag1","hashtag2"]},{"1391672093":["hashtag1","hashtag2"]},{"1391672089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672108, 1391672104, 1391672097, 1391672100, 1391672093, 1391672089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56981158256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:34:25.075302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_20_2728.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_23_2902.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_26_2706.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_30_3618.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_32_2771.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_39_3738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_20_2728.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_23_2902.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_26_2706.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_30_3618.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_32_2771.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_39_3738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672125","1391672136","1391672139","1391672133","1391672141","1391672129"],"photo_ids_order":["1391672125","1391672129","1391672133","1391672136","1391672139","1391672141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f01d5f33b94f9fdf1d140cfb787b460d.jpg","text":"TemporaryFile(/tmp/multipartBody6176907657809195323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_20_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10bc6a4643aa99ce1925c0b99eb0e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody3902871446922281045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_30_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59688712fb6709cc1458075ffc84cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody1281004623480322747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_32_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7852b5ad1ab02c0eaad5461b3b5c8ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3303125247073113522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_26_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ff4de62c0a202f4802c115e42b28c08.jpg","text":"TemporaryFile(/tmp/multipartBody2666946103486741347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_39_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/632fe3a1c0eed3ec749c2c9d69657737.jpg","text":"TemporaryFile(/tmp/multipartBody5750776510705591074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762014949630,"filename":"image_30102025_04_50_23_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672133","file1":"1391672129","file0":"1391672125","file4":"1391672139","file5":"1391672141","file3":"1391672136"},"map_files_photo_id_array":[{"photo_id":"1391672141","filename":"file5"},{"photo_id":"1391672133","filename":"file2"},{"photo_id":"1391672139","filename":"file4"},{"photo_id":"1391672129","filename":"file1"},{"photo_id":"1391672125","filename":"file0"},{"photo_id":"1391672136","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672125":["hashtag1","hashtag2"]},{"1391672136":["hashtag1","hashtag2"]},{"1391672139":["hashtag1","hashtag2"]},{"1391672133":["hashtag1","hashtag2"]},{"1391672141":["hashtag1","hashtag2"]},{"1391672129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672125, 1391672136, 1391672139, 1391672133, 1391672141, 1391672129)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 102.32790970802307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:36:22.484266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_41_2626.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_48_3574.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_53_2707.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_57_3644.jpg', '/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_59_2765.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_03_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_41_2626.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_48_3574.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_53_2707.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_57_3644.jpg
/home/pi/Desktop/images/30102025/04/50/image_30102025_04_50_59_2765.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_03_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672362","1391672191","1391672233","1391672319","1391672276","1391672408"],"photo_ids_order":["1391672191","1391672233","1391672276","1391672319","1391672362","1391672408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5223067e79f760c92f22111b344ac4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5745864953590127827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_50_59_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7857e5cf7e58ce53011355a52ceb2224.jpg","text":"TemporaryFile(/tmp/multipartBody2163349580383746526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_50_41_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5b7175147d2b0df0c417bb4d7ccf265.jpg","text":"TemporaryFile(/tmp/multipartBody2272712269953414409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_50_48_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfce42e560523b8f0456063e8634690c.jpg","text":"TemporaryFile(/tmp/multipartBody882373263761005983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_50_57_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26cbee420ddfd3853a357f0d66a47f38.jpg","text":"TemporaryFile(/tmp/multipartBody560072429188825881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_50_53_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34e16cc5acca3ce18ca25438b4918dc2.jpg","text":"TemporaryFile(/tmp/multipartBody288346491274338349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015044946,"filename":"image_30102025_04_51_03_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672276","file1":"1391672233","file0":"1391672191","file4":"1391672362","file5":"1391672408","file3":"1391672319"},"map_files_photo_id_array":[{"photo_id":"1391672408","filename":"file5"},{"photo_id":"1391672276","filename":"file2"},{"photo_id":"1391672362","filename":"file4"},{"photo_id":"1391672233","filename":"file1"},{"photo_id":"1391672191","filename":"file0"},{"photo_id":"1391672319","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672362":["hashtag1","hashtag2"]},{"1391672191":["hashtag1","hashtag2"]},{"1391672233":["hashtag1","hashtag2"]},{"1391672319":["hashtag1","hashtag2"]},{"1391672276":["hashtag1","hashtag2"]},{"1391672408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672362, 1391672191, 1391672233, 1391672319, 1391672276, 1391672408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41733932495117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:37:03.330924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_05_2515.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_08_2602.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_12_3652.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_14_2574.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_17_2661.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_21_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_05_2515.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_08_2602.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_12_3652.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_14_2574.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_17_2661.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_21_3797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672686","1391672647","1391672728","1391672563","1391672768","1391672603"],"photo_ids_order":["1391672563","1391672603","1391672647","1391672686","1391672728","1391672768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b0b4f26fe6c77dd7ce97e1636167af5.jpg","text":"TemporaryFile(/tmp/multipartBody6027745250970575058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_14_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc5c9f0cf4479001655964442c048af3.jpg","text":"TemporaryFile(/tmp/multipartBody4936093829589060480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_12_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55c17a317cc4dc4612a7ae0f0d979203.jpg","text":"TemporaryFile(/tmp/multipartBody2108643605902774930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_17_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ea5a8b6428309cbf0b3a42dbf3003ba.jpg","text":"TemporaryFile(/tmp/multipartBody1544228597939658519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_05_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/587e1f599d1df37730dd66d9e304f2fd.jpg","text":"TemporaryFile(/tmp/multipartBody2137108432450455723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_21_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/062d21ed13612f990ffa8e28719958f6.jpg","text":"TemporaryFile(/tmp/multipartBody1997210191490735399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015085718,"filename":"image_30102025_04_51_08_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672647","file1":"1391672603","file0":"1391672563","file4":"1391672728","file5":"1391672768","file3":"1391672686"},"map_files_photo_id_array":[{"photo_id":"1391672768","filename":"file5"},{"photo_id":"1391672647","filename":"file2"},{"photo_id":"1391672728","filename":"file4"},{"photo_id":"1391672603","filename":"file1"},{"photo_id":"1391672563","filename":"file0"},{"photo_id":"1391672686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672686":["hashtag1","hashtag2"]},{"1391672647":["hashtag1","hashtag2"]},{"1391672728":["hashtag1","hashtag2"]},{"1391672563":["hashtag1","hashtag2"]},{"1391672768":["hashtag1","hashtag2"]},{"1391672603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672686, 1391672647, 1391672728, 1391672563, 1391672768, 1391672603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.671374797821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:37:42.721755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_23_2592.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_26_2689.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_32_2701.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_35_2629.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_39_3773.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_41_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_23_2592.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_26_2689.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_32_2701.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_35_2629.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_39_3773.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_41_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672785","1391672790","1391672781","1391672778","1391672802","1391672788"],"photo_ids_order":["1391672778","1391672781","1391672785","1391672788","1391672790","1391672802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6eaa7f7b7e0e63d8a0107e3d06fa989c.jpg","text":"TemporaryFile(/tmp/multipartBody2227446444390770465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_32_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97f3a0322682f3bf1affa8ee0c2c8ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2014683714634852802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_39_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6248ad7da12fb7c231262d7f3c8ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody351338655487646962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_26_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e738825e8a37b54a764bc7f66b03ed9.jpg","text":"TemporaryFile(/tmp/multipartBody217930411163375126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_23_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff43a8257bf25e1133cfa2bea76145e9.jpg","text":"TemporaryFile(/tmp/multipartBody589700294356163173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_41_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88ebae312df0659ff49aa1de7c750e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2796708836953019440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015124015,"filename":"image_30102025_04_51_35_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672785","file1":"1391672781","file0":"1391672778","file4":"1391672790","file5":"1391672802","file3":"1391672788"},"map_files_photo_id_array":[{"photo_id":"1391672802","filename":"file5"},{"photo_id":"1391672785","filename":"file2"},{"photo_id":"1391672790","filename":"file4"},{"photo_id":"1391672781","filename":"file1"},{"photo_id":"1391672778","filename":"file0"},{"photo_id":"1391672788","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672785":["hashtag1","hashtag2"]},{"1391672790":["hashtag1","hashtag2"]},{"1391672781":["hashtag1","hashtag2"]},{"1391672778":["hashtag1","hashtag2"]},{"1391672802":["hashtag1","hashtag2"]},{"1391672788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672785, 1391672790, 1391672781, 1391672778, 1391672802, 1391672788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03608322143555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:38:21.869397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_44_2742.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_48_3736.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_50_2660.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_53_2565.jpg', '/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_57_3730.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_02_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_44_2742.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_48_3736.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_50_2660.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_53_2565.jpg
/home/pi/Desktop/images/30102025/04/51/image_30102025_04_51_57_3730.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_02_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391672959","1391672991","1391672992","1391672995","1391672989","1391672974"],"photo_ids_order":["1391672959","1391672974","1391672989","1391672991","1391672992","1391672995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cb5680ec8b441839e57403baebcd7a8.jpg","text":"TemporaryFile(/tmp/multipartBody6359250759676293875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_51_44_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2c8650b006a45a15db199f8f490b78d.jpg","text":"TemporaryFile(/tmp/multipartBody2971665724640175308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_51_53_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1894bd2fa48094fe81d7b1eff64f6032.jpg","text":"TemporaryFile(/tmp/multipartBody3680930516120388997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_51_57_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e9c8ad43e68015a7ff082c98dadc66e.jpg","text":"TemporaryFile(/tmp/multipartBody4566419356312269961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_52_02_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dd7cfb6dc1045d303d4fb2286595b22.jpg","text":"TemporaryFile(/tmp/multipartBody6447768440699832111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_51_50_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75df1b3bdc61540a76b70a2c50a108e8.jpg","text":"TemporaryFile(/tmp/multipartBody3295998259724321405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015164697,"filename":"image_30102025_04_51_48_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391672989","file1":"1391672974","file0":"1391672959","file4":"1391672992","file5":"1391672995","file3":"1391672991"},"map_files_photo_id_array":[{"photo_id":"1391672995","filename":"file5"},{"photo_id":"1391672989","filename":"file2"},{"photo_id":"1391672992","filename":"file4"},{"photo_id":"1391672974","filename":"file1"},{"photo_id":"1391672959","filename":"file0"},{"photo_id":"1391672991","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391672959":["hashtag1","hashtag2"]},{"1391672991":["hashtag1","hashtag2"]},{"1391672992":["hashtag1","hashtag2"]},{"1391672995":["hashtag1","hashtag2"]},{"1391672989":["hashtag1","hashtag2"]},{"1391672974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391672959, 1391672991, 1391672992, 1391672995, 1391672989, 1391672974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81240224838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:39:02.973128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_05_2744.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_09_3690.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_11_2615.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_14_2814.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_18_3603.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_20_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_05_2744.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_09_3690.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_11_2615.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_14_2814.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_18_3603.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_20_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673100","1391673091","1391673085","1391673094","1391673088","1391673097"],"photo_ids_order":["1391673085","1391673088","1391673091","1391673094","1391673097","1391673100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/166e133be9518ba39620e23054aa77fc.jpg","text":"TemporaryFile(/tmp/multipartBody4543742064951234510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_20_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f3af77da13294cd8ec91cf9e6e5f18b.jpg","text":"TemporaryFile(/tmp/multipartBody1928555830367772889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_11_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58356b5692e6c4b85c45e44b7f7d1ede.jpg","text":"TemporaryFile(/tmp/multipartBody3265189745546760627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_05_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2eea6deb63aca5f67d8730c38b0481e1.jpg","text":"TemporaryFile(/tmp/multipartBody2796055557373349277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_14_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8fd865b941779720e67dec960a468a5.jpg","text":"TemporaryFile(/tmp/multipartBody1738870468189075988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_09_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f17601efa7c2d88ddf4993d9778c065.jpg","text":"TemporaryFile(/tmp/multipartBody4545761346428958375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015205470,"filename":"image_30102025_04_52_18_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673091","file1":"1391673088","file0":"1391673085","file4":"1391673097","file5":"1391673100","file3":"1391673094"},"map_files_photo_id_array":[{"photo_id":"1391673100","filename":"file5"},{"photo_id":"1391673091","filename":"file2"},{"photo_id":"1391673097","filename":"file4"},{"photo_id":"1391673088","filename":"file1"},{"photo_id":"1391673085","filename":"file0"},{"photo_id":"1391673094","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673100":["hashtag1","hashtag2"]},{"1391673091":["hashtag1","hashtag2"]},{"1391673085":["hashtag1","hashtag2"]},{"1391673094":["hashtag1","hashtag2"]},{"1391673088":["hashtag1","hashtag2"]},{"1391673097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673100, 1391673091, 1391673085, 1391673094, 1391673088, 1391673097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19421696662903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:39:42.007824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_23_2597.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_26_2892.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_32_2608.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_35_2683.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_38_3643.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_41_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_23_2597.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_26_2892.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_32_2608.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_35_2683.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_38_3643.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_41_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673310","1391673304","1391673228","1391673141","1391673185","1391673271"],"photo_ids_order":["1391673141","1391673185","1391673228","1391673271","1391673304","1391673310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d63a577fd55831797f4adbacff04408b.jpg","text":"TemporaryFile(/tmp/multipartBody3929618801268366832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_41_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3659b4763f139358307e86245e20926.jpg","text":"TemporaryFile(/tmp/multipartBody7925331563779640990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_38_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19dc93541d6496011f3ad922df395357.jpg","text":"TemporaryFile(/tmp/multipartBody4267229477682399198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbe77a4a31c5fd27dea3ce0d30bc18cf.jpg","text":"TemporaryFile(/tmp/multipartBody4199178506742309240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_23_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11f8f1e85bb5312d60e272360635f409.jpg","text":"TemporaryFile(/tmp/multipartBody3911136703672043251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_26_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/821668ffcacfb0363c134739a49c21e2.jpg","text":"TemporaryFile(/tmp/multipartBody4180105501982830450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015243342,"filename":"image_30102025_04_52_35_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673228","file1":"1391673185","file0":"1391673141","file4":"1391673304","file5":"1391673310","file3":"1391673271"},"map_files_photo_id_array":[{"photo_id":"1391673310","filename":"file5"},{"photo_id":"1391673228","filename":"file2"},{"photo_id":"1391673304","filename":"file4"},{"photo_id":"1391673185","filename":"file1"},{"photo_id":"1391673141","filename":"file0"},{"photo_id":"1391673271","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673310":["hashtag1","hashtag2"]},{"1391673304":["hashtag1","hashtag2"]},{"1391673228":["hashtag1","hashtag2"]},{"1391673141":["hashtag1","hashtag2"]},{"1391673185":["hashtag1","hashtag2"]},{"1391673271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673310, 1391673304, 1391673228, 1391673141, 1391673185, 1391673271)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.981223344802856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:40:42.203435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_45_3644.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_50_2631.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_53_2594.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_56_3636.jpg', '/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_59_2712.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_02_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_45_3644.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_50_2631.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_53_2594.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_56_3636.jpg
/home/pi/Desktop/images/30102025/04/52/image_30102025_04_52_59_2712.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_02_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673331","1391673325","1391673342","1391673345","1391673339","1391673335"],"photo_ids_order":["1391673325","1391673331","1391673335","1391673339","1391673342","1391673345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d1803b6a42be431eb066968f8ebdc6f.jpg","text":"TemporaryFile(/tmp/multipartBody6249236746099677761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_52_50_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bf11403c98088fae9beefd99bc066a5.jpg","text":"TemporaryFile(/tmp/multipartBody5368394670532010018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_52_45_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da7dfa66afda59cf06c97e1749e73813.jpg","text":"TemporaryFile(/tmp/multipartBody8564238837911128454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_52_59_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a81d6b858f5b35175d95e7b6bea8e642.jpg","text":"TemporaryFile(/tmp/multipartBody5965547035438634764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_53_02_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b8dd3e9c5155bd5d4b33b102a1c0c04.jpg","text":"TemporaryFile(/tmp/multipartBody7977096095796414337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_52_56_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dcf6bcd0b2e14c5079187bd67a644370.jpg","text":"TemporaryFile(/tmp/multipartBody391822757317055283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015303438,"filename":"image_30102025_04_52_53_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673335","file1":"1391673331","file0":"1391673325","file4":"1391673342","file5":"1391673345","file3":"1391673339"},"map_files_photo_id_array":[{"photo_id":"1391673345","filename":"file5"},{"photo_id":"1391673335","filename":"file2"},{"photo_id":"1391673342","filename":"file4"},{"photo_id":"1391673331","filename":"file1"},{"photo_id":"1391673325","filename":"file0"},{"photo_id":"1391673339","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673331":["hashtag1","hashtag2"]},{"1391673325":["hashtag1","hashtag2"]},{"1391673342":["hashtag1","hashtag2"]},{"1391673345":["hashtag1","hashtag2"]},{"1391673339":["hashtag1","hashtag2"]},{"1391673335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673331, 1391673325, 1391673342, 1391673345, 1391673339, 1391673335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67192506790161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:41:22.509066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_05_3640.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_08_2578.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_17_2580.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_20_3535.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_23_2504.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_26_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_05_3640.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_08_2578.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_17_2580.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_20_3535.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_23_2504.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_26_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673363","1391673366","1391673351","1391673353","1391673359","1391673355"],"photo_ids_order":["1391673351","1391673353","1391673355","1391673359","1391673363","1391673366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa10b5d8f1fa0f65b659aa6ff6a59726.jpg","text":"TemporaryFile(/tmp/multipartBody4675180890136726283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_23_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/965104df13d6ca99ff3be00e2ced91d1.jpg","text":"TemporaryFile(/tmp/multipartBody3600715599555302237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_26_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee4b384013ab10ef6bb62be5bf480e22.jpg","text":"TemporaryFile(/tmp/multipartBody4241776480306185685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_05_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/934e6acefbcb4adc662fd4d2818b7f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5603413654469786453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_08_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8b28f6f0e1104883996b6c15c1cf14f.jpg","text":"TemporaryFile(/tmp/multipartBody3078362813911641146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_20_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5741ac705ce97f6205d10dcd5e3c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody8827361532388322784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015345275,"filename":"image_30102025_04_53_17_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673355","file1":"1391673353","file0":"1391673351","file4":"1391673363","file5":"1391673366","file3":"1391673359"},"map_files_photo_id_array":[{"photo_id":"1391673366","filename":"file5"},{"photo_id":"1391673355","filename":"file2"},{"photo_id":"1391673363","filename":"file4"},{"photo_id":"1391673353","filename":"file1"},{"photo_id":"1391673351","filename":"file0"},{"photo_id":"1391673359","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673363":["hashtag1","hashtag2"]},{"1391673366":["hashtag1","hashtag2"]},{"1391673351":["hashtag1","hashtag2"]},{"1391673353":["hashtag1","hashtag2"]},{"1391673359":["hashtag1","hashtag2"]},{"1391673355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673363, 1391673366, 1391673351, 1391673353, 1391673359, 1391673355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70477771759033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:42:03.268220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_29_3598.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_35_2734.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_38_3622.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_41_2643.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_44_2626.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_48_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_29_3598.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_35_2734.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_38_3622.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_41_2643.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_44_2626.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_48_3796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391673375","1391673372","1391673380","1391673374","1391673382","1391673370"],"photo_ids_order":["1391673370","1391673372","1391673374","1391673375","1391673380","1391673382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9205fda93b2f7433a2891f18547a34f1.jpg","text":"TemporaryFile(/tmp/multipartBody3881165996159674682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_41_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d6baeb3118881718b8c12fe04d35870.jpg","text":"TemporaryFile(/tmp/multipartBody897582960802943856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_35_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea001161d1597e8bdadfd428413ba9e7.jpg","text":"TemporaryFile(/tmp/multipartBody1826198222156394953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_44_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fe55191486973b04fb9e9b0a7a534b8.jpg","text":"TemporaryFile(/tmp/multipartBody5442567816013157942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_38_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f633d9085ec1a667d0adf9432f38d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5138555240300528478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_48_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/186163b85be826415b62ff65add3a00d.jpg","text":"TemporaryFile(/tmp/multipartBody8959876719831913781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015385508,"filename":"image_30102025_04_53_29_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673374","file1":"1391673372","file0":"1391673370","file4":"1391673380","file5":"1391673382","file3":"1391673375"},"map_files_photo_id_array":[{"photo_id":"1391673382","filename":"file5"},{"photo_id":"1391673374","filename":"file2"},{"photo_id":"1391673380","filename":"file4"},{"photo_id":"1391673372","filename":"file1"},{"photo_id":"1391673370","filename":"file0"},{"photo_id":"1391673375","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673375":["hashtag1","hashtag2"]},{"1391673372":["hashtag1","hashtag2"]},{"1391673380":["hashtag1","hashtag2"]},{"1391673374":["hashtag1","hashtag2"]},{"1391673382":["hashtag1","hashtag2"]},{"1391673370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673375, 1391673372, 1391673380, 1391673374, 1391673382, 1391673370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.23883247375488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:43:03.213012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_50_2771.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_53_2762.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_56_2806.jpg', '/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_59_3647.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_02_2561.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_05_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_50_2771.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_53_2762.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_56_2806.jpg
/home/pi/Desktop/images/30102025/04/53/image_30102025_04_53_59_3647.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_02_2561.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_05_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673398","1391673410","1391673404","1391673394","1391673407","1391673401"],"photo_ids_order":["1391673394","1391673398","1391673401","1391673404","1391673407","1391673410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c57c80af2ba302fa3294c3e677669a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7207796363506865090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_53_53_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/960f562d0abec1920d519b628b00846e.jpg","text":"TemporaryFile(/tmp/multipartBody8998113249651098553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_54_05_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88618ba25167c318f2c1eb0b7b0437fb.jpg","text":"TemporaryFile(/tmp/multipartBody2558667112819567566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_53_59_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5d34a28918c5a1443d305b50cb14f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6808623151834133369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_53_50_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dce984c92d8854d353cce9b14e393e39.jpg","text":"TemporaryFile(/tmp/multipartBody7062916833172450256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_54_02_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84de2d8d9075c1c36a58f8d8836fc5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3402184270228034639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015445651,"filename":"image_30102025_04_53_56_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673401","file1":"1391673398","file0":"1391673394","file4":"1391673407","file5":"1391673410","file3":"1391673404"},"map_files_photo_id_array":[{"photo_id":"1391673410","filename":"file5"},{"photo_id":"1391673401","filename":"file2"},{"photo_id":"1391673407","filename":"file4"},{"photo_id":"1391673398","filename":"file1"},{"photo_id":"1391673394","filename":"file0"},{"photo_id":"1391673404","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673398":["hashtag1","hashtag2"]},{"1391673410":["hashtag1","hashtag2"]},{"1391673404":["hashtag1","hashtag2"]},{"1391673394":["hashtag1","hashtag2"]},{"1391673407":["hashtag1","hashtag2"]},{"1391673401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673398, 1391673410, 1391673404, 1391673394, 1391673407, 1391673401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07421350479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:43:42.388737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_09_3797.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_11_2636.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_14_2563.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_17_3745.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_20_2548.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_23_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_09_3797.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_11_2636.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_14_2563.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_17_3745.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_20_2548.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_23_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673421","1391673426","1391673435","1391673417","1391673431","1391673439"],"photo_ids_order":["1391673417","1391673421","1391673426","1391673431","1391673435","1391673439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/718c6dcceaaf8e019e815d691aab6974.jpg","text":"TemporaryFile(/tmp/multipartBody2200250945552252651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_11_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c9cb6c2205e5a8f1efa67f65194ad8e.jpg","text":"TemporaryFile(/tmp/multipartBody3237537281703299066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_14_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdaf0a8307242e245676252401ee1a66.jpg","text":"TemporaryFile(/tmp/multipartBody5650665199619890070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_20_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b07808590d82b79fcd7b2b26192440fa.jpg","text":"TemporaryFile(/tmp/multipartBody1045868770741703162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_09_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08fc7c23bc13fd4149f13600b94bdfe3.jpg","text":"TemporaryFile(/tmp/multipartBody3588282531509865377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_17_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55c361f6b67ea3cd7006f62c8c3e9323.jpg","text":"TemporaryFile(/tmp/multipartBody2540933701247583345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015483628,"filename":"image_30102025_04_54_23_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673426","file1":"1391673421","file0":"1391673417","file4":"1391673435","file5":"1391673439","file3":"1391673431"},"map_files_photo_id_array":[{"photo_id":"1391673439","filename":"file5"},{"photo_id":"1391673426","filename":"file2"},{"photo_id":"1391673435","filename":"file4"},{"photo_id":"1391673421","filename":"file1"},{"photo_id":"1391673417","filename":"file0"},{"photo_id":"1391673431","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673421":["hashtag1","hashtag2"]},{"1391673426":["hashtag1","hashtag2"]},{"1391673435":["hashtag1","hashtag2"]},{"1391673417":["hashtag1","hashtag2"]},{"1391673431":["hashtag1","hashtag2"]},{"1391673439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673421, 1391673426, 1391673435, 1391673417, 1391673431, 1391673439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85974431037903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:44:22.692256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_29_2665.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_32_2810.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_35_3564.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_38_2666.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_41_2777.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_44_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_29_2665.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_32_2810.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_35_3564.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_38_2666.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_41_2777.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_44_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673492","1391673456","1391673461","1391673499","1391673451","1391673448"],"photo_ids_order":["1391673448","1391673451","1391673456","1391673461","1391673492","1391673499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e488a178a8ea6a739f72564b12bfbab4.jpg","text":"TemporaryFile(/tmp/multipartBody1122346022571274004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_41_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7dde0576a470f333939698fedb8a3be3.jpg","text":"TemporaryFile(/tmp/multipartBody2226832574720920234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_35_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24cd3bfc4ffa804c418cc5fe55916e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4238808669302720824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_38_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/144be8bb2c017a3517e723c58e9efa82.jpg","text":"TemporaryFile(/tmp/multipartBody2889152695339106853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_44_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02dcf3da92b9e47c9a8c8d4ee8e9e5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6462909586685482569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_32_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8c9435d9804e477d2f59f95ddb80103.jpg","text":"TemporaryFile(/tmp/multipartBody2171712036552283859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015537114,"filename":"image_30102025_04_54_29_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673456","file1":"1391673451","file0":"1391673448","file4":"1391673492","file5":"1391673499","file3":"1391673461"},"map_files_photo_id_array":[{"photo_id":"1391673499","filename":"file5"},{"photo_id":"1391673456","filename":"file2"},{"photo_id":"1391673492","filename":"file4"},{"photo_id":"1391673451","filename":"file1"},{"photo_id":"1391673448","filename":"file0"},{"photo_id":"1391673461","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673492":["hashtag1","hashtag2"]},{"1391673456":["hashtag1","hashtag2"]},{"1391673461":["hashtag1","hashtag2"]},{"1391673499":["hashtag1","hashtag2"]},{"1391673451":["hashtag1","hashtag2"]},{"1391673448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673492, 1391673456, 1391673461, 1391673499, 1391673451, 1391673448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.822473764419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:45:21.851605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_47_2658.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_50_2623.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_53_3592.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_56_2612.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_59_2685.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_02_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_47_2658.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_50_2623.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_53_3592.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_56_2612.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_59_2685.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_02_3774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 23.40534281730652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:46:02.854802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_47_2658.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_50_2623.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_53_3592.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_56_2612.jpg', '/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_59_2685.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_02_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_47_2658.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_50_2623.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_53_3592.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_56_2612.jpg
/home/pi/Desktop/images/30102025/04/54/image_30102025_04_54_59_2685.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_02_3774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673582","1391673576","1391673579","1391673584","1391673572","1391673586"],"photo_ids_order":["1391673572","1391673576","1391673579","1391673582","1391673584","1391673586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e79d4c6466cdbc31cdecc138c0ad030.jpg","text":"TemporaryFile(/tmp/multipartBody9117795731848278808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_54_56_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4c2aa68d860422cfa100ffc3ce8ec18.jpg","text":"TemporaryFile(/tmp/multipartBody3275024276673638354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_54_50_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39b4b2a4152772c40cf79ee11a0dc927.jpg","text":"TemporaryFile(/tmp/multipartBody3774741843188477549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_54_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/091220dcfc933c6b8fbdf24a8979465b.jpg","text":"TemporaryFile(/tmp/multipartBody9007210602122790543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_54_59_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/abbb3a2136291d17d7c4b671673f7c47.jpg","text":"TemporaryFile(/tmp/multipartBody832777073325742288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_54_47_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1949f9a1b3f158f24794f4606c78fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody5712983773954928886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015627671,"filename":"image_30102025_04_55_02_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673579","file1":"1391673576","file0":"1391673572","file4":"1391673584","file5":"1391673586","file3":"1391673582"},"map_files_photo_id_array":[{"photo_id":"1391673586","filename":"file5"},{"photo_id":"1391673579","filename":"file2"},{"photo_id":"1391673584","filename":"file4"},{"photo_id":"1391673576","filename":"file1"},{"photo_id":"1391673572","filename":"file0"},{"photo_id":"1391673582","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673582":["hashtag1","hashtag2"]},{"1391673576":["hashtag1","hashtag2"]},{"1391673579":["hashtag1","hashtag2"]},{"1391673584":["hashtag1","hashtag2"]},{"1391673572":["hashtag1","hashtag2"]},{"1391673586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673582, 1391673576, 1391673579, 1391673584, 1391673572, 1391673586)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.745155811309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:47:21.875424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_05_2908.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_08_2673.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_11_2874.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_14_2755.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_17_3688.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_20_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_05_2908.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_08_2673.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_11_2874.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_14_2755.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_17_3688.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_20_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673715","1391673700","1391673711","1391673707","1391673704","1391673697"],"photo_ids_order":["1391673697","1391673700","1391673704","1391673707","1391673711","1391673715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f4df13839a5793ffea9f51876051b73.jpg","text":"TemporaryFile(/tmp/multipartBody6391887080445445125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_20_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bbb389a609bdfc78e60526a76d0f69b.jpg","text":"TemporaryFile(/tmp/multipartBody6232491782866334799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/484676b9bd13a3ba146f078894403388.jpg","text":"TemporaryFile(/tmp/multipartBody7586847344524174444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_17_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d78b9c122de02adca1a74ab3c4fc02c8.jpg","text":"TemporaryFile(/tmp/multipartBody3350009913090994481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_14_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49bc06674c5f266ab5d6907e5bc6beed.jpg","text":"TemporaryFile(/tmp/multipartBody5142965246587786499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_11_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e9ef70ece3cc1c0ae15d8ca27610395.jpg","text":"TemporaryFile(/tmp/multipartBody5505753428220623163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015714849,"filename":"image_30102025_04_55_05_2908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673704","file1":"1391673700","file0":"1391673697","file4":"1391673711","file5":"1391673715","file3":"1391673707"},"map_files_photo_id_array":[{"photo_id":"1391673715","filename":"file5"},{"photo_id":"1391673704","filename":"file2"},{"photo_id":"1391673711","filename":"file4"},{"photo_id":"1391673700","filename":"file1"},{"photo_id":"1391673697","filename":"file0"},{"photo_id":"1391673707","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673715":["hashtag1","hashtag2"]},{"1391673700":["hashtag1","hashtag2"]},{"1391673711":["hashtag1","hashtag2"]},{"1391673707":["hashtag1","hashtag2"]},{"1391673704":["hashtag1","hashtag2"]},{"1391673697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673715, 1391673700, 1391673711, 1391673707, 1391673704, 1391673697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.48076105117798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:48:21.974816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_23_2726.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_26_3722.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_29_2565.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_32_2691.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_35_3768.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_38_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_23_2726.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_26_3722.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_29_2565.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_32_2691.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_35_3768.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_38_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673733","1391673741","1391673726","1391673728","1391673736","1391673730"],"photo_ids_order":["1391673726","1391673728","1391673730","1391673733","1391673736","1391673741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d34bca4edb34db3f3904697420cae341.jpg","text":"TemporaryFile(/tmp/multipartBody6861410167196677294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_32_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dd5f8acb76d54af69ccc689bc41160f.jpg","text":"TemporaryFile(/tmp/multipartBody7191848881943721618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_38_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/717ec6b940d73bfc024a61576d17f519.jpg","text":"TemporaryFile(/tmp/multipartBody4964202302130402198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_23_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b15896adb409213dca55ce967a4b45c0.jpg","text":"TemporaryFile(/tmp/multipartBody878563683163143360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_26_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7618b853b4c45674ce917705e116798.jpg","text":"TemporaryFile(/tmp/multipartBody536029030961233515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_35_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64b2df48fa6a24ddb3bfd146f8b50025.jpg","text":"TemporaryFile(/tmp/multipartBody688933325506971764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015764389,"filename":"image_30102025_04_55_29_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673730","file1":"1391673728","file0":"1391673726","file4":"1391673736","file5":"1391673741","file3":"1391673733"},"map_files_photo_id_array":[{"photo_id":"1391673741","filename":"file5"},{"photo_id":"1391673730","filename":"file2"},{"photo_id":"1391673736","filename":"file4"},{"photo_id":"1391673728","filename":"file1"},{"photo_id":"1391673726","filename":"file0"},{"photo_id":"1391673733","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673733":["hashtag1","hashtag2"]},{"1391673741":["hashtag1","hashtag2"]},{"1391673726":["hashtag1","hashtag2"]},{"1391673728":["hashtag1","hashtag2"]},{"1391673736":["hashtag1","hashtag2"]},{"1391673730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673733, 1391673741, 1391673726, 1391673728, 1391673736, 1391673730)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391673730 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_29_2565.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.08315086364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:49:42.228772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_44_3778.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_47_2692.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_53_3635.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_56_2608.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_59_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_44_3778.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_47_2692.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_53_3635.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_56_2608.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_59_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673783","1391673785","1391673772","1391673781","1391673775","1391673778"],"photo_ids_order":["1391673772","1391673775","1391673778","1391673781","1391673783","1391673785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad5d663f33f592e9ccafaf1caff82ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4512930415081913715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_56_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f6add04192a8e180e383422b8961067.jpg","text":"TemporaryFile(/tmp/multipartBody5526648826598764775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_59_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/401d8ac28069c9d571d04b26d67d7a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1305133690894840040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_44_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/472b11e3fe894fbf3bab42a784719e38.jpg","text":"TemporaryFile(/tmp/multipartBody6621887991705912033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_53_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5021ef716e976dcbd6d977193c6ebb70.jpg","text":"TemporaryFile(/tmp/multipartBody3446682575211846713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_47_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3b6c28097c6512932f28d19b3adf464.jpg","text":"TemporaryFile(/tmp/multipartBody1773842827342986441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015848246,"filename":"image_30102025_04_55_50_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673778","file1":"1391673775","file0":"1391673772","file4":"1391673783","file5":"1391673785","file3":"1391673781"},"map_files_photo_id_array":[{"photo_id":"1391673785","filename":"file5"},{"photo_id":"1391673778","filename":"file2"},{"photo_id":"1391673783","filename":"file4"},{"photo_id":"1391673775","filename":"file1"},{"photo_id":"1391673772","filename":"file0"},{"photo_id":"1391673781","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673783":["hashtag1","hashtag2"]},{"1391673785":["hashtag1","hashtag2"]},{"1391673772":["hashtag1","hashtag2"]},{"1391673781":["hashtag1","hashtag2"]},{"1391673775":["hashtag1","hashtag2"]},{"1391673778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673783, 1391673785, 1391673772, 1391673781, 1391673775, 1391673778)","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 = 1391673778 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391673778 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg";
uploaded 6 photos
time to upload: 77.14637565612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:51:03.887420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:51:49.307418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:52:09.642865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_44_3778.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_47_2692.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_53_3635.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_56_2608.jpg', '/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_59_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_44_3778.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_47_2692.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_50_2530.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_53_3635.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_56_2608.jpg
/home/pi/Desktop/images/30102025/04/55/image_30102025_04_55_59_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673864","1391673888","1391673849","1391673886","1391673883","1391673859"],"photo_ids_order":["1391673849","1391673859","1391673864","1391673883","1391673886","1391673888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db09378fcad60c16d08355748bebcc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7094670727662486415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_50_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e9fb20c814bfd4dd990d8e5d144ccc1.jpg","text":"TemporaryFile(/tmp/multipartBody7333436237327051375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_59_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68c0ab84ce15ff8587f77d25050bf651.jpg","text":"TemporaryFile(/tmp/multipartBody6608506406711354657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_44_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d313ca3a2038b850ecc671d064abb800.jpg","text":"TemporaryFile(/tmp/multipartBody4047829806449400005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_56_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f95dc2bafce900028dbc05bf60a40bf2.jpg","text":"TemporaryFile(/tmp/multipartBody8893182348435589138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_53_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c50425ed21e94bdcb7cbb27f4ebc4c07.jpg","text":"TemporaryFile(/tmp/multipartBody1969450207602506367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762015991670,"filename":"image_30102025_04_55_47_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673864","file1":"1391673859","file0":"1391673849","file4":"1391673886","file5":"1391673888","file3":"1391673883"},"map_files_photo_id_array":[{"photo_id":"1391673888","filename":"file5"},{"photo_id":"1391673864","filename":"file2"},{"photo_id":"1391673886","filename":"file4"},{"photo_id":"1391673859","filename":"file1"},{"photo_id":"1391673849","filename":"file0"},{"photo_id":"1391673883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673864":["hashtag1","hashtag2"]},{"1391673888":["hashtag1","hashtag2"]},{"1391673849":["hashtag1","hashtag2"]},{"1391673886":["hashtag1","hashtag2"]},{"1391673883":["hashtag1","hashtag2"]},{"1391673859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673864, 1391673888, 1391673849, 1391673886, 1391673883, 1391673859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75317358970642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:53:03.317308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_02_3593.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_05_2577.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_08_3666.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_11_2621.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_14_2663.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_17_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_02_3593.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_05_2577.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_08_3666.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_11_2621.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_14_2663.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_17_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673928","1391673921","1391673924","1391673918","1391673923","1391673926"],"photo_ids_order":["1391673918","1391673921","1391673923","1391673924","1391673926","1391673928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b4d155c48ac1ad8bc8e7457103a7a88.jpg","text":"TemporaryFile(/tmp/multipartBody5347722185710492463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_17_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8bdd8666e52ece18879479afa741ee82.jpg","text":"TemporaryFile(/tmp/multipartBody7175500892569781969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_05_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93664ba276e33580f9b48361f98141e6.jpg","text":"TemporaryFile(/tmp/multipartBody4240145167370804209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_11_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d610bc6655d9c9e758d7774b5249bf7c.jpg","text":"TemporaryFile(/tmp/multipartBody928934775552038920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_02_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35e868f6d080480e0d88eadf6b2775cc.jpg","text":"TemporaryFile(/tmp/multipartBody8721598486613804932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_08_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee4ab1711857c066e0d4989aa17a26f5.jpg","text":"TemporaryFile(/tmp/multipartBody1422046646830915624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016045634,"filename":"image_30102025_04_56_14_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673923","file1":"1391673921","file0":"1391673918","file4":"1391673926","file5":"1391673928","file3":"1391673924"},"map_files_photo_id_array":[{"photo_id":"1391673928","filename":"file5"},{"photo_id":"1391673923","filename":"file2"},{"photo_id":"1391673926","filename":"file4"},{"photo_id":"1391673921","filename":"file1"},{"photo_id":"1391673918","filename":"file0"},{"photo_id":"1391673924","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673928":["hashtag1","hashtag2"]},{"1391673921":["hashtag1","hashtag2"]},{"1391673924":["hashtag1","hashtag2"]},{"1391673918":["hashtag1","hashtag2"]},{"1391673923":["hashtag1","hashtag2"]},{"1391673926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673928, 1391673921, 1391673924, 1391673918, 1391673923, 1391673926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25245380401611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:53:42.516321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_20_2657.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_23_2874.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_32_2789.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_35_2759.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_38_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_20_2657.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_23_2874.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_32_2789.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_35_2759.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_38_2893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391673957","1391673942","1391673944","1391673947","1391673940","1391673937"],"photo_ids_order":["1391673937","1391673940","1391673942","1391673944","1391673947","1391673957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5638ffa698d1ec993fbf919d30de5d04.jpg","text":"TemporaryFile(/tmp/multipartBody2473473209559894662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_38_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22aab0b872d3b034830f00cc916ec63f.jpg","text":"TemporaryFile(/tmp/multipartBody6338482364040132391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_29_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59790ceaa9234630ec0e99e35651ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody970970066983221056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_32_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/276dbfe11bfa8e6d451ae66fe14d3125.jpg","text":"TemporaryFile(/tmp/multipartBody6047720243091168686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_35_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c297f0ad744a8c51315617102e78e096.jpg","text":"TemporaryFile(/tmp/multipartBody5145559794958914103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_23_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b74e1bec2ac07747e10cd89aaa8f016.jpg","text":"TemporaryFile(/tmp/multipartBody9044570929812934259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016083795,"filename":"image_30102025_04_56_20_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391673942","file1":"1391673940","file0":"1391673937","file4":"1391673947","file5":"1391673957","file3":"1391673944"},"map_files_photo_id_array":[{"photo_id":"1391673957","filename":"file5"},{"photo_id":"1391673942","filename":"file2"},{"photo_id":"1391673947","filename":"file4"},{"photo_id":"1391673940","filename":"file1"},{"photo_id":"1391673937","filename":"file0"},{"photo_id":"1391673944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391673957":["hashtag1","hashtag2"]},{"1391673942":["hashtag1","hashtag2"]},{"1391673944":["hashtag1","hashtag2"]},{"1391673947":["hashtag1","hashtag2"]},{"1391673940":["hashtag1","hashtag2"]},{"1391673937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391673957, 1391673942, 1391673944, 1391673947, 1391673940, 1391673937)","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 = 1391673942 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391673942 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg";
uploaded 6 photos
time to upload: 63.358986139297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:54:54.429144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_20_2657.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_23_2874.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_32_2789.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_35_2759.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_38_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_20_2657.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_23_2874.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_29_3664.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_32_2789.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_35_2759.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_38_2893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674113","1391674011","1391674096","1391674115","1391674015","1391674018"],"photo_ids_order":["1391674011","1391674015","1391674018","1391674096","1391674113","1391674115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c42b519bd75734dab6624fccbdaf4245.jpg","text":"TemporaryFile(/tmp/multipartBody1909562160717382992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_35_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c91aaf41db1b2b24b9c84c583d85e1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2847078010365170462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_20_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82c56967a05a7ff4ed45296f8e1d70b8.jpg","text":"TemporaryFile(/tmp/multipartBody156270201694710658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_32_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adf2d9148b0fc94048cf92bbe6dd2af8.jpg","text":"TemporaryFile(/tmp/multipartBody5462301811080243879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_38_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b0812b63c5dc7ed2ad3321e8c8930f9.jpg","text":"TemporaryFile(/tmp/multipartBody95456870657031489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_23_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62ec5ec3dc6fb2e63c60291e7f1b2ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7848891498627285282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016155541,"filename":"image_30102025_04_56_29_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674018","file1":"1391674015","file0":"1391674011","file4":"1391674113","file5":"1391674115","file3":"1391674096"},"map_files_photo_id_array":[{"photo_id":"1391674115","filename":"file5"},{"photo_id":"1391674018","filename":"file2"},{"photo_id":"1391674113","filename":"file4"},{"photo_id":"1391674015","filename":"file1"},{"photo_id":"1391674011","filename":"file0"},{"photo_id":"1391674096","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674113":["hashtag1","hashtag2"]},{"1391674011":["hashtag1","hashtag2"]},{"1391674096":["hashtag1","hashtag2"]},{"1391674115":["hashtag1","hashtag2"]},{"1391674015":["hashtag1","hashtag2"]},{"1391674018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674113, 1391674011, 1391674096, 1391674115, 1391674015, 1391674018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.025336027145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:55:49.668369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_40_2852.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_44_3657.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_47_2820.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_52_2683.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_56_3710.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_59_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_40_2852.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_44_3657.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_47_2820.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_52_2683.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_56_3710.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_59_2777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2018401622772217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:56:02.278600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_40_2852.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_44_3657.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_47_2820.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_52_2683.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_56_3710.jpg', '/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_59_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_40_2852.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_44_3657.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_47_2820.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_52_2683.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_56_3710.jpg
/home/pi/Desktop/images/30102025/04/56/image_30102025_04_56_59_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674155","1391674164","1391674152","1391674160","1391674157","1391674147"],"photo_ids_order":["1391674147","1391674152","1391674155","1391674157","1391674160","1391674164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73cd0af3c930973e7b05cccaacbbcbc5.jpg","text":"TemporaryFile(/tmp/multipartBody4751421000023612182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_47_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21205e2fa5e9b47ddec2b16735db5788.jpg","text":"TemporaryFile(/tmp/multipartBody5012784445309616305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_59_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78ca9bf2483b0fecc228ea5beeb97675.jpg","text":"TemporaryFile(/tmp/multipartBody1795383540290882398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_44_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/071b98ab943f2a5c28fd00d20ba42a37.jpg","text":"TemporaryFile(/tmp/multipartBody2823355888673884804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_56_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/907165dbc3cffd57092a644822a4b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3453564931097169551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_52_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db9e0f86200a696e4148e5a97715592a.jpg","text":"TemporaryFile(/tmp/multipartBody7427929599050165559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016224469,"filename":"image_30102025_04_56_40_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674155","file1":"1391674152","file0":"1391674147","file4":"1391674160","file5":"1391674164","file3":"1391674157"},"map_files_photo_id_array":[{"photo_id":"1391674164","filename":"file5"},{"photo_id":"1391674155","filename":"file2"},{"photo_id":"1391674160","filename":"file4"},{"photo_id":"1391674152","filename":"file1"},{"photo_id":"1391674147","filename":"file0"},{"photo_id":"1391674157","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674155":["hashtag1","hashtag2"]},{"1391674164":["hashtag1","hashtag2"]},{"1391674152":["hashtag1","hashtag2"]},{"1391674160":["hashtag1","hashtag2"]},{"1391674157":["hashtag1","hashtag2"]},{"1391674147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674155, 1391674164, 1391674152, 1391674160, 1391674157, 1391674147)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.54985594749451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:57:02.785895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_02_2718.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_11_2768.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_14_3562.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_17_2535.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_19_2613.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_23_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_02_2718.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_11_2768.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_14_3562.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_17_2535.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_19_2613.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_23_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674233","1391674227","1391674199","1391674193","1391674196","1391674231"],"photo_ids_order":["1391674193","1391674196","1391674199","1391674227","1391674231","1391674233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a59c513664e92f2a08de2f91eede5c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5649916738133623477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_23_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf972e4faef8a221d754113b98bdba57.jpg","text":"TemporaryFile(/tmp/multipartBody3148431612808194630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_17_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bc423a510d45ad0d192aaa19d1c3134.jpg","text":"TemporaryFile(/tmp/multipartBody3731921895039228452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_14_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cc8fee5b78e1c216a58370f77802a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7926541069118852410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_02_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f666e5028ad9ff7068596b74e7d19c0.jpg","text":"TemporaryFile(/tmp/multipartBody1225561633941670090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_11_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e927dd475b0ae994543112f15898c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2535063880415859345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016285885,"filename":"image_30102025_04_57_19_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674199","file1":"1391674196","file0":"1391674193","file4":"1391674231","file5":"1391674233","file3":"1391674227"},"map_files_photo_id_array":[{"photo_id":"1391674233","filename":"file5"},{"photo_id":"1391674199","filename":"file2"},{"photo_id":"1391674231","filename":"file4"},{"photo_id":"1391674196","filename":"file1"},{"photo_id":"1391674193","filename":"file0"},{"photo_id":"1391674227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674233":["hashtag1","hashtag2"]},{"1391674227":["hashtag1","hashtag2"]},{"1391674199":["hashtag1","hashtag2"]},{"1391674193":["hashtag1","hashtag2"]},{"1391674196":["hashtag1","hashtag2"]},{"1391674231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674233, 1391674227, 1391674199, 1391674193, 1391674196, 1391674231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.458336353302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 17:57:42.137413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_26_2776.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_28_2641.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_32_3603.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_35_2672.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_38_3563.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_41_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_26_2776.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_28_2641.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_32_3603.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_35_2672.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_38_3563.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_41_2776.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674314","1391674262","1391674258","1391674267","1391674312","1391674309"],"photo_ids_order":["1391674258","1391674262","1391674267","1391674309","1391674312","1391674314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b9ed2b15a0d3a237fc4c89d8b8f7fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8736701007215978345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_41_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/599c18500e0866dc82b330c2d3298e33.jpg","text":"TemporaryFile(/tmp/multipartBody6095111856397722433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_28_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/880e355cf950cfbfb2e9404c792269e6.jpg","text":"TemporaryFile(/tmp/multipartBody4525605886370599234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_26_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e3cb52b4b82f4d2cae6752c089ad403.jpg","text":"TemporaryFile(/tmp/multipartBody4079761613068461811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_32_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07998d5d2ad06dec5cc0279ff362cd63.jpg","text":"TemporaryFile(/tmp/multipartBody2850305367361557290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_38_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70abec44b629f19db25abcbfedd5e178.jpg","text":"TemporaryFile(/tmp/multipartBody5407987717079752455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016323446,"filename":"image_30102025_04_57_35_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674267","file1":"1391674262","file0":"1391674258","file4":"1391674312","file5":"1391674314","file3":"1391674309"},"map_files_photo_id_array":[{"photo_id":"1391674314","filename":"file5"},{"photo_id":"1391674267","filename":"file2"},{"photo_id":"1391674312","filename":"file4"},{"photo_id":"1391674262","filename":"file1"},{"photo_id":"1391674258","filename":"file0"},{"photo_id":"1391674309","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674314":["hashtag1","hashtag2"]},{"1391674262":["hashtag1","hashtag2"]},{"1391674258":["hashtag1","hashtag2"]},{"1391674267":["hashtag1","hashtag2"]},{"1391674312":["hashtag1","hashtag2"]},{"1391674309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674314, 1391674262, 1391674258, 1391674267, 1391674312, 1391674309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74626874923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 17:59:02.900161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 17:59:22.573773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_44_2711.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_46_2700.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_50_3572.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_53_2641.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_55_2831.jpg', '/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_59_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_44_2711.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_46_2700.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_50_3572.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_53_2641.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_55_2831.jpg
/home/pi/Desktop/images/30102025/04/57/image_30102025_04_57_59_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674631","1391674640","1391674628","1391674636","1391674624","1391674633"],"photo_ids_order":["1391674624","1391674628","1391674631","1391674633","1391674636","1391674640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc55570326ca28ac8460a8d654b7cd86.jpg","text":"TemporaryFile(/tmp/multipartBody4502920839558293104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_50_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb323a9f5d690e92d7fe36868209cd62.jpg","text":"TemporaryFile(/tmp/multipartBody439705678436959487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_59_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82da1d082ddb2d8d59b8e9e7b16da33c.jpg","text":"TemporaryFile(/tmp/multipartBody6539681950184629803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_46_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bae3450b29a068b099231bb50164d97b.jpg","text":"TemporaryFile(/tmp/multipartBody7143141395789085253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_55_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de73aa4f22ce73dd41e8ad58169e64f9.jpg","text":"TemporaryFile(/tmp/multipartBody6164256993337475226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_44_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79b65fcbb741ce81f22cc3a578630b2d.jpg","text":"TemporaryFile(/tmp/multipartBody795171033102852959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016425537,"filename":"image_30102025_04_57_53_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674631","file1":"1391674628","file0":"1391674624","file4":"1391674636","file5":"1391674640","file3":"1391674633"},"map_files_photo_id_array":[{"photo_id":"1391674640","filename":"file5"},{"photo_id":"1391674631","filename":"file2"},{"photo_id":"1391674636","filename":"file4"},{"photo_id":"1391674628","filename":"file1"},{"photo_id":"1391674624","filename":"file0"},{"photo_id":"1391674633","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674631":["hashtag1","hashtag2"]},{"1391674640":["hashtag1","hashtag2"]},{"1391674628":["hashtag1","hashtag2"]},{"1391674636":["hashtag1","hashtag2"]},{"1391674624":["hashtag1","hashtag2"]},{"1391674633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674631, 1391674640, 1391674628, 1391674636, 1391674624, 1391674633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24324083328247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:00:25.064957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_02_2675.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_04_2665.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_08_3782.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_11_2720.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_13_2663.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_20_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_02_2675.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_04_2665.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_08_3782.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_11_2720.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_13_2663.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_20_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391674857","1391674701","1391674818","1391674775","1391674736","1391674897"],"photo_ids_order":["1391674701","1391674736","1391674775","1391674818","1391674857","1391674897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a0d1f8f992e63c7fec717cd5fb1f1c9.jpg","text":"TemporaryFile(/tmp/multipartBody8498378849308886495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_13_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b11de3474e50e0f7e8d1974692884d7.jpg","text":"TemporaryFile(/tmp/multipartBody2966529308420016935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_02_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cae38f0b436dd342b8d559816730675a.jpg","text":"TemporaryFile(/tmp/multipartBody3731755880807838228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_11_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/065ca934f0931cb7c777d177938104bd.jpg","text":"TemporaryFile(/tmp/multipartBody8369477739447900370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_08_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3333c84e39fba1f6fb03695498b0c43.jpg","text":"TemporaryFile(/tmp/multipartBody3375386305998461971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_04_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f50763f128490931af9021196331a49.jpg","text":"TemporaryFile(/tmp/multipartBody2887672712210712665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016506130,"filename":"image_30102025_04_58_20_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391674775","file1":"1391674736","file0":"1391674701","file4":"1391674857","file5":"1391674897","file3":"1391674818"},"map_files_photo_id_array":[{"photo_id":"1391674897","filename":"file5"},{"photo_id":"1391674775","filename":"file2"},{"photo_id":"1391674857","filename":"file4"},{"photo_id":"1391674736","filename":"file1"},{"photo_id":"1391674701","filename":"file0"},{"photo_id":"1391674818","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391674857":["hashtag1","hashtag2"]},{"1391674701":["hashtag1","hashtag2"]},{"1391674818":["hashtag1","hashtag2"]},{"1391674775":["hashtag1","hashtag2"]},{"1391674736":["hashtag1","hashtag2"]},{"1391674897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391674857, 1391674701, 1391674818, 1391674775, 1391674736, 1391674897)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.63119959831238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:01:42.312064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_22_2747.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_26_3604.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_29_2641.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_31_2823.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_35_3635.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_38_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_22_2747.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_26_3604.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_29_2641.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_31_2823.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_35_3635.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_38_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391675798","1391675723","1391675493","1391675874","1391675571","1391675646"],"photo_ids_order":["1391675493","1391675571","1391675646","1391675723","1391675798","1391675874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/65b3a8d69545c4643fac2a06400d0f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3568671185979972060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_35_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c881f2e05e36c96f006484bfb1e1ce54.jpg","text":"TemporaryFile(/tmp/multipartBody6150501918586146110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_31_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b9d05d8c93e79e3c30918f87df45428.jpg","text":"TemporaryFile(/tmp/multipartBody5571752488523952626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_22_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c61d7bf767aff7442139db660f6aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody2129882899155088179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_38_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3986c0704b74aa1273bc0ed80ef77ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3523423225205772329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_26_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e45da18210a87e62e35ae1d71b16b3bb.jpg","text":"TemporaryFile(/tmp/multipartBody6127259613743190283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016580586,"filename":"image_30102025_04_58_29_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391675646","file1":"1391675571","file0":"1391675493","file4":"1391675798","file5":"1391675874","file3":"1391675723"},"map_files_photo_id_array":[{"photo_id":"1391675874","filename":"file5"},{"photo_id":"1391675646","filename":"file2"},{"photo_id":"1391675798","filename":"file4"},{"photo_id":"1391675571","filename":"file1"},{"photo_id":"1391675493","filename":"file0"},{"photo_id":"1391675723","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391675798":["hashtag1","hashtag2"]},{"1391675723":["hashtag1","hashtag2"]},{"1391675493":["hashtag1","hashtag2"]},{"1391675874":["hashtag1","hashtag2"]},{"1391675571":["hashtag1","hashtag2"]},{"1391675646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391675798, 1391675723, 1391675493, 1391675874, 1391675571, 1391675646)","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 = 1391675646 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_29_2641.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 73.84416151046753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:03:13.866032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_47_2711.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_50_2788.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_52_2695.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_56_3548.jpg', '/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_59_2658.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_01_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_47_2711.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_50_2788.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_52_2695.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_56_3548.jpg
/home/pi/Desktop/images/30102025/04/58/image_30102025_04_58_59_2658.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_01_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391676587","1391676374","1391676503","1391676412","1391676462","1391676546"],"photo_ids_order":["1391676374","1391676412","1391676462","1391676503","1391676546","1391676587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ea38efcc6f4c4557ab1265d08b3f381.jpg","text":"TemporaryFile(/tmp/multipartBody776430080813430124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_59_01_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a09a22b0b2c7c5b44148dac20b01b223.jpg","text":"TemporaryFile(/tmp/multipartBody8964571892791160581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_58_47_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c784b4c2c69a9111a4f3af5f7400f30f.jpg","text":"TemporaryFile(/tmp/multipartBody4936943954580034872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_58_56_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/273e62ebddab9080f5a744f81bea45f9.jpg","text":"TemporaryFile(/tmp/multipartBody5726659211154040619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_58_50_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28bc89787dab273928469e36ccfe9032.jpg","text":"TemporaryFile(/tmp/multipartBody6297229272501941209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_58_52_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/016eab28a09c52c36f2f11ebeb339c07.jpg","text":"TemporaryFile(/tmp/multipartBody3232729142941642299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016656307,"filename":"image_30102025_04_58_59_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391676462","file1":"1391676412","file0":"1391676374","file4":"1391676546","file5":"1391676587","file3":"1391676503"},"map_files_photo_id_array":[{"photo_id":"1391676587","filename":"file5"},{"photo_id":"1391676462","filename":"file2"},{"photo_id":"1391676546","filename":"file4"},{"photo_id":"1391676412","filename":"file1"},{"photo_id":"1391676374","filename":"file0"},{"photo_id":"1391676503","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391676587":["hashtag1","hashtag2"]},{"1391676374":["hashtag1","hashtag2"]},{"1391676503":["hashtag1","hashtag2"]},{"1391676412":["hashtag1","hashtag2"]},{"1391676462":["hashtag1","hashtag2"]},{"1391676546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391676587, 1391676374, 1391676503, 1391676412, 1391676462, 1391676546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69172215461731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:04:02.453135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_05_3743.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_08_2653.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_10_2621.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_14_3622.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_17_2687.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_19_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_05_3743.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_08_2653.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_10_2621.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_14_3622.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_17_2687.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_19_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391677046","1391677211","1391677132","1391676886","1391676966","1391677289"],"photo_ids_order":["1391676886","1391676966","1391677046","1391677132","1391677211","1391677289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94ef0602eae1e7fb9b2b1ed690ea6444.jpg","text":"TemporaryFile(/tmp/multipartBody970265115832367319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ba33634530b3ee9e540592dc4608fec.jpg","text":"TemporaryFile(/tmp/multipartBody8031816432943080873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_17_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d5176a590f2857aca74b69605778c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4335615837858392905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_14_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d1236989318fd56dc1c64e7afb61c56.jpg","text":"TemporaryFile(/tmp/multipartBody7857250978528422221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_05_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43a984befafe4c75cab32834d32cc12b.jpg","text":"TemporaryFile(/tmp/multipartBody2828207331822231961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_08_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b403bde3bec206819f4d682d66126f2.jpg","text":"TemporaryFile(/tmp/multipartBody5130975161069485091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016706719,"filename":"image_30102025_04_59_19_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391677046","file1":"1391676966","file0":"1391676886","file4":"1391677211","file5":"1391677289","file3":"1391677132"},"map_files_photo_id_array":[{"photo_id":"1391677289","filename":"file5"},{"photo_id":"1391677046","filename":"file2"},{"photo_id":"1391677211","filename":"file4"},{"photo_id":"1391676966","filename":"file1"},{"photo_id":"1391676886","filename":"file0"},{"photo_id":"1391677132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391677046":["hashtag1","hashtag2"]},{"1391677211":["hashtag1","hashtag2"]},{"1391677132":["hashtag1","hashtag2"]},{"1391676886":["hashtag1","hashtag2"]},{"1391676966":["hashtag1","hashtag2"]},{"1391677289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391677046, 1391677211, 1391677132, 1391676886, 1391676966, 1391677289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7459990978241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:05:02.857798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_23_3686.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_31_2671.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_35_3570.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_37_2567.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_41_3746.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_44_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_23_3686.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_31_2671.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_35_3570.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_37_2567.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_41_3746.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_44_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391677674","1391677627","1391677612","1391677662","1391677580","1391677610"],"photo_ids_order":["1391677580","1391677610","1391677612","1391677627","1391677662","1391677674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c796f4385e401fbb60d73eb63c5f252c.jpg","text":"TemporaryFile(/tmp/multipartBody2578296404844284065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_44_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d5ea43ba2c56349c8e9256012afc27e.jpg","text":"TemporaryFile(/tmp/multipartBody804471680882497784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_37_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10f8ababf04e8ec31dae2ba467762460.jpg","text":"TemporaryFile(/tmp/multipartBody5530095275473607762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_35_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93dd77c2814f650d6e52e3b78fb213f3.jpg","text":"TemporaryFile(/tmp/multipartBody6383403589662288216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_41_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70526be2ef819c299d173a0ddd9817f5.jpg","text":"TemporaryFile(/tmp/multipartBody2147763366520414264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_23_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01f35b3932b18aed39d9a8a60b9af0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2768857302432044196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016765188,"filename":"image_30102025_04_59_31_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391677612","file1":"1391677610","file0":"1391677580","file4":"1391677662","file5":"1391677674","file3":"1391677627"},"map_files_photo_id_array":[{"photo_id":"1391677674","filename":"file5"},{"photo_id":"1391677612","filename":"file2"},{"photo_id":"1391677662","filename":"file4"},{"photo_id":"1391677610","filename":"file1"},{"photo_id":"1391677580","filename":"file0"},{"photo_id":"1391677627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391677674":["hashtag1","hashtag2"]},{"1391677627":["hashtag1","hashtag2"]},{"1391677612":["hashtag1","hashtag2"]},{"1391677662":["hashtag1","hashtag2"]},{"1391677580":["hashtag1","hashtag2"]},{"1391677610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391677674, 1391677627, 1391677612, 1391677662, 1391677580, 1391677610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.342875480651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:05:42.121377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_46_2660.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_50_3675.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_53_2743.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_55_2696.jpg', '/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_58_2771.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_05_2905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_46_2660.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_50_3675.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_53_2743.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_55_2696.jpg
/home/pi/Desktop/images/30102025/04/59/image_30102025_04_59_58_2771.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_05_2905.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391677792","1391677873","1391677917","1391677833","1391677704","1391677754"],"photo_ids_order":["1391677704","1391677754","1391677792","1391677833","1391677873","1391677917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9dbd0a5c0fa31d038d88e9f1bf6fbdcc.jpg","text":"TemporaryFile(/tmp/multipartBody6936038029669823615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_04_59_53_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0beb4f761a3125b864cfa48c96a6e00d.jpg","text":"TemporaryFile(/tmp/multipartBody8792462392328294064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_04_59_58_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72f20f7b978f98c9474248fd3b609467.jpg","text":"TemporaryFile(/tmp/multipartBody773217431291602648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_05_00_05_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec3910d2b136575e578c5362097801b3.jpg","text":"TemporaryFile(/tmp/multipartBody3197977282960891231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_04_59_55_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a1268d14463f364bfe67769078e2261.jpg","text":"TemporaryFile(/tmp/multipartBody35347751976578306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_04_59_46_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/188c864146b925103bcad2bca80708dc.jpg","text":"TemporaryFile(/tmp/multipartBody6595816380112081131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016803416,"filename":"image_30102025_04_59_50_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391677792","file1":"1391677754","file0":"1391677704","file4":"1391677873","file5":"1391677917","file3":"1391677833"},"map_files_photo_id_array":[{"photo_id":"1391677917","filename":"file5"},{"photo_id":"1391677792","filename":"file2"},{"photo_id":"1391677873","filename":"file4"},{"photo_id":"1391677754","filename":"file1"},{"photo_id":"1391677704","filename":"file0"},{"photo_id":"1391677833","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391677792":["hashtag1","hashtag2"]},{"1391677873":["hashtag1","hashtag2"]},{"1391677917":["hashtag1","hashtag2"]},{"1391677833":["hashtag1","hashtag2"]},{"1391677704":["hashtag1","hashtag2"]},{"1391677754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391677792, 1391677873, 1391677917, 1391677833, 1391677704, 1391677754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57329249382019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:06:22.265097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_07_2687.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_10_2805.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_14_3691.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_16_2563.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_19_2635.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_23_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_07_2687.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_10_2805.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_14_3691.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_16_2563.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_19_2635.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_23_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678097","1391678094","1391678052","1391678090","1391678033","1391678030"],"photo_ids_order":["1391678030","1391678033","1391678052","1391678090","1391678094","1391678097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96a64694686da418345904bd206430a9.jpg","text":"TemporaryFile(/tmp/multipartBody5150822016765732283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_23_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6832535db2e9e5fc55599c889ac7bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3049159298295162071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b00269217d99563119a0cbd714dca51b.jpg","text":"TemporaryFile(/tmp/multipartBody4426475905142631018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_14_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1263513d90b61d9a1273717d09c1c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3553054960656792130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_16_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f0a8ff9772323bcfcc5d441a64bc0c3.jpg","text":"TemporaryFile(/tmp/multipartBody8183995219986068251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_10_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86ed7240c366e29c01af4ea9c1babadf.jpg","text":"TemporaryFile(/tmp/multipartBody6518531366618833386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016845063,"filename":"image_30102025_05_00_07_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678052","file1":"1391678033","file0":"1391678030","file4":"1391678094","file5":"1391678097","file3":"1391678090"},"map_files_photo_id_array":[{"photo_id":"1391678097","filename":"file5"},{"photo_id":"1391678052","filename":"file2"},{"photo_id":"1391678094","filename":"file4"},{"photo_id":"1391678033","filename":"file1"},{"photo_id":"1391678030","filename":"file0"},{"photo_id":"1391678090","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678097":["hashtag1","hashtag2"]},{"1391678094":["hashtag1","hashtag2"]},{"1391678052":["hashtag1","hashtag2"]},{"1391678090":["hashtag1","hashtag2"]},{"1391678033":["hashtag1","hashtag2"]},{"1391678030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678097, 1391678094, 1391678052, 1391678090, 1391678033, 1391678030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58819842338562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:07:03.016679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_25_2725.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_28_2713.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_32_3660.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_34_2599.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_37_2678.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_41_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_25_2725.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_28_2713.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_32_3660.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_34_2599.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_37_2678.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_41_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678206","1391678215","1391678200","1391678193","1391678217","1391678174"],"photo_ids_order":["1391678174","1391678193","1391678200","1391678206","1391678215","1391678217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/435bf706e8b73d9304c1b3c6350f69d4.jpg","text":"TemporaryFile(/tmp/multipartBody7652302808355476426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_34_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3c11672f6dbd02ea80581678405ad91.jpg","text":"TemporaryFile(/tmp/multipartBody5857025092903628325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_37_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c739b10f8b8de0fe7b62570f07c875b.jpg","text":"TemporaryFile(/tmp/multipartBody6422521089757340472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_32_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcd555b6303a76e78255ff60451902d6.jpg","text":"TemporaryFile(/tmp/multipartBody7348766421395093863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67dfaadca13ae13f1c4225df9e5ca3ce.jpg","text":"TemporaryFile(/tmp/multipartBody8955214005276256059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_41_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e688c0bf2e4cfc85baf3923c86c3fe77.jpg","text":"TemporaryFile(/tmp/multipartBody924202530881543448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016887083,"filename":"image_30102025_05_00_25_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678200","file1":"1391678193","file0":"1391678174","file4":"1391678215","file5":"1391678217","file3":"1391678206"},"map_files_photo_id_array":[{"photo_id":"1391678217","filename":"file5"},{"photo_id":"1391678200","filename":"file2"},{"photo_id":"1391678215","filename":"file4"},{"photo_id":"1391678193","filename":"file1"},{"photo_id":"1391678174","filename":"file0"},{"photo_id":"1391678206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678206":["hashtag1","hashtag2"]},{"1391678215":["hashtag1","hashtag2"]},{"1391678200":["hashtag1","hashtag2"]},{"1391678193":["hashtag1","hashtag2"]},{"1391678217":["hashtag1","hashtag2"]},{"1391678174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678206, 1391678215, 1391678200, 1391678193, 1391678217, 1391678174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53036189079285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:08:03.083907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_43_2554.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_46_2801.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_50_3752.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_52_2596.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_55_2686.jpg', '/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_59_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_43_2554.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_46_2801.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_50_3752.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_52_2596.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_55_2686.jpg
/home/pi/Desktop/images/30102025/05/00/image_30102025_05_00_59_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678269","1391678265","1391678274","1391678276","1391678267","1391678272"],"photo_ids_order":["1391678265","1391678267","1391678269","1391678272","1391678274","1391678276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9522a13e247369e94065a739ce45256d.jpg","text":"TemporaryFile(/tmp/multipartBody7300601671799527170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_50_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a6f397da688ffb3762d6059a7957569.jpg","text":"TemporaryFile(/tmp/multipartBody2525866124909465914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_43_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d641b5715b3816cae016f6a60a70522a.jpg","text":"TemporaryFile(/tmp/multipartBody1474079191852426766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_55_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4c92e185f45d12f3d366ff9b49eef83.jpg","text":"TemporaryFile(/tmp/multipartBody6156862129012433512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_59_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb572136d197278072877d746ea252a1.jpg","text":"TemporaryFile(/tmp/multipartBody8547523281970962819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_46_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c3a09dcbb8fd965dffaeb23e7d7ae93.jpg","text":"TemporaryFile(/tmp/multipartBody7598332536638220823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016945310,"filename":"image_30102025_05_00_52_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678269","file1":"1391678267","file0":"1391678265","file4":"1391678274","file5":"1391678276","file3":"1391678272"},"map_files_photo_id_array":[{"photo_id":"1391678276","filename":"file5"},{"photo_id":"1391678269","filename":"file2"},{"photo_id":"1391678274","filename":"file4"},{"photo_id":"1391678267","filename":"file1"},{"photo_id":"1391678265","filename":"file0"},{"photo_id":"1391678272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678269":["hashtag1","hashtag2"]},{"1391678265":["hashtag1","hashtag2"]},{"1391678274":["hashtag1","hashtag2"]},{"1391678276":["hashtag1","hashtag2"]},{"1391678267":["hashtag1","hashtag2"]},{"1391678272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678269, 1391678265, 1391678274, 1391678276, 1391678267, 1391678272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.519853830337524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:08:42.650305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_01_2716.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_04_2686.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_10_2656.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_13_2587.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_25_2727.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_29_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_01_2716.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_04_2686.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_10_2656.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_13_2587.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_25_2727.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_29_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678302","1391678292","1391678304","1391678297","1391678306","1391678287"],"photo_ids_order":["1391678287","1391678292","1391678297","1391678302","1391678304","1391678306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df6ce9ecfa5a0eb776fef2e43ef82a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3423334810222886561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bbf2b1d36a9ffb83d9e8dbeae6040c6.jpg","text":"TemporaryFile(/tmp/multipartBody4431208057076126856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_04_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc00adb8a8dec7f658651dd21c2f5ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7831556076364301615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_25_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ef88883bb4ee310e2c2ff0a43e513f5.jpg","text":"TemporaryFile(/tmp/multipartBody8967837070482858576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f7d132cd02fb38832a61f593a9aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody5731829904031212907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_29_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/087885511e0cc0a4b78c31dd36a29c38.jpg","text":"TemporaryFile(/tmp/multipartBody2821658525748835021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762016983940,"filename":"image_30102025_05_01_01_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678297","file1":"1391678292","file0":"1391678287","file4":"1391678304","file5":"1391678306","file3":"1391678302"},"map_files_photo_id_array":[{"photo_id":"1391678306","filename":"file5"},{"photo_id":"1391678297","filename":"file2"},{"photo_id":"1391678304","filename":"file4"},{"photo_id":"1391678292","filename":"file1"},{"photo_id":"1391678287","filename":"file0"},{"photo_id":"1391678302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678302":["hashtag1","hashtag2"]},{"1391678292":["hashtag1","hashtag2"]},{"1391678304":["hashtag1","hashtag2"]},{"1391678297":["hashtag1","hashtag2"]},{"1391678306":["hashtag1","hashtag2"]},{"1391678287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678302, 1391678292, 1391678304, 1391678297, 1391678306, 1391678287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50072360038757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:09:21.929972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_31_2743.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_34_2628.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_40_2839.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_43_2679.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_47_3712.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_49_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_31_2743.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_34_2628.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_40_2839.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_43_2679.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_47_3712.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_49_2526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678320","1391678323","1391678314","1391678316","1391678318","1391678312"],"photo_ids_order":["1391678312","1391678314","1391678316","1391678318","1391678320","1391678323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3768dbd0226e7d604e45c109f344055.jpg","text":"TemporaryFile(/tmp/multipartBody3311611230880670206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_47_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f23f43fcf1265aefd724347aff4c6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7482369968633003729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_49_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60799d6621089b8fda1d96f6d296fed0.jpg","text":"TemporaryFile(/tmp/multipartBody2009840681588272894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68b7d7471952b7f1f026d6376499ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody8300677692285947253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_40_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10bb63a1cdc3b55dfe944933d63f90b4.jpg","text":"TemporaryFile(/tmp/multipartBody5154974276668037232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_43_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b54d3a3dc8b91f50ba3453028eb25529.jpg","text":"TemporaryFile(/tmp/multipartBody7385087997391158914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017024796,"filename":"image_30102025_05_01_31_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678316","file1":"1391678314","file0":"1391678312","file4":"1391678320","file5":"1391678323","file3":"1391678318"},"map_files_photo_id_array":[{"photo_id":"1391678323","filename":"file5"},{"photo_id":"1391678316","filename":"file2"},{"photo_id":"1391678320","filename":"file4"},{"photo_id":"1391678314","filename":"file1"},{"photo_id":"1391678312","filename":"file0"},{"photo_id":"1391678318","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678320":["hashtag1","hashtag2"]},{"1391678323":["hashtag1","hashtag2"]},{"1391678314":["hashtag1","hashtag2"]},{"1391678316":["hashtag1","hashtag2"]},{"1391678318":["hashtag1","hashtag2"]},{"1391678312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678320, 1391678323, 1391678314, 1391678316, 1391678318, 1391678312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77812838554382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:10:02.397138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_52_2676.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_56_3706.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_58_2697.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_02_3285.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_04_2532.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_07_2913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_52_2676.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_56_3706.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_58_2697.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_02_3285.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_04_2532.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_07_2913.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.210312604904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:10:21.881972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_52_2676.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_56_3706.jpg', '/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_58_2697.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_02_3285.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_04_2532.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_07_2913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_52_2676.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_56_3706.jpg
/home/pi/Desktop/images/30102025/05/01/image_30102025_05_01_58_2697.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_02_3285.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_04_2532.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_07_2913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678347","1391678344","1391678349","1391678340","1391678354","1391678342"],"photo_ids_order":["1391678340","1391678342","1391678344","1391678347","1391678349","1391678354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ea01cfcfed7dc53b8978d34d5343448.jpg","text":"TemporaryFile(/tmp/multipartBody8038058852791587818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_02_02_3285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96433198ca7c3b0be4b05600a8ffb497.jpg","text":"TemporaryFile(/tmp/multipartBody2277869788595326822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_01_58_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8011e5f6cb5ccf8e4f8499e8227da3a.jpg","text":"TemporaryFile(/tmp/multipartBody6647890189167198865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_02_04_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6c0ff46f6d5f38e3af23870fc6de219.jpg","text":"TemporaryFile(/tmp/multipartBody3087123865628151217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_01_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef2aefe625915c064f58eba278e69da1.jpg","text":"TemporaryFile(/tmp/multipartBody3502575019664373352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_02_07_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91424d785089e514a1e981da7f46cd68.jpg","text":"TemporaryFile(/tmp/multipartBody2768325134725174626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017084639,"filename":"image_30102025_05_01_56_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678344","file1":"1391678342","file0":"1391678340","file4":"1391678349","file5":"1391678354","file3":"1391678347"},"map_files_photo_id_array":[{"photo_id":"1391678354","filename":"file5"},{"photo_id":"1391678344","filename":"file2"},{"photo_id":"1391678349","filename":"file4"},{"photo_id":"1391678342","filename":"file1"},{"photo_id":"1391678340","filename":"file0"},{"photo_id":"1391678347","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678347":["hashtag1","hashtag2"]},{"1391678344":["hashtag1","hashtag2"]},{"1391678349":["hashtag1","hashtag2"]},{"1391678340":["hashtag1","hashtag2"]},{"1391678354":["hashtag1","hashtag2"]},{"1391678342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678347, 1391678344, 1391678349, 1391678340, 1391678354, 1391678342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.883065700531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:11:02.758238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_11_3656.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_19_2720.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_22_3558.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_25_2570.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_37_2685.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_41_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_11_3656.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_19_2720.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_22_3558.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_25_2570.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_37_2685.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_41_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678380","1391678374","1391678377","1391678370","1391678372","1391678365"],"photo_ids_order":["1391678365","1391678370","1391678372","1391678374","1391678377","1391678380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a33169c4a1fa4823176ecbe32ff899f.jpg","text":"TemporaryFile(/tmp/multipartBody6881250946458539009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_41_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ecfc0b94d1b5b0bd00445b440f69333.jpg","text":"TemporaryFile(/tmp/multipartBody1340010287819858823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea9a228fdb75aafd0e94c9e435d70b40.jpg","text":"TemporaryFile(/tmp/multipartBody3227830051896770730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2000ec6c2ac462a810d9b3136bfa534.jpg","text":"TemporaryFile(/tmp/multipartBody7826586246170213008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_19_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aef33eeb8778b11380294b21e3821cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5660149489953923545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_22_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38ae3aaf386a3014f6e4fb1762997a58.jpg","text":"TemporaryFile(/tmp/multipartBody2858137628505592851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017125102,"filename":"image_30102025_05_02_11_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678372","file1":"1391678370","file0":"1391678365","file4":"1391678377","file5":"1391678380","file3":"1391678374"},"map_files_photo_id_array":[{"photo_id":"1391678380","filename":"file5"},{"photo_id":"1391678372","filename":"file2"},{"photo_id":"1391678377","filename":"file4"},{"photo_id":"1391678370","filename":"file1"},{"photo_id":"1391678365","filename":"file0"},{"photo_id":"1391678374","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678380":["hashtag1","hashtag2"]},{"1391678374":["hashtag1","hashtag2"]},{"1391678377":["hashtag1","hashtag2"]},{"1391678370":["hashtag1","hashtag2"]},{"1391678372":["hashtag1","hashtag2"]},{"1391678365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678380, 1391678374, 1391678377, 1391678370, 1391678372, 1391678365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6452260017395 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:12:02.625673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_43_2581.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_47_3625.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_50_2789.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_55_2565.jpg', '/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_59_3853.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_01_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_43_2581.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_47_3625.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_50_2789.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_55_2565.jpg
/home/pi/Desktop/images/30102025/05/02/image_30102025_05_02_59_3853.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_01_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678401","1391678399","1391678403","1391678411","1391678405","1391678408"],"photo_ids_order":["1391678399","1391678401","1391678403","1391678405","1391678408","1391678411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb92717d8750727610cf866e4c160691.jpg","text":"TemporaryFile(/tmp/multipartBody1343322220380437012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_02_47_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6e7425c5372f7f13d9498e3e2a7ce32.jpg","text":"TemporaryFile(/tmp/multipartBody6324407935185941071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_02_43_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f20a2c148ceb65026690341be18ed3de.jpg","text":"TemporaryFile(/tmp/multipartBody6996211053671004052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_02_50_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d38b7330342ac3f6b5158da3311ddb22.jpg","text":"TemporaryFile(/tmp/multipartBody315892337648529581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_03_01_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8232963ea1ee89fe350f70e84ed0338a.jpg","text":"TemporaryFile(/tmp/multipartBody4719507775896567358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_02_55_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6386258b79d7dabf49ec6fe9b563369b.jpg","text":"TemporaryFile(/tmp/multipartBody4949555483700200183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017185987,"filename":"image_30102025_05_02_59_3853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678403","file1":"1391678401","file0":"1391678399","file4":"1391678408","file5":"1391678411","file3":"1391678405"},"map_files_photo_id_array":[{"photo_id":"1391678411","filename":"file5"},{"photo_id":"1391678403","filename":"file2"},{"photo_id":"1391678408","filename":"file4"},{"photo_id":"1391678401","filename":"file1"},{"photo_id":"1391678399","filename":"file0"},{"photo_id":"1391678405","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678401":["hashtag1","hashtag2"]},{"1391678399":["hashtag1","hashtag2"]},{"1391678403":["hashtag1","hashtag2"]},{"1391678411":["hashtag1","hashtag2"]},{"1391678405":["hashtag1","hashtag2"]},{"1391678408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678401, 1391678399, 1391678403, 1391678411, 1391678405, 1391678408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98320150375366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:12:42.205258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_04_2640.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_08_3658.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_13_2551.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_16_3600.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_19_2527.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_23_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_04_2640.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_08_3658.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_13_2551.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_16_3600.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_19_2527.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_23_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678434","1391678431","1391678423","1391678426","1391678429","1391678420"],"photo_ids_order":["1391678420","1391678423","1391678426","1391678429","1391678431","1391678434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b50d4abed0605e80b29077e00978ab40.jpg","text":"TemporaryFile(/tmp/multipartBody941325895781642003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_23_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b8aadc43e3904719cdaa7d1afb99669.jpg","text":"TemporaryFile(/tmp/multipartBody6605033894319983599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_19_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a67184fff917d8ac0bac908fba136fc.jpg","text":"TemporaryFile(/tmp/multipartBody9200160460396577233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_08_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9df320b477308519ad230e50eb96f99.jpg","text":"TemporaryFile(/tmp/multipartBody107364596167652745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_13_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6be4a6045f88b71b177eba652f91918.jpg","text":"TemporaryFile(/tmp/multipartBody1682886502384599386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_16_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1c96c2d22216e118760bccb7fe2b046.jpg","text":"TemporaryFile(/tmp/multipartBody12697356795352789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017223535,"filename":"image_30102025_05_03_04_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678426","file1":"1391678423","file0":"1391678420","file4":"1391678431","file5":"1391678434","file3":"1391678429"},"map_files_photo_id_array":[{"photo_id":"1391678434","filename":"file5"},{"photo_id":"1391678426","filename":"file2"},{"photo_id":"1391678431","filename":"file4"},{"photo_id":"1391678423","filename":"file1"},{"photo_id":"1391678420","filename":"file0"},{"photo_id":"1391678429","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678434":["hashtag1","hashtag2"]},{"1391678431":["hashtag1","hashtag2"]},{"1391678423":["hashtag1","hashtag2"]},{"1391678426":["hashtag1","hashtag2"]},{"1391678429":["hashtag1","hashtag2"]},{"1391678420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678434, 1391678431, 1391678423, 1391678426, 1391678429, 1391678420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298030614852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:13:22.382000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_25_2715.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_28_2777.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_31_2552.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_34_3649.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_37_2597.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_40_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_25_2715.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_28_2777.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_31_2552.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_34_3649.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_37_2597.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_40_2865.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678452","1391678443","1391678445","1391678448","1391678456","1391678441"],"photo_ids_order":["1391678441","1391678443","1391678445","1391678448","1391678452","1391678456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/783f0e97e7d180e78da99f0bdbca4ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3185042036758989667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_37_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d0b7d2e81b2771b5d71ec7649934024.jpg","text":"TemporaryFile(/tmp/multipartBody2875504147126021770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_28_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac167a678fe8aaceef81d6d4195e9f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3433046020911253866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_31_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9e00065dbffa26bc89801c871cc864a.jpg","text":"TemporaryFile(/tmp/multipartBody5528935266894193627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_34_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f364fe679ad879153afc413240523f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3723794915120858249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_40_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/173bcbd47f7692248b4efcb43260a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody553462324749114571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017265164,"filename":"image_30102025_05_03_25_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678445","file1":"1391678443","file0":"1391678441","file4":"1391678452","file5":"1391678456","file3":"1391678448"},"map_files_photo_id_array":[{"photo_id":"1391678456","filename":"file5"},{"photo_id":"1391678445","filename":"file2"},{"photo_id":"1391678452","filename":"file4"},{"photo_id":"1391678443","filename":"file1"},{"photo_id":"1391678441","filename":"file0"},{"photo_id":"1391678448","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678452":["hashtag1","hashtag2"]},{"1391678443":["hashtag1","hashtag2"]},{"1391678445":["hashtag1","hashtag2"]},{"1391678448":["hashtag1","hashtag2"]},{"1391678456":["hashtag1","hashtag2"]},{"1391678441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678452, 1391678443, 1391678445, 1391678448, 1391678456, 1391678441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56488871574402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:14:03.128312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_43_3576.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_46_2687.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_49_2600.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_52_3660.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_55_2698.jpg', '/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_59_3509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_43_3576.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_46_2687.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_49_2600.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_52_3660.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_55_2698.jpg
/home/pi/Desktop/images/30102025/05/03/image_30102025_05_03_59_3509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678473","1391678467","1391678472","1391678476","1391678470","1391678464"],"photo_ids_order":["1391678464","1391678467","1391678470","1391678472","1391678473","1391678476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b5c541d6798e38157e24ff101d50a84.jpg","text":"TemporaryFile(/tmp/multipartBody1964227290217762789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e7b4ed8fad9cd36e30b1facb2e0aff7.jpg","text":"TemporaryFile(/tmp/multipartBody3036335404731055035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_46_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dfccdcc9c0ca6268e9232ac1cf78576.jpg","text":"TemporaryFile(/tmp/multipartBody6059524241948005474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_52_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bc51850a653d568384cfa3122b45c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6231288466547383534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_59_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ecd584f46bbfffba95255bb9002d054.jpg","text":"TemporaryFile(/tmp/multipartBody7386639151943816534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_49_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54f3aeec937e86790594af9969a2cf86.jpg","text":"TemporaryFile(/tmp/multipartBody568803199682706442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017305432,"filename":"image_30102025_05_03_43_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678470","file1":"1391678467","file0":"1391678464","file4":"1391678473","file5":"1391678476","file3":"1391678472"},"map_files_photo_id_array":[{"photo_id":"1391678476","filename":"file5"},{"photo_id":"1391678470","filename":"file2"},{"photo_id":"1391678473","filename":"file4"},{"photo_id":"1391678467","filename":"file1"},{"photo_id":"1391678464","filename":"file0"},{"photo_id":"1391678472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678473":["hashtag1","hashtag2"]},{"1391678467":["hashtag1","hashtag2"]},{"1391678472":["hashtag1","hashtag2"]},{"1391678476":["hashtag1","hashtag2"]},{"1391678470":["hashtag1","hashtag2"]},{"1391678464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678473, 1391678467, 1391678472, 1391678476, 1391678470, 1391678464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.198965311050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:14:42.623006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_01_2733.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_05_3489.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_07_2574.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_10_2821.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_13_2728.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_17_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_01_2733.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_05_3489.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_07_2574.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_10_2821.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_13_2728.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_17_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678488","1391678498","1391678495","1391678494","1391678491","1391678485"],"photo_ids_order":["1391678485","1391678488","1391678491","1391678494","1391678495","1391678498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95293e8b4c0d92d3d912718550704690.jpg","text":"TemporaryFile(/tmp/multipartBody1563908521983785466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_05_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43fb6ecfa47b04165247b5a03c3ab832.jpg","text":"TemporaryFile(/tmp/multipartBody4692297069073430318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_17_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f27d17b38cea63309dcda0630316e34c.jpg","text":"TemporaryFile(/tmp/multipartBody2481254758347383163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_13_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc9e1b6e7a65393bd7fc8ab96c66f94f.jpg","text":"TemporaryFile(/tmp/multipartBody7050088961875386242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_10_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cea2338469875f50c498bf15562052f3.jpg","text":"TemporaryFile(/tmp/multipartBody2576513587801960262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_07_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eff59fe490bde8318d30e040400c85b0.jpg","text":"TemporaryFile(/tmp/multipartBody54603899038704905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017343906,"filename":"image_30102025_05_04_01_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678491","file1":"1391678488","file0":"1391678485","file4":"1391678495","file5":"1391678498","file3":"1391678494"},"map_files_photo_id_array":[{"photo_id":"1391678498","filename":"file5"},{"photo_id":"1391678491","filename":"file2"},{"photo_id":"1391678495","filename":"file4"},{"photo_id":"1391678488","filename":"file1"},{"photo_id":"1391678485","filename":"file0"},{"photo_id":"1391678494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678488":["hashtag1","hashtag2"]},{"1391678498":["hashtag1","hashtag2"]},{"1391678495":["hashtag1","hashtag2"]},{"1391678494":["hashtag1","hashtag2"]},{"1391678491":["hashtag1","hashtag2"]},{"1391678485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678488, 1391678498, 1391678495, 1391678494, 1391678491, 1391678485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08720564842224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:15:22.867159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_19_2839.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_22_2691.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_25_2634.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_28_3616.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_31_2577.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_34_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_19_2839.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_22_2691.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_25_2634.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_28_3616.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_31_2577.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_34_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678509","1391678524","1391678512","1391678520","1391678514","1391678516"],"photo_ids_order":["1391678509","1391678512","1391678514","1391678516","1391678520","1391678524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95be012a8be2c1be94e0c55e1a536f44.jpg","text":"TemporaryFile(/tmp/multipartBody7189076384741352830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_19_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d8c52e518596eced5658fb7b03fd09a.jpg","text":"TemporaryFile(/tmp/multipartBody1039643059419223895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_34_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8b4ed169a0852c0a3b6efa9868b4fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3512877327380501973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_22_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15939ba1090e1f57cb8c66e307de9157.jpg","text":"TemporaryFile(/tmp/multipartBody6934212745255736679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e15cd4f38d4a427896f5d48133e204f7.jpg","text":"TemporaryFile(/tmp/multipartBody856735216931288215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c37d2dfe47dcc41271b75d6b1c3a5b09.jpg","text":"TemporaryFile(/tmp/multipartBody6368059379157104717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017385634,"filename":"image_30102025_05_04_28_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678514","file1":"1391678512","file0":"1391678509","file4":"1391678520","file5":"1391678524","file3":"1391678516"},"map_files_photo_id_array":[{"photo_id":"1391678524","filename":"file5"},{"photo_id":"1391678514","filename":"file2"},{"photo_id":"1391678520","filename":"file4"},{"photo_id":"1391678512","filename":"file1"},{"photo_id":"1391678509","filename":"file0"},{"photo_id":"1391678516","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678509":["hashtag1","hashtag2"]},{"1391678524":["hashtag1","hashtag2"]},{"1391678512":["hashtag1","hashtag2"]},{"1391678520":["hashtag1","hashtag2"]},{"1391678514":["hashtag1","hashtag2"]},{"1391678516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678509, 1391678524, 1391678512, 1391678520, 1391678514, 1391678516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2038094997406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:16:22.056406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_37_3610.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_40_2593.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_43_2777.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_46_3747.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_49_2763.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_52_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_37_3610.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_40_2593.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_43_2777.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_46_3747.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_49_2763.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_52_2624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.336061716079712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:16:42.128610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_37_3610.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_40_2593.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_43_2777.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_46_3747.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_49_2763.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_52_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_37_3610.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_40_2593.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_43_2777.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_46_3747.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_49_2763.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_52_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678568","1391678571","1391678576","1391678561","1391678564","1391678558"],"photo_ids_order":["1391678558","1391678561","1391678564","1391678568","1391678571","1391678576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49403818b55cab12609b16ac3b386bd0.jpg","text":"TemporaryFile(/tmp/multipartBody894014470847572712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_46_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c1425c4daee6b96fe0c0e1338479f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5237048910854773157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_49_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/567a9b2c34a8c16b1b419d3cd24d5a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5958656692712063046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_52_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6a7cc77e836afa67fa5f2e163079ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3438304928560391228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_40_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05dd3ffb82410200cf6ca6258c857758.jpg","text":"TemporaryFile(/tmp/multipartBody5982843696636752183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_43_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6132e02eb5f38c2198fd4554182910ec.jpg","text":"TemporaryFile(/tmp/multipartBody8393028440281923002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017463291,"filename":"image_30102025_05_04_37_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678564","file1":"1391678561","file0":"1391678558","file4":"1391678571","file5":"1391678576","file3":"1391678568"},"map_files_photo_id_array":[{"photo_id":"1391678576","filename":"file5"},{"photo_id":"1391678564","filename":"file2"},{"photo_id":"1391678571","filename":"file4"},{"photo_id":"1391678561","filename":"file1"},{"photo_id":"1391678558","filename":"file0"},{"photo_id":"1391678568","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678568":["hashtag1","hashtag2"]},{"1391678571":["hashtag1","hashtag2"]},{"1391678576":["hashtag1","hashtag2"]},{"1391678561":["hashtag1","hashtag2"]},{"1391678564":["hashtag1","hashtag2"]},{"1391678558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678568, 1391678571, 1391678576, 1391678561, 1391678564, 1391678558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54257822036743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:17:22.869939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_55_3685.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_58_2672.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_01_2638.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_07_2581.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_16_2620.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_19_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_55_3685.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_58_2672.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_01_2638.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_07_2581.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_16_2620.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_19_2671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6884031295776367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:17:42.778993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_55_3685.jpg', '/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_58_2672.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_01_2638.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_07_2581.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_16_2620.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_19_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_55_3685.jpg
/home/pi/Desktop/images/30102025/05/04/image_30102025_05_04_58_2672.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_01_2638.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_07_2581.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_16_2620.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_19_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678608","1391678602","1391678605","1391678604","1391678596","1391678600"],"photo_ids_order":["1391678596","1391678600","1391678602","1391678604","1391678605","1391678608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/967702f9f7624810b239789cd612eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody8252420559093540118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_05_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa79089ed4d6d34d450dabe080cb0bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8817009073722443326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_05_01_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5612266edcba46b7eb18a0376ee0ed77.jpg","text":"TemporaryFile(/tmp/multipartBody949210597047457080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_05_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd3231f9b619e64ca23ecac995277885.jpg","text":"TemporaryFile(/tmp/multipartBody158927664602435805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_05_07_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d382116a752ba7f4527292343ad9a148.jpg","text":"TemporaryFile(/tmp/multipartBody724831875125448598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_04_55_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f45e7b80940b1df94cead88468cbe825.jpg","text":"TemporaryFile(/tmp/multipartBody7950598804961144421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017523960,"filename":"image_30102025_05_04_58_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678602","file1":"1391678600","file0":"1391678596","file4":"1391678605","file5":"1391678608","file3":"1391678604"},"map_files_photo_id_array":[{"photo_id":"1391678608","filename":"file5"},{"photo_id":"1391678602","filename":"file2"},{"photo_id":"1391678605","filename":"file4"},{"photo_id":"1391678600","filename":"file1"},{"photo_id":"1391678596","filename":"file0"},{"photo_id":"1391678604","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678608":["hashtag1","hashtag2"]},{"1391678602":["hashtag1","hashtag2"]},{"1391678605":["hashtag1","hashtag2"]},{"1391678604":["hashtag1","hashtag2"]},{"1391678596":["hashtag1","hashtag2"]},{"1391678600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678608, 1391678602, 1391678605, 1391678604, 1391678596, 1391678600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66162824630737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:18:21.994625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_25_2828.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_28_2635.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_31_3690.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_34_2793.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_37_2674.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_40_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_25_2828.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_28_2635.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_31_3690.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_34_2793.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_37_2674.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_40_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678620","1391678622","1391678625","1391678616","1391678630","1391678618"],"photo_ids_order":["1391678616","1391678618","1391678620","1391678622","1391678625","1391678630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85d857d98b62e7eaa4353eb43f94aed7.jpg","text":"TemporaryFile(/tmp/multipartBody8602904837408924048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_31_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faf965fc329c151666572507e9feb9d3.jpg","text":"TemporaryFile(/tmp/multipartBody3864863720570568844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_34_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bd7cd02af0261d3fa7b234911dec7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6497019006614101407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_37_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93f5a8de5380776d3ed57c71129c413c.jpg","text":"TemporaryFile(/tmp/multipartBody2281925152527606524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_25_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e6ea48634625e306acd8bab8baeed51.jpg","text":"TemporaryFile(/tmp/multipartBody8671737264595233757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_40_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88601a2ec187430f851d1f5f544b09f8.jpg","text":"TemporaryFile(/tmp/multipartBody1652140276698806288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017564792,"filename":"image_30102025_05_05_28_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678620","file1":"1391678618","file0":"1391678616","file4":"1391678625","file5":"1391678630","file3":"1391678622"},"map_files_photo_id_array":[{"photo_id":"1391678630","filename":"file5"},{"photo_id":"1391678620","filename":"file2"},{"photo_id":"1391678625","filename":"file4"},{"photo_id":"1391678618","filename":"file1"},{"photo_id":"1391678616","filename":"file0"},{"photo_id":"1391678622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678620":["hashtag1","hashtag2"]},{"1391678622":["hashtag1","hashtag2"]},{"1391678625":["hashtag1","hashtag2"]},{"1391678616":["hashtag1","hashtag2"]},{"1391678630":["hashtag1","hashtag2"]},{"1391678618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678620, 1391678622, 1391678625, 1391678616, 1391678630, 1391678618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.898306369781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:19:03.261648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_43_3667.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_46_2612.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_49_3568.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_55_2781.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_57_2587.jpg', '/home/pi/Desktop/images/30102025/05/05/image_30102025_05_06_01_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_43_3667.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_46_2612.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_49_3568.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_55_2781.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_05_57_2587.jpg
/home/pi/Desktop/images/30102025/05/05/image_30102025_05_06_01_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678653","1391678641","1391678643","1391678651","1391678648","1391678645"],"photo_ids_order":["1391678641","1391678643","1391678645","1391678648","1391678651","1391678653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5a862dea3490a2d228e7e308560e969.jpg","text":"TemporaryFile(/tmp/multipartBody16972917799386385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_06_01_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9babc09b823d33c38813ab012f919e77.jpg","text":"TemporaryFile(/tmp/multipartBody1986863625052729695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_05_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1dc2903a77ec594ec11e1b2595b107b.jpg","text":"TemporaryFile(/tmp/multipartBody1714165213919844530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_05_46_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b25b86c13b6080e4051f61078d8fd87.jpg","text":"TemporaryFile(/tmp/multipartBody1314924410528205427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_05_57_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59ff5003988b6a72a8c9579982cd6570.jpg","text":"TemporaryFile(/tmp/multipartBody8994003735184996990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_05_55_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/189d7fa3aa062969cd09e9e9a379f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody5551081401329075252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017606887,"filename":"image_30102025_05_05_49_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678645","file1":"1391678643","file0":"1391678641","file4":"1391678651","file5":"1391678653","file3":"1391678648"},"map_files_photo_id_array":[{"photo_id":"1391678653","filename":"file5"},{"photo_id":"1391678645","filename":"file2"},{"photo_id":"1391678651","filename":"file4"},{"photo_id":"1391678643","filename":"file1"},{"photo_id":"1391678641","filename":"file0"},{"photo_id":"1391678648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678653":["hashtag1","hashtag2"]},{"1391678641":["hashtag1","hashtag2"]},{"1391678643":["hashtag1","hashtag2"]},{"1391678651":["hashtag1","hashtag2"]},{"1391678648":["hashtag1","hashtag2"]},{"1391678645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678653, 1391678641, 1391678643, 1391678651, 1391678648, 1391678645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.857627630233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:19:42.219599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_04_2621.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_07_3689.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_10_2621.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_13_2636.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_16_3643.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_19_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_04_2621.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_07_3689.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_10_2621.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_13_2636.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_16_3643.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_19_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678665","1391678673","1391678661","1391678658","1391678669","1391678677"],"photo_ids_order":["1391678658","1391678661","1391678665","1391678669","1391678673","1391678677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/49b7d428f727df84593218ff43410f58.jpg","text":"TemporaryFile(/tmp/multipartBody7448967703841537508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/829b4c72c7cb7560638d637b331e093c.jpg","text":"TemporaryFile(/tmp/multipartBody1442258306996866321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_16_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9b19cb5f6d09be734e1c53cfed00a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2240381526804729452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_07_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d21d9f2987755f2ececb54c2ccf71e18.jpg","text":"TemporaryFile(/tmp/multipartBody1432631519043653357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/578890bd1262c85067393650953d8c21.jpg","text":"TemporaryFile(/tmp/multipartBody1793668282314708850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a4dac76f489bf494aa6f418f8eb79c3.jpg","text":"TemporaryFile(/tmp/multipartBody8019731189949539241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017643516,"filename":"image_30102025_05_06_19_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678665","file1":"1391678661","file0":"1391678658","file4":"1391678673","file5":"1391678677","file3":"1391678669"},"map_files_photo_id_array":[{"photo_id":"1391678677","filename":"file5"},{"photo_id":"1391678665","filename":"file2"},{"photo_id":"1391678673","filename":"file4"},{"photo_id":"1391678661","filename":"file1"},{"photo_id":"1391678658","filename":"file0"},{"photo_id":"1391678669","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678665":["hashtag1","hashtag2"]},{"1391678673":["hashtag1","hashtag2"]},{"1391678661":["hashtag1","hashtag2"]},{"1391678658":["hashtag1","hashtag2"]},{"1391678669":["hashtag1","hashtag2"]},{"1391678677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678665, 1391678673, 1391678661, 1391678658, 1391678669, 1391678677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82372069358826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:20:22.412712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_22_2682.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_28_3673.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_31_2683.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_34_2664.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_37_3563.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_40_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_22_2682.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_28_3673.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_31_2683.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_34_2664.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_37_3563.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_40_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678686","1391678691","1391678688","1391678697","1391678699","1391678684"],"photo_ids_order":["1391678684","1391678686","1391678688","1391678691","1391678697","1391678699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d99fcee26b2a8f4350332cec7ed66805.jpg","text":"TemporaryFile(/tmp/multipartBody7157906934003522224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_28_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0793f34d12f772cb630ece91aa944372.jpg","text":"TemporaryFile(/tmp/multipartBody5997092335283173352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_34_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e28f7cdee43e97f21329121a64f28b6.jpg","text":"TemporaryFile(/tmp/multipartBody396340272679326479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_31_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea14e6fa589ddb10266fabf6164aebb0.jpg","text":"TemporaryFile(/tmp/multipartBody6385653381761911263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_37_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9da7595da739d94e895182642365890a.jpg","text":"TemporaryFile(/tmp/multipartBody2943004297933243557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_40_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c4d21c86a4c949f8ea46c647d9a1c47.jpg","text":"TemporaryFile(/tmp/multipartBody1299699517691917024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017685198,"filename":"image_30102025_05_06_22_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678688","file1":"1391678686","file0":"1391678684","file4":"1391678697","file5":"1391678699","file3":"1391678691"},"map_files_photo_id_array":[{"photo_id":"1391678699","filename":"file5"},{"photo_id":"1391678688","filename":"file2"},{"photo_id":"1391678697","filename":"file4"},{"photo_id":"1391678686","filename":"file1"},{"photo_id":"1391678684","filename":"file0"},{"photo_id":"1391678691","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678686":["hashtag1","hashtag2"]},{"1391678691":["hashtag1","hashtag2"]},{"1391678688":["hashtag1","hashtag2"]},{"1391678697":["hashtag1","hashtag2"]},{"1391678699":["hashtag1","hashtag2"]},{"1391678684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678686, 1391678691, 1391678688, 1391678697, 1391678699, 1391678684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.993385553359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:21:03.244425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_42_2630.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_46_3547.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_49_2736.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_55_2805.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_58_2636.jpg', '/home/pi/Desktop/images/30102025/05/06/image_30102025_05_07_01_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_42_2630.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_46_3547.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_49_2736.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_55_2805.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_06_58_2636.jpg
/home/pi/Desktop/images/30102025/05/06/image_30102025_05_07_01_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678725","1391678721","1391678706","1391678714","1391678717","1391678711"],"photo_ids_order":["1391678706","1391678711","1391678714","1391678717","1391678721","1391678725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d67ec15fbf2117002394f45f84be480.jpg","text":"TemporaryFile(/tmp/multipartBody8111736626516781605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_07_01_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/216c5231743980f81d9bcb9feaa0b59f.jpg","text":"TemporaryFile(/tmp/multipartBody2594185131467212803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_06_58_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09fd5fb860a77ed988d54c5bc48401ad.jpg","text":"TemporaryFile(/tmp/multipartBody2238922260654778113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_06_42_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d82dbced9c7c4f520e2324ed4782b54b.jpg","text":"TemporaryFile(/tmp/multipartBody7308223987382571179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_06_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94d662491d5afd71088745b6c19d3239.jpg","text":"TemporaryFile(/tmp/multipartBody6613658352876082081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_06_55_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8655157f06366f1c8ad6d77fb1f49201.jpg","text":"TemporaryFile(/tmp/multipartBody2122626818847782851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017725564,"filename":"image_30102025_05_06_46_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678714","file1":"1391678711","file0":"1391678706","file4":"1391678721","file5":"1391678725","file3":"1391678717"},"map_files_photo_id_array":[{"photo_id":"1391678725","filename":"file5"},{"photo_id":"1391678714","filename":"file2"},{"photo_id":"1391678721","filename":"file4"},{"photo_id":"1391678711","filename":"file1"},{"photo_id":"1391678706","filename":"file0"},{"photo_id":"1391678717","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678725":["hashtag1","hashtag2"]},{"1391678721":["hashtag1","hashtag2"]},{"1391678706":["hashtag1","hashtag2"]},{"1391678714":["hashtag1","hashtag2"]},{"1391678717":["hashtag1","hashtag2"]},{"1391678711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678725, 1391678721, 1391678706, 1391678714, 1391678717, 1391678711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50053024291992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:21:42.543502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_07_2586.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_10_3627.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_13_2563.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_16_2722.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_19_3653.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_22_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_07_2586.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_10_3627.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_13_2563.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_16_2722.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_19_3653.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_22_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678737","1391678731","1391678739","1391678741","1391678735","1391678738"],"photo_ids_order":["1391678731","1391678735","1391678737","1391678738","1391678739","1391678741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8dd98004af9a4a306ef686d2a2603f1.jpg","text":"TemporaryFile(/tmp/multipartBody6822207783764668192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_13_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb4e7ddf1afa8ba95293a7e3f38589f5.jpg","text":"TemporaryFile(/tmp/multipartBody167061876701933751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_07_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0402da59b334c1c09ba5a156952efa94.jpg","text":"TemporaryFile(/tmp/multipartBody9127932973407625428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_19_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af4bd51061758027771d3fea182616be.jpg","text":"TemporaryFile(/tmp/multipartBody5256915436097012601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1184aa91a2748c575aadd8b7465c7cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1151961466579632001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_10_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8af69cb15202a0ed34d2f2536dccb07.jpg","text":"TemporaryFile(/tmp/multipartBody6430366113208597410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017763833,"filename":"image_30102025_05_07_16_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678737","file1":"1391678735","file0":"1391678731","file4":"1391678739","file5":"1391678741","file3":"1391678738"},"map_files_photo_id_array":[{"photo_id":"1391678741","filename":"file5"},{"photo_id":"1391678737","filename":"file2"},{"photo_id":"1391678739","filename":"file4"},{"photo_id":"1391678735","filename":"file1"},{"photo_id":"1391678731","filename":"file0"},{"photo_id":"1391678738","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678737":["hashtag1","hashtag2"]},{"1391678731":["hashtag1","hashtag2"]},{"1391678739":["hashtag1","hashtag2"]},{"1391678741":["hashtag1","hashtag2"]},{"1391678735":["hashtag1","hashtag2"]},{"1391678738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678737, 1391678731, 1391678739, 1391678741, 1391678735, 1391678738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84069347381592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:22:24.649742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_25_2719.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_28_3632.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_31_2884.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_34_2584.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_36_2683.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_40_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_25_2719.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_28_3632.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_31_2884.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_34_2584.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_36_2683.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_40_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678770","1391678766","1391678762","1391678750","1391678753","1391678756"],"photo_ids_order":["1391678750","1391678753","1391678756","1391678762","1391678766","1391678770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3e79695e3bed7092513cb3ea6e53bed.jpg","text":"TemporaryFile(/tmp/multipartBody826943494690136576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_40_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7392c93dc4bafa218ad482c82bbf7be.jpg","text":"TemporaryFile(/tmp/multipartBody4104570069024818313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_36_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9a0c5e23ed84a6ea85e76b10b92803b.jpg","text":"TemporaryFile(/tmp/multipartBody4141761789097072710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_34_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd7ed13afe973add2adc16f2f1798754.jpg","text":"TemporaryFile(/tmp/multipartBody7327217024793340007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_25_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ee61965dd11982e57160f0f0c7349c9.jpg","text":"TemporaryFile(/tmp/multipartBody4202983705901354707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_28_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0a6dbef3ba3222087e80084a9cc5f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4981797886316837194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017811079,"filename":"image_30102025_05_07_31_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678756","file1":"1391678753","file0":"1391678750","file4":"1391678766","file5":"1391678770","file3":"1391678762"},"map_files_photo_id_array":[{"photo_id":"1391678770","filename":"file5"},{"photo_id":"1391678756","filename":"file2"},{"photo_id":"1391678766","filename":"file4"},{"photo_id":"1391678753","filename":"file1"},{"photo_id":"1391678750","filename":"file0"},{"photo_id":"1391678762","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678770":["hashtag1","hashtag2"]},{"1391678766":["hashtag1","hashtag2"]},{"1391678762":["hashtag1","hashtag2"]},{"1391678750":["hashtag1","hashtag2"]},{"1391678753":["hashtag1","hashtag2"]},{"1391678756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678770, 1391678766, 1391678762, 1391678750, 1391678753, 1391678756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64628863334656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:23:22.711079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_43_2593.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_46_3613.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_49_2641.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_51_2561.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_55_3752.jpg', '/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_58_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_43_2593.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_46_3613.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_49_2641.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_51_2561.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_55_3752.jpg
/home/pi/Desktop/images/30102025/05/07/image_30102025_05_07_58_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678806","1391678796","1391678789","1391678786","1391678801","1391678791"],"photo_ids_order":["1391678786","1391678789","1391678791","1391678796","1391678801","1391678806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3678c921115f4761604747fcbbfa3a70.jpg","text":"TemporaryFile(/tmp/multipartBody2682104856510062520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17dfa1cdc94d96fde041cef2cd012193.jpg","text":"TemporaryFile(/tmp/multipartBody553051317403210574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_51_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39b1ec4ea2266af37768599991f2f7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4351689409865528046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_46_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0027d1a4cbc72df1cdc2bb283a9b25c.jpg","text":"TemporaryFile(/tmp/multipartBody2437930628309813795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_43_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/246a9795b89cd78afe10382e58cd5324.jpg","text":"TemporaryFile(/tmp/multipartBody7260323256314596678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_55_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a405bb90d4656587f114e42c9e2beb3a.jpg","text":"TemporaryFile(/tmp/multipartBody992214565398194922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017865460,"filename":"image_30102025_05_07_49_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678791","file1":"1391678789","file0":"1391678786","file4":"1391678801","file5":"1391678806","file3":"1391678796"},"map_files_photo_id_array":[{"photo_id":"1391678806","filename":"file5"},{"photo_id":"1391678791","filename":"file2"},{"photo_id":"1391678801","filename":"file4"},{"photo_id":"1391678789","filename":"file1"},{"photo_id":"1391678786","filename":"file0"},{"photo_id":"1391678796","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678806":["hashtag1","hashtag2"]},{"1391678796":["hashtag1","hashtag2"]},{"1391678789":["hashtag1","hashtag2"]},{"1391678786":["hashtag1","hashtag2"]},{"1391678801":["hashtag1","hashtag2"]},{"1391678791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678806, 1391678796, 1391678789, 1391678786, 1391678801, 1391678791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78179860115051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:24:02.631969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_01_2732.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_03_2650.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_07_3519.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_09_2681.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_12_2763.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_16_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_01_2732.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_03_2650.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_07_3519.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_09_2681.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_12_2763.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_16_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678830","1391678824","1391678826","1391678828","1391678822","1391678819"],"photo_ids_order":["1391678819","1391678822","1391678824","1391678826","1391678828","1391678830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83af8e70c296c2edf5b82bc55856a68c.jpg","text":"TemporaryFile(/tmp/multipartBody4564029297559498154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_16_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f5d5f016d73c1aa8de017c2db6b4175.jpg","text":"TemporaryFile(/tmp/multipartBody3848632595659112746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_07_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcc189cc932089b0e4a24a0b537280fd.jpg","text":"TemporaryFile(/tmp/multipartBody5255366603638216401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5207f79cab0ab15353526ff3d2d4a22b.jpg","text":"TemporaryFile(/tmp/multipartBody8954880658373900146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_12_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3abb35e462bf2004a02b015ab64ea0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7279808895397616835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_03_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bba8e3178bffc21863668cc757f2e05e.jpg","text":"TemporaryFile(/tmp/multipartBody1718685377988389378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017906762,"filename":"image_30102025_05_08_01_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678824","file1":"1391678822","file0":"1391678819","file4":"1391678828","file5":"1391678830","file3":"1391678826"},"map_files_photo_id_array":[{"photo_id":"1391678830","filename":"file5"},{"photo_id":"1391678824","filename":"file2"},{"photo_id":"1391678828","filename":"file4"},{"photo_id":"1391678822","filename":"file1"},{"photo_id":"1391678819","filename":"file0"},{"photo_id":"1391678826","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678830":["hashtag1","hashtag2"]},{"1391678824":["hashtag1","hashtag2"]},{"1391678826":["hashtag1","hashtag2"]},{"1391678828":["hashtag1","hashtag2"]},{"1391678822":["hashtag1","hashtag2"]},{"1391678819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678830, 1391678824, 1391678826, 1391678828, 1391678822, 1391678819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03785681724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:25:04.165240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_18_2654.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_22_3669.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_25_2678.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_28_2901.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_30_2753.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_34_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_18_2654.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_22_3669.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_25_2678.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_28_2901.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_30_2753.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_34_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678853","1391678856","1391678850","1391678858","1391678852","1391678854"],"photo_ids_order":["1391678850","1391678852","1391678853","1391678854","1391678856","1391678858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cdfe4a04cf0f8953f95700b46484b784.jpg","text":"TemporaryFile(/tmp/multipartBody2226272551862869657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_25_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/797fda31159b0babd4090bbd103a9713.jpg","text":"TemporaryFile(/tmp/multipartBody7401652538424051121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_30_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f93949905ecd1e3eec0e9b81c5038a92.jpg","text":"TemporaryFile(/tmp/multipartBody6517361400308169373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_18_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/321c4230158f57b868c6f49035958269.jpg","text":"TemporaryFile(/tmp/multipartBody6732885301136669151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_34_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa731743f7369d23e17a44f880af6794.jpg","text":"TemporaryFile(/tmp/multipartBody3167593698088481401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_22_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7471e9aedc8a1991bd4b0f5d4251d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4292677993537968021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762017968354,"filename":"image_30102025_05_08_28_2901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678853","file1":"1391678852","file0":"1391678850","file4":"1391678856","file5":"1391678858","file3":"1391678854"},"map_files_photo_id_array":[{"photo_id":"1391678858","filename":"file5"},{"photo_id":"1391678853","filename":"file2"},{"photo_id":"1391678856","filename":"file4"},{"photo_id":"1391678852","filename":"file1"},{"photo_id":"1391678850","filename":"file0"},{"photo_id":"1391678854","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678853":["hashtag1","hashtag2"]},{"1391678856":["hashtag1","hashtag2"]},{"1391678850":["hashtag1","hashtag2"]},{"1391678858":["hashtag1","hashtag2"]},{"1391678852":["hashtag1","hashtag2"]},{"1391678854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678853, 1391678856, 1391678850, 1391678858, 1391678852, 1391678854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17272639274597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:26:03.212188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_37_2807.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_40_2776.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_42_2809.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_45_2723.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_49_3686.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_55_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_37_2807.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_40_2776.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_42_2809.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_45_2723.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_49_3686.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_55_3565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678883","1391678901","1391678897","1391678890","1391678893","1391678887"],"photo_ids_order":["1391678883","1391678887","1391678890","1391678893","1391678897","1391678901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fca34112ce359dddd0b85398405063c5.jpg","text":"TemporaryFile(/tmp/multipartBody4983046005503760390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_37_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac1fada4b90a6201b276b15c87c01e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3872311460690276715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_55_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae4cef579104f3b53fc298d120518a0d.jpg","text":"TemporaryFile(/tmp/multipartBody8592380587903641821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_49_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d6f6cfae3c2937e89fa1a3ca5c41120.jpg","text":"TemporaryFile(/tmp/multipartBody3528905916973510119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_42_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98ab68b871b3ba59c547b1e550062bd3.jpg","text":"TemporaryFile(/tmp/multipartBody8080297806740493413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_45_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efb71a30c11cc745fe758d34c7f2d629.jpg","text":"TemporaryFile(/tmp/multipartBody7958148314283019083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018025488,"filename":"image_30102025_05_08_40_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678890","file1":"1391678887","file0":"1391678883","file4":"1391678897","file5":"1391678901","file3":"1391678893"},"map_files_photo_id_array":[{"photo_id":"1391678901","filename":"file5"},{"photo_id":"1391678890","filename":"file2"},{"photo_id":"1391678897","filename":"file4"},{"photo_id":"1391678887","filename":"file1"},{"photo_id":"1391678883","filename":"file0"},{"photo_id":"1391678893","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678883":["hashtag1","hashtag2"]},{"1391678901":["hashtag1","hashtag2"]},{"1391678897":["hashtag1","hashtag2"]},{"1391678890":["hashtag1","hashtag2"]},{"1391678893":["hashtag1","hashtag2"]},{"1391678887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678883, 1391678901, 1391678897, 1391678890, 1391678893, 1391678887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.857693910598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:27:02.547925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_58_2706.jpg', '/home/pi/Desktop/images/30102025/05/08/image_30102025_05_09_00_2590.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_04_3535.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_07_2722.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_09_2655.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_13_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_08_58_2706.jpg
/home/pi/Desktop/images/30102025/05/08/image_30102025_05_09_00_2590.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_04_3535.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_07_2722.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_09_2655.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_13_3557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678935","1391678938","1391678932","1391678926","1391678929","1391678922"],"photo_ids_order":["1391678922","1391678926","1391678929","1391678932","1391678935","1391678938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91748c73a0bfc325504b844d925577b4.jpg","text":"TemporaryFile(/tmp/multipartBody6240545152796367528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_09_09_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b31261d4fa62da59bed51d0a2dcf3103.jpg","text":"TemporaryFile(/tmp/multipartBody8900315743715687280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_09_13_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81b65ee17ecbc1a307ed36cabfd1118c.jpg","text":"TemporaryFile(/tmp/multipartBody447830625650044378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_09_07_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52247a6d66faa47d1fba0d9b6ef2d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4735275564987879275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_09_00_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f67df27292cebd9c004f46db329875b.jpg","text":"TemporaryFile(/tmp/multipartBody697596047048928613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_09_04_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a391e202a1905842d1692092db6249.jpg","text":"TemporaryFile(/tmp/multipartBody484376871799345815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018086552,"filename":"image_30102025_05_08_58_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678929","file1":"1391678926","file0":"1391678922","file4":"1391678935","file5":"1391678938","file3":"1391678932"},"map_files_photo_id_array":[{"photo_id":"1391678938","filename":"file5"},{"photo_id":"1391678929","filename":"file2"},{"photo_id":"1391678935","filename":"file4"},{"photo_id":"1391678926","filename":"file1"},{"photo_id":"1391678922","filename":"file0"},{"photo_id":"1391678932","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678935":["hashtag1","hashtag2"]},{"1391678938":["hashtag1","hashtag2"]},{"1391678932":["hashtag1","hashtag2"]},{"1391678926":["hashtag1","hashtag2"]},{"1391678929":["hashtag1","hashtag2"]},{"1391678922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678935, 1391678938, 1391678932, 1391678926, 1391678929, 1391678922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.497692346572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:28:02.483941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_16_2867.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_18_2554.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_22_3548.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_27_2828.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_36_2666.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_40_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_16_2867.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_18_2554.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_22_3548.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_27_2828.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_36_2666.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_40_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678964","1391678958","1391678961","1391678969","1391678972","1391678954"],"photo_ids_order":["1391678954","1391678958","1391678961","1391678964","1391678969","1391678972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f33e3422f554aff7f721e4d37f1d7f24.jpg","text":"TemporaryFile(/tmp/multipartBody2007818502851956485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_27_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4e5dcc557d2329127792c2a4606661f.jpg","text":"TemporaryFile(/tmp/multipartBody8187882728979789451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_18_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7eee28a85bd3f2dd70e637fb9be9724e.jpg","text":"TemporaryFile(/tmp/multipartBody522530644027360606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_22_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fae6caa3caacc84efd75d02dfccb658.jpg","text":"TemporaryFile(/tmp/multipartBody5056922808081548607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_36_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b1d6e7b8a6b97df8e88a27fe9b7ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody785734954755219630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_40_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b41ec3ea79668577d49d7c9487738744.jpg","text":"TemporaryFile(/tmp/multipartBody7841832958880731240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018144730,"filename":"image_30102025_05_09_16_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678961","file1":"1391678958","file0":"1391678954","file4":"1391678969","file5":"1391678972","file3":"1391678964"},"map_files_photo_id_array":[{"photo_id":"1391678972","filename":"file5"},{"photo_id":"1391678961","filename":"file2"},{"photo_id":"1391678969","filename":"file4"},{"photo_id":"1391678958","filename":"file1"},{"photo_id":"1391678954","filename":"file0"},{"photo_id":"1391678964","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678964":["hashtag1","hashtag2"]},{"1391678958":["hashtag1","hashtag2"]},{"1391678961":["hashtag1","hashtag2"]},{"1391678969":["hashtag1","hashtag2"]},{"1391678972":["hashtag1","hashtag2"]},{"1391678954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678964, 1391678958, 1391678961, 1391678969, 1391678972, 1391678954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963974475860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:28:42.015707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_43_2747.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_45_2740.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_48_2766.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_52_3624.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_54_2614.jpg', '/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_58_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_43_2747.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_45_2740.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_48_2766.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_52_3624.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_54_2614.jpg
/home/pi/Desktop/images/30102025/05/09/image_30102025_05_09_58_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391678991","1391678993","1391678987","1391678996","1391678981","1391678984"],"photo_ids_order":["1391678981","1391678984","1391678987","1391678991","1391678993","1391678996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc58bd399214c9078294a4979081a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2519778353703828067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_52_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71585ed6d32260fd0edd5146656875f3.jpg","text":"TemporaryFile(/tmp/multipartBody9205775680379381200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_54_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d039d356f92d43f912a80be4c89c70b0.jpg","text":"TemporaryFile(/tmp/multipartBody5513205650647538622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_48_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f12f97db56d7586e181afccae7025407.jpg","text":"TemporaryFile(/tmp/multipartBody166055832536931505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_58_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b178f1c00b6153c8d968f41f93cac23.jpg","text":"TemporaryFile(/tmp/multipartBody7940744405583932833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_43_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/651be55db6860f596c028878aacf39a1.jpg","text":"TemporaryFile(/tmp/multipartBody1345623526789985811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018183313,"filename":"image_30102025_05_09_45_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391678987","file1":"1391678984","file0":"1391678981","file4":"1391678993","file5":"1391678996","file3":"1391678991"},"map_files_photo_id_array":[{"photo_id":"1391678996","filename":"file5"},{"photo_id":"1391678987","filename":"file2"},{"photo_id":"1391678993","filename":"file4"},{"photo_id":"1391678984","filename":"file1"},{"photo_id":"1391678981","filename":"file0"},{"photo_id":"1391678991","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391678991":["hashtag1","hashtag2"]},{"1391678993":["hashtag1","hashtag2"]},{"1391678987":["hashtag1","hashtag2"]},{"1391678996":["hashtag1","hashtag2"]},{"1391678981":["hashtag1","hashtag2"]},{"1391678984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391678991, 1391678993, 1391678987, 1391678996, 1391678981, 1391678984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20311379432678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:29:22.250754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_01_2742.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_04_2839.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_07_3402.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_10_2859.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_13_2769.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_15_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_01_2742.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_04_2839.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_07_3402.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_10_2859.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_13_2769.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_15_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679004","1391679007","1391679015","1391679009","1391679026","1391679020"],"photo_ids_order":["1391679004","1391679007","1391679009","1391679015","1391679020","1391679026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba006cfaf960a0b69f6c94a0ab96cafc.jpg","text":"TemporaryFile(/tmp/multipartBody7275168422598295500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_01_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1921b14fa160ba1340724671a571c740.jpg","text":"TemporaryFile(/tmp/multipartBody1640096240300435921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_04_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15499b5a26c364575777ba5aedac8d76.jpg","text":"TemporaryFile(/tmp/multipartBody7770369271209292098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_10_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f9c560508666e921965771e2b23ec64.jpg","text":"TemporaryFile(/tmp/multipartBody2316996313870828558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_07_3402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b85e8284936aab461fd7654d24f373fa.jpg","text":"TemporaryFile(/tmp/multipartBody5766333633655483100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_15_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/111df4c0e2740ffb6de73838cb2962ea.jpg","text":"TemporaryFile(/tmp/multipartBody2689900916864583061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018225021,"filename":"image_30102025_05_10_13_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679009","file1":"1391679007","file0":"1391679004","file4":"1391679020","file5":"1391679026","file3":"1391679015"},"map_files_photo_id_array":[{"photo_id":"1391679026","filename":"file5"},{"photo_id":"1391679009","filename":"file2"},{"photo_id":"1391679020","filename":"file4"},{"photo_id":"1391679007","filename":"file1"},{"photo_id":"1391679004","filename":"file0"},{"photo_id":"1391679015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679004":["hashtag1","hashtag2"]},{"1391679007":["hashtag1","hashtag2"]},{"1391679015":["hashtag1","hashtag2"]},{"1391679009":["hashtag1","hashtag2"]},{"1391679026":["hashtag1","hashtag2"]},{"1391679020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679004, 1391679007, 1391679015, 1391679009, 1391679026, 1391679020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.237462520599365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:30:02.841087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_19_3767.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_21_2598.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_24_2556.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_31_3814.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_33_2531.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_36_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_19_3767.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_21_2598.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_24_2556.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_31_3814.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_33_2531.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_36_2861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679039","1391679036","1391679041","1391679040","1391679034","1391679037"],"photo_ids_order":["1391679034","1391679036","1391679037","1391679039","1391679040","1391679041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e9dc8fc7e015d3c69cc6fb7bf89b54b.jpg","text":"TemporaryFile(/tmp/multipartBody5425974203518098652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_31_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45385389ef73b9ea4a38b3f4bcadfeb8.jpg","text":"TemporaryFile(/tmp/multipartBody504867787975249083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_21_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f747c34e940e1bf59dec5fb84fcb93b.jpg","text":"TemporaryFile(/tmp/multipartBody5289606798712508074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_36_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1cffc9c87425ee4c395f7a8615aedcb.jpg","text":"TemporaryFile(/tmp/multipartBody801716829388947862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_33_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/420e84b1349b09e97ddea8c8e8d69676.jpg","text":"TemporaryFile(/tmp/multipartBody7094774495215359924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_19_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bec1eaeeb0e311ac4e5b7baf1b39fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody169105993400186367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018265086,"filename":"image_30102025_05_10_24_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679037","file1":"1391679036","file0":"1391679034","file4":"1391679040","file5":"1391679041","file3":"1391679039"},"map_files_photo_id_array":[{"photo_id":"1391679041","filename":"file5"},{"photo_id":"1391679037","filename":"file2"},{"photo_id":"1391679040","filename":"file4"},{"photo_id":"1391679036","filename":"file1"},{"photo_id":"1391679034","filename":"file0"},{"photo_id":"1391679039","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679039":["hashtag1","hashtag2"]},{"1391679036":["hashtag1","hashtag2"]},{"1391679041":["hashtag1","hashtag2"]},{"1391679040":["hashtag1","hashtag2"]},{"1391679034":["hashtag1","hashtag2"]},{"1391679037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679039, 1391679036, 1391679041, 1391679040, 1391679034, 1391679037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58551239967346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:30:42.359438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_42_2581.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_45_2584.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_52_2840.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_54_2720.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_57_2601.jpg', '/home/pi/Desktop/images/30102025/05/10/image_30102025_05_11_01_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_42_2581.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_45_2584.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_52_2840.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_54_2720.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_10_57_2601.jpg
/home/pi/Desktop/images/30102025/05/10/image_30102025_05_11_01_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679063","1391679060","1391679068","1391679065","1391679055","1391679049"],"photo_ids_order":["1391679049","1391679055","1391679060","1391679063","1391679065","1391679068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af8f9c1762c88d9612f5de18cc1d455b.jpg","text":"TemporaryFile(/tmp/multipartBody7578371718174941708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_10_54_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcceed24cfd5a6f56e9d344d4624c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7819077431087795309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_10_52_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c55039eb0b36e986ee92c744efe9830.jpg","text":"TemporaryFile(/tmp/multipartBody5895408704355366133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_11_01_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4b46c6b809b5e8d905dd13da9b11db5.jpg","text":"TemporaryFile(/tmp/multipartBody5591592125663582545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_10_57_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80a7a21e559928a2450f6370b04adca9.jpg","text":"TemporaryFile(/tmp/multipartBody6284083793777500734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_10_45_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/807cd4cc9925e863ade9e08f24666338.jpg","text":"TemporaryFile(/tmp/multipartBody203375511398547863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018303681,"filename":"image_30102025_05_10_42_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679060","file1":"1391679055","file0":"1391679049","file4":"1391679065","file5":"1391679068","file3":"1391679063"},"map_files_photo_id_array":[{"photo_id":"1391679068","filename":"file5"},{"photo_id":"1391679060","filename":"file2"},{"photo_id":"1391679065","filename":"file4"},{"photo_id":"1391679055","filename":"file1"},{"photo_id":"1391679049","filename":"file0"},{"photo_id":"1391679063","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679063":["hashtag1","hashtag2"]},{"1391679060":["hashtag1","hashtag2"]},{"1391679068":["hashtag1","hashtag2"]},{"1391679065":["hashtag1","hashtag2"]},{"1391679055":["hashtag1","hashtag2"]},{"1391679049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679063, 1391679060, 1391679068, 1391679065, 1391679055, 1391679049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40989017486572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:31:22.527337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_03_2668.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_06_2667.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_10_3607.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_12_2663.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_15_2681.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_19_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_03_2668.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_06_2667.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_10_3607.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_12_2663.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_15_2681.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_19_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679075","1391679078","1391679087","1391679092","1391679097","1391679082"],"photo_ids_order":["1391679075","1391679078","1391679082","1391679087","1391679092","1391679097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2b9c627865eff0094d79e2e312abe04.jpg","text":"TemporaryFile(/tmp/multipartBody3510100949775444178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_03_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32cff0e5d8691bf5975600099b2b69c7.jpg","text":"TemporaryFile(/tmp/multipartBody3063512504647711887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_06_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c73e53180f96d2fccaec857bd26c5e60.jpg","text":"TemporaryFile(/tmp/multipartBody6855639883896870866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a617a222da36d89fc81d05d87ff8f53f.jpg","text":"TemporaryFile(/tmp/multipartBody2425034953433311409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_15_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f50e3099a6bd832353e3fc9dfcfeda1.jpg","text":"TemporaryFile(/tmp/multipartBody7944537374908474389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_19_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e19494eab8397e9f2ccddd3a185d99de.jpg","text":"TemporaryFile(/tmp/multipartBody4106222530113774075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018345299,"filename":"image_30102025_05_11_10_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679082","file1":"1391679078","file0":"1391679075","file4":"1391679092","file5":"1391679097","file3":"1391679087"},"map_files_photo_id_array":[{"photo_id":"1391679097","filename":"file5"},{"photo_id":"1391679082","filename":"file2"},{"photo_id":"1391679092","filename":"file4"},{"photo_id":"1391679078","filename":"file1"},{"photo_id":"1391679075","filename":"file0"},{"photo_id":"1391679087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679075":["hashtag1","hashtag2"]},{"1391679078":["hashtag1","hashtag2"]},{"1391679087":["hashtag1","hashtag2"]},{"1391679092":["hashtag1","hashtag2"]},{"1391679097":["hashtag1","hashtag2"]},{"1391679082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679075, 1391679078, 1391679087, 1391679092, 1391679097, 1391679082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.607850074768066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:32:03.074483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_22_2846.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_33_2666.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_36_2793.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_39_3221.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_42_2599.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_46_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_22_2846.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_33_2666.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_36_2793.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_39_3221.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_42_2599.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_46_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679106","1391679114","1391679122","1391679119","1391679110","1391679101"],"photo_ids_order":["1391679101","1391679106","1391679110","1391679114","1391679119","1391679122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cb089657f99982a18cf83c0a51d7868.jpg","text":"TemporaryFile(/tmp/multipartBody8951792677591434211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_33_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a26d3a721f2dd93d3c73bda67aeb7ee8.jpg","text":"TemporaryFile(/tmp/multipartBody1688114584605819670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_39_3221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ea62ca043cf30744156e0b0e9f6f1ce.jpg","text":"TemporaryFile(/tmp/multipartBody4641994160401039690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_46_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e87315df5c1d55fddc39d4b3863dff71.jpg","text":"TemporaryFile(/tmp/multipartBody1308071777876878136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_42_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60eaa5cdf8e67b6c2f7915a2da1a686e.jpg","text":"TemporaryFile(/tmp/multipartBody3873177504295310150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_36_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36c5b9491c61fbb51ab6c0ba134e709e.jpg","text":"TemporaryFile(/tmp/multipartBody8291766983680422469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018385347,"filename":"image_30102025_05_11_22_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679110","file1":"1391679106","file0":"1391679101","file4":"1391679119","file5":"1391679122","file3":"1391679114"},"map_files_photo_id_array":[{"photo_id":"1391679122","filename":"file5"},{"photo_id":"1391679110","filename":"file2"},{"photo_id":"1391679119","filename":"file4"},{"photo_id":"1391679106","filename":"file1"},{"photo_id":"1391679101","filename":"file0"},{"photo_id":"1391679114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679106":["hashtag1","hashtag2"]},{"1391679114":["hashtag1","hashtag2"]},{"1391679122":["hashtag1","hashtag2"]},{"1391679119":["hashtag1","hashtag2"]},{"1391679110":["hashtag1","hashtag2"]},{"1391679101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679106, 1391679114, 1391679122, 1391679119, 1391679110, 1391679101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09523916244507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:33:02.635811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_48_2636.jpg', '/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_51_2506.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_01_4184.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_06_3592.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_09_2695.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_13_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_48_2636.jpg
/home/pi/Desktop/images/30102025/05/11/image_30102025_05_11_51_2506.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_01_4184.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_06_3592.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_09_2695.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_13_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679145","1391679140","1391679137","1391679151","1391679148","1391679142"],"photo_ids_order":["1391679137","1391679140","1391679142","1391679145","1391679148","1391679151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2935c126a5e704b15725cdc58c80eed.jpg","text":"TemporaryFile(/tmp/multipartBody597564374611565448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_12_06_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/451babb7de6e2e55e8300fe31edb0578.jpg","text":"TemporaryFile(/tmp/multipartBody740826021932455439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_11_51_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/416831281bd909b152455bfdbef06598.jpg","text":"TemporaryFile(/tmp/multipartBody8654206138329533463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_11_48_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0372bc8a3bfafa511c93fb156f360411.jpg","text":"TemporaryFile(/tmp/multipartBody5891122976609585058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_12_13_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce461277786888fcc8462585390ff26f.jpg","text":"TemporaryFile(/tmp/multipartBody7382231352971601882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_12_09_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5265a177afe308355e4b8d776f3b84f.jpg","text":"TemporaryFile(/tmp/multipartBody1145582543125709227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018444939,"filename":"image_30102025_05_12_01_4184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679142","file1":"1391679140","file0":"1391679137","file4":"1391679148","file5":"1391679151","file3":"1391679145"},"map_files_photo_id_array":[{"photo_id":"1391679151","filename":"file5"},{"photo_id":"1391679142","filename":"file2"},{"photo_id":"1391679148","filename":"file4"},{"photo_id":"1391679140","filename":"file1"},{"photo_id":"1391679137","filename":"file0"},{"photo_id":"1391679145","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679145":["hashtag1","hashtag2"]},{"1391679140":["hashtag1","hashtag2"]},{"1391679137":["hashtag1","hashtag2"]},{"1391679151":["hashtag1","hashtag2"]},{"1391679148":["hashtag1","hashtag2"]},{"1391679142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679145, 1391679140, 1391679137, 1391679151, 1391679148, 1391679142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29213571548462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:34:02.562845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_15_2003.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_18_3602.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_21_2692.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_25_3663.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_27_2737.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_30_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_15_2003.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_18_3602.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_21_2692.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_25_3663.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_27_2737.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_30_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679185","1391679173","1391679182","1391679176","1391679179","1391679187"],"photo_ids_order":["1391679173","1391679176","1391679179","1391679182","1391679185","1391679187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02dcf5d4006d5f976afa9aba5ad09eed.jpg","text":"TemporaryFile(/tmp/multipartBody5111215908516405931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_27_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25d7d9da94ce18a03414366fd4c92d35.jpg","text":"TemporaryFile(/tmp/multipartBody6577607425412650868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_15_2003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f7dce974590a4633e29e51c3b6afbe7.jpg","text":"TemporaryFile(/tmp/multipartBody5709621569932700962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_25_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa4552c2d0cd15ff28de62e729069e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3757559212722649816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_18_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec4c90713792d104834d8e8d1540db73.jpg","text":"TemporaryFile(/tmp/multipartBody1605877524595066957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_21_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96da91d10b7f5953fe8173ce163bcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody7486259713555316372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018504846,"filename":"image_30102025_05_12_30_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679179","file1":"1391679176","file0":"1391679173","file4":"1391679185","file5":"1391679187","file3":"1391679182"},"map_files_photo_id_array":[{"photo_id":"1391679187","filename":"file5"},{"photo_id":"1391679179","filename":"file2"},{"photo_id":"1391679185","filename":"file4"},{"photo_id":"1391679176","filename":"file1"},{"photo_id":"1391679173","filename":"file0"},{"photo_id":"1391679182","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679185":["hashtag1","hashtag2"]},{"1391679173":["hashtag1","hashtag2"]},{"1391679182":["hashtag1","hashtag2"]},{"1391679176":["hashtag1","hashtag2"]},{"1391679179":["hashtag1","hashtag2"]},{"1391679187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679185, 1391679173, 1391679182, 1391679176, 1391679179, 1391679187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58013367652893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:34:42.138972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_34_3657.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_36_2634.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_39_2573.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_43_3790.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_48_2666.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_52_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_34_3657.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_36_2634.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_39_2573.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_43_3790.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_48_2666.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_52_3715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2363793849945068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:35:03.035765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_34_3657.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_36_2634.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_39_2573.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_43_3790.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_48_2666.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_52_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_34_3657.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_36_2634.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_39_2573.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_43_3790.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_48_2666.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_52_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679217","1391679225","1391679228","1391679221","1391679212","1391679215"],"photo_ids_order":["1391679212","1391679215","1391679217","1391679221","1391679225","1391679228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e6a5a04e03a16a76aa56f355da70c87.jpg","text":"TemporaryFile(/tmp/multipartBody7075758193523565921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_39_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a99c78cc6978e621a2dd85ae48b1e306.jpg","text":"TemporaryFile(/tmp/multipartBody2588641089126101324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f28e8e406f1b78c5e73bcf5b87057b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7470233974510581571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_52_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3f5fc37efa83aebb9ecc8364afe62eb.jpg","text":"TemporaryFile(/tmp/multipartBody507768794270873408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_43_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76e82cb0a36d99d6fac7f29627feafcc.jpg","text":"TemporaryFile(/tmp/multipartBody3982660184711756122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_34_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e95cb73968f614add4ba818ee57dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody1508858172671794631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018565240,"filename":"image_30102025_05_12_36_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679217","file1":"1391679215","file0":"1391679212","file4":"1391679225","file5":"1391679228","file3":"1391679221"},"map_files_photo_id_array":[{"photo_id":"1391679228","filename":"file5"},{"photo_id":"1391679217","filename":"file2"},{"photo_id":"1391679225","filename":"file4"},{"photo_id":"1391679215","filename":"file1"},{"photo_id":"1391679212","filename":"file0"},{"photo_id":"1391679221","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679217":["hashtag1","hashtag2"]},{"1391679225":["hashtag1","hashtag2"]},{"1391679228":["hashtag1","hashtag2"]},{"1391679221":["hashtag1","hashtag2"]},{"1391679212":["hashtag1","hashtag2"]},{"1391679215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679217, 1391679225, 1391679228, 1391679221, 1391679212, 1391679215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0557587146759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:35:42.346239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_54_2635.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_57_2686.jpg', '/home/pi/Desktop/images/30102025/05/12/image_30102025_05_13_00_2822.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_04_3729.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_06_2711.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_13_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_54_2635.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_12_57_2686.jpg
/home/pi/Desktop/images/30102025/05/12/image_30102025_05_13_00_2822.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_04_3729.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_06_2711.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_13_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679255","1391679237","1391679252","1391679246","1391679242","1391679250"],"photo_ids_order":["1391679237","1391679242","1391679246","1391679250","1391679252","1391679255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1d98136d90c66ae23cfdbf733aa2111.jpg","text":"TemporaryFile(/tmp/multipartBody2236828236413245024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_13_13_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60c1517cd936709587b8726becfa52e1.jpg","text":"TemporaryFile(/tmp/multipartBody5283512683005121213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_12_54_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7bf4909fe61e7b568a26248622b86513.jpg","text":"TemporaryFile(/tmp/multipartBody1299959687680977336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_13_06_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd55e62bc3ae081e3f4d5beeeb8a2140.jpg","text":"TemporaryFile(/tmp/multipartBody5346563440154105106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_13_00_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7eeff53f0297190fd6713a510d37ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody4131834812601095338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_12_57_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59fa364ad5f9d99e1f257346e3846081.jpg","text":"TemporaryFile(/tmp/multipartBody604548387605321023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018603649,"filename":"image_30102025_05_13_04_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679246","file1":"1391679242","file0":"1391679237","file4":"1391679252","file5":"1391679255","file3":"1391679250"},"map_files_photo_id_array":[{"photo_id":"1391679255","filename":"file5"},{"photo_id":"1391679246","filename":"file2"},{"photo_id":"1391679252","filename":"file4"},{"photo_id":"1391679242","filename":"file1"},{"photo_id":"1391679237","filename":"file0"},{"photo_id":"1391679250","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679255":["hashtag1","hashtag2"]},{"1391679237":["hashtag1","hashtag2"]},{"1391679252":["hashtag1","hashtag2"]},{"1391679246":["hashtag1","hashtag2"]},{"1391679242":["hashtag1","hashtag2"]},{"1391679250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679255, 1391679237, 1391679252, 1391679246, 1391679242, 1391679250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39062523841858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:36:22.526901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_15_2674.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_18_2672.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_21_2828.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_24_3679.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_27_2722.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_30_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_15_2674.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_18_2672.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_21_2828.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_24_3679.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_27_2722.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_30_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679264","1391679266","1391679269","1391679262","1391679271","1391679274"],"photo_ids_order":["1391679262","1391679264","1391679266","1391679269","1391679271","1391679274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99694c66f967a5954247da20eac54723.jpg","text":"TemporaryFile(/tmp/multipartBody3060257792596748047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_18_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9eec66abe80c3591c85d7f3791831c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3461345170880281663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_21_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab847240a1152be975ea7e5100bde63b.jpg","text":"TemporaryFile(/tmp/multipartBody5477705974624700123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_24_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f00fedb2974ee16f57beab5da933fff.jpg","text":"TemporaryFile(/tmp/multipartBody5256106950436140770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_15_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3877e6d43caa9242f373d62dbf7f336.jpg","text":"TemporaryFile(/tmp/multipartBody8405616993725696615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_27_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71450042fb4e85a81d6dca1217fee82d.jpg","text":"TemporaryFile(/tmp/multipartBody1657306498296061426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018645305,"filename":"image_30102025_05_13_30_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679266","file1":"1391679264","file0":"1391679262","file4":"1391679271","file5":"1391679274","file3":"1391679269"},"map_files_photo_id_array":[{"photo_id":"1391679274","filename":"file5"},{"photo_id":"1391679266","filename":"file2"},{"photo_id":"1391679271","filename":"file4"},{"photo_id":"1391679264","filename":"file1"},{"photo_id":"1391679262","filename":"file0"},{"photo_id":"1391679269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679264":["hashtag1","hashtag2"]},{"1391679266":["hashtag1","hashtag2"]},{"1391679269":["hashtag1","hashtag2"]},{"1391679262":["hashtag1","hashtag2"]},{"1391679271":["hashtag1","hashtag2"]},{"1391679274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679264, 1391679266, 1391679269, 1391679262, 1391679271, 1391679274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.825963258743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:37:03.370719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_33_3724.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_36_2776.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_39_2939.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_42_2827.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_45_2764.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_48_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_33_3724.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_36_2776.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_39_2939.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_42_2827.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_45_2764.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_48_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391679288","1391679282","1391679296","1391679290","1391679293","1391679286"],"photo_ids_order":["1391679282","1391679286","1391679288","1391679290","1391679293","1391679296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/195931039a09886e376f4eea0d9bd47a.jpg","text":"TemporaryFile(/tmp/multipartBody7574294257854154173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_39_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7209e9f44d4e17a393b4f2fa3b3fc3f.jpg","text":"TemporaryFile(/tmp/multipartBody1621614083786919801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_33_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c0b7a51e5aa93e1afb5eb70ab561db6.jpg","text":"TemporaryFile(/tmp/multipartBody7109389826035527476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_48_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/533a63ecf1b94c1940e51341a8746b28.jpg","text":"TemporaryFile(/tmp/multipartBody918996910845921336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_42_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d06b5045761ee3bd519e68060199a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody3546602712653354438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_45_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3407a4608901b1259da7ab2550a0a62.jpg","text":"TemporaryFile(/tmp/multipartBody4807604793481855085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018685680,"filename":"image_30102025_05_13_36_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679288","file1":"1391679286","file0":"1391679282","file4":"1391679293","file5":"1391679296","file3":"1391679290"},"map_files_photo_id_array":[{"photo_id":"1391679296","filename":"file5"},{"photo_id":"1391679288","filename":"file2"},{"photo_id":"1391679293","filename":"file4"},{"photo_id":"1391679286","filename":"file1"},{"photo_id":"1391679282","filename":"file0"},{"photo_id":"1391679290","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679288":["hashtag1","hashtag2"]},{"1391679282":["hashtag1","hashtag2"]},{"1391679296":["hashtag1","hashtag2"]},{"1391679290":["hashtag1","hashtag2"]},{"1391679293":["hashtag1","hashtag2"]},{"1391679286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679288, 1391679282, 1391679296, 1391679290, 1391679293, 1391679286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.21617937088013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:38:03.424473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:38:22.402394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:38:47.242539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_51_2734.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_54_2624.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_57_3592.jpg', '/home/pi/Desktop/images/30102025/05/13/image_30102025_05_14_00_2584.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_06_3592.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_13_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_51_2734.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_54_2624.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_13_57_3592.jpg
/home/pi/Desktop/images/30102025/05/13/image_30102025_05_14_00_2584.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_06_3592.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_13_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679357","1391679342","1391679351","1391679339","1391679361","1391679346"],"photo_ids_order":["1391679339","1391679342","1391679346","1391679351","1391679357","1391679361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17435366f37da2b1348b95d25859416c.jpg","text":"TemporaryFile(/tmp/multipartBody3934422117775855999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_14_06_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71b59a6740c19bd5f42b9b7d86a6bd48.jpg","text":"TemporaryFile(/tmp/multipartBody8950073744730911153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_13_54_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d9b92c2b694b3038ef976891b838456.jpg","text":"TemporaryFile(/tmp/multipartBody2004387229662112964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_14_00_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbdef8c17f7270daaf9b5e9292187060.jpg","text":"TemporaryFile(/tmp/multipartBody9214920569045385419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_13_51_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de56be3946493e569f74aab5ef706690.jpg","text":"TemporaryFile(/tmp/multipartBody2642199447428345394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_14_13_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1810eec286f4a17f34c6cb5f883066ce.jpg","text":"TemporaryFile(/tmp/multipartBody5420143028126798420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018827379,"filename":"image_30102025_05_13_57_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679346","file1":"1391679342","file0":"1391679339","file4":"1391679357","file5":"1391679361","file3":"1391679351"},"map_files_photo_id_array":[{"photo_id":"1391679361","filename":"file5"},{"photo_id":"1391679346","filename":"file2"},{"photo_id":"1391679357","filename":"file4"},{"photo_id":"1391679342","filename":"file1"},{"photo_id":"1391679339","filename":"file0"},{"photo_id":"1391679351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679357":["hashtag1","hashtag2"]},{"1391679342":["hashtag1","hashtag2"]},{"1391679351":["hashtag1","hashtag2"]},{"1391679339":["hashtag1","hashtag2"]},{"1391679361":["hashtag1","hashtag2"]},{"1391679346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679357, 1391679342, 1391679351, 1391679339, 1391679361, 1391679346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.93746733665466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:40:22.713830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_15_2601.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_18_2669.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_21_3536.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_24_2568.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_30_3544.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_36_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_15_2601.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_18_2669.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_21_3536.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_24_2568.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_30_3544.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_36_3610.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679396","1391679383","1391679377","1391679392","1391679380","1391679388"],"photo_ids_order":["1391679377","1391679380","1391679383","1391679388","1391679392","1391679396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9feb2c8bef71f2a26affbb9436dad450.jpg","text":"TemporaryFile(/tmp/multipartBody4023760934444151885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_36_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98c90f82efdbcfde335a67c5df45728c.jpg","text":"TemporaryFile(/tmp/multipartBody329888831907216319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_21_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc914d93bb9c6d3830e6f33900d5e769.jpg","text":"TemporaryFile(/tmp/multipartBody5186500426613976039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_15_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bf4bc2805f965607d102497bb5e84c0.jpg","text":"TemporaryFile(/tmp/multipartBody5030356960013326202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_30_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/268959b209a3a1491da4dca71a4ffd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4967596280761227183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_18_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bededfb33f5a166e0aabaaa1cc323eb.jpg","text":"TemporaryFile(/tmp/multipartBody4418419196248305706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018885337,"filename":"image_30102025_05_14_24_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679383","file1":"1391679380","file0":"1391679377","file4":"1391679392","file5":"1391679396","file3":"1391679388"},"map_files_photo_id_array":[{"photo_id":"1391679396","filename":"file5"},{"photo_id":"1391679383","filename":"file2"},{"photo_id":"1391679392","filename":"file4"},{"photo_id":"1391679380","filename":"file1"},{"photo_id":"1391679377","filename":"file0"},{"photo_id":"1391679388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679396":["hashtag1","hashtag2"]},{"1391679383":["hashtag1","hashtag2"]},{"1391679377":["hashtag1","hashtag2"]},{"1391679392":["hashtag1","hashtag2"]},{"1391679380":["hashtag1","hashtag2"]},{"1391679388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679396, 1391679383, 1391679377, 1391679392, 1391679380, 1391679388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.244627237319946 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:41:11.009702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_39_2607.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_42_2625.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_45_3685.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_48_2791.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_51_2579.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_54_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_39_2607.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_42_2625.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_45_3685.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_48_2791.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_51_2579.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_54_2853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679435","1391679450","1391679417","1391679452","1391679446","1391679440"],"photo_ids_order":["1391679417","1391679435","1391679440","1391679446","1391679450","1391679452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb04122770439a9779bd488ff0502609.jpg","text":"TemporaryFile(/tmp/multipartBody8266275714755133503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_42_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5838a04f8cb2391f34338385624d7598.jpg","text":"TemporaryFile(/tmp/multipartBody1675971706895716350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_51_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe6806853c797ce8b39ffbebd03f044f.jpg","text":"TemporaryFile(/tmp/multipartBody4959617109315893082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_39_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38bfe7c6d310294f93ac06f517dfbd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7474001089993321002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_54_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a000e522b05e485eab9c87abed953aee.jpg","text":"TemporaryFile(/tmp/multipartBody6299661166798123360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_48_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2376e197a703684c616cf4f06ce4c8d9.jpg","text":"TemporaryFile(/tmp/multipartBody5834405555904079150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018935854,"filename":"image_30102025_05_14_45_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679440","file1":"1391679435","file0":"1391679417","file4":"1391679450","file5":"1391679452","file3":"1391679446"},"map_files_photo_id_array":[{"photo_id":"1391679452","filename":"file5"},{"photo_id":"1391679440","filename":"file2"},{"photo_id":"1391679450","filename":"file4"},{"photo_id":"1391679435","filename":"file1"},{"photo_id":"1391679417","filename":"file0"},{"photo_id":"1391679446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679435":["hashtag1","hashtag2"]},{"1391679450":["hashtag1","hashtag2"]},{"1391679417":["hashtag1","hashtag2"]},{"1391679452":["hashtag1","hashtag2"]},{"1391679446":["hashtag1","hashtag2"]},{"1391679440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679435, 1391679450, 1391679417, 1391679452, 1391679446, 1391679440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19558596611023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:42:02.976937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_57_3591.jpg', '/home/pi/Desktop/images/30102025/05/14/image_30102025_05_15_00_2671.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_03_3080.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_06_2754.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_09_3553.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_12_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_14_57_3591.jpg
/home/pi/Desktop/images/30102025/05/14/image_30102025_05_15_00_2671.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_03_3080.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_06_2754.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_09_3553.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_12_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679474","1391679482","1391679476","1391679479","1391679473","1391679469"],"photo_ids_order":["1391679469","1391679473","1391679474","1391679476","1391679479","1391679482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1af31c9ea707c3e0ca9bcd3257abbbb5.jpg","text":"TemporaryFile(/tmp/multipartBody1064118129028982630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_15_03_3080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57c30d620d39047b9ad618fcf5143302.jpg","text":"TemporaryFile(/tmp/multipartBody6363430290449091709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_15_12_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb61ae0f48060bebde4281699cd71b36.jpg","text":"TemporaryFile(/tmp/multipartBody5297016461930507609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_15_06_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/797b425011c67c647a6ce6929a6a584f.jpg","text":"TemporaryFile(/tmp/multipartBody7720369375197607000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_15_09_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e1abded8c1cb2790258ec1ce8bfb5e0.jpg","text":"TemporaryFile(/tmp/multipartBody5943830349160532995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_15_00_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c05056b1c77739cdb9c64bd06fdb7d20.jpg","text":"TemporaryFile(/tmp/multipartBody9158127031067161235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762018985255,"filename":"image_30102025_05_14_57_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679474","file1":"1391679473","file0":"1391679469","file4":"1391679479","file5":"1391679482","file3":"1391679476"},"map_files_photo_id_array":[{"photo_id":"1391679482","filename":"file5"},{"photo_id":"1391679474","filename":"file2"},{"photo_id":"1391679479","filename":"file4"},{"photo_id":"1391679473","filename":"file1"},{"photo_id":"1391679469","filename":"file0"},{"photo_id":"1391679476","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679474":["hashtag1","hashtag2"]},{"1391679482":["hashtag1","hashtag2"]},{"1391679476":["hashtag1","hashtag2"]},{"1391679479":["hashtag1","hashtag2"]},{"1391679473":["hashtag1","hashtag2"]},{"1391679469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679474, 1391679482, 1391679476, 1391679479, 1391679473, 1391679469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.67683219909668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:43:03.272706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_15_2865.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_18_3702.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_21_2667.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_24_2683.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_27_2677.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_30_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_15_2865.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_18_3702.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_21_2667.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_24_2683.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_27_2677.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_30_3552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679519","1391679515","1391679506","1391679523","1391679526","1391679511"],"photo_ids_order":["1391679506","1391679511","1391679515","1391679519","1391679523","1391679526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09174db48b1db1824d2e521704d422c0.jpg","text":"TemporaryFile(/tmp/multipartBody8753000173073726084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_24_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf9729df33691a5b82cf8a6c2d4145cb.jpg","text":"TemporaryFile(/tmp/multipartBody9181676247293222462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_21_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea4b1a2ef9016a68c3d85d561c398583.jpg","text":"TemporaryFile(/tmp/multipartBody881299779835384637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_15_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dc22557b4f70498e471269fc0225a68.jpg","text":"TemporaryFile(/tmp/multipartBody9076097463060481085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_27_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ac80ea445f6f0b77a1dc07f752f5c11.jpg","text":"TemporaryFile(/tmp/multipartBody3441673000766066135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_30_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d05986b5f5856563e310b3c0ab810873.jpg","text":"TemporaryFile(/tmp/multipartBody3260909137149362744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019045598,"filename":"image_30102025_05_15_18_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679515","file1":"1391679511","file0":"1391679506","file4":"1391679523","file5":"1391679526","file3":"1391679519"},"map_files_photo_id_array":[{"photo_id":"1391679526","filename":"file5"},{"photo_id":"1391679515","filename":"file2"},{"photo_id":"1391679523","filename":"file4"},{"photo_id":"1391679511","filename":"file1"},{"photo_id":"1391679506","filename":"file0"},{"photo_id":"1391679519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679519":["hashtag1","hashtag2"]},{"1391679515":["hashtag1","hashtag2"]},{"1391679506":["hashtag1","hashtag2"]},{"1391679523":["hashtag1","hashtag2"]},{"1391679526":["hashtag1","hashtag2"]},{"1391679511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679519, 1391679515, 1391679506, 1391679523, 1391679526, 1391679511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76836085319519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:43:42.720360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_33_2647.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_36_3616.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_42_2632.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_45_3650.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_48_2647.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_51_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_33_2647.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_36_3616.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_42_2632.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_45_3650.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_48_2647.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_51_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679555","1391679537","1391679551","1391679542","1391679547","1391679532"],"photo_ids_order":["1391679532","1391679537","1391679542","1391679547","1391679551","1391679555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8249ebcc91a677bc7bec02d999a1702b.jpg","text":"TemporaryFile(/tmp/multipartBody1403834346683205922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_51_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/107c3ff454cf8eef64650219838c8429.jpg","text":"TemporaryFile(/tmp/multipartBody5375500772483397376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_36_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92e549c9fe3d90ac36397e017e0d8a82.jpg","text":"TemporaryFile(/tmp/multipartBody8882029659432482320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_48_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42b9af8d8da3cf6c24c1809acb54bb96.jpg","text":"TemporaryFile(/tmp/multipartBody2961884616165022040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_42_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/817bd8788a5efb1764245477678e2ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5903689398166434584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_45_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37f562e9d77cab960a22a8ce5017cab6.jpg","text":"TemporaryFile(/tmp/multipartBody1665227954220756956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019083996,"filename":"image_30102025_05_15_33_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679542","file1":"1391679537","file0":"1391679532","file4":"1391679551","file5":"1391679555","file3":"1391679547"},"map_files_photo_id_array":[{"photo_id":"1391679555","filename":"file5"},{"photo_id":"1391679542","filename":"file2"},{"photo_id":"1391679551","filename":"file4"},{"photo_id":"1391679537","filename":"file1"},{"photo_id":"1391679532","filename":"file0"},{"photo_id":"1391679547","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679555":["hashtag1","hashtag2"]},{"1391679537":["hashtag1","hashtag2"]},{"1391679551":["hashtag1","hashtag2"]},{"1391679542":["hashtag1","hashtag2"]},{"1391679547":["hashtag1","hashtag2"]},{"1391679532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679555, 1391679537, 1391679551, 1391679542, 1391679547, 1391679532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35143756866455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:44:21.884868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_54_3782.jpg', '/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_57_2687.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_03_3595.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_06_2648.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_09_2968.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_12_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_54_3782.jpg
/home/pi/Desktop/images/30102025/05/15/image_30102025_05_15_57_2687.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_03_3595.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_06_2648.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_09_2968.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_12_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679567","1391679576","1391679561","1391679563","1391679580","1391679571"],"photo_ids_order":["1391679561","1391679563","1391679567","1391679571","1391679576","1391679580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab19aaad54055924ee49345ad61d1b9d.jpg","text":"TemporaryFile(/tmp/multipartBody7335167234343068114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_16_03_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2775a4f973f08e47114179c9acc84ce7.jpg","text":"TemporaryFile(/tmp/multipartBody4020489398843218028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_16_09_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ce35770b15705acadc88874e90ea046.jpg","text":"TemporaryFile(/tmp/multipartBody6789165493819211593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_15_54_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/362110e002dfe1a0030698cc93f5817a.jpg","text":"TemporaryFile(/tmp/multipartBody4983776338674754814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_15_57_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c564e66f10774e715c6d23a9697345a7.jpg","text":"TemporaryFile(/tmp/multipartBody5437395132723356448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_16_12_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/508fca6264e027c5f632d75014b1e416.jpg","text":"TemporaryFile(/tmp/multipartBody7943228828193081567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019127040,"filename":"image_30102025_05_16_06_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679567","file1":"1391679563","file0":"1391679561","file4":"1391679576","file5":"1391679580","file3":"1391679571"},"map_files_photo_id_array":[{"photo_id":"1391679580","filename":"file5"},{"photo_id":"1391679567","filename":"file2"},{"photo_id":"1391679576","filename":"file4"},{"photo_id":"1391679563","filename":"file1"},{"photo_id":"1391679561","filename":"file0"},{"photo_id":"1391679571","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679567":["hashtag1","hashtag2"]},{"1391679576":["hashtag1","hashtag2"]},{"1391679561":["hashtag1","hashtag2"]},{"1391679563":["hashtag1","hashtag2"]},{"1391679580":["hashtag1","hashtag2"]},{"1391679571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679567, 1391679576, 1391679561, 1391679563, 1391679580, 1391679571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17115902900696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:45:22.040812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_18_2817.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_23_2593.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_27_3574.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_30_2637.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_33_3642.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_36_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_18_2817.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_23_2593.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_27_3574.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_30_2637.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_33_3642.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_36_2734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.413461446762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:45:42.137402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_18_2817.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_23_2593.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_27_3574.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_30_2637.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_33_3642.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_36_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_18_2817.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_23_2593.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_27_3574.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_30_2637.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_33_3642.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_36_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679613","1391679606","1391679617","1391679622","1391679619","1391679610"],"photo_ids_order":["1391679606","1391679610","1391679613","1391679617","1391679619","1391679622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37d68e21c3effa7d356b707a294ba7af.jpg","text":"TemporaryFile(/tmp/multipartBody4342752250889531338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_27_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e66c73141137a02267ff39abf90553c.jpg","text":"TemporaryFile(/tmp/multipartBody3943733022599768954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_18_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6aecf59e638d84343608f1f70b5db2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3289481169252235143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_30_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5658b1a09860d70f7f22c635cf09bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody100193362669556218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_36_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c4761e43595500a94b073efbecfac86.jpg","text":"TemporaryFile(/tmp/multipartBody8324565401122573873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_33_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/54a8796665c83a8ad92fe3f7014187fb.jpg","text":"TemporaryFile(/tmp/multipartBody6291006263118367202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019203386,"filename":"image_30102025_05_16_23_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679613","file1":"1391679610","file0":"1391679606","file4":"1391679619","file5":"1391679622","file3":"1391679617"},"map_files_photo_id_array":[{"photo_id":"1391679622","filename":"file5"},{"photo_id":"1391679613","filename":"file2"},{"photo_id":"1391679619","filename":"file4"},{"photo_id":"1391679610","filename":"file1"},{"photo_id":"1391679606","filename":"file0"},{"photo_id":"1391679617","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679613":["hashtag1","hashtag2"]},{"1391679606":["hashtag1","hashtag2"]},{"1391679617":["hashtag1","hashtag2"]},{"1391679622":["hashtag1","hashtag2"]},{"1391679619":["hashtag1","hashtag2"]},{"1391679610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679613, 1391679606, 1391679617, 1391679622, 1391679619, 1391679610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18938589096069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:46:22.307485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_39_2543.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_42_3697.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_48_2695.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_51_3564.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_54_2762.jpg', '/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_57_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_39_2543.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_42_3697.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_48_2695.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_51_3564.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_54_2762.jpg
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_16_57_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679634","1391679642","1391679629","1391679637","1391679646","1391679631"],"photo_ids_order":["1391679629","1391679631","1391679634","1391679637","1391679642","1391679646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a50e6c43614437fbdecfdd9db6d81f50.jpg","text":"TemporaryFile(/tmp/multipartBody1332794613522599509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_48_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23dac514b0a45b4d5dc43f296f4d5974.jpg","text":"TemporaryFile(/tmp/multipartBody332341895083209610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_54_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c53b02f1a157eaf68065ec99b5c85694.jpg","text":"TemporaryFile(/tmp/multipartBody814616129109369406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_39_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c9c426b88cdb9c12acf6ce1df453165.jpg","text":"TemporaryFile(/tmp/multipartBody6929306271378668749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_51_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60aec8718cbd116b3e456d946f46bc18.jpg","text":"TemporaryFile(/tmp/multipartBody2038053605990633915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_57_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4aced9dd78392c29c8351f38aabb631e.jpg","text":"TemporaryFile(/tmp/multipartBody174535350855850008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019245079,"filename":"image_30102025_05_16_42_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679634","file1":"1391679631","file0":"1391679629","file4":"1391679642","file5":"1391679646","file3":"1391679637"},"map_files_photo_id_array":[{"photo_id":"1391679646","filename":"file5"},{"photo_id":"1391679634","filename":"file2"},{"photo_id":"1391679642","filename":"file4"},{"photo_id":"1391679631","filename":"file1"},{"photo_id":"1391679629","filename":"file0"},{"photo_id":"1391679637","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679634":["hashtag1","hashtag2"]},{"1391679642":["hashtag1","hashtag2"]},{"1391679629":["hashtag1","hashtag2"]},{"1391679637":["hashtag1","hashtag2"]},{"1391679646":["hashtag1","hashtag2"]},{"1391679631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679634, 1391679642, 1391679629, 1391679637, 1391679646, 1391679631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63424563407898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:47:22.449856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/16/image_30102025_05_17_00_3648.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_03_2571.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_06_2787.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_08_2771.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_12_3841.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_24_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/16/image_30102025_05_17_00_3648.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_03_2571.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_06_2787.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_08_2771.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_12_3841.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_24_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679675","1391679680","1391679677","1391679686","1391679691","1391679682"],"photo_ids_order":["1391679675","1391679677","1391679680","1391679682","1391679686","1391679691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7559a2e4a3b3ede2e1112469447912f.jpg","text":"TemporaryFile(/tmp/multipartBody4740032616806340089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_00_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b87ddbbc6617bd7994ea30e3ce08de2f.jpg","text":"TemporaryFile(/tmp/multipartBody1062947689581157979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_06_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9893d99c52b1bf16ea6639db685a3625.jpg","text":"TemporaryFile(/tmp/multipartBody5066142851063130249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_03_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96b44a5a83cf43999fa966ea54213f81.jpg","text":"TemporaryFile(/tmp/multipartBody2875641963443163913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_12_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b9a949184ea0ce5bc28228d73a06709.jpg","text":"TemporaryFile(/tmp/multipartBody1575944568540477055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_24_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1498f371cfca7a07178d73b4bfc8aac.jpg","text":"TemporaryFile(/tmp/multipartBody4726156911044278000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019304888,"filename":"image_30102025_05_17_08_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679680","file1":"1391679677","file0":"1391679675","file4":"1391679686","file5":"1391679691","file3":"1391679682"},"map_files_photo_id_array":[{"photo_id":"1391679691","filename":"file5"},{"photo_id":"1391679680","filename":"file2"},{"photo_id":"1391679686","filename":"file4"},{"photo_id":"1391679677","filename":"file1"},{"photo_id":"1391679675","filename":"file0"},{"photo_id":"1391679682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679675":["hashtag1","hashtag2"]},{"1391679680":["hashtag1","hashtag2"]},{"1391679677":["hashtag1","hashtag2"]},{"1391679686":["hashtag1","hashtag2"]},{"1391679691":["hashtag1","hashtag2"]},{"1391679682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679675, 1391679680, 1391679677, 1391679686, 1391679691, 1391679682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13199043273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:48:03.062439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_26_2670.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_30_3692.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_36_2565.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_39_3664.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_42_2790.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_45_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_26_2670.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_30_3692.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_36_2565.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_39_3664.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_42_2790.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_45_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679700","1391679702","1391679710","1391679707","1391679701","1391679704"],"photo_ids_order":["1391679700","1391679701","1391679702","1391679704","1391679707","1391679710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9789b2accbf4275719495904b6e7ab51.jpg","text":"TemporaryFile(/tmp/multipartBody2518224703214608005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_26_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51dc7348c8ff68b3c78cbc1863712e42.jpg","text":"TemporaryFile(/tmp/multipartBody5211015695665403300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_36_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/793c2cf892d17dd0b265e3464dbe229e.jpg","text":"TemporaryFile(/tmp/multipartBody8736428906893797080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_45_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69ba4720e3b9c1ed050db6a42c479db4.jpg","text":"TemporaryFile(/tmp/multipartBody4885683836370889647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_42_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d95868ece1a4cf7c0616f2c4606cc70.jpg","text":"TemporaryFile(/tmp/multipartBody53669106810667761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_30_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96a89594c7bbbc658a8917aeeb29b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5068808157073052863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019345295,"filename":"image_30102025_05_17_39_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679702","file1":"1391679701","file0":"1391679700","file4":"1391679707","file5":"1391679710","file3":"1391679704"},"map_files_photo_id_array":[{"photo_id":"1391679710","filename":"file5"},{"photo_id":"1391679702","filename":"file2"},{"photo_id":"1391679707","filename":"file4"},{"photo_id":"1391679701","filename":"file1"},{"photo_id":"1391679700","filename":"file0"},{"photo_id":"1391679704","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679700":["hashtag1","hashtag2"]},{"1391679702":["hashtag1","hashtag2"]},{"1391679710":["hashtag1","hashtag2"]},{"1391679707":["hashtag1","hashtag2"]},{"1391679701":["hashtag1","hashtag2"]},{"1391679704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679700, 1391679702, 1391679710, 1391679707, 1391679701, 1391679704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79192852973938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:48:42.829456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_47_2694.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_50_2881.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_54_3863.jpg', '/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_57_2701.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_03_3602.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_06_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_47_2694.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_50_2881.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_54_3863.jpg
/home/pi/Desktop/images/30102025/05/17/image_30102025_05_17_57_2701.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_03_3602.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_06_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679715","1391679717","1391679719","1391679728","1391679722","1391679724"],"photo_ids_order":["1391679715","1391679717","1391679719","1391679722","1391679724","1391679728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57758cf85e4c9b297aa10f462f4e4e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8346592589892106403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_17_47_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb341014e70819fb3b583bf748ec8b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8646464634334727800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_17_50_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79647a7c1b0300349936d03b89522323.jpg","text":"TemporaryFile(/tmp/multipartBody5441814166342647101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_17_54_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89a343f033e3782aba8d95104a912842.jpg","text":"TemporaryFile(/tmp/multipartBody1855522547291177707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_18_06_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ec6eeee78829e2fe0eb6287ed0d0572.jpg","text":"TemporaryFile(/tmp/multipartBody3671588429563688978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_17_57_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd54e77baf7ac25327fa66aaa4b44e42.jpg","text":"TemporaryFile(/tmp/multipartBody1975998798351216394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019384166,"filename":"image_30102025_05_18_03_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679719","file1":"1391679717","file0":"1391679715","file4":"1391679724","file5":"1391679728","file3":"1391679722"},"map_files_photo_id_array":[{"photo_id":"1391679728","filename":"file5"},{"photo_id":"1391679719","filename":"file2"},{"photo_id":"1391679724","filename":"file4"},{"photo_id":"1391679717","filename":"file1"},{"photo_id":"1391679715","filename":"file0"},{"photo_id":"1391679722","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679715":["hashtag1","hashtag2"]},{"1391679717":["hashtag1","hashtag2"]},{"1391679719":["hashtag1","hashtag2"]},{"1391679728":["hashtag1","hashtag2"]},{"1391679722":["hashtag1","hashtag2"]},{"1391679724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679715, 1391679717, 1391679719, 1391679728, 1391679722, 1391679724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53263759613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:49:41.980319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_08_2532.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_12_3747.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_15_2610.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_17_2826.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_21_3544.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_24_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_08_2532.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_12_3747.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_15_2610.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_17_2826.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_21_3544.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_24_2711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2016589641571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:50:02.631261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_08_2532.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_12_3747.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_15_2610.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_17_2826.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_21_3544.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_24_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_08_2532.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_12_3747.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_15_2610.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_17_2826.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_21_3544.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_24_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679761","1391679764","1391679767","1391679772","1391679775","1391679769"],"photo_ids_order":["1391679761","1391679764","1391679767","1391679769","1391679772","1391679775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79ae1ba5e8769cf31f79919caafbbc10.jpg","text":"TemporaryFile(/tmp/multipartBody1553668517690639674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_08_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a0d885d1431cbd5a35b0a827e959390.jpg","text":"TemporaryFile(/tmp/multipartBody654619652118510825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_12_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/998a0ce4aeaf62c245ec5b8e00303afd.jpg","text":"TemporaryFile(/tmp/multipartBody5720498083680959910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_15_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a89d9386852cfa8eb6227b7ec6e7f45d.jpg","text":"TemporaryFile(/tmp/multipartBody1692375441094860152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_21_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/785220e73c36c3840e63fda01d0adbe5.jpg","text":"TemporaryFile(/tmp/multipartBody3098366965785742521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_24_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84eab3be2c254a03119bc53ce73334c1.jpg","text":"TemporaryFile(/tmp/multipartBody7620911795805583302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019464794,"filename":"image_30102025_05_18_17_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679767","file1":"1391679764","file0":"1391679761","file4":"1391679772","file5":"1391679775","file3":"1391679769"},"map_files_photo_id_array":[{"photo_id":"1391679775","filename":"file5"},{"photo_id":"1391679767","filename":"file2"},{"photo_id":"1391679772","filename":"file4"},{"photo_id":"1391679764","filename":"file1"},{"photo_id":"1391679761","filename":"file0"},{"photo_id":"1391679769","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679761":["hashtag1","hashtag2"]},{"1391679764":["hashtag1","hashtag2"]},{"1391679767":["hashtag1","hashtag2"]},{"1391679772":["hashtag1","hashtag2"]},{"1391679775":["hashtag1","hashtag2"]},{"1391679769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679761, 1391679764, 1391679767, 1391679772, 1391679775, 1391679769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88651490211487 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:51:02.958184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_26_2584.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_30_3688.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_33_2680.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_35_2554.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_39_3748.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_42_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_26_2584.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_30_3688.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_33_2680.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_35_2554.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_39_3748.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_42_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679798","1391679801","1391679812","1391679806","1391679809","1391679803"],"photo_ids_order":["1391679798","1391679801","1391679803","1391679806","1391679809","1391679812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf2e2a708ef7cb419aa50e39c56cec63.jpg","text":"TemporaryFile(/tmp/multipartBody2079636172325629336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_26_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/199485bf0904901ad43fc8e7adfecb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5989052959229445766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_30_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/958a44c1369c35d2dbfc39e3d1d8512d.jpg","text":"TemporaryFile(/tmp/multipartBody738177610726577835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_42_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f53352d8bb684d17eed722150034f029.jpg","text":"TemporaryFile(/tmp/multipartBody8739345943062587464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_35_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d2cc485822d9600488affcf19aae82c.jpg","text":"TemporaryFile(/tmp/multipartBody8744635945104696146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_39_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/455d59ef096dc5be1fc922fecc53db78.jpg","text":"TemporaryFile(/tmp/multipartBody951675571355344149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019525331,"filename":"image_30102025_05_18_33_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679803","file1":"1391679801","file0":"1391679798","file4":"1391679809","file5":"1391679812","file3":"1391679806"},"map_files_photo_id_array":[{"photo_id":"1391679812","filename":"file5"},{"photo_id":"1391679803","filename":"file2"},{"photo_id":"1391679809","filename":"file4"},{"photo_id":"1391679801","filename":"file1"},{"photo_id":"1391679798","filename":"file0"},{"photo_id":"1391679806","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679798":["hashtag1","hashtag2"]},{"1391679801":["hashtag1","hashtag2"]},{"1391679812":["hashtag1","hashtag2"]},{"1391679806":["hashtag1","hashtag2"]},{"1391679809":["hashtag1","hashtag2"]},{"1391679803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679798, 1391679801, 1391679812, 1391679806, 1391679809, 1391679803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39376902580261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:51:42.358243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_44_2626.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_48_3607.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_51_2765.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_53_2708.jpg', '/home/pi/Desktop/images/30102025/05/18/image_30102025_05_19_00_2786.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_03_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_44_2626.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_48_3607.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_51_2765.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_18_53_2708.jpg
/home/pi/Desktop/images/30102025/05/18/image_30102025_05_19_00_2786.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_03_2846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679819","1391679827","1391679832","1391679835","1391679838","1391679823"],"photo_ids_order":["1391679819","1391679823","1391679827","1391679832","1391679835","1391679838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3f38913cd209aca25bae47408cf5f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5038390368534005504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_18_44_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/630bf9fb9294fb7ec612a521e9c2f107.jpg","text":"TemporaryFile(/tmp/multipartBody3896284715968848450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_18_51_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74e3492ba7bfaf6bcd0c730bd1119cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1069012772804370963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_18_53_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37990a6aec1f186325ca529dbb96a5a8.jpg","text":"TemporaryFile(/tmp/multipartBody8368943772807709446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_19_00_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddc61d7bdff1620f45be301ecfddf5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2308527969487620335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_19_03_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a091650a5fbece1e151e462c7f322e76.jpg","text":"TemporaryFile(/tmp/multipartBody611487715534824631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019563655,"filename":"image_30102025_05_18_48_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679827","file1":"1391679823","file0":"1391679819","file4":"1391679835","file5":"1391679838","file3":"1391679832"},"map_files_photo_id_array":[{"photo_id":"1391679838","filename":"file5"},{"photo_id":"1391679827","filename":"file2"},{"photo_id":"1391679835","filename":"file4"},{"photo_id":"1391679823","filename":"file1"},{"photo_id":"1391679819","filename":"file0"},{"photo_id":"1391679832","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679819":["hashtag1","hashtag2"]},{"1391679827":["hashtag1","hashtag2"]},{"1391679832":["hashtag1","hashtag2"]},{"1391679835":["hashtag1","hashtag2"]},{"1391679838":["hashtag1","hashtag2"]},{"1391679823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679819, 1391679827, 1391679832, 1391679835, 1391679838, 1391679823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06932759284973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 18:52:42.846586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_05_2783.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_08_2662.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_11_3072.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_15_3748.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_18_2853.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_21_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_05_2783.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_08_2662.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_11_3072.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_15_3748.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_18_2853.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_21_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679854","1391679863","1391679866","1391679865","1391679859","1391679868"],"photo_ids_order":["1391679854","1391679859","1391679863","1391679865","1391679866","1391679868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1b5ecbc9b44de0a35661a3f48e432e4.jpg","text":"TemporaryFile(/tmp/multipartBody7963645348660612510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_05_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07fab34793b77ed19298457192b5f3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7904222522581564851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_11_3072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff96d787d4acc79a086353353c222ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2328787966320349324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_18_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37da13500836d0fa408e6ad12b4da8d6.jpg","text":"TemporaryFile(/tmp/multipartBody5619400220345610241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_15_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc8f3b41ae86c9c8cdbe0cad891dcaf3.jpg","text":"TemporaryFile(/tmp/multipartBody2024268184628270718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_08_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fd06c8662ed07252033f910cc9ba01a.jpg","text":"TemporaryFile(/tmp/multipartBody1162017385577840117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019624128,"filename":"image_30102025_05_19_21_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679863","file1":"1391679859","file0":"1391679854","file4":"1391679866","file5":"1391679868","file3":"1391679865"},"map_files_photo_id_array":[{"photo_id":"1391679868","filename":"file5"},{"photo_id":"1391679863","filename":"file2"},{"photo_id":"1391679866","filename":"file4"},{"photo_id":"1391679859","filename":"file1"},{"photo_id":"1391679854","filename":"file0"},{"photo_id":"1391679865","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679854":["hashtag1","hashtag2"]},{"1391679863":["hashtag1","hashtag2"]},{"1391679866":["hashtag1","hashtag2"]},{"1391679865":["hashtag1","hashtag2"]},{"1391679859":["hashtag1","hashtag2"]},{"1391679868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679854, 1391679863, 1391679866, 1391679865, 1391679859, 1391679868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.485260009765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 18:53:22.038487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_23_2824.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_26_2651.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_30_3784.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_33_2677.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_35_2845.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_39_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_23_2824.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_26_2651.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_30_3784.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_33_2677.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_35_2845.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_39_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679882","1391679876","1391679885","1391679879","1391679889","1391679880"],"photo_ids_order":["1391679876","1391679879","1391679880","1391679882","1391679885","1391679889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34758be048ddfdc24b52b5cd75640626.jpg","text":"TemporaryFile(/tmp/multipartBody7940470001945006331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_33_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5768550f53df22fda5cb9ee29b195d7.jpg","text":"TemporaryFile(/tmp/multipartBody380540367117660768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_23_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdbc358da4fc67421aa8a2399681b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4611321980907204121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_35_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f471434bec179c30768d4fc59d650bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6815639500110700073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_26_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0866210571273bf9e1bf3c8bc187d62.jpg","text":"TemporaryFile(/tmp/multipartBody7320451608509197795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_39_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec1c899e84fda41ac6802151c10dfe82.jpg","text":"TemporaryFile(/tmp/multipartBody2185439563392668517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019664937,"filename":"image_30102025_05_19_30_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679880","file1":"1391679879","file0":"1391679876","file4":"1391679885","file5":"1391679889","file3":"1391679882"},"map_files_photo_id_array":[{"photo_id":"1391679889","filename":"file5"},{"photo_id":"1391679880","filename":"file2"},{"photo_id":"1391679885","filename":"file4"},{"photo_id":"1391679879","filename":"file1"},{"photo_id":"1391679876","filename":"file0"},{"photo_id":"1391679882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679882":["hashtag1","hashtag2"]},{"1391679876":["hashtag1","hashtag2"]},{"1391679885":["hashtag1","hashtag2"]},{"1391679879":["hashtag1","hashtag2"]},{"1391679889":["hashtag1","hashtag2"]},{"1391679880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679882, 1391679876, 1391679885, 1391679879, 1391679889, 1391679880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27617383003235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:54:02.865610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_42_2557.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_44_2596.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_48_3645.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_50_2726.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_53_2623.jpg', '/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_57_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_42_2557.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_44_2596.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_48_3645.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_50_2726.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_53_2623.jpg
/home/pi/Desktop/images/30102025/05/19/image_30102025_05_19_57_3730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679912","1391679906","1391679909","1391679903","1391679898","1391679901"],"photo_ids_order":["1391679898","1391679901","1391679903","1391679906","1391679909","1391679912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dc380ca850d371be2255786349a8172.jpg","text":"TemporaryFile(/tmp/multipartBody6482378507346183251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_57_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83175ece81e0d97506ff6454859932d3.jpg","text":"TemporaryFile(/tmp/multipartBody3638264034565027054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_50_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e2355de71318c86b8f9b2da736919a.jpg","text":"TemporaryFile(/tmp/multipartBody6259627635652747219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_53_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b843627e4cd3166084d36a1fe577069.jpg","text":"TemporaryFile(/tmp/multipartBody5102327891662991338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_48_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8903e8648946761c6800ee45e3b6a87.jpg","text":"TemporaryFile(/tmp/multipartBody8195949855861141373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_42_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da517ff1829ba1e4b16050fd0f287546.jpg","text":"TemporaryFile(/tmp/multipartBody3672273084753272707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019706962,"filename":"image_30102025_05_19_44_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679903","file1":"1391679901","file0":"1391679898","file4":"1391679909","file5":"1391679912","file3":"1391679906"},"map_files_photo_id_array":[{"photo_id":"1391679912","filename":"file5"},{"photo_id":"1391679903","filename":"file2"},{"photo_id":"1391679909","filename":"file4"},{"photo_id":"1391679901","filename":"file1"},{"photo_id":"1391679898","filename":"file0"},{"photo_id":"1391679906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679912":["hashtag1","hashtag2"]},{"1391679906":["hashtag1","hashtag2"]},{"1391679909":["hashtag1","hashtag2"]},{"1391679903":["hashtag1","hashtag2"]},{"1391679898":["hashtag1","hashtag2"]},{"1391679901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679912, 1391679906, 1391679909, 1391679903, 1391679898, 1391679901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48200297355652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:55:03.200509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_02_2609.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_06_3643.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_09_2823.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_11_2833.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_15_3534.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_18_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_02_2609.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_06_3643.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_09_2823.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_11_2833.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_15_3534.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_18_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679948","1391679933","1391679953","1391679940","1391679943","1391679937"],"photo_ids_order":["1391679933","1391679937","1391679940","1391679943","1391679948","1391679953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba3f80531f8867992b9a54caa4d461dc.jpg","text":"TemporaryFile(/tmp/multipartBody3218867190495609032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_15_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4e21a3385e9866f83a095656d618e02.jpg","text":"TemporaryFile(/tmp/multipartBody4179994760940061458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_02_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07d37a2bd058604bdbb0d1815772b463.jpg","text":"TemporaryFile(/tmp/multipartBody7565422394447249646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_18_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a145f2a9b75b352352edd956e4590c08.jpg","text":"TemporaryFile(/tmp/multipartBody8408288270791916229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_09_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df76a81c26bd0230a9a4f56e7ca5b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody5818809392612242862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_11_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e80efbc97dddfb7640f7e2421fd7e40d.jpg","text":"TemporaryFile(/tmp/multipartBody3257025659788911141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019765547,"filename":"image_30102025_05_20_06_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679940","file1":"1391679937","file0":"1391679933","file4":"1391679948","file5":"1391679953","file3":"1391679943"},"map_files_photo_id_array":[{"photo_id":"1391679953","filename":"file5"},{"photo_id":"1391679940","filename":"file2"},{"photo_id":"1391679948","filename":"file4"},{"photo_id":"1391679937","filename":"file1"},{"photo_id":"1391679933","filename":"file0"},{"photo_id":"1391679943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679948":["hashtag1","hashtag2"]},{"1391679933":["hashtag1","hashtag2"]},{"1391679953":["hashtag1","hashtag2"]},{"1391679940":["hashtag1","hashtag2"]},{"1391679943":["hashtag1","hashtag2"]},{"1391679937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679948, 1391679933, 1391679953, 1391679940, 1391679943, 1391679937)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.78728723526001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:56:03.199382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_24_3630.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_27_2864.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_29_2704.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_33_3571.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_36_2822.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_38_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_24_3630.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_27_2864.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_29_2704.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_33_3571.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_36_2822.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_38_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391679984","1391679989","1391679980","1391679974","1391679977","1391679999"],"photo_ids_order":["1391679974","1391679977","1391679980","1391679984","1391679989","1391679999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1bf02fe94b5ee9bc8e12c6693ebe6e2.jpg","text":"TemporaryFile(/tmp/multipartBody7489721280536108610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_33_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1633011c4d852fe20ef3eeee1b1a0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2854300615124665498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_36_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5f05d790eae3b2d263758cf8c64e951.jpg","text":"TemporaryFile(/tmp/multipartBody5746430972429776482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_29_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be16d7453d22f7586e6678a8e3d59d82.jpg","text":"TemporaryFile(/tmp/multipartBody8542132423357379672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_24_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db020d03566e7189375d6f88f358c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2805414417007956614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_27_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c194a0877007f6dd4faec62942411cd.jpg","text":"TemporaryFile(/tmp/multipartBody3179108311600117626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019830916,"filename":"image_30102025_05_20_38_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391679980","file1":"1391679977","file0":"1391679974","file4":"1391679989","file5":"1391679999","file3":"1391679984"},"map_files_photo_id_array":[{"photo_id":"1391679999","filename":"file5"},{"photo_id":"1391679980","filename":"file2"},{"photo_id":"1391679989","filename":"file4"},{"photo_id":"1391679977","filename":"file1"},{"photo_id":"1391679974","filename":"file0"},{"photo_id":"1391679984","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391679984":["hashtag1","hashtag2"]},{"1391679989":["hashtag1","hashtag2"]},{"1391679980":["hashtag1","hashtag2"]},{"1391679974":["hashtag1","hashtag2"]},{"1391679977":["hashtag1","hashtag2"]},{"1391679999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391679984, 1391679989, 1391679980, 1391679974, 1391679977, 1391679999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58943223953247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:57:04.957854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_42_3564.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_45_2711.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_47_2580.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_51_3678.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_54_2815.jpg', '/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_56_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_42_3564.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_45_2711.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_47_2580.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_51_3678.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_54_2815.jpg
/home/pi/Desktop/images/30102025/05/20/image_30102025_05_20_56_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391680036","1391680167","1391680074","1391680256","1391680214","1391680115"],"photo_ids_order":["1391680036","1391680074","1391680115","1391680167","1391680214","1391680256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c70e2489e8eef61a6c720eef52d88027.jpg","text":"TemporaryFile(/tmp/multipartBody6197312135675519664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_42_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a850ef684d30d1d6afd858b0c6f9985.jpg","text":"TemporaryFile(/tmp/multipartBody3713119319989159226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_51_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f78221cda8a5af99182e4e805c20b14.jpg","text":"TemporaryFile(/tmp/multipartBody4488923806560322075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_45_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f5f012e5894638087ebb0ea7a0b3480.jpg","text":"TemporaryFile(/tmp/multipartBody3479132294939794254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_56_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bed5f9a1a91b17cac5f449e1ec7a9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8219730168294859611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_54_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/166b068f9cf89a9fde528b29209ba4dc.jpg","text":"TemporaryFile(/tmp/multipartBody3142101866096870144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762019889369,"filename":"image_30102025_05_20_47_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391680115","file1":"1391680074","file0":"1391680036","file4":"1391680214","file5":"1391680256","file3":"1391680167"},"map_files_photo_id_array":[{"photo_id":"1391680256","filename":"file5"},{"photo_id":"1391680115","filename":"file2"},{"photo_id":"1391680214","filename":"file4"},{"photo_id":"1391680074","filename":"file1"},{"photo_id":"1391680036","filename":"file0"},{"photo_id":"1391680167","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391680036":["hashtag1","hashtag2"]},{"1391680167":["hashtag1","hashtag2"]},{"1391680074":["hashtag1","hashtag2"]},{"1391680256":["hashtag1","hashtag2"]},{"1391680214":["hashtag1","hashtag2"]},{"1391680115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391680036, 1391680167, 1391680074, 1391680256, 1391680214, 1391680115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.168028354644775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 18:59:03.879992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_05_2652.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_08_2810.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_12_3678.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_21_2760.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_23_2575.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_26_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_05_2652.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_08_2810.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_12_3678.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_21_2760.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_23_2575.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_26_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391680576","1391680572","1391680568","1391680583","1391680601","1391680579"],"photo_ids_order":["1391680568","1391680572","1391680576","1391680579","1391680583","1391680601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9294a6010303b51ad60ffb87b0d10cc5.jpg","text":"TemporaryFile(/tmp/multipartBody6722302460168998608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_12_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd0cf6ddead62cafcf1a4588f4416dbe.jpg","text":"TemporaryFile(/tmp/multipartBody287959593530194032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_08_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39c8616318506c8cb8614fa152575ff9.jpg","text":"TemporaryFile(/tmp/multipartBody327572992453376112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_05_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/821e562db52093e3171ce9c9400b1157.jpg","text":"TemporaryFile(/tmp/multipartBody5037971826774884425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_23_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06832a212c45110cec42cea20ee548e0.jpg","text":"TemporaryFile(/tmp/multipartBody9042024578092662431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_26_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5304db1a6e2197b0d93c67a8f2060867.jpg","text":"TemporaryFile(/tmp/multipartBody2383228373263518946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020006342,"filename":"image_30102025_05_21_21_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391680576","file1":"1391680572","file0":"1391680568","file4":"1391680583","file5":"1391680601","file3":"1391680579"},"map_files_photo_id_array":[{"photo_id":"1391680601","filename":"file5"},{"photo_id":"1391680576","filename":"file2"},{"photo_id":"1391680583","filename":"file4"},{"photo_id":"1391680572","filename":"file1"},{"photo_id":"1391680568","filename":"file0"},{"photo_id":"1391680579","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391680576":["hashtag1","hashtag2"]},{"1391680572":["hashtag1","hashtag2"]},{"1391680568":["hashtag1","hashtag2"]},{"1391680583":["hashtag1","hashtag2"]},{"1391680601":["hashtag1","hashtag2"]},{"1391680579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391680576, 1391680572, 1391680568, 1391680583, 1391680601, 1391680579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.212554931640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:00:11.186257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:00:50.851961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_30_3669.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_32_2649.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_35_2790.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_39_3642.jpg', '/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_41_2718.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_01_20041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_30_3669.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_32_2649.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_35_2790.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_39_3642.jpg
/home/pi/Desktop/images/30102025/05/21/image_30102025_05_21_41_2718.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_01_20041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391681289","1391681212","1391681373","1391681129","1391681062","1391681065"],"photo_ids_order":["1391681062","1391681065","1391681129","1391681212","1391681289","1391681373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c4d588d5960991b9d2d868dfb1481e3.jpg","text":"TemporaryFile(/tmp/multipartBody2245912760505242227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_21_41_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/205d101e505604798215513b7358dd39.jpg","text":"TemporaryFile(/tmp/multipartBody3683894711933148354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_21_39_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fc5d923e0de10da8361c264744ff935.jpg","text":"TemporaryFile(/tmp/multipartBody7956418788845305543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_22_01_20041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c6d56ac765aa3af675c348790f69d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4703795138371014076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_21_35_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4268ded3bc806be727b2a4be37029f58.jpg","text":"TemporaryFile(/tmp/multipartBody8623043707463895862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_21_30_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d272deb6b81c33e927d5dd8b066148a.jpg","text":"TemporaryFile(/tmp/multipartBody178297197609891119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020112083,"filename":"image_30102025_05_21_32_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391681129","file1":"1391681065","file0":"1391681062","file4":"1391681289","file5":"1391681373","file3":"1391681212"},"map_files_photo_id_array":[{"photo_id":"1391681373","filename":"file5"},{"photo_id":"1391681129","filename":"file2"},{"photo_id":"1391681289","filename":"file4"},{"photo_id":"1391681065","filename":"file1"},{"photo_id":"1391681062","filename":"file0"},{"photo_id":"1391681212","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391681289":["hashtag1","hashtag2"]},{"1391681212":["hashtag1","hashtag2"]},{"1391681373":["hashtag1","hashtag2"]},{"1391681129":["hashtag1","hashtag2"]},{"1391681062":["hashtag1","hashtag2"]},{"1391681065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391681289, 1391681212, 1391681373, 1391681129, 1391681062, 1391681065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.829813718795776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:01:42.121035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_07_6011.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_09_1799.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_11_1822.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_13_1802.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_15_1803.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_16_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_07_6011.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_09_1799.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_11_1822.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_13_1802.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_15_1803.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_16_1694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391681931","1391681712","1391681885","1391681843","1391681797","1391681755"],"photo_ids_order":["1391681712","1391681755","1391681797","1391681843","1391681885","1391681931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/928dbebe2a761c7ef2530b4b931ac954.jpg","text":"TemporaryFile(/tmp/multipartBody883999393598354003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_16_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35a63c4fbc2700053b37a0d5051de3a6.jpg","text":"TemporaryFile(/tmp/multipartBody5701496047098002306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_07_6011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b84c4f1c447cc780aaac45dfb33ab9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1314385724593112048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_15_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d3af2fc5cbd8127911d1091c9f9b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6460120472460696389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_13_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53350a213547d2253a324c0cda39d57e.jpg","text":"TemporaryFile(/tmp/multipartBody454178653056611338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_11_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6503ba0359308d7aaa07eaa1e3e3cea.jpg","text":"TemporaryFile(/tmp/multipartBody4775166035776021055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020163398,"filename":"image_30102025_05_22_09_1799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391681797","file1":"1391681755","file0":"1391681712","file4":"1391681885","file5":"1391681931","file3":"1391681843"},"map_files_photo_id_array":[{"photo_id":"1391681931","filename":"file5"},{"photo_id":"1391681797","filename":"file2"},{"photo_id":"1391681885","filename":"file4"},{"photo_id":"1391681755","filename":"file1"},{"photo_id":"1391681712","filename":"file0"},{"photo_id":"1391681843","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391681931":["hashtag1","hashtag2"]},{"1391681712":["hashtag1","hashtag2"]},{"1391681885":["hashtag1","hashtag2"]},{"1391681843":["hashtag1","hashtag2"]},{"1391681797":["hashtag1","hashtag2"]},{"1391681755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391681931, 1391681712, 1391681885, 1391681843, 1391681797, 1391681755)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.20365238189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:02:42.268649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:03:06.285879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:03:25.541298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_18_1547.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_20_1614.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_21_1549.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_23_1787.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_26_1610.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_28_1951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_18_1547.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_20_1614.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_21_1549.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_23_1787.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_26_1610.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_28_1951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391682284","1391682292","1391682286","1391682288","1391682297","1391682282"],"photo_ids_order":["1391682282","1391682284","1391682286","1391682288","1391682292","1391682297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/324b30604e7357356912f5cc4a8f0659.jpg","text":"TemporaryFile(/tmp/multipartBody1240461276303038706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_20_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5fa2238a27d4003bc4a43507c45f72c.jpg","text":"TemporaryFile(/tmp/multipartBody6357965263169492351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_26_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/359a0885754afc2219775cf8789f3273.jpg","text":"TemporaryFile(/tmp/multipartBody5514937466745568080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_21_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/779ceb447e8e05b435644773404cdc8d.jpg","text":"TemporaryFile(/tmp/multipartBody383155047224405259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_23_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f526b9588bea57b713f94a5e11176f69.jpg","text":"TemporaryFile(/tmp/multipartBody2602335703606946335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_28_1951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31bff64ccd0e9a85bcb919a7d5049a24.jpg","text":"TemporaryFile(/tmp/multipartBody4550904063105543384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020268312,"filename":"image_30102025_05_22_18_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391682286","file1":"1391682284","file0":"1391682282","file4":"1391682292","file5":"1391682297","file3":"1391682288"},"map_files_photo_id_array":[{"photo_id":"1391682297","filename":"file5"},{"photo_id":"1391682286","filename":"file2"},{"photo_id":"1391682292","filename":"file4"},{"photo_id":"1391682284","filename":"file1"},{"photo_id":"1391682282","filename":"file0"},{"photo_id":"1391682288","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391682284":["hashtag1","hashtag2"]},{"1391682292":["hashtag1","hashtag2"]},{"1391682286":["hashtag1","hashtag2"]},{"1391682288":["hashtag1","hashtag2"]},{"1391682297":["hashtag1","hashtag2"]},{"1391682282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391682284, 1391682292, 1391682286, 1391682288, 1391682297, 1391682282)","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 = 1391682286 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_21_1549.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.03010511398315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:04:41.914030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391682648","1391682606","1391682770","1391682688","1391682559","1391682730"],"photo_ids_order":["1391682559","1391682606","1391682648","1391682688","1391682730","1391682770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bf8b2fa233cf2aeb9cafa6de9664656.jpg","text":"TemporaryFile(/tmp/multipartBody7290188510134465717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_33_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f09d36183fae41e1dde8a9a2abc63baa.jpg","text":"TemporaryFile(/tmp/multipartBody7131021320138068871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_31_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f85d03097e1c73ab0c22374ae9f6dab.jpg","text":"TemporaryFile(/tmp/multipartBody7803449959699564030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_47_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/743dea988066f75294aca66aa71649f7.jpg","text":"TemporaryFile(/tmp/multipartBody5228222050925933110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/317122765eafc159db9dbf98859b36a8.jpg","text":"TemporaryFile(/tmp/multipartBody1198265210140331162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_30_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41df57a6d50670f7d4787ef6f6d943b6.jpg","text":"TemporaryFile(/tmp/multipartBody8912748112908241034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020343150,"filename":"image_30102025_05_22_45_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391682648","file1":"1391682606","file0":"1391682559","file4":"1391682730","file5":"1391682770","file3":"1391682688"},"map_files_photo_id_array":[{"photo_id":"1391682770","filename":"file5"},{"photo_id":"1391682648","filename":"file2"},{"photo_id":"1391682730","filename":"file4"},{"photo_id":"1391682606","filename":"file1"},{"photo_id":"1391682559","filename":"file0"},{"photo_id":"1391682688","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391682648":["hashtag1","hashtag2"]},{"1391682606":["hashtag1","hashtag2"]},{"1391682770":["hashtag1","hashtag2"]},{"1391682688":["hashtag1","hashtag2"]},{"1391682559":["hashtag1","hashtag2"]},{"1391682730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391682648, 1391682606, 1391682770, 1391682688, 1391682559, 1391682730)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391682648 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391682648 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg";
uploaded 6 photos
time to upload: 61.79203534126282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:06:02.301175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:06:43.895512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg
2025-11-01 19:06:43.895512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_30_1623.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_31_1556.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_36_2700.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_45_3579.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_47_2519.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391682947","1391682967","1391682952","1391682960","1391682963","1391682957"],"photo_ids_order":["1391682947","1391682952","1391682957","1391682960","1391682963","1391682967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50a34776da9e4e7196e33657d1ac8256.jpg","text":"TemporaryFile(/tmp/multipartBody5741955471728179833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_30_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36dfb710eb2b13725952b7dd84baf7de.jpg","text":"TemporaryFile(/tmp/multipartBody9051085056859542683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_47_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7badcd22acd0e90c5ac7aac605f31546.jpg","text":"TemporaryFile(/tmp/multipartBody1745261382114705411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_31_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c8cacdd949532718b416c9f2f1abdae.jpg","text":"TemporaryFile(/tmp/multipartBody1208832792974383680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab95b22e406af1be44a0ed263a1839a9.jpg","text":"TemporaryFile(/tmp/multipartBody842879334855855654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_45_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/331e5b766dabef4ff2f91ef69cf73cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4728823581671748737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020465167,"filename":"image_30102025_05_22_33_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391682957","file1":"1391682952","file0":"1391682947","file4":"1391682963","file5":"1391682967","file3":"1391682960"},"map_files_photo_id_array":[{"photo_id":"1391682967","filename":"file5"},{"photo_id":"1391682957","filename":"file2"},{"photo_id":"1391682963","filename":"file4"},{"photo_id":"1391682952","filename":"file1"},{"photo_id":"1391682947","filename":"file0"},{"photo_id":"1391682960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391682947":["hashtag1","hashtag2"]},{"1391682967":["hashtag1","hashtag2"]},{"1391682952":["hashtag1","hashtag2"]},{"1391682960":["hashtag1","hashtag2"]},{"1391682963":["hashtag1","hashtag2"]},{"1391682957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391682947, 1391682967, 1391682952, 1391682960, 1391682963, 1391682957)","result":[],"list_datou_current":[]}'
Result OK !
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391682966","1391682954","1391682971","1391682958","1391682961","1391682949"],"photo_ids_order":["1391682949","1391682954","1391682958","1391682961","1391682966","1391682971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96f5e0cfae740b0861acb098cb6d13f4.jpg","text":"TemporaryFile(/tmp/multipartBody8023287690848969663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_45_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2f0e8c2d8e23baf9954c521ef7cac32.jpg","text":"TemporaryFile(/tmp/multipartBody871888293877236471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_31_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a59bc0bffb1beb9da7bbe737fcb5aec4.jpg","text":"TemporaryFile(/tmp/multipartBody1623120888172873363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_47_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da2a3b53545d412395455b55983f59ed.jpg","text":"TemporaryFile(/tmp/multipartBody5943163558497954013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_33_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8fe219fef1efeda60dd181cefa4829dd.jpg","text":"TemporaryFile(/tmp/multipartBody3883990365665403443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3836874808e8c99f1979ef9b360c1d1.jpg","text":"TemporaryFile(/tmp/multipartBody4380992992414077231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020466712,"filename":"image_30102025_05_22_30_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391682958","file1":"1391682954","file0":"1391682949","file4":"1391682966","file5":"1391682971","file3":"1391682961"},"map_files_photo_id_array":[{"photo_id":"1391682971","filename":"file5"},{"photo_id":"1391682958","filename":"file2"},{"photo_id":"1391682966","filename":"file4"},{"photo_id":"1391682954","filename":"file1"},{"photo_id":"1391682949","filename":"file0"},{"photo_id":"1391682961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391682966":["hashtag1","hashtag2"]},{"1391682954":["hashtag1","hashtag2"]},{"1391682971":["hashtag1","hashtag2"]},{"1391682958":["hashtag1","hashtag2"]},{"1391682961":["hashtag1","hashtag2"]},{"1391682949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391682966, 1391682954, 1391682971, 1391682958, 1391682961, 1391682949)","result":[],"list_datou_current":[]}'
Result OK !
 val : 2 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391682957 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.46290469169617 secondes ---
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391682958 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_33_1650.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.895389556884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:08:02.740597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_50_2749.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_53_3676.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_56_2690.jpg', '/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_59_2655.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_03_3682.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_05_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_50_2749.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_53_3676.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_56_2690.jpg
/home/pi/Desktop/images/30102025/05/22/image_30102025_05_22_59_2655.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_03_3682.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_05_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683002","1391683010","1391683004","1391683013","1391683006","1391682999"],"photo_ids_order":["1391682999","1391683002","1391683004","1391683006","1391683010","1391683013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5651bee38854174e72878b21da405092.jpg","text":"TemporaryFile(/tmp/multipartBody7136156939575227025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_22_53_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b79a20cd27eb1941b5d2e761910b66e.jpg","text":"TemporaryFile(/tmp/multipartBody4863739617267966148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_23_03_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91d7c4e0d9cac2c11a93ebbc69bf9124.jpg","text":"TemporaryFile(/tmp/multipartBody5412649688771870060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_22_56_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80ea43432f2e6d410fd028720816d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody7321121663174537925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_23_05_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da25ff9c8a82af121e4894ecec8042b1.jpg","text":"TemporaryFile(/tmp/multipartBody6915932587572155325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_22_59_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d5a29d9cb51c7e2b540c8c56e95a0c20.jpg","text":"TemporaryFile(/tmp/multipartBody144543837608399833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020546518,"filename":"image_30102025_05_22_50_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683004","file1":"1391683002","file0":"1391682999","file4":"1391683010","file5":"1391683013","file3":"1391683006"},"map_files_photo_id_array":[{"photo_id":"1391683013","filename":"file5"},{"photo_id":"1391683004","filename":"file2"},{"photo_id":"1391683010","filename":"file4"},{"photo_id":"1391683002","filename":"file1"},{"photo_id":"1391682999","filename":"file0"},{"photo_id":"1391683006","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683002":["hashtag1","hashtag2"]},{"1391683010":["hashtag1","hashtag2"]},{"1391683004":["hashtag1","hashtag2"]},{"1391683013":["hashtag1","hashtag2"]},{"1391683006":["hashtag1","hashtag2"]},{"1391682999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683002, 1391683010, 1391683004, 1391683013, 1391683006, 1391682999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.725226163864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:09:02.954431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_09_3586.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_11_2648.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_18_3715.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_20_2577.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_23_2945.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_26_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_09_3586.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_11_2648.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_18_3715.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_20_2577.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_23_2945.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_26_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683034","1391683027","1391683030","1391683024","1391683041","1391683038"],"photo_ids_order":["1391683024","1391683027","1391683030","1391683034","1391683038","1391683041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56bb883ac9e1b0c9e9ca70b4319a9021.jpg","text":"TemporaryFile(/tmp/multipartBody1719303308038410737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_20_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4627c964faa3dfdc72d75e6109fdd608.jpg","text":"TemporaryFile(/tmp/multipartBody6533474173538062975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_11_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdac877b773524a32ccaf69faf5d9339.jpg","text":"TemporaryFile(/tmp/multipartBody284158273244198730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_18_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e18641e25076ef6714c68746a7e7ee34.jpg","text":"TemporaryFile(/tmp/multipartBody1122104793491151070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_09_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0971cae44e4cff44e932ea2d33229e8.jpg","text":"TemporaryFile(/tmp/multipartBody3767617113638622547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_26_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30c9bd8c594c2aac8a090b813e6220bf.jpg","text":"TemporaryFile(/tmp/multipartBody1677482013903537592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020605190,"filename":"image_30102025_05_23_23_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683030","file1":"1391683027","file0":"1391683024","file4":"1391683038","file5":"1391683041","file3":"1391683034"},"map_files_photo_id_array":[{"photo_id":"1391683041","filename":"file5"},{"photo_id":"1391683030","filename":"file2"},{"photo_id":"1391683038","filename":"file4"},{"photo_id":"1391683027","filename":"file1"},{"photo_id":"1391683024","filename":"file0"},{"photo_id":"1391683034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683034":["hashtag1","hashtag2"]},{"1391683027":["hashtag1","hashtag2"]},{"1391683030":["hashtag1","hashtag2"]},{"1391683024":["hashtag1","hashtag2"]},{"1391683041":["hashtag1","hashtag2"]},{"1391683038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683034, 1391683027, 1391683030, 1391683024, 1391683041, 1391683038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74235510826111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:10:02.983248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_29_2803.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_32_3650.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_35_2612.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_38_2883.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_44_2591.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_47_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_29_2803.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_32_3650.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_35_2612.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_38_2883.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_44_2591.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_47_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683070","1391683067","1391683064","1391683060","1391683074","1391683071"],"photo_ids_order":["1391683060","1391683064","1391683067","1391683070","1391683071","1391683074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6655328c0810b93ca402f0c6425c0fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2111149005795466511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_38_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8580ee20d9c892f29e40e5e08e18d10.jpg","text":"TemporaryFile(/tmp/multipartBody8586425683059039512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_35_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62b839500d28044170c2fe391e4f4296.jpg","text":"TemporaryFile(/tmp/multipartBody4688935878034157328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_32_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78e709f849d29c6dbbd918fa0e4543e4.jpg","text":"TemporaryFile(/tmp/multipartBody4188671405389968895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_29_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93521b067a6533baf960241ad3dd95fb.jpg","text":"TemporaryFile(/tmp/multipartBody3958305020869147068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_47_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3090a0426654fd4da3c5cac18ea06cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6040513499496305360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020672844,"filename":"image_30102025_05_23_44_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683067","file1":"1391683064","file0":"1391683060","file4":"1391683071","file5":"1391683074","file3":"1391683070"},"map_files_photo_id_array":[{"photo_id":"1391683074","filename":"file5"},{"photo_id":"1391683067","filename":"file2"},{"photo_id":"1391683071","filename":"file4"},{"photo_id":"1391683064","filename":"file1"},{"photo_id":"1391683060","filename":"file0"},{"photo_id":"1391683070","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683070":["hashtag1","hashtag2"]},{"1391683067":["hashtag1","hashtag2"]},{"1391683064":["hashtag1","hashtag2"]},{"1391683060":["hashtag1","hashtag2"]},{"1391683074":["hashtag1","hashtag2"]},{"1391683071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683070, 1391683067, 1391683064, 1391683060, 1391683074, 1391683071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.699172258377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:11:03.378738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_50_3547.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_53_2615.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_56_2778.jpg', '/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_59_3655.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_02_2583.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_05_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_50_3547.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_53_2615.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_56_2778.jpg
/home/pi/Desktop/images/30102025/05/23/image_30102025_05_23_59_3655.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_02_2583.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_05_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683107","1391683097","1391683093","1391683100","1391683095","1391683104"],"photo_ids_order":["1391683093","1391683095","1391683097","1391683100","1391683104","1391683107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa7836f42430039f40cb93970db536ca.jpg","text":"TemporaryFile(/tmp/multipartBody8249784411818164805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_24_05_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04a0b744d6516f90ecc0448882a85aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5980132656842014716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_23_56_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1ae56ce6c6e8cf39352967b4f0299a6.jpg","text":"TemporaryFile(/tmp/multipartBody7741254439248035091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_23_50_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dedbb2fd3a32cf93d9523068dbf834f6.jpg","text":"TemporaryFile(/tmp/multipartBody6845255693015498891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_23_59_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4697eb77b7244a65a1a11861c30d591c.jpg","text":"TemporaryFile(/tmp/multipartBody6859404339439476342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_23_53_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2443a94e19881e2aa8ca2128ac554c13.jpg","text":"TemporaryFile(/tmp/multipartBody6713670107766694001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020725676,"filename":"image_30102025_05_24_02_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683097","file1":"1391683095","file0":"1391683093","file4":"1391683104","file5":"1391683107","file3":"1391683100"},"map_files_photo_id_array":[{"photo_id":"1391683107","filename":"file5"},{"photo_id":"1391683097","filename":"file2"},{"photo_id":"1391683104","filename":"file4"},{"photo_id":"1391683095","filename":"file1"},{"photo_id":"1391683093","filename":"file0"},{"photo_id":"1391683100","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683107":["hashtag1","hashtag2"]},{"1391683097":["hashtag1","hashtag2"]},{"1391683093":["hashtag1","hashtag2"]},{"1391683100":["hashtag1","hashtag2"]},{"1391683095":["hashtag1","hashtag2"]},{"1391683104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683107, 1391683097, 1391683093, 1391683100, 1391683095, 1391683104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02768301963806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:12:04.059617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_08_3604.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_11_2571.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_14_3594.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_17_2549.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_20_2660.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_23_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_08_3604.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_11_2571.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_14_3594.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_17_2549.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_20_2660.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_23_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683151","1391683145","1391683154","1391683148","1391683155","1391683143"],"photo_ids_order":["1391683143","1391683145","1391683148","1391683151","1391683154","1391683155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4aa46ae42b1f70fb3fd3dcd210365209.jpg","text":"TemporaryFile(/tmp/multipartBody5646125623590961747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_17_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a046cdcaa4d369b7bbea21b5e0193471.jpg","text":"TemporaryFile(/tmp/multipartBody6722874195435873712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_11_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/900b50ba5652080ea4436f4553078729.jpg","text":"TemporaryFile(/tmp/multipartBody9079976339883455793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_20_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c286be684d17d6b38b9d88bcaeb05384.jpg","text":"TemporaryFile(/tmp/multipartBody740877420889342630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_14_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98f66e03e6cd6e78f39cd478939efbe7.jpg","text":"TemporaryFile(/tmp/multipartBody7068937577803876398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_23_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5adf6af7b91d1dd8c6358c401c42e278.jpg","text":"TemporaryFile(/tmp/multipartBody3013889239457459078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020788750,"filename":"image_30102025_05_24_08_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683148","file1":"1391683145","file0":"1391683143","file4":"1391683154","file5":"1391683155","file3":"1391683151"},"map_files_photo_id_array":[{"photo_id":"1391683155","filename":"file5"},{"photo_id":"1391683148","filename":"file2"},{"photo_id":"1391683154","filename":"file4"},{"photo_id":"1391683145","filename":"file1"},{"photo_id":"1391683143","filename":"file0"},{"photo_id":"1391683151","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683151":["hashtag1","hashtag2"]},{"1391683145":["hashtag1","hashtag2"]},{"1391683154":["hashtag1","hashtag2"]},{"1391683148":["hashtag1","hashtag2"]},{"1391683155":["hashtag1","hashtag2"]},{"1391683143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683151, 1391683145, 1391683154, 1391683148, 1391683155, 1391683143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.248454332351685 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:13:24.866703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_26_2783.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_29_2589.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_32_3616.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_35_2608.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_38_2732.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_41_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_26_2783.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_29_2589.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_32_3616.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_35_2608.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_38_2732.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_41_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683212","1391683200","1391683193","1391683207","1391683197","1391683203"],"photo_ids_order":["1391683193","1391683197","1391683200","1391683203","1391683207","1391683212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8a2380ad253f2c854010d45f98640aa.jpg","text":"TemporaryFile(/tmp/multipartBody1332007203753050058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_41_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/354989e94a1fc34653f4a9466995736f.jpg","text":"TemporaryFile(/tmp/multipartBody559251354089118618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_32_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e452dc2641dd4ebd90fd8a5be5a533a8.jpg","text":"TemporaryFile(/tmp/multipartBody5682639295700467013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_26_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b2578dc14982d67863c8872073d4c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8416528880087863348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_38_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bc0c8d37aeb113e5f1d7f233f45523c.jpg","text":"TemporaryFile(/tmp/multipartBody1120040111870699265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c28d386ffaa7bcb9ef2f049e2f1e0f97.jpg","text":"TemporaryFile(/tmp/multipartBody2106429106488422566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020904696,"filename":"image_30102025_05_24_35_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683200","file1":"1391683197","file0":"1391683193","file4":"1391683207","file5":"1391683212","file3":"1391683203"},"map_files_photo_id_array":[{"photo_id":"1391683212","filename":"file5"},{"photo_id":"1391683200","filename":"file2"},{"photo_id":"1391683207","filename":"file4"},{"photo_id":"1391683197","filename":"file1"},{"photo_id":"1391683193","filename":"file0"},{"photo_id":"1391683203","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683212":["hashtag1","hashtag2"]},{"1391683200":["hashtag1","hashtag2"]},{"1391683193":["hashtag1","hashtag2"]},{"1391683207":["hashtag1","hashtag2"]},{"1391683197":["hashtag1","hashtag2"]},{"1391683203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683212, 1391683200, 1391683193, 1391683207, 1391683197, 1391683203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.96107053756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:14:44.573227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_44_2700.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_47_3532.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_50_2614.jpg', '/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_59_2807.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_02_2781.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_05_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_44_2700.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_47_3532.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_50_2614.jpg
/home/pi/Desktop/images/30102025/05/24/image_30102025_05_24_59_2807.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_02_2781.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_05_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683226","1391683235","1391683238","1391683240","1391683222","1391683230"],"photo_ids_order":["1391683222","1391683226","1391683230","1391683235","1391683238","1391683240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4d9560996ac9a508964fa9f30d83ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6256324968612239186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_24_47_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f66d664ba1add3b1b0bd88bacb7b592.jpg","text":"TemporaryFile(/tmp/multipartBody258969781244727597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_24_59_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3eb2178068f8226c7a0f34743655b189.jpg","text":"TemporaryFile(/tmp/multipartBody8170097808932862576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_25_02_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcc955db2a4c3502179b6ce605b0b97a.jpg","text":"TemporaryFile(/tmp/multipartBody7321531403269507026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_25_05_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/060619a72c865c16d7f2024114830be0.jpg","text":"TemporaryFile(/tmp/multipartBody3837535083641407380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_24_44_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a9db451df5009bbd25e1fe868bd209c.jpg","text":"TemporaryFile(/tmp/multipartBody6412214176999036376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762020945962,"filename":"image_30102025_05_24_50_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683230","file1":"1391683226","file0":"1391683222","file4":"1391683238","file5":"1391683240","file3":"1391683235"},"map_files_photo_id_array":[{"photo_id":"1391683240","filename":"file5"},{"photo_id":"1391683230","filename":"file2"},{"photo_id":"1391683238","filename":"file4"},{"photo_id":"1391683226","filename":"file1"},{"photo_id":"1391683222","filename":"file0"},{"photo_id":"1391683235","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683226":["hashtag1","hashtag2"]},{"1391683235":["hashtag1","hashtag2"]},{"1391683238":["hashtag1","hashtag2"]},{"1391683240":["hashtag1","hashtag2"]},{"1391683222":["hashtag1","hashtag2"]},{"1391683230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683226, 1391683235, 1391683238, 1391683240, 1391683222, 1391683230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37230372428894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:15:42.731567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_14_2703.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_17_3586.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_20_2627.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_23_3667.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_29_2836.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_32_2912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_14_2703.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_17_3586.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_20_2627.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_23_3667.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_29_2836.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_32_2912.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683273","1391683261","1391683270","1391683264","1391683258","1391683267"],"photo_ids_order":["1391683258","1391683261","1391683264","1391683267","1391683270","1391683273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/417bd65584dbb81d2814b9ba75a44201.jpg","text":"TemporaryFile(/tmp/multipartBody1389424204595319304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_32_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8b5c87a44df6533efcd09c80e547f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2906707158453625284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_17_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31b3b50639a7b1452ee26a0716f69d63.jpg","text":"TemporaryFile(/tmp/multipartBody1976597046060572076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_29_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee6b2be67293c0780028226bfd078f99.jpg","text":"TemporaryFile(/tmp/multipartBody7127488424951477285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6c57fe26f06ff79cd1a430ca97e9ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7413545214184512089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_14_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/646bdc6d30724e74dc5c91fa3369f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody4159475703496131560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021004018,"filename":"image_30102025_05_25_23_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683264","file1":"1391683261","file0":"1391683258","file4":"1391683270","file5":"1391683273","file3":"1391683267"},"map_files_photo_id_array":[{"photo_id":"1391683273","filename":"file5"},{"photo_id":"1391683264","filename":"file2"},{"photo_id":"1391683270","filename":"file4"},{"photo_id":"1391683261","filename":"file1"},{"photo_id":"1391683258","filename":"file0"},{"photo_id":"1391683267","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683273":["hashtag1","hashtag2"]},{"1391683261":["hashtag1","hashtag2"]},{"1391683270":["hashtag1","hashtag2"]},{"1391683264":["hashtag1","hashtag2"]},{"1391683258":["hashtag1","hashtag2"]},{"1391683267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683273, 1391683261, 1391683270, 1391683264, 1391683258, 1391683267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58543682098389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:16:21.891783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_34_2550.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_38_3568.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_41_2706.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_44_2739.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_47_3644.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_50_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_34_2550.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_38_3568.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_41_2706.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_44_2739.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_47_3644.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_50_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683314","1391683328","1391683321","1391683309","1391683300","1391683293"],"photo_ids_order":["1391683293","1391683300","1391683309","1391683314","1391683321","1391683328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39465f31208fd64280f5bdacc96164b1.jpg","text":"TemporaryFile(/tmp/multipartBody6824974431836997982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_44_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64c23dc28f175ed1ca8b5d0cdd2b3a36.jpg","text":"TemporaryFile(/tmp/multipartBody6927466494451252365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_50_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef263ed00e447ab0002fe36caf27d788.jpg","text":"TemporaryFile(/tmp/multipartBody2631559597948859869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_47_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed08d9d1412fd38d9f489375635dec7f.jpg","text":"TemporaryFile(/tmp/multipartBody7439785574662780024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_41_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3ccefef953f524694133316d24d585d.jpg","text":"TemporaryFile(/tmp/multipartBody2084651753771548271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_38_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5ed26d1f7d62b140e1d7b2052172e85.jpg","text":"TemporaryFile(/tmp/multipartBody526410174391043666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021044682,"filename":"image_30102025_05_25_34_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683309","file1":"1391683300","file0":"1391683293","file4":"1391683321","file5":"1391683328","file3":"1391683314"},"map_files_photo_id_array":[{"photo_id":"1391683328","filename":"file5"},{"photo_id":"1391683309","filename":"file2"},{"photo_id":"1391683321","filename":"file4"},{"photo_id":"1391683300","filename":"file1"},{"photo_id":"1391683293","filename":"file0"},{"photo_id":"1391683314","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683314":["hashtag1","hashtag2"]},{"1391683328":["hashtag1","hashtag2"]},{"1391683321":["hashtag1","hashtag2"]},{"1391683309":["hashtag1","hashtag2"]},{"1391683300":["hashtag1","hashtag2"]},{"1391683293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683314, 1391683328, 1391683321, 1391683309, 1391683300, 1391683293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70208168029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:17:02.709037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_53_3564.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_56_2593.jpg', '/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_59_2574.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_02_3603.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_05_2645.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_07_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_53_3564.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_56_2593.jpg
/home/pi/Desktop/images/30102025/05/25/image_30102025_05_25_59_2574.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_02_3603.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_05_2645.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_07_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683361","1391683369","1391683363","1391683357","1391683366","1391683359"],"photo_ids_order":["1391683357","1391683359","1391683361","1391683363","1391683366","1391683369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae68add48ff34dbaa670ede4c9b3f153.jpg","text":"TemporaryFile(/tmp/multipartBody5418587888002768632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_25_59_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9eaedab97a55749c688e33eb4ec6b0a0.jpg","text":"TemporaryFile(/tmp/multipartBody4186120407978522789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_26_07_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fcb64ebd7194e4093ab1f0b4ff76a04.jpg","text":"TemporaryFile(/tmp/multipartBody7130438366020054854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_26_02_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e79fda14f8f76152ebbe484d7008d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody2833894527606140235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_25_53_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7878fdcc1df0aee5030323341092a27e.jpg","text":"TemporaryFile(/tmp/multipartBody5628150020418724411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_26_05_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b236b3a728c618c1127c6853b825c82.jpg","text":"TemporaryFile(/tmp/multipartBody6533166499392146646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021085040,"filename":"image_30102025_05_25_56_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683361","file1":"1391683359","file0":"1391683357","file4":"1391683366","file5":"1391683369","file3":"1391683363"},"map_files_photo_id_array":[{"photo_id":"1391683369","filename":"file5"},{"photo_id":"1391683361","filename":"file2"},{"photo_id":"1391683366","filename":"file4"},{"photo_id":"1391683359","filename":"file1"},{"photo_id":"1391683357","filename":"file0"},{"photo_id":"1391683363","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683361":["hashtag1","hashtag2"]},{"1391683369":["hashtag1","hashtag2"]},{"1391683363":["hashtag1","hashtag2"]},{"1391683357":["hashtag1","hashtag2"]},{"1391683366":["hashtag1","hashtag2"]},{"1391683359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683361, 1391683369, 1391683363, 1391683357, 1391683366, 1391683359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.886101484298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:17:42.059516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_11_3706.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_14_2636.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_16_2656.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_20_3835.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_23_2609.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_26_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_11_3706.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_14_2636.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_16_2656.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_20_3835.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_23_2609.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_26_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683511","1391683405","1391683507","1391683512","1391683515","1391683509"],"photo_ids_order":["1391683405","1391683507","1391683509","1391683511","1391683512","1391683515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb9aa83c791895f93799275c93584699.jpg","text":"TemporaryFile(/tmp/multipartBody1842274548660565630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_20_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03ee2c01e07fe8e6b8a9841fb53e27a3.jpg","text":"TemporaryFile(/tmp/multipartBody7535956150218921765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_11_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d634a2464ac0b8737bf3c0c02b4ca0bd.jpg","text":"TemporaryFile(/tmp/multipartBody1992025807621704158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_14_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/387d5e83e2ae757f205d53eb633a96d8.jpg","text":"TemporaryFile(/tmp/multipartBody1611042741073942640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_23_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79f2d5ba9ed3fc990ed499f336f26b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6235003584709097481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_26_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba96a1c1b6ddb10cdd5a2e99a5e6cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7570660033613409914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021123348,"filename":"image_30102025_05_26_16_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683509","file1":"1391683507","file0":"1391683405","file4":"1391683512","file5":"1391683515","file3":"1391683511"},"map_files_photo_id_array":[{"photo_id":"1391683515","filename":"file5"},{"photo_id":"1391683509","filename":"file2"},{"photo_id":"1391683512","filename":"file4"},{"photo_id":"1391683507","filename":"file1"},{"photo_id":"1391683405","filename":"file0"},{"photo_id":"1391683511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683511":["hashtag1","hashtag2"]},{"1391683405":["hashtag1","hashtag2"]},{"1391683507":["hashtag1","hashtag2"]},{"1391683512":["hashtag1","hashtag2"]},{"1391683515":["hashtag1","hashtag2"]},{"1391683509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683511, 1391683405, 1391683507, 1391683512, 1391683515, 1391683509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17526412010193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:18:22.232292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_29_3639.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_32_2509.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_35_2768.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_38_3669.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_41_2696.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_44_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_29_3639.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_32_2509.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_35_2768.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_38_3669.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_41_2696.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_44_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683538","1391683528","1391683525","1391683530","1391683533","1391683542"],"photo_ids_order":["1391683525","1391683528","1391683530","1391683533","1391683538","1391683542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03b63c12a922b7d868c42bd8f5e01af0.jpg","text":"TemporaryFile(/tmp/multipartBody2950210742240186731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_41_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3206d268d9b8a51a6dd957d888cb3673.jpg","text":"TemporaryFile(/tmp/multipartBody7563158614533802894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_32_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb77dc3885a8810a445b546cb88a7958.jpg","text":"TemporaryFile(/tmp/multipartBody5546321506866542707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_29_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c628f839200744fe2e4865422fc96934.jpg","text":"TemporaryFile(/tmp/multipartBody565180678680086905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_35_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01b901b7b95f4426806f5ad3605693bf.jpg","text":"TemporaryFile(/tmp/multipartBody301568440480741648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_38_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c79d4351af758c3f345277e02254804.jpg","text":"TemporaryFile(/tmp/multipartBody3857864624391077201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021164999,"filename":"image_30102025_05_26_44_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683530","file1":"1391683528","file0":"1391683525","file4":"1391683538","file5":"1391683542","file3":"1391683533"},"map_files_photo_id_array":[{"photo_id":"1391683542","filename":"file5"},{"photo_id":"1391683530","filename":"file2"},{"photo_id":"1391683538","filename":"file4"},{"photo_id":"1391683528","filename":"file1"},{"photo_id":"1391683525","filename":"file0"},{"photo_id":"1391683533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683538":["hashtag1","hashtag2"]},{"1391683528":["hashtag1","hashtag2"]},{"1391683525":["hashtag1","hashtag2"]},{"1391683530":["hashtag1","hashtag2"]},{"1391683533":["hashtag1","hashtag2"]},{"1391683542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683538, 1391683528, 1391683525, 1391683530, 1391683533, 1391683542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97213053703308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:19:03.390395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_47_3598.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_50_2711.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_53_2760.jpg', '/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_55_2689.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_08_3644.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_11_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_47_3598.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_50_2711.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_53_2760.jpg
/home/pi/Desktop/images/30102025/05/26/image_30102025_05_26_55_2689.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_08_3644.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_11_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683556","1391683553","1391683561","1391683558","1391683551","1391683554"],"photo_ids_order":["1391683551","1391683553","1391683554","1391683556","1391683558","1391683561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e98ffe5e655fe117714a2d12fe94351f.jpg","text":"TemporaryFile(/tmp/multipartBody5002977312824717828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_26_55_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5587f5e3a1aa32d97e85e591012cad75.jpg","text":"TemporaryFile(/tmp/multipartBody2854415549701175994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_26_50_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20dbe4f95c63e1ff314cd25a60463e58.jpg","text":"TemporaryFile(/tmp/multipartBody5738140576117559264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_27_11_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e10918685a0eafce65df75611cbe7d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3371967863135765319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_27_08_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dbaeaaef82eeceb94ebbbafd11a7999.jpg","text":"TemporaryFile(/tmp/multipartBody2405743349208555534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_26_47_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/122fc869b9ae20e61537585e45b7a855.jpg","text":"TemporaryFile(/tmp/multipartBody8577936170252547185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021205882,"filename":"image_30102025_05_26_53_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683554","file1":"1391683553","file0":"1391683551","file4":"1391683558","file5":"1391683561","file3":"1391683556"},"map_files_photo_id_array":[{"photo_id":"1391683561","filename":"file5"},{"photo_id":"1391683554","filename":"file2"},{"photo_id":"1391683558","filename":"file4"},{"photo_id":"1391683553","filename":"file1"},{"photo_id":"1391683551","filename":"file0"},{"photo_id":"1391683556","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683556":["hashtag1","hashtag2"]},{"1391683553":["hashtag1","hashtag2"]},{"1391683561":["hashtag1","hashtag2"]},{"1391683558":["hashtag1","hashtag2"]},{"1391683551":["hashtag1","hashtag2"]},{"1391683554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683556, 1391683553, 1391683561, 1391683558, 1391683551, 1391683554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37330627441406 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:20:03.064850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_13_2792.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_17_3659.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_20_2575.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_22_2625.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_26_3736.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_29_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_13_2792.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_17_3659.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_20_2575.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_22_2625.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_26_3736.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_29_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683595","1391683589","1391683591","1391683603","1391683599","1391683587"],"photo_ids_order":["1391683587","1391683589","1391683591","1391683595","1391683599","1391683603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9aba0ea9387a0a864a9986cbedbf72d.jpg","text":"TemporaryFile(/tmp/multipartBody8136896863671937438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04ce6a8edb55de2b8c8a06aab63443ae.jpg","text":"TemporaryFile(/tmp/multipartBody3544244333458913109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_17_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a251ee649eb8186773f96545576a0815.jpg","text":"TemporaryFile(/tmp/multipartBody4885448059874930021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_20_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8068b9dc5a179ce64ca186de6ac1be88.jpg","text":"TemporaryFile(/tmp/multipartBody7538548993744414829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_29_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e140b3e3a8800ebcc296730235f78b23.jpg","text":"TemporaryFile(/tmp/multipartBody4076086715733969776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_26_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d14910da04df029bbb4127efc2437aa.jpg","text":"TemporaryFile(/tmp/multipartBody8902688845871945851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021265278,"filename":"image_30102025_05_27_13_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683591","file1":"1391683589","file0":"1391683587","file4":"1391683599","file5":"1391683603","file3":"1391683595"},"map_files_photo_id_array":[{"photo_id":"1391683603","filename":"file5"},{"photo_id":"1391683591","filename":"file2"},{"photo_id":"1391683599","filename":"file4"},{"photo_id":"1391683589","filename":"file1"},{"photo_id":"1391683587","filename":"file0"},{"photo_id":"1391683595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683595":["hashtag1","hashtag2"]},{"1391683589":["hashtag1","hashtag2"]},{"1391683591":["hashtag1","hashtag2"]},{"1391683603":["hashtag1","hashtag2"]},{"1391683599":["hashtag1","hashtag2"]},{"1391683587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683595, 1391683589, 1391683591, 1391683603, 1391683599, 1391683587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59971594810486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:20:42.631869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_32_3563.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_35_2808.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_38_2567.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_41_3529.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_44_2710.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_46_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_32_3563.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_35_2808.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_38_2567.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_41_3529.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_44_2710.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_46_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683617","1391683622","1391683625","1391683609","1391683612","1391683629"],"photo_ids_order":["1391683609","1391683612","1391683617","1391683622","1391683625","1391683629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa6f0a6cd19653f8da240349ce5c1598.jpg","text":"TemporaryFile(/tmp/multipartBody5938739956536781995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_38_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a454b84d5b11f1c26a403de65d822d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6356791715152543619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_41_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84055751603a12564bfc3b009decd428.jpg","text":"TemporaryFile(/tmp/multipartBody4109645611006193601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_44_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb47328af41793bb999f6b4913227d86.jpg","text":"TemporaryFile(/tmp/multipartBody6454848443906841550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_32_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/372ae8c00c5de400bc58d44d2d3f2745.jpg","text":"TemporaryFile(/tmp/multipartBody7541255428299584171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_35_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ffcc86d7659610a222a1781e9b3a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody1387121878235332728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021303908,"filename":"image_30102025_05_27_46_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683617","file1":"1391683612","file0":"1391683609","file4":"1391683625","file5":"1391683629","file3":"1391683622"},"map_files_photo_id_array":[{"photo_id":"1391683629","filename":"file5"},{"photo_id":"1391683617","filename":"file2"},{"photo_id":"1391683625","filename":"file4"},{"photo_id":"1391683612","filename":"file1"},{"photo_id":"1391683609","filename":"file0"},{"photo_id":"1391683622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683617":["hashtag1","hashtag2"]},{"1391683622":["hashtag1","hashtag2"]},{"1391683625":["hashtag1","hashtag2"]},{"1391683609":["hashtag1","hashtag2"]},{"1391683612":["hashtag1","hashtag2"]},{"1391683629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683617, 1391683622, 1391683625, 1391683609, 1391683612, 1391683629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80559682846069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:21:22.806932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_50_3538.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_53_2650.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_55_2795.jpg', '/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_59_3690.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_02_2736.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_04_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_50_3538.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_53_2650.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_55_2795.jpg
/home/pi/Desktop/images/30102025/05/27/image_30102025_05_27_59_3690.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_02_2736.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_04_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683640","1391683637","1391683634","1391683644","1391683647","1391683632"],"photo_ids_order":["1391683632","1391683634","1391683637","1391683640","1391683644","1391683647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f7f0a461f9890600964805f7365d40a.jpg","text":"TemporaryFile(/tmp/multipartBody5763604019455540604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_27_59_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4487e51394cdd0a0a48a274a9300342d.jpg","text":"TemporaryFile(/tmp/multipartBody5764561319601627071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_27_55_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/749e35723d68775ae0b546fb95f6362c.jpg","text":"TemporaryFile(/tmp/multipartBody6736941193371975520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_27_53_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28ca2090c5ce3b6d532e2b9ca67aa0ac.jpg","text":"TemporaryFile(/tmp/multipartBody5837865231403836690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_28_02_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40db856fa6353ec1ebe1394fc3148810.jpg","text":"TemporaryFile(/tmp/multipartBody5362841740733127901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_28_04_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c302f092e426153509b917df3f367fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3354020144769208785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021345621,"filename":"image_30102025_05_27_50_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683637","file1":"1391683634","file0":"1391683632","file4":"1391683644","file5":"1391683647","file3":"1391683640"},"map_files_photo_id_array":[{"photo_id":"1391683647","filename":"file5"},{"photo_id":"1391683637","filename":"file2"},{"photo_id":"1391683644","filename":"file4"},{"photo_id":"1391683634","filename":"file1"},{"photo_id":"1391683632","filename":"file0"},{"photo_id":"1391683640","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683640":["hashtag1","hashtag2"]},{"1391683637":["hashtag1","hashtag2"]},{"1391683634":["hashtag1","hashtag2"]},{"1391683644":["hashtag1","hashtag2"]},{"1391683647":["hashtag1","hashtag2"]},{"1391683632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683640, 1391683637, 1391683634, 1391683644, 1391683647, 1391683632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18593406677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:22:02.287478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_08_3560.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_11_2809.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_20_2594.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_22_2616.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_26_3731.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_29_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_08_3560.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_11_2809.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_20_2594.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_22_2616.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_26_3731.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_29_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683661","1391683655","1391683649","1391683664","1391683658","1391683653"],"photo_ids_order":["1391683649","1391683653","1391683655","1391683658","1391683661","1391683664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85b94e52d5ffe01815acb3b751e82cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4257835523671240554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_26_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f035a7cf7deaab5fd602c6366ee5c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody9190730467501244560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_20_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8076fff872109f66999274abece3da16.jpg","text":"TemporaryFile(/tmp/multipartBody1217088686973896521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_08_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63dab3706858c1308040d0c9f30c4375.jpg","text":"TemporaryFile(/tmp/multipartBody3699776852118052252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_29_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40a359d8ef7cceb42b82e26c85e47e66.jpg","text":"TemporaryFile(/tmp/multipartBody4430237731600961798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_22_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a8f38ebdd43a57dd11daa4a129e513fe.jpg","text":"TemporaryFile(/tmp/multipartBody3201757133283928395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021384511,"filename":"image_30102025_05_28_11_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683655","file1":"1391683653","file0":"1391683649","file4":"1391683661","file5":"1391683664","file3":"1391683658"},"map_files_photo_id_array":[{"photo_id":"1391683664","filename":"file5"},{"photo_id":"1391683655","filename":"file2"},{"photo_id":"1391683661","filename":"file4"},{"photo_id":"1391683653","filename":"file1"},{"photo_id":"1391683649","filename":"file0"},{"photo_id":"1391683658","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683661":["hashtag1","hashtag2"]},{"1391683655":["hashtag1","hashtag2"]},{"1391683649":["hashtag1","hashtag2"]},{"1391683664":["hashtag1","hashtag2"]},{"1391683658":["hashtag1","hashtag2"]},{"1391683653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683661, 1391683655, 1391683649, 1391683664, 1391683658, 1391683653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29039239883423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:22:42.250831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_32_3538.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_37_4674.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_40_3192.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_42_1713.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_43_1650.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_47_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_32_3538.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_37_4674.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_40_3192.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_42_1713.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_43_1650.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_47_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683691","1391683703","1391683727","1391683699","1391683723","1391683725"],"photo_ids_order":["1391683691","1391683699","1391683703","1391683723","1391683725","1391683727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3984ae501c7353bf1053850c5bef4f8c.jpg","text":"TemporaryFile(/tmp/multipartBody1528764229540266656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_32_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2f20fd22a19cc96a9b886f1d351984b.jpg","text":"TemporaryFile(/tmp/multipartBody8768709925359510236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_40_3192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90f8c4ee78f1badb889b247d04490a55.jpg","text":"TemporaryFile(/tmp/multipartBody9178781230221688699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_47_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e019ced538196694d1ba58465500c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5188099135393985856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_37_4674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85a442355ab8eaa028914f6d3a7acf13.jpg","text":"TemporaryFile(/tmp/multipartBody4790552238102129521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_42_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fde9290b2e09ffbea6ee9136f64c0235.jpg","text":"TemporaryFile(/tmp/multipartBody8968327380411240998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021423524,"filename":"image_30102025_05_28_43_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683703","file1":"1391683699","file0":"1391683691","file4":"1391683725","file5":"1391683727","file3":"1391683723"},"map_files_photo_id_array":[{"photo_id":"1391683727","filename":"file5"},{"photo_id":"1391683703","filename":"file2"},{"photo_id":"1391683725","filename":"file4"},{"photo_id":"1391683699","filename":"file1"},{"photo_id":"1391683691","filename":"file0"},{"photo_id":"1391683723","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683691":["hashtag1","hashtag2"]},{"1391683703":["hashtag1","hashtag2"]},{"1391683727":["hashtag1","hashtag2"]},{"1391683699":["hashtag1","hashtag2"]},{"1391683723":["hashtag1","hashtag2"]},{"1391683725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683691, 1391683703, 1391683727, 1391683699, 1391683723, 1391683725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.972689151763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:23:22.210152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_50_2573.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_52_2716.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_56_3600.jpg', '/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_59_2692.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_01_2675.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_05_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_50_2573.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_52_2716.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_56_3600.jpg
/home/pi/Desktop/images/30102025/05/28/image_30102025_05_28_59_2692.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_01_2675.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_05_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683778","1391683783","1391683774","1391683768","1391683788","1391683770"],"photo_ids_order":["1391683768","1391683770","1391683774","1391683778","1391683783","1391683788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaf360f2e26da084af5cfd8cf16b7247.jpg","text":"TemporaryFile(/tmp/multipartBody1230118876059278158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_28_59_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06f8c602db2033e6aab594177e8e7eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6883152451972120717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_29_01_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/94084a7d7b2c9f5e468c1e342cd7590b.jpg","text":"TemporaryFile(/tmp/multipartBody2508826610778220566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_28_56_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50d6682cb3d5d6d6b3d1dc8a8561d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody8951343531547159837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_28_50_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b22e64ae3522714e5327f924b74c72bb.jpg","text":"TemporaryFile(/tmp/multipartBody6687145841535963751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_29_05_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/450bfbb7a83b894baf70b9488a8580e5.jpg","text":"TemporaryFile(/tmp/multipartBody6715756997858807883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021466899,"filename":"image_30102025_05_28_52_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683774","file1":"1391683770","file0":"1391683768","file4":"1391683783","file5":"1391683788","file3":"1391683778"},"map_files_photo_id_array":[{"photo_id":"1391683788","filename":"file5"},{"photo_id":"1391683774","filename":"file2"},{"photo_id":"1391683783","filename":"file4"},{"photo_id":"1391683770","filename":"file1"},{"photo_id":"1391683768","filename":"file0"},{"photo_id":"1391683778","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683778":["hashtag1","hashtag2"]},{"1391683783":["hashtag1","hashtag2"]},{"1391683774":["hashtag1","hashtag2"]},{"1391683768":["hashtag1","hashtag2"]},{"1391683788":["hashtag1","hashtag2"]},{"1391683770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683778, 1391683783, 1391683774, 1391683768, 1391683788, 1391683770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.811928272247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:24:22.320563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_08_2643.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_10_2657.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_14_3728.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_19_2616.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_26_2660.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_28_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_08_2643.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_10_2657.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_14_3728.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_19_2616.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_26_2660.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_28_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683920","1391683919","1391683915","1391683929","1391683923","1391683926"],"photo_ids_order":["1391683915","1391683919","1391683920","1391683923","1391683926","1391683929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4d36adc9b11f6d28abe2de078832f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4970194311974518774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_14_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4f8a4c47ffe41ecf8c58ea11f89f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody2712620735523682479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_10_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d7701ceea4d0c54469a79df5d2a2f63.jpg","text":"TemporaryFile(/tmp/multipartBody4816490414510793391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_08_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/746b73c6db836bbb280605613469c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody3078893055306755685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_28_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/856516c0a8e9c67143be31d82fdf776c.jpg","text":"TemporaryFile(/tmp/multipartBody2252796324249915524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9994e68727ddba82a7917160d90b8746.jpg","text":"TemporaryFile(/tmp/multipartBody5262011364289287700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021525117,"filename":"image_30102025_05_29_26_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683920","file1":"1391683919","file0":"1391683915","file4":"1391683926","file5":"1391683929","file3":"1391683923"},"map_files_photo_id_array":[{"photo_id":"1391683929","filename":"file5"},{"photo_id":"1391683920","filename":"file2"},{"photo_id":"1391683926","filename":"file4"},{"photo_id":"1391683919","filename":"file1"},{"photo_id":"1391683915","filename":"file0"},{"photo_id":"1391683923","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683920":["hashtag1","hashtag2"]},{"1391683919":["hashtag1","hashtag2"]},{"1391683915":["hashtag1","hashtag2"]},{"1391683929":["hashtag1","hashtag2"]},{"1391683923":["hashtag1","hashtag2"]},{"1391683926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683920, 1391683919, 1391683915, 1391683929, 1391683923, 1391683926)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.958168029785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:25:21.931132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_32_3683.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_35_2865.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_37_2656.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_40_2631.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_44_3756.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_47_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_32_3683.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_35_2865.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_37_2656.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_40_2631.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_44_3756.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_47_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391683976","1391684041","1391683983","1391683989","1391683980","1391683974"],"photo_ids_order":["1391683974","1391683976","1391683980","1391683983","1391683989","1391684041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e435a840e8fdf557863c517d6cfea91a.jpg","text":"TemporaryFile(/tmp/multipartBody8672051317816658422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_35_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68cd99044962f42384f53a8673e6029b.jpg","text":"TemporaryFile(/tmp/multipartBody3223375546582721780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_47_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac4d31e5d8ae02dca8a591aea1a478f5.jpg","text":"TemporaryFile(/tmp/multipartBody126203358604399852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_40_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7338ee65119e758cba82e91c6e34cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody5275617440767601218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_44_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46f384822d344cf23a21e5c3094c3cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4314814384423894124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_37_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acf4dc02b1a17a25aee26605ee03004b.jpg","text":"TemporaryFile(/tmp/multipartBody3020381004799647374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021584706,"filename":"image_30102025_05_29_32_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391683980","file1":"1391683976","file0":"1391683974","file4":"1391683989","file5":"1391684041","file3":"1391683983"},"map_files_photo_id_array":[{"photo_id":"1391684041","filename":"file5"},{"photo_id":"1391683980","filename":"file2"},{"photo_id":"1391683989","filename":"file4"},{"photo_id":"1391683976","filename":"file1"},{"photo_id":"1391683974","filename":"file0"},{"photo_id":"1391683983","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391683976":["hashtag1","hashtag2"]},{"1391684041":["hashtag1","hashtag2"]},{"1391683983":["hashtag1","hashtag2"]},{"1391683989":["hashtag1","hashtag2"]},{"1391683980":["hashtag1","hashtag2"]},{"1391683974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391683976, 1391684041, 1391683983, 1391683989, 1391683980, 1391683974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.255409240722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:26:02.752835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_49_2735.jpg', '/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_56_3630.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_01_2807.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_05_3772.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_08_2690.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_10_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_49_2735.jpg
/home/pi/Desktop/images/30102025/05/29/image_30102025_05_29_56_3630.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_01_2807.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_05_3772.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_08_2690.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_10_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684060","1391684054","1391684056","1391684050","1391684052","1391684058"],"photo_ids_order":["1391684050","1391684052","1391684054","1391684056","1391684058","1391684060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/799877a11c2661ff754e1262d270bd87.jpg","text":"TemporaryFile(/tmp/multipartBody1301632752756581601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_30_10_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/039b62298e89fc2b9c29141c86ddff7d.jpg","text":"TemporaryFile(/tmp/multipartBody933073930749983662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_30_01_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dc05d622312003054f859d6e370d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3043008348595092027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_30_05_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e9d44d432e3b15624701265f9f2a956.jpg","text":"TemporaryFile(/tmp/multipartBody1270774093988839573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_29_49_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19c28e2b5579a8491a42d83d9af67514.jpg","text":"TemporaryFile(/tmp/multipartBody1963901289239953695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_29_56_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61bb39dc1237ae8749fd8cd2ad2e9a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3460265091797747491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021624966,"filename":"image_30102025_05_30_08_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684054","file1":"1391684052","file0":"1391684050","file4":"1391684058","file5":"1391684060","file3":"1391684056"},"map_files_photo_id_array":[{"photo_id":"1391684060","filename":"file5"},{"photo_id":"1391684054","filename":"file2"},{"photo_id":"1391684058","filename":"file4"},{"photo_id":"1391684052","filename":"file1"},{"photo_id":"1391684050","filename":"file0"},{"photo_id":"1391684056","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684060":["hashtag1","hashtag2"]},{"1391684054":["hashtag1","hashtag2"]},{"1391684056":["hashtag1","hashtag2"]},{"1391684050":["hashtag1","hashtag2"]},{"1391684052":["hashtag1","hashtag2"]},{"1391684058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684060, 1391684054, 1391684056, 1391684050, 1391684052, 1391684058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58339738845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:26:42.225241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_14_3699.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_17_2729.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_20_2913.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_22_2692.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_26_3668.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_28_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_14_3699.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_17_2729.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_20_2913.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_22_2692.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_26_3668.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_28_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684070","1391684073","1391684067","1391684076","1391684081","1391684078"],"photo_ids_order":["1391684067","1391684070","1391684073","1391684076","1391684078","1391684081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a7f1953d92b9b3f057235053d6ff530.jpg","text":"TemporaryFile(/tmp/multipartBody5939148375896806137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_17_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed567ed1d3d4fdafc000134a84c44996.jpg","text":"TemporaryFile(/tmp/multipartBody2669667958297628944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_20_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4aa28605af906d8d2ec60fdfaac203eb.jpg","text":"TemporaryFile(/tmp/multipartBody5882147608761673905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_14_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a7eb7dc3ed9178e5600ce6accddb786.jpg","text":"TemporaryFile(/tmp/multipartBody1516446496685559586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_22_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc0aea93e046f5154a0a80dbea02ad94.jpg","text":"TemporaryFile(/tmp/multipartBody6827045079840234711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_28_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a84ec78a8580bd6d7ab5f0e08fbbe945.jpg","text":"TemporaryFile(/tmp/multipartBody6016982172578065569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021663505,"filename":"image_30102025_05_30_26_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684073","file1":"1391684070","file0":"1391684067","file4":"1391684078","file5":"1391684081","file3":"1391684076"},"map_files_photo_id_array":[{"photo_id":"1391684081","filename":"file5"},{"photo_id":"1391684073","filename":"file2"},{"photo_id":"1391684078","filename":"file4"},{"photo_id":"1391684070","filename":"file1"},{"photo_id":"1391684067","filename":"file0"},{"photo_id":"1391684076","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684070":["hashtag1","hashtag2"]},{"1391684073":["hashtag1","hashtag2"]},{"1391684067":["hashtag1","hashtag2"]},{"1391684076":["hashtag1","hashtag2"]},{"1391684081":["hashtag1","hashtag2"]},{"1391684078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684070, 1391684073, 1391684067, 1391684076, 1391684081, 1391684078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41781783103943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:27:22.311826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_31_2680.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_35_3672.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_37_2604.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_40_2605.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_44_3615.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_46_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_31_2680.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_35_3672.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_37_2604.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_40_2605.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_44_3615.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_46_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684087","1391684098","1391684102","1391684105","1391684094","1391684090"],"photo_ids_order":["1391684087","1391684090","1391684094","1391684098","1391684102","1391684105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/489e10a45ee9ca70d37a1b0c6e898d89.jpg","text":"TemporaryFile(/tmp/multipartBody330099688614957540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_31_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f83cf2f94283fd394442069db1d5215.jpg","text":"TemporaryFile(/tmp/multipartBody956379562044754247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2a89a3e58e0ac2d8feddb66c32e5972.jpg","text":"TemporaryFile(/tmp/multipartBody3588110266358211125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_44_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbc7cc36d8dff1bd18b5558c5bfded78.jpg","text":"TemporaryFile(/tmp/multipartBody5357099116719536410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_46_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b6fcc166de121cfb72f4bed76606e56.jpg","text":"TemporaryFile(/tmp/multipartBody7625184267076044989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85f4d06d839c4dd50185460431d3d351.jpg","text":"TemporaryFile(/tmp/multipartBody7011186687718967287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021707587,"filename":"image_30102025_05_30_35_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684094","file1":"1391684090","file0":"1391684087","file4":"1391684102","file5":"1391684105","file3":"1391684098"},"map_files_photo_id_array":[{"photo_id":"1391684105","filename":"file5"},{"photo_id":"1391684094","filename":"file2"},{"photo_id":"1391684102","filename":"file4"},{"photo_id":"1391684090","filename":"file1"},{"photo_id":"1391684087","filename":"file0"},{"photo_id":"1391684098","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684087":["hashtag1","hashtag2"]},{"1391684098":["hashtag1","hashtag2"]},{"1391684102":["hashtag1","hashtag2"]},{"1391684105":["hashtag1","hashtag2"]},{"1391684094":["hashtag1","hashtag2"]},{"1391684090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684087, 1391684098, 1391684102, 1391684105, 1391684094, 1391684090)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.038875341415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:28:22.681631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_50_3586.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_52_2647.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_55_2710.jpg', '/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_59_3614.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_02_2697.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_04_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_50_3586.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_52_2647.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_55_2710.jpg
/home/pi/Desktop/images/30102025/05/30/image_30102025_05_30_59_3614.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_02_2697.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_04_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684129","1391684120","1391684127","1391684121","1391684124","1391684118"],"photo_ids_order":["1391684118","1391684120","1391684121","1391684124","1391684127","1391684129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e855059265f88c45ea7234e10eb406e.jpg","text":"TemporaryFile(/tmp/multipartBody401248657382007617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_31_04_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bbb66be7f9dca2adbc5dc25de664e5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4996879221951500421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_30_52_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd1566e4b9ce73f74ca240ff4c8b088e.jpg","text":"TemporaryFile(/tmp/multipartBody577993003213024921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_31_02_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6ba8431dd402756fb9e94bb9ec287a9.jpg","text":"TemporaryFile(/tmp/multipartBody4495565909974557743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_30_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/84c87cd47dfa574708d5a3a2d45d1a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6325439666942369034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_30_59_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ffad633c7f99be9070ba5c3e861f4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8695541605529131468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021765451,"filename":"image_30102025_05_30_50_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684121","file1":"1391684120","file0":"1391684118","file4":"1391684127","file5":"1391684129","file3":"1391684124"},"map_files_photo_id_array":[{"photo_id":"1391684129","filename":"file5"},{"photo_id":"1391684121","filename":"file2"},{"photo_id":"1391684127","filename":"file4"},{"photo_id":"1391684120","filename":"file1"},{"photo_id":"1391684118","filename":"file0"},{"photo_id":"1391684124","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684129":["hashtag1","hashtag2"]},{"1391684120":["hashtag1","hashtag2"]},{"1391684127":["hashtag1","hashtag2"]},{"1391684121":["hashtag1","hashtag2"]},{"1391684124":["hashtag1","hashtag2"]},{"1391684118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684129, 1391684120, 1391684127, 1391684121, 1391684124, 1391684118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47483015060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:29:03.006462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_07_2657.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_11_3842.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_14_2824.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_16_2536.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_28_2831.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_32_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_07_2657.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_11_3842.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_14_2824.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_16_2536.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_28_2831.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_32_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684150","1391684144","1391684147","1391684155","1391684140","1391684152"],"photo_ids_order":["1391684140","1391684144","1391684147","1391684150","1391684152","1391684155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/779114c61e33ebfce82b6f2c50367352.jpg","text":"TemporaryFile(/tmp/multipartBody7963213960423551965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_16_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77283d21f0475eb5e39043b897e91985.jpg","text":"TemporaryFile(/tmp/multipartBody1372366852630987360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_11_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e990ab1013e64497f3ac784455900f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3498387928994363727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_14_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/300baef6653e04222987ffa523bc2a7a.jpg","text":"TemporaryFile(/tmp/multipartBody78301680477798169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_32_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0b5152eb148b34332072d12d216d9a89.jpg","text":"TemporaryFile(/tmp/multipartBody3205928015800070923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_07_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a36fc171134f71702aeeb14675ef0da.jpg","text":"TemporaryFile(/tmp/multipartBody2128960006177717013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021806836,"filename":"image_30102025_05_31_28_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684147","file1":"1391684144","file0":"1391684140","file4":"1391684152","file5":"1391684155","file3":"1391684150"},"map_files_photo_id_array":[{"photo_id":"1391684155","filename":"file5"},{"photo_id":"1391684147","filename":"file2"},{"photo_id":"1391684152","filename":"file4"},{"photo_id":"1391684144","filename":"file1"},{"photo_id":"1391684140","filename":"file0"},{"photo_id":"1391684150","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684150":["hashtag1","hashtag2"]},{"1391684144":["hashtag1","hashtag2"]},{"1391684147":["hashtag1","hashtag2"]},{"1391684155":["hashtag1","hashtag2"]},{"1391684140":["hashtag1","hashtag2"]},{"1391684152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684150, 1391684144, 1391684147, 1391684155, 1391684140, 1391684152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23665499687195 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:30:02.563695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_34_2604.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_37_2817.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_44_3813.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_47_2791.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_49_2582.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_53_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_34_2604.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_37_2817.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_44_3813.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_47_2791.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_49_2582.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_53_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684171","1391684168","1391684173","1391684167","1391684170","1391684169"],"photo_ids_order":["1391684167","1391684168","1391684169","1391684170","1391684171","1391684173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8832d392c5bfa0e5e889efdb479c0c84.jpg","text":"TemporaryFile(/tmp/multipartBody5631352640799354665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_49_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8b7bb29ae0af616a7f72fec8ab38157.jpg","text":"TemporaryFile(/tmp/multipartBody6649287990446893121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_37_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d060198a5f5a399c60cc15c5ed4c002.jpg","text":"TemporaryFile(/tmp/multipartBody3648622789961252588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_53_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2bcc26b338de0280ed7761c728c4035.jpg","text":"TemporaryFile(/tmp/multipartBody7121234673700986016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_34_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bfe57621dcd1ad6ae7abb5fa32c389e.jpg","text":"TemporaryFile(/tmp/multipartBody7152013268862595427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_47_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3969f852b01c8cd07c0f6a71adbae73f.jpg","text":"TemporaryFile(/tmp/multipartBody2109899840995818099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021864863,"filename":"image_30102025_05_31_44_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684169","file1":"1391684168","file0":"1391684167","file4":"1391684171","file5":"1391684173","file3":"1391684170"},"map_files_photo_id_array":[{"photo_id":"1391684173","filename":"file5"},{"photo_id":"1391684169","filename":"file2"},{"photo_id":"1391684171","filename":"file4"},{"photo_id":"1391684168","filename":"file1"},{"photo_id":"1391684167","filename":"file0"},{"photo_id":"1391684170","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684171":["hashtag1","hashtag2"]},{"1391684168":["hashtag1","hashtag2"]},{"1391684173":["hashtag1","hashtag2"]},{"1391684167":["hashtag1","hashtag2"]},{"1391684170":["hashtag1","hashtag2"]},{"1391684169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684171, 1391684168, 1391684173, 1391684167, 1391684170, 1391684169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72334146499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:30:42.141354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_55_2605.jpg', '/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_58_2703.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_02_3565.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_04_2702.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_07_2595.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_11_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_55_2605.jpg
/home/pi/Desktop/images/30102025/05/31/image_30102025_05_31_58_2703.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_02_3565.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_04_2702.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_07_2595.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_11_3784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684179","1391684181","1391684178","1391684180","1391684183","1391684177"],"photo_ids_order":["1391684177","1391684178","1391684179","1391684180","1391684181","1391684183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1dc6de7696b70ecdbcf63235008afe5.jpg","text":"TemporaryFile(/tmp/multipartBody879464036802855777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_32_02_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9dd44addef37bf8174e940bdb589303.jpg","text":"TemporaryFile(/tmp/multipartBody6476254255624750935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_32_07_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/320751de19ce703a63841fce52104787.jpg","text":"TemporaryFile(/tmp/multipartBody7307856162175867329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_31_58_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d60bb367e57f65a8b62c5ef50396100.jpg","text":"TemporaryFile(/tmp/multipartBody4936404713481657897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_32_04_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a330cf2ebae67986e4a7d480dfe1bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8769226656752471982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_32_11_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0d2cd86ea08a1821195d09561716afa.jpg","text":"TemporaryFile(/tmp/multipartBody46862726219719689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021903608,"filename":"image_30102025_05_31_55_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684179","file1":"1391684178","file0":"1391684177","file4":"1391684181","file5":"1391684183","file3":"1391684180"},"map_files_photo_id_array":[{"photo_id":"1391684183","filename":"file5"},{"photo_id":"1391684179","filename":"file2"},{"photo_id":"1391684181","filename":"file4"},{"photo_id":"1391684178","filename":"file1"},{"photo_id":"1391684177","filename":"file0"},{"photo_id":"1391684180","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684179":["hashtag1","hashtag2"]},{"1391684181":["hashtag1","hashtag2"]},{"1391684178":["hashtag1","hashtag2"]},{"1391684180":["hashtag1","hashtag2"]},{"1391684183":["hashtag1","hashtag2"]},{"1391684177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684179, 1391684181, 1391684178, 1391684180, 1391684183, 1391684177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.865585803985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:31:22.282976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_13_2748.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_16_2699.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_20_3690.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_22_2523.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_25_2606.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_31_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_13_2748.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_16_2699.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_20_3690.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_22_2523.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_25_2606.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_31_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684243","1391684231","1391684240","1391684233","1391684235","1391684229"],"photo_ids_order":["1391684229","1391684231","1391684233","1391684235","1391684240","1391684243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a81869b4eb14d5f25bb7ce1bf9e62181.jpg","text":"TemporaryFile(/tmp/multipartBody454451422928130401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_31_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3315f719b7a417f36ac833a006893720.jpg","text":"TemporaryFile(/tmp/multipartBody5667985967012066665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_16_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d44136bb227ff7a00ceefd5435aa66c3.jpg","text":"TemporaryFile(/tmp/multipartBody3295613295968700498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_25_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bfcea3ecba9a9ef319c99d04fb639ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2246783581399207635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/005878d3b919235d2c083bd8023c0f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6138468138843501737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_22_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca0dde3de5477db7021fb2677a3306a5.jpg","text":"TemporaryFile(/tmp/multipartBody3524812855126908522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762021949789,"filename":"image_30102025_05_32_13_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684233","file1":"1391684231","file0":"1391684229","file4":"1391684240","file5":"1391684243","file3":"1391684235"},"map_files_photo_id_array":[{"photo_id":"1391684243","filename":"file5"},{"photo_id":"1391684233","filename":"file2"},{"photo_id":"1391684240","filename":"file4"},{"photo_id":"1391684231","filename":"file1"},{"photo_id":"1391684229","filename":"file0"},{"photo_id":"1391684235","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684243":["hashtag1","hashtag2"]},{"1391684231":["hashtag1","hashtag2"]},{"1391684240":["hashtag1","hashtag2"]},{"1391684233":["hashtag1","hashtag2"]},{"1391684235":["hashtag1","hashtag2"]},{"1391684229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684243, 1391684231, 1391684240, 1391684233, 1391684235, 1391684229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13874340057373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:32:22.431461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_34_2672.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_40_2720.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_43_2665.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_46_2902.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_50_3778.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_52_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_34_2672.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_40_2720.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_43_2665.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_46_2902.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_50_3778.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_52_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684251","1391684263","1391684265","1391684259","1391684253","1391684256"],"photo_ids_order":["1391684251","1391684253","1391684256","1391684259","1391684263","1391684265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af653b7adde9f6ee08dc8b01c1179fcf.jpg","text":"TemporaryFile(/tmp/multipartBody2227409638658018030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_34_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ab77cba6e77db3e531c4fe4f03eaa69.jpg","text":"TemporaryFile(/tmp/multipartBody3386121780847007819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_50_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/877f34ec8fb55f0f75e90cfe6b49aac5.jpg","text":"TemporaryFile(/tmp/multipartBody282013654343720856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_52_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36840965ebbf7997690cabcebdcb3af4.jpg","text":"TemporaryFile(/tmp/multipartBody3494895614449230483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_46_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbaebea79435cc0bd3dad187e792c5ee.jpg","text":"TemporaryFile(/tmp/multipartBody3126206469242387729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_40_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0597318925d49325f74e13b5a713c18.jpg","text":"TemporaryFile(/tmp/multipartBody1373091477562323582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022007591,"filename":"image_30102025_05_32_43_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684256","file1":"1391684253","file0":"1391684251","file4":"1391684263","file5":"1391684265","file3":"1391684259"},"map_files_photo_id_array":[{"photo_id":"1391684265","filename":"file5"},{"photo_id":"1391684256","filename":"file2"},{"photo_id":"1391684263","filename":"file4"},{"photo_id":"1391684253","filename":"file1"},{"photo_id":"1391684251","filename":"file0"},{"photo_id":"1391684259","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684251":["hashtag1","hashtag2"]},{"1391684263":["hashtag1","hashtag2"]},{"1391684265":["hashtag1","hashtag2"]},{"1391684259":["hashtag1","hashtag2"]},{"1391684253":["hashtag1","hashtag2"]},{"1391684256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684251, 1391684263, 1391684265, 1391684259, 1391684253, 1391684256)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.61743640899658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:33:22.618444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_55_2715.jpg', '/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_59_3697.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_03_4572.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_05_1694.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_08_2662.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_14_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_55_2715.jpg
/home/pi/Desktop/images/30102025/05/32/image_30102025_05_32_59_3697.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_03_4572.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_05_1694.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_08_2662.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_14_1671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684278","1391684287","1391684275","1391684280","1391684273","1391684276"],"photo_ids_order":["1391684273","1391684275","1391684276","1391684278","1391684280","1391684287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6ddff779cbeec4e484adc447c566f89.jpg","text":"TemporaryFile(/tmp/multipartBody13448504695300409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_33_05_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1732a39141e654b4225f723bd84e583.jpg","text":"TemporaryFile(/tmp/multipartBody8098540049472687527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_33_14_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d74e37d9d1f1bfc26079f1684d5a8773.jpg","text":"TemporaryFile(/tmp/multipartBody600713904109374437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_32_59_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e8f0a801c9a10cc14e5562c86db0f43.jpg","text":"TemporaryFile(/tmp/multipartBody5832169735898023861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_33_08_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9914ade0eb2e798a0ed7c5f79e385b77.jpg","text":"TemporaryFile(/tmp/multipartBody4225970026905290335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_32_55_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/183d2a92fe6803d9c1220db1e53db2d1.jpg","text":"TemporaryFile(/tmp/multipartBody4429785917883399385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022065393,"filename":"image_30102025_05_33_03_4572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684276","file1":"1391684275","file0":"1391684273","file4":"1391684280","file5":"1391684287","file3":"1391684278"},"map_files_photo_id_array":[{"photo_id":"1391684287","filename":"file5"},{"photo_id":"1391684276","filename":"file2"},{"photo_id":"1391684280","filename":"file4"},{"photo_id":"1391684275","filename":"file1"},{"photo_id":"1391684273","filename":"file0"},{"photo_id":"1391684278","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684278":["hashtag1","hashtag2"]},{"1391684287":["hashtag1","hashtag2"]},{"1391684275":["hashtag1","hashtag2"]},{"1391684280":["hashtag1","hashtag2"]},{"1391684273":["hashtag1","hashtag2"]},{"1391684276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684278, 1391684287, 1391684275, 1391684280, 1391684273, 1391684276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38410472869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:34:02.373913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_16_2674.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_19_2671.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_23_3591.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_25_2577.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_28_2711.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_32_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_16_2674.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_19_2671.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_23_3591.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_25_2577.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_28_2711.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_32_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684299","1391684293","1391684295","1391684301","1391684304","1391684297"],"photo_ids_order":["1391684293","1391684295","1391684297","1391684299","1391684301","1391684304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c23599a6d1f6182722f43383014d86.jpg","text":"TemporaryFile(/tmp/multipartBody7161726917884279672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_25_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3741833c5b9bca9db8fac89c246ea903.jpg","text":"TemporaryFile(/tmp/multipartBody1635322968129517390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_16_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce16c186fce027991d9ec7b3fe6ef152.jpg","text":"TemporaryFile(/tmp/multipartBody2089265710763637718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a0f19633c0e7b90a35a2ef1f9a18dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2312747542620114932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_28_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35e41b35a9d6dea185c1bb3ffc1e0eea.jpg","text":"TemporaryFile(/tmp/multipartBody6596485970211751080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_32_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3da70c9f9886af6a17e8df1801fca530.jpg","text":"TemporaryFile(/tmp/multipartBody1647614618117065966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022104786,"filename":"image_30102025_05_33_23_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684297","file1":"1391684295","file0":"1391684293","file4":"1391684301","file5":"1391684304","file3":"1391684299"},"map_files_photo_id_array":[{"photo_id":"1391684304","filename":"file5"},{"photo_id":"1391684297","filename":"file2"},{"photo_id":"1391684301","filename":"file4"},{"photo_id":"1391684295","filename":"file1"},{"photo_id":"1391684293","filename":"file0"},{"photo_id":"1391684299","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684299":["hashtag1","hashtag2"]},{"1391684293":["hashtag1","hashtag2"]},{"1391684295":["hashtag1","hashtag2"]},{"1391684301":["hashtag1","hashtag2"]},{"1391684304":["hashtag1","hashtag2"]},{"1391684297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684299, 1391684293, 1391684295, 1391684301, 1391684304, 1391684297)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.921921730041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:35:02.753395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_34_2611.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_40_3749.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_43_2805.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_46_2710.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_49_2704.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_52_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_34_2611.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_40_3749.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_43_2805.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_46_2710.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_49_2704.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_52_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684330","1391684324","1391684333","1391684326","1391684328","1391684322"],"photo_ids_order":["1391684322","1391684324","1391684326","1391684328","1391684330","1391684333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f27de89084a2759f6c4317ddb2df876.jpg","text":"TemporaryFile(/tmp/multipartBody8552828038958282069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_49_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1c79274338364d4f47a5e9a46eda4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5024442412231949576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_40_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0ecaa13d0fb190bad6bbf8cb490a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody211094015421010770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_52_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9c45d3046dd443be9514b579a90ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody6376599418903419372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_43_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ecd3d5003e96c83eef7609557215977.jpg","text":"TemporaryFile(/tmp/multipartBody5107555412086867661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_46_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9432d22a354cbf871d21bfda99518211.jpg","text":"TemporaryFile(/tmp/multipartBody1272312786692824965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022165050,"filename":"image_30102025_05_33_34_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684326","file1":"1391684324","file0":"1391684322","file4":"1391684330","file5":"1391684333","file3":"1391684328"},"map_files_photo_id_array":[{"photo_id":"1391684333","filename":"file5"},{"photo_id":"1391684326","filename":"file2"},{"photo_id":"1391684330","filename":"file4"},{"photo_id":"1391684324","filename":"file1"},{"photo_id":"1391684322","filename":"file0"},{"photo_id":"1391684328","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684330":["hashtag1","hashtag2"]},{"1391684324":["hashtag1","hashtag2"]},{"1391684333":["hashtag1","hashtag2"]},{"1391684326":["hashtag1","hashtag2"]},{"1391684328":["hashtag1","hashtag2"]},{"1391684322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684330, 1391684324, 1391684333, 1391684326, 1391684328, 1391684322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83957529067993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:35:42.025341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_55_2752.jpg', '/home/pi/Desktop/images/30102025/05/33/image_30102025_05_34_01_3618.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_04_2619.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_07_2689.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_10_3577.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_13_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_33_55_2752.jpg
/home/pi/Desktop/images/30102025/05/33/image_30102025_05_34_01_3618.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_04_2619.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_07_2689.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_10_3577.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_13_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684363","1391684357","1391684373","1391684366","1391684369","1391684360"],"photo_ids_order":["1391684357","1391684360","1391684363","1391684366","1391684369","1391684373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/983c693e3438d67f1839f2ea9c774417.jpg","text":"TemporaryFile(/tmp/multipartBody3789707857295674004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_34_04_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/923baad4c519e7a4fe71ed3529e8cab0.jpg","text":"TemporaryFile(/tmp/multipartBody8952418449424504855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_33_55_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff15929dbc8eab115618a33fa8decc20.jpg","text":"TemporaryFile(/tmp/multipartBody5568508959682716429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_34_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec2d7211273b461b8541f25997a5379a.jpg","text":"TemporaryFile(/tmp/multipartBody6986897313359425462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_34_07_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8941bae2f54e7e16832324634ddaa9ed.jpg","text":"TemporaryFile(/tmp/multipartBody2530284151765443726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_34_10_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc6381454925d6bac97f247fc278a45e.jpg","text":"TemporaryFile(/tmp/multipartBody4914005942273992281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022242972,"filename":"image_30102025_05_34_01_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684363","file1":"1391684360","file0":"1391684357","file4":"1391684369","file5":"1391684373","file3":"1391684366"},"map_files_photo_id_array":[{"photo_id":"1391684373","filename":"file5"},{"photo_id":"1391684363","filename":"file2"},{"photo_id":"1391684369","filename":"file4"},{"photo_id":"1391684360","filename":"file1"},{"photo_id":"1391684357","filename":"file0"},{"photo_id":"1391684366","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684363":["hashtag1","hashtag2"]},{"1391684357":["hashtag1","hashtag2"]},{"1391684373":["hashtag1","hashtag2"]},{"1391684366":["hashtag1","hashtag2"]},{"1391684369":["hashtag1","hashtag2"]},{"1391684360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684363, 1391684357, 1391684373, 1391684366, 1391684369, 1391684360)","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 = 1391684363 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_04_2619.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 95.2274956703186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:37:28.051158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_17_3548.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_19_2789.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_22_2687.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_26_3543.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_28_2736.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_31_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_17_3548.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_19_2789.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_22_2687.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_26_3543.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_28_2736.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_31_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684398","1391684402","1391684386","1391684394","1391684388","1391684390"],"photo_ids_order":["1391684386","1391684388","1391684390","1391684394","1391684398","1391684402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42a5d16cf3c6e0edad87061236310965.jpg","text":"TemporaryFile(/tmp/multipartBody4814326166495503034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_28_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0ad14566b0b4e28379821bef6c8dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7517026976758083027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0acac6788838dc6d7aef6b0bd5ff71d.jpg","text":"TemporaryFile(/tmp/multipartBody1090546241751465762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_17_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28b0e05f9ade2c4562409388d985bd70.jpg","text":"TemporaryFile(/tmp/multipartBody2739856112506142957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_26_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f24047bce27631059f49afb351afdb2.jpg","text":"TemporaryFile(/tmp/multipartBody1286221614893589659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_19_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32201ce0a4613c78c0a0401562844801.jpg","text":"TemporaryFile(/tmp/multipartBody5766200743365011227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022311845,"filename":"image_30102025_05_34_22_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684390","file1":"1391684388","file0":"1391684386","file4":"1391684398","file5":"1391684402","file3":"1391684394"},"map_files_photo_id_array":[{"photo_id":"1391684402","filename":"file5"},{"photo_id":"1391684390","filename":"file2"},{"photo_id":"1391684398","filename":"file4"},{"photo_id":"1391684388","filename":"file1"},{"photo_id":"1391684386","filename":"file0"},{"photo_id":"1391684394","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684398":["hashtag1","hashtag2"]},{"1391684402":["hashtag1","hashtag2"]},{"1391684386":["hashtag1","hashtag2"]},{"1391684394":["hashtag1","hashtag2"]},{"1391684388":["hashtag1","hashtag2"]},{"1391684390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684398, 1391684402, 1391684386, 1391684394, 1391684388, 1391684390)","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 = 1391684390 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_22_2687.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 72.06292915344238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:38:42.451624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_34_2671.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_37_3632.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_40_2813.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_43_2793.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_46_2701.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_49_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_34_2671.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_37_3632.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_40_2813.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_43_2793.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_46_2701.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_49_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684450","1391684432","1391684452","1391684440","1391684418","1391684447"],"photo_ids_order":["1391684418","1391684432","1391684440","1391684447","1391684450","1391684452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0421dcc0eac53ec0b83402f9a1aefba6.jpg","text":"TemporaryFile(/tmp/multipartBody3704718145223215863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_46_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d50617982330f645d9052ad08c30f98a.jpg","text":"TemporaryFile(/tmp/multipartBody7854523807285232507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_37_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8a0f9d50e3f87b9f032c38a5c0b53f2.jpg","text":"TemporaryFile(/tmp/multipartBody3758271599155223461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_49_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec73a64059411a1048e8d1c88b8a1d26.jpg","text":"TemporaryFile(/tmp/multipartBody1198871686105365113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_40_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8978d7ca1ec5e0b8a194f20bf351c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3348467410770798519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a75550fb74d0906a54e6f647979ae836.jpg","text":"TemporaryFile(/tmp/multipartBody6264896051430479742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022383713,"filename":"image_30102025_05_34_43_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684440","file1":"1391684432","file0":"1391684418","file4":"1391684450","file5":"1391684452","file3":"1391684447"},"map_files_photo_id_array":[{"photo_id":"1391684452","filename":"file5"},{"photo_id":"1391684440","filename":"file2"},{"photo_id":"1391684450","filename":"file4"},{"photo_id":"1391684432","filename":"file1"},{"photo_id":"1391684418","filename":"file0"},{"photo_id":"1391684447","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684450":["hashtag1","hashtag2"]},{"1391684432":["hashtag1","hashtag2"]},{"1391684452":["hashtag1","hashtag2"]},{"1391684440":["hashtag1","hashtag2"]},{"1391684418":["hashtag1","hashtag2"]},{"1391684447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684450, 1391684432, 1391684452, 1391684440, 1391684418, 1391684447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38631749153137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:39:22.786207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_52_2613.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_55_2704.jpg', '/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_58_3748.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_01_2763.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_04_2546.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_07_2930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_52_2613.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_55_2704.jpg
/home/pi/Desktop/images/30102025/05/34/image_30102025_05_34_58_3748.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_01_2763.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_04_2546.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_07_2930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684494","1391684485","1391684479","1391684487","1391684490","1391684483"],"photo_ids_order":["1391684479","1391684483","1391684485","1391684487","1391684490","1391684494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e5979d318c8d4ce80febf51821ca190.jpg","text":"TemporaryFile(/tmp/multipartBody2969388496214118015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_35_07_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2c648fcbc770cc4d0961671aa0836e3.jpg","text":"TemporaryFile(/tmp/multipartBody5805756119775753333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_34_58_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cf5470d5b4ba0c708dac15a486e5aae.jpg","text":"TemporaryFile(/tmp/multipartBody2276797386983856258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_34_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c97525301e09abaf2bdb1ff0d781842a.jpg","text":"TemporaryFile(/tmp/multipartBody7743696324105440305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_35_01_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a63314cff509046fd360009f2fb7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6617248124943009725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_35_04_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69b64c38f492b44601ce11519b04fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody8265037805281943751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022425855,"filename":"image_30102025_05_34_55_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684485","file1":"1391684483","file0":"1391684479","file4":"1391684490","file5":"1391684494","file3":"1391684487"},"map_files_photo_id_array":[{"photo_id":"1391684494","filename":"file5"},{"photo_id":"1391684485","filename":"file2"},{"photo_id":"1391684490","filename":"file4"},{"photo_id":"1391684483","filename":"file1"},{"photo_id":"1391684479","filename":"file0"},{"photo_id":"1391684487","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684494":["hashtag1","hashtag2"]},{"1391684485":["hashtag1","hashtag2"]},{"1391684479":["hashtag1","hashtag2"]},{"1391684487":["hashtag1","hashtag2"]},{"1391684490":["hashtag1","hashtag2"]},{"1391684483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684494, 1391684485, 1391684479, 1391684487, 1391684490, 1391684483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55713391304016 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:40:21.822931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_10_3730.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_13_2783.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_16_2661.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_19_2809.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_22_3516.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_25_2929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_10_3730.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_13_2783.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_16_2661.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_19_2809.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_22_3516.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_25_2929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684501","1391684510","1391684504","1391684507","1391684515","1391684502"],"photo_ids_order":["1391684501","1391684502","1391684504","1391684507","1391684510","1391684515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b904a52d9ec484015587db4bb515da81.jpg","text":"TemporaryFile(/tmp/multipartBody7117894720391364469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_10_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7e9dffb91053965f6a10ce2ca31f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody9124290162065425013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_22_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6372f5cee6bb87f9cdae32fcac665983.jpg","text":"TemporaryFile(/tmp/multipartBody934296185223733529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_16_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2e98236a73753faf16c6afc301184c1.jpg","text":"TemporaryFile(/tmp/multipartBody4343179432687362260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_19_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/524230eb581436db07c39f82128e697e.jpg","text":"TemporaryFile(/tmp/multipartBody6157659191362522609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_25_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8eaf936750a25feedb8736b1f70ce105.jpg","text":"TemporaryFile(/tmp/multipartBody8732079297665097552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022484301,"filename":"image_30102025_05_35_13_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684504","file1":"1391684502","file0":"1391684501","file4":"1391684510","file5":"1391684515","file3":"1391684507"},"map_files_photo_id_array":[{"photo_id":"1391684515","filename":"file5"},{"photo_id":"1391684504","filename":"file2"},{"photo_id":"1391684510","filename":"file4"},{"photo_id":"1391684502","filename":"file1"},{"photo_id":"1391684501","filename":"file0"},{"photo_id":"1391684507","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684501":["hashtag1","hashtag2"]},{"1391684510":["hashtag1","hashtag2"]},{"1391684504":["hashtag1","hashtag2"]},{"1391684507":["hashtag1","hashtag2"]},{"1391684515":["hashtag1","hashtag2"]},{"1391684502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684501, 1391684510, 1391684504, 1391684507, 1391684515, 1391684502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33772659301758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:41:02.748274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_28_2586.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_31_3584.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_34_2667.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_37_2679.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_40_3736.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_43_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_28_2586.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_31_3584.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_34_2667.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_37_2679.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_40_3736.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_43_2617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 4.854307413101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:41:22.092853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_28_2586.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_31_3584.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_34_2667.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_37_2679.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_40_3736.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_43_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_28_2586.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_31_3584.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_34_2667.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_37_2679.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_40_3736.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_43_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684539","1391684530","1391684533","1391684542","1391684536","1391684546"],"photo_ids_order":["1391684530","1391684533","1391684536","1391684539","1391684542","1391684546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd1345f0cfc7331eac50ae5e532a6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3364706431544922525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_37_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0697b4f45ea15276593cea794c8401bd.jpg","text":"TemporaryFile(/tmp/multipartBody9134148391259600364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_28_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/060b1b26ec8f7ac4b4869ff85f954b9d.jpg","text":"TemporaryFile(/tmp/multipartBody6584569970707613611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_31_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f00de5abc29801a3ea30cea1f9156ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8481308239796600749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_40_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6df2eba69239d3b79467b123f66401b.jpg","text":"TemporaryFile(/tmp/multipartBody9178093959148573467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19f7188d0721f2d76badcc8700570dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3606648475768967691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022544468,"filename":"image_30102025_05_35_43_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684536","file1":"1391684533","file0":"1391684530","file4":"1391684542","file5":"1391684546","file3":"1391684539"},"map_files_photo_id_array":[{"photo_id":"1391684546","filename":"file5"},{"photo_id":"1391684536","filename":"file2"},{"photo_id":"1391684542","filename":"file4"},{"photo_id":"1391684533","filename":"file1"},{"photo_id":"1391684530","filename":"file0"},{"photo_id":"1391684539","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684539":["hashtag1","hashtag2"]},{"1391684530":["hashtag1","hashtag2"]},{"1391684533":["hashtag1","hashtag2"]},{"1391684542":["hashtag1","hashtag2"]},{"1391684536":["hashtag1","hashtag2"]},{"1391684546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684539, 1391684530, 1391684533, 1391684542, 1391684536, 1391684546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.175843477249146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:42:02.791607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_46_2769.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_49_3643.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_52_2795.jpg', '/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_55_2602.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_01_2672.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_04_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_46_2769.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_49_3643.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_52_2795.jpg
/home/pi/Desktop/images/30102025/05/35/image_30102025_05_35_55_2602.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_01_2672.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_04_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684561","1391684555","1391684558","1391684550","1391684564","1391684552"],"photo_ids_order":["1391684550","1391684552","1391684555","1391684558","1391684561","1391684564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a6eac840faa453ab03eede47791145d.jpg","text":"TemporaryFile(/tmp/multipartBody5708983546271722830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_36_01_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dfe385ffc0ed89376477f8da616b380.jpg","text":"TemporaryFile(/tmp/multipartBody3086667151387441211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_35_52_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b69b787bdd978118a73bed430def91bd.jpg","text":"TemporaryFile(/tmp/multipartBody6585211596654885717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_35_55_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d845a7c890269d4f9de4aeaa74cfbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3995346191786879576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_35_46_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/802fdc42494ea0c04137ba7de9eafb4c.jpg","text":"TemporaryFile(/tmp/multipartBody3445519683049754638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_36_04_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b3d2e23c5e222407fd4a150d350acec.jpg","text":"TemporaryFile(/tmp/multipartBody2324751758519941266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022585540,"filename":"image_30102025_05_35_49_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684555","file1":"1391684552","file0":"1391684550","file4":"1391684561","file5":"1391684564","file3":"1391684558"},"map_files_photo_id_array":[{"photo_id":"1391684564","filename":"file5"},{"photo_id":"1391684555","filename":"file2"},{"photo_id":"1391684561","filename":"file4"},{"photo_id":"1391684552","filename":"file1"},{"photo_id":"1391684550","filename":"file0"},{"photo_id":"1391684558","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684561":["hashtag1","hashtag2"]},{"1391684555":["hashtag1","hashtag2"]},{"1391684558":["hashtag1","hashtag2"]},{"1391684550":["hashtag1","hashtag2"]},{"1391684564":["hashtag1","hashtag2"]},{"1391684552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684561, 1391684555, 1391684558, 1391684550, 1391684564, 1391684552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97918915748596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:42:42.282373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_07_3671.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_10_2796.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_13_2546.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_16_3690.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_19_2636.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_22_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_07_3671.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_10_2796.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_13_2546.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_16_3690.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_19_2636.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_22_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391684581","1391684575","1391684578","1391684572","1391684583","1391684585"],"photo_ids_order":["1391684572","1391684575","1391684578","1391684581","1391684583","1391684585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/412666f24dcadbe7f8d5c0021ce02e45.jpg","text":"TemporaryFile(/tmp/multipartBody1363427593582178095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_16_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fe73d0173e8323b5f9a021d873f274c.jpg","text":"TemporaryFile(/tmp/multipartBody4963808541208926034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_10_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ef021d06b085eb601e748abed69e60a.jpg","text":"TemporaryFile(/tmp/multipartBody7557225746085956305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_13_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d3c5b9a5ee8186d131ade7c4844a261.jpg","text":"TemporaryFile(/tmp/multipartBody1781737028257669719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_07_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a2ab855fce892ad4aa690a6e216aa18.jpg","text":"TemporaryFile(/tmp/multipartBody7089074341316791559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_19_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/456d020cff9a3e3cdb016ddab71b3d40.jpg","text":"TemporaryFile(/tmp/multipartBody308303887040045854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022623649,"filename":"image_30102025_05_36_22_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684578","file1":"1391684575","file0":"1391684572","file4":"1391684583","file5":"1391684585","file3":"1391684581"},"map_files_photo_id_array":[{"photo_id":"1391684585","filename":"file5"},{"photo_id":"1391684578","filename":"file2"},{"photo_id":"1391684583","filename":"file4"},{"photo_id":"1391684575","filename":"file1"},{"photo_id":"1391684572","filename":"file0"},{"photo_id":"1391684581","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684581":["hashtag1","hashtag2"]},{"1391684575":["hashtag1","hashtag2"]},{"1391684578":["hashtag1","hashtag2"]},{"1391684572":["hashtag1","hashtag2"]},{"1391684583":["hashtag1","hashtag2"]},{"1391684585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684581, 1391684575, 1391684578, 1391684572, 1391684583, 1391684585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.291303873062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:43:42.420564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_25_3687.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_28_2690.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_31_2651.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_34_3610.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_40_2599.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_43_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_25_3687.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_28_2690.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_31_2651.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_34_3610.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_40_2599.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_43_2852.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.043595552444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:44:03.402901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_25_3687.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_28_2690.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_31_2651.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_34_3610.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_40_2599.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_43_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_25_3687.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_28_2690.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_31_2651.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_34_3610.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_40_2599.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_43_2852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684621","1391684626","1391684614","1391684623","1391684617","1391684619"],"photo_ids_order":["1391684614","1391684617","1391684619","1391684621","1391684623","1391684626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a64e36dfb9c21d56b3dcb4028f82208.jpg","text":"TemporaryFile(/tmp/multipartBody54016313432490419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_34_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ce39197cb095d0df2df962f30f16c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5920567670959693786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_43_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a66392f3ea196ae0a96ff74de789ef9c.jpg","text":"TemporaryFile(/tmp/multipartBody1270394704614539733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_25_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e5e4fd441426e4b6df06214eb921440.jpg","text":"TemporaryFile(/tmp/multipartBody6980166814066461432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e49694ee62044020848d2da5cd1cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody7694438553104381966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_28_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b433f7a08ed01fce10c7d31a4097035c.jpg","text":"TemporaryFile(/tmp/multipartBody3914822974748983112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022705685,"filename":"image_30102025_05_36_31_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684619","file1":"1391684617","file0":"1391684614","file4":"1391684623","file5":"1391684626","file3":"1391684621"},"map_files_photo_id_array":[{"photo_id":"1391684626","filename":"file5"},{"photo_id":"1391684619","filename":"file2"},{"photo_id":"1391684623","filename":"file4"},{"photo_id":"1391684617","filename":"file1"},{"photo_id":"1391684614","filename":"file0"},{"photo_id":"1391684621","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684621":["hashtag1","hashtag2"]},{"1391684626":["hashtag1","hashtag2"]},{"1391684614":["hashtag1","hashtag2"]},{"1391684623":["hashtag1","hashtag2"]},{"1391684617":["hashtag1","hashtag2"]},{"1391684619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684621, 1391684626, 1391684614, 1391684623, 1391684617, 1391684619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10073232650757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:44:42.657696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_46_3649.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_49_2732.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_52_2607.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_55_3622.jpg', '/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_58_2711.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_01_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_46_3649.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_49_2732.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_52_2607.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_55_3622.jpg
/home/pi/Desktop/images/30102025/05/36/image_30102025_05_36_58_2711.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_01_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684648","1391684636","1391684650","1391684644","1391684652","1391684640"],"photo_ids_order":["1391684636","1391684640","1391684644","1391684648","1391684650","1391684652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7073d80b2d6eab51e2af446dd1e747c1.jpg","text":"TemporaryFile(/tmp/multipartBody7785069193460071886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_36_55_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afaf350efb47693175a88307c7e49c34.jpg","text":"TemporaryFile(/tmp/multipartBody9089972987751647611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_36_46_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/234bb8dfec5244871e68a94f0aacd2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2535841127082712479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_36_58_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f35445fa06b8074c7e61896e41b99f08.jpg","text":"TemporaryFile(/tmp/multipartBody7500692628347939021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_36_52_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b3605b276d0c137e5d634fb6829359e.jpg","text":"TemporaryFile(/tmp/multipartBody4721961650147774042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_37_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f8c705527fde1a587657a55274fb9e1.jpg","text":"TemporaryFile(/tmp/multipartBody80868814437530846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022743899,"filename":"image_30102025_05_36_49_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684644","file1":"1391684640","file0":"1391684636","file4":"1391684650","file5":"1391684652","file3":"1391684648"},"map_files_photo_id_array":[{"photo_id":"1391684652","filename":"file5"},{"photo_id":"1391684644","filename":"file2"},{"photo_id":"1391684650","filename":"file4"},{"photo_id":"1391684640","filename":"file1"},{"photo_id":"1391684636","filename":"file0"},{"photo_id":"1391684648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684648":["hashtag1","hashtag2"]},{"1391684636":["hashtag1","hashtag2"]},{"1391684650":["hashtag1","hashtag2"]},{"1391684644":["hashtag1","hashtag2"]},{"1391684652":["hashtag1","hashtag2"]},{"1391684640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684648, 1391684636, 1391684650, 1391684644, 1391684652, 1391684640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.762964487075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:45:21.856812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_04_3565.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_07_2625.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_09_2586.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_13_3591.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_16_2569.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_19_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_04_3565.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_07_2625.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_09_2586.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_13_3591.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_16_2569.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_19_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684660","1391684654","1391684657","1391684668","1391684673","1391684664"],"photo_ids_order":["1391684654","1391684657","1391684660","1391684664","1391684668","1391684673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7abe0287b2651bd3216c183206be211f.jpg","text":"TemporaryFile(/tmp/multipartBody8295492376534540200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_09_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd1cc97bf94e532b65c86787e3546435.jpg","text":"TemporaryFile(/tmp/multipartBody3517955230728600854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_04_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd7ccfed93fc532f0954b4335b9c3943.jpg","text":"TemporaryFile(/tmp/multipartBody5959884467058681747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_07_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72081091964589a6e80af1e680fce961.jpg","text":"TemporaryFile(/tmp/multipartBody1207390523639848846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_16_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17ee0c434f6d6dcfafb1e02122d40a34.jpg","text":"TemporaryFile(/tmp/multipartBody3169667402381301739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_19_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75298ee4f6964c5610e608c0770170d5.jpg","text":"TemporaryFile(/tmp/multipartBody3983921268100840349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022784642,"filename":"image_30102025_05_37_13_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684660","file1":"1391684657","file0":"1391684654","file4":"1391684668","file5":"1391684673","file3":"1391684664"},"map_files_photo_id_array":[{"photo_id":"1391684673","filename":"file5"},{"photo_id":"1391684660","filename":"file2"},{"photo_id":"1391684668","filename":"file4"},{"photo_id":"1391684657","filename":"file1"},{"photo_id":"1391684654","filename":"file0"},{"photo_id":"1391684664","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684660":["hashtag1","hashtag2"]},{"1391684654":["hashtag1","hashtag2"]},{"1391684657":["hashtag1","hashtag2"]},{"1391684668":["hashtag1","hashtag2"]},{"1391684673":["hashtag1","hashtag2"]},{"1391684664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684660, 1391684654, 1391684657, 1391684668, 1391684673, 1391684664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93191409111023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:46:02.471215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_22_2583.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_24_2780.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_28_3506.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_31_2696.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_33_2755.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_37_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_22_2583.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_24_2780.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_28_3506.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_31_2696.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_33_2755.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_37_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684714","1391684713","1391684716","1391684691","1391684712","1391684690"],"photo_ids_order":["1391684690","1391684691","1391684712","1391684713","1391684714","1391684716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e76b0f034bc784ffcb83e465157dd68e.jpg","text":"TemporaryFile(/tmp/multipartBody3505071326129993620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_33_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6adbd894d2d607e8a746dd2e76e047fd.jpg","text":"TemporaryFile(/tmp/multipartBody28017038781003025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_31_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec90e978d5d6c5308cd103f534715ab6.jpg","text":"TemporaryFile(/tmp/multipartBody5796282321720277138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_37_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b835196b108735e9b95bea8671c79cf.jpg","text":"TemporaryFile(/tmp/multipartBody151998661270778916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_24_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26e4c835b2cee54a7e0159cd3d9d7c1b.jpg","text":"TemporaryFile(/tmp/multipartBody8298107373143465303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_28_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4f1c701bda50a5e125fd6290952a93e.jpg","text":"TemporaryFile(/tmp/multipartBody4262730793423831279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022825760,"filename":"image_30102025_05_37_22_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684712","file1":"1391684691","file0":"1391684690","file4":"1391684714","file5":"1391684716","file3":"1391684713"},"map_files_photo_id_array":[{"photo_id":"1391684716","filename":"file5"},{"photo_id":"1391684712","filename":"file2"},{"photo_id":"1391684714","filename":"file4"},{"photo_id":"1391684691","filename":"file1"},{"photo_id":"1391684690","filename":"file0"},{"photo_id":"1391684713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684714":["hashtag1","hashtag2"]},{"1391684713":["hashtag1","hashtag2"]},{"1391684716":["hashtag1","hashtag2"]},{"1391684691":["hashtag1","hashtag2"]},{"1391684712":["hashtag1","hashtag2"]},{"1391684690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684714, 1391684713, 1391684716, 1391684691, 1391684712, 1391684690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.394264459609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:46:42.023105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_40_2714.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_42_2625.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_46_3765.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_49_2717.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_52_2637.jpg', '/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_54_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_40_2714.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_42_2625.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_46_3765.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_49_2717.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_52_2637.jpg
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_54_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684732","1391684729","1391684731","1391684734","1391684724","1391684727"],"photo_ids_order":["1391684724","1391684727","1391684729","1391684731","1391684732","1391684734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6e2420e6dffa43f9207d8cc200e924e.jpg","text":"TemporaryFile(/tmp/multipartBody4964283064565413965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_52_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/960f969921ab6b81b01f0794eeb16f59.jpg","text":"TemporaryFile(/tmp/multipartBody7297660485071132731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_46_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4e2221171c31fb76a3996588226b797.jpg","text":"TemporaryFile(/tmp/multipartBody6392288379125023975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_49_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8013353e33e1be77825661ce18e59c03.jpg","text":"TemporaryFile(/tmp/multipartBody2675909385595766313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_54_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50451191e534902e5aa6e97437fe1cac.jpg","text":"TemporaryFile(/tmp/multipartBody6987207691690699054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dcaa1f34b3c9edb59758ff9729ef45a.jpg","text":"TemporaryFile(/tmp/multipartBody6769308466129699594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022863331,"filename":"image_30102025_05_37_42_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684729","file1":"1391684727","file0":"1391684724","file4":"1391684732","file5":"1391684734","file3":"1391684731"},"map_files_photo_id_array":[{"photo_id":"1391684734","filename":"file5"},{"photo_id":"1391684729","filename":"file2"},{"photo_id":"1391684732","filename":"file4"},{"photo_id":"1391684727","filename":"file1"},{"photo_id":"1391684724","filename":"file0"},{"photo_id":"1391684731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684732":["hashtag1","hashtag2"]},{"1391684729":["hashtag1","hashtag2"]},{"1391684731":["hashtag1","hashtag2"]},{"1391684734":["hashtag1","hashtag2"]},{"1391684724":["hashtag1","hashtag2"]},{"1391684727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684732, 1391684729, 1391684731, 1391684734, 1391684724, 1391684727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57187509536743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:47:22.191999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_58_3627.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_01_2920.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_04_2797.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_06_2721.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_10_3581.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_13_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/37/image_30102025_05_37_58_3627.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_01_2920.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_04_2797.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_06_2721.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_10_3581.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_13_2522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684743","1391684746","1391684740","1391684754","1391684750","1391684744"],"photo_ids_order":["1391684740","1391684743","1391684744","1391684746","1391684750","1391684754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab98ee25a4452a00cad950f189a18ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6279432892966711047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_38_01_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbd8f96ca8250f13d59edfa076011e9d.jpg","text":"TemporaryFile(/tmp/multipartBody314802198568092186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_38_06_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecc28d6c697405ba5d28ee995bd671bc.jpg","text":"TemporaryFile(/tmp/multipartBody4406507293082971526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_37_58_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec65df864c95450f603e3e0b855b4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2258755612765560140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_38_13_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccc4921e62831bf152c6812da830818d.jpg","text":"TemporaryFile(/tmp/multipartBody5578610144572790513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_38_10_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db7d4c823aab87d4aafd0fbeaee81b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2798348923999647758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022904971,"filename":"image_30102025_05_38_04_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684744","file1":"1391684743","file0":"1391684740","file4":"1391684750","file5":"1391684754","file3":"1391684746"},"map_files_photo_id_array":[{"photo_id":"1391684754","filename":"file5"},{"photo_id":"1391684744","filename":"file2"},{"photo_id":"1391684750","filename":"file4"},{"photo_id":"1391684743","filename":"file1"},{"photo_id":"1391684740","filename":"file0"},{"photo_id":"1391684746","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684743":["hashtag1","hashtag2"]},{"1391684746":["hashtag1","hashtag2"]},{"1391684740":["hashtag1","hashtag2"]},{"1391684754":["hashtag1","hashtag2"]},{"1391684750":["hashtag1","hashtag2"]},{"1391684744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684743, 1391684746, 1391684740, 1391684754, 1391684750, 1391684744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.701396465301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:48:02.828738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_19_3754.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_22_2560.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_25_3520.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_28_2727.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_33_2900.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_36_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_19_3754.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_22_2560.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_25_3520.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_28_2727.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_33_2900.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_36_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684761","1391684764","1391684772","1391684766","1391684769","1391684763"],"photo_ids_order":["1391684761","1391684763","1391684764","1391684766","1391684769","1391684772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc625c56ced13125d39599dee580b1f1.jpg","text":"TemporaryFile(/tmp/multipartBody118814344351869605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_19_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86a0939de88152847adf6acbba4e8506.jpg","text":"TemporaryFile(/tmp/multipartBody5941874684110318532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_25_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0ff2f5d4cf39bac8290f8ba7f783227.jpg","text":"TemporaryFile(/tmp/multipartBody3584254805010144919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_36_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d12dac95eda786731dcb84018133092.jpg","text":"TemporaryFile(/tmp/multipartBody7290713406968622330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7456fff880181807aed065995da7087e.jpg","text":"TemporaryFile(/tmp/multipartBody4621138948134667481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_33_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3279bb91c970d81356d611bda6825d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2104205672417730335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022945057,"filename":"image_30102025_05_38_22_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684764","file1":"1391684763","file0":"1391684761","file4":"1391684769","file5":"1391684772","file3":"1391684766"},"map_files_photo_id_array":[{"photo_id":"1391684772","filename":"file5"},{"photo_id":"1391684764","filename":"file2"},{"photo_id":"1391684769","filename":"file4"},{"photo_id":"1391684763","filename":"file1"},{"photo_id":"1391684761","filename":"file0"},{"photo_id":"1391684766","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684761":["hashtag1","hashtag2"]},{"1391684764":["hashtag1","hashtag2"]},{"1391684772":["hashtag1","hashtag2"]},{"1391684766":["hashtag1","hashtag2"]},{"1391684769":["hashtag1","hashtag2"]},{"1391684763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684761, 1391684764, 1391684772, 1391684766, 1391684769, 1391684763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58301091194153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:48:44.464046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_40_3637.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_43_2729.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_45_2596.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_49_3642.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_51_2653.jpg', '/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_54_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_40_3637.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_43_2729.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_45_2596.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_49_3642.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_51_2653.jpg
/home/pi/Desktop/images/30102025/05/38/image_30102025_05_38_54_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684785","1391684796","1391684790","1391684793","1391684787","1391684789"],"photo_ids_order":["1391684785","1391684787","1391684789","1391684790","1391684793","1391684796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc15bd3e7988f5529436849599bbffd2.jpg","text":"TemporaryFile(/tmp/multipartBody3021878005935675364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_40_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/619860bad49babaac296911db2f3e324.jpg","text":"TemporaryFile(/tmp/multipartBody6675500569218965817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_54_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f054556193d05e5d702d8fe6319f361.jpg","text":"TemporaryFile(/tmp/multipartBody6866574414452194731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_49_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ba1422445aa30ca70aacb5936355881.jpg","text":"TemporaryFile(/tmp/multipartBody2661005572097493838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_51_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc30ac705d8166334b867bd1ee0c913c.jpg","text":"TemporaryFile(/tmp/multipartBody739807350359651960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7559b15a8763ce73594878ea70dae504.jpg","text":"TemporaryFile(/tmp/multipartBody3015617934151438817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762022987954,"filename":"image_30102025_05_38_45_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684789","file1":"1391684787","file0":"1391684785","file4":"1391684793","file5":"1391684796","file3":"1391684790"},"map_files_photo_id_array":[{"photo_id":"1391684796","filename":"file5"},{"photo_id":"1391684789","filename":"file2"},{"photo_id":"1391684793","filename":"file4"},{"photo_id":"1391684787","filename":"file1"},{"photo_id":"1391684785","filename":"file0"},{"photo_id":"1391684790","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684785":["hashtag1","hashtag2"]},{"1391684796":["hashtag1","hashtag2"]},{"1391684790":["hashtag1","hashtag2"]},{"1391684793":["hashtag1","hashtag2"]},{"1391684787":["hashtag1","hashtag2"]},{"1391684789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684785, 1391684796, 1391684790, 1391684793, 1391684787, 1391684789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7810537815094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:49:42.587915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_01_2635.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_03_2648.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_07_3681.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_10_2789.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_12_2710.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_16_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_01_2635.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_03_2648.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_07_3681.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_10_2789.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_12_2710.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_16_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684807","1391684816","1391684810","1391684818","1391684812","1391684814"],"photo_ids_order":["1391684807","1391684810","1391684812","1391684814","1391684816","1391684818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b827dd6384677b59fea919aaa000898b.jpg","text":"TemporaryFile(/tmp/multipartBody5983030253244360101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_01_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42f3b1f196b51ee632733a14dba1c9d8.jpg","text":"TemporaryFile(/tmp/multipartBody6971504494640145759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_12_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d7ab41ac0da47dc425f235f666e0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1310868487114296931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_03_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3e73548e1193fb00e435333138cc5f3.jpg","text":"TemporaryFile(/tmp/multipartBody50352978200524828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_16_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c98e1c900f925b4cc8c96f36af093cb.jpg","text":"TemporaryFile(/tmp/multipartBody9196180230767018570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_07_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31139b3329ed7fc555f7dce94fdac2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3167083986674895626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023043872,"filename":"image_30102025_05_39_10_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684812","file1":"1391684810","file0":"1391684807","file4":"1391684816","file5":"1391684818","file3":"1391684814"},"map_files_photo_id_array":[{"photo_id":"1391684818","filename":"file5"},{"photo_id":"1391684812","filename":"file2"},{"photo_id":"1391684816","filename":"file4"},{"photo_id":"1391684810","filename":"file1"},{"photo_id":"1391684807","filename":"file0"},{"photo_id":"1391684814","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684807":["hashtag1","hashtag2"]},{"1391684816":["hashtag1","hashtag2"]},{"1391684810":["hashtag1","hashtag2"]},{"1391684818":["hashtag1","hashtag2"]},{"1391684812":["hashtag1","hashtag2"]},{"1391684814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684807, 1391684816, 1391684810, 1391684818, 1391684812, 1391684814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449288845062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:50:22.767300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_19_2640.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_21_2513.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_25_3647.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_27_2620.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_30_2803.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_34_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_19_2640.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_21_2513.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_25_3647.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_27_2620.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_30_2803.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_34_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684819","1391684836","1391684821","1391684832","1391684823","1391684826"],"photo_ids_order":["1391684819","1391684821","1391684823","1391684826","1391684832","1391684836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b791d3c14856f9445fe817c296ea0592.jpg","text":"TemporaryFile(/tmp/multipartBody9095193484021135053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_19_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59bfba67c2b086a065e2646c52dc0c05.jpg","text":"TemporaryFile(/tmp/multipartBody2346836659661061984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_34_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/642f5e9994ad2886c0df648da2cd499e.jpg","text":"TemporaryFile(/tmp/multipartBody2389804994266477633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_21_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fe02b19c9abb7b3840e6ffa9db6fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody8895819201857304613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_30_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd7c71b2b3c8b72530843bd00c24d951.jpg","text":"TemporaryFile(/tmp/multipartBody1252849218008135881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_25_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a3f26e2d6b8e8f3b4e15b94d2d38264.jpg","text":"TemporaryFile(/tmp/multipartBody6575302988991695668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023085539,"filename":"image_30102025_05_39_27_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684823","file1":"1391684821","file0":"1391684819","file4":"1391684832","file5":"1391684836","file3":"1391684826"},"map_files_photo_id_array":[{"photo_id":"1391684836","filename":"file5"},{"photo_id":"1391684823","filename":"file2"},{"photo_id":"1391684832","filename":"file4"},{"photo_id":"1391684821","filename":"file1"},{"photo_id":"1391684819","filename":"file0"},{"photo_id":"1391684826","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684819":["hashtag1","hashtag2"]},{"1391684836":["hashtag1","hashtag2"]},{"1391684821":["hashtag1","hashtag2"]},{"1391684832":["hashtag1","hashtag2"]},{"1391684823":["hashtag1","hashtag2"]},{"1391684826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684819, 1391684836, 1391684821, 1391684832, 1391684823, 1391684826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87617611885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:51:02.693486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_40_2879.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_42_2777.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_46_3680.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_49_2724.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_51_2493.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_55_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_40_2879.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_42_2777.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_46_3680.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_49_2724.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_51_2493.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_55_3519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684849","1391684848","1391684842","1391684851","1391684845","1391684844"],"photo_ids_order":["1391684842","1391684844","1391684845","1391684848","1391684849","1391684851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c6da01ae2e837ecfd69005c23f484f6.jpg","text":"TemporaryFile(/tmp/multipartBody4603653745778108506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_51_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7b08f3c526d0a6137daee096429c380.jpg","text":"TemporaryFile(/tmp/multipartBody4976729560580139522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_49_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d87c919d8a6def791403500132213187.jpg","text":"TemporaryFile(/tmp/multipartBody4420405107614763433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_40_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57b8f07b967d539949f386a365139925.jpg","text":"TemporaryFile(/tmp/multipartBody4185926388633552191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_55_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eeedc704b74e418fcbe1177e2788ac68.jpg","text":"TemporaryFile(/tmp/multipartBody2804462674480589584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_46_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5aa0334a1b53bc4c21ebfe1e2f171927.jpg","text":"TemporaryFile(/tmp/multipartBody8391921819234138266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023125034,"filename":"image_30102025_05_39_42_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684845","file1":"1391684844","file0":"1391684842","file4":"1391684849","file5":"1391684851","file3":"1391684848"},"map_files_photo_id_array":[{"photo_id":"1391684851","filename":"file5"},{"photo_id":"1391684845","filename":"file2"},{"photo_id":"1391684849","filename":"file4"},{"photo_id":"1391684844","filename":"file1"},{"photo_id":"1391684842","filename":"file0"},{"photo_id":"1391684848","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684849":["hashtag1","hashtag2"]},{"1391684848":["hashtag1","hashtag2"]},{"1391684842":["hashtag1","hashtag2"]},{"1391684851":["hashtag1","hashtag2"]},{"1391684845":["hashtag1","hashtag2"]},{"1391684844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684849, 1391684848, 1391684842, 1391684851, 1391684845, 1391684844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55905771255493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:51:41.911495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_57_2724.jpg', '/home/pi/Desktop/images/30102025/05/39/image_30102025_05_40_00_2658.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_04_3725.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_07_2766.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_09_2602.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_17_7858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_39_57_2724.jpg
/home/pi/Desktop/images/30102025/05/39/image_30102025_05_40_00_2658.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_04_3725.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_07_2766.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_09_2602.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_17_7858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684866","1391684869","1391684860","1391684868","1391684870","1391684864"],"photo_ids_order":["1391684860","1391684864","1391684866","1391684868","1391684869","1391684870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4af1fb2666478fbd94bdeef4029cbbc2.jpg","text":"TemporaryFile(/tmp/multipartBody844224072395861929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_40_04_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad14e551afe2ac230c128a5e9bbd0a30.jpg","text":"TemporaryFile(/tmp/multipartBody111922662420099826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_40_09_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/917fc16b19668f18ff4b3dce09c27b46.jpg","text":"TemporaryFile(/tmp/multipartBody8533303941031137120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_39_57_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da1fbb5b293599d21348feae40ebf3b0.jpg","text":"TemporaryFile(/tmp/multipartBody5313633007548471588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_40_07_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9d56aa18c3feeaf1dfbc7b66a3f376b.jpg","text":"TemporaryFile(/tmp/multipartBody3339816619563824430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_40_17_7858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/721084e7e1d4cb2c306a05b0edfc5a71.jpg","text":"TemporaryFile(/tmp/multipartBody5841609654657618102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023163224,"filename":"image_30102025_05_40_00_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684866","file1":"1391684864","file0":"1391684860","file4":"1391684869","file5":"1391684870","file3":"1391684868"},"map_files_photo_id_array":[{"photo_id":"1391684870","filename":"file5"},{"photo_id":"1391684866","filename":"file2"},{"photo_id":"1391684869","filename":"file4"},{"photo_id":"1391684864","filename":"file1"},{"photo_id":"1391684860","filename":"file0"},{"photo_id":"1391684868","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684866":["hashtag1","hashtag2"]},{"1391684869":["hashtag1","hashtag2"]},{"1391684860":["hashtag1","hashtag2"]},{"1391684868":["hashtag1","hashtag2"]},{"1391684870":["hashtag1","hashtag2"]},{"1391684864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684866, 1391684869, 1391684860, 1391684868, 1391684870, 1391684864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74972939491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:52:22.015424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_19_1673.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_20_1722.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_25_4482.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_27_1685.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_28_1857.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_30_1501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_19_1673.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_20_1722.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_25_4482.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_27_1685.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_28_1857.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_30_1501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684878","1391684889","1391684880","1391684882","1391684876","1391684885"],"photo_ids_order":["1391684876","1391684878","1391684880","1391684882","1391684885","1391684889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3407062049f956395eb063a310c6597c.jpg","text":"TemporaryFile(/tmp/multipartBody3794133647912470051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_20_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac5155cf1cb357c8ec06928b81b2d4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5380675149074529257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_30_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e943951f2836ef83129775675416c3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8877879799060007229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_25_4482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aead7e80b304ae47424e42f10e85dc96.jpg","text":"TemporaryFile(/tmp/multipartBody2425338912435163184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_27_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83cdca993909ff6bc76ff718ab82500e.jpg","text":"TemporaryFile(/tmp/multipartBody816985446012598166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_19_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/045440e747677978f6000ee8d2515bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3806337230159640988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023206330,"filename":"image_30102025_05_40_28_1857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684880","file1":"1391684878","file0":"1391684876","file4":"1391684885","file5":"1391684889","file3":"1391684882"},"map_files_photo_id_array":[{"photo_id":"1391684889","filename":"file5"},{"photo_id":"1391684880","filename":"file2"},{"photo_id":"1391684885","filename":"file4"},{"photo_id":"1391684878","filename":"file1"},{"photo_id":"1391684876","filename":"file0"},{"photo_id":"1391684882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684878":["hashtag1","hashtag2"]},{"1391684889":["hashtag1","hashtag2"]},{"1391684880":["hashtag1","hashtag2"]},{"1391684882":["hashtag1","hashtag2"]},{"1391684876":["hashtag1","hashtag2"]},{"1391684885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684878, 1391684889, 1391684880, 1391684882, 1391684876, 1391684885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35074830055237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:53:26.461589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_34_3583.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_36_2923.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_39_2827.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_42_2668.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_46_3557.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_48_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_34_3583.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_36_2923.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_39_2827.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_42_2668.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_46_3557.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_48_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684918","1391684902","1391684922","1391684910","1391684904","1391684907"],"photo_ids_order":["1391684902","1391684904","1391684907","1391684910","1391684918","1391684922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b8dbed65fac473cdb9a2c550f4bbd01.jpg","text":"TemporaryFile(/tmp/multipartBody4048563173958558660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_46_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ac82273975879aa0f0897fe394268e2.jpg","text":"TemporaryFile(/tmp/multipartBody3135587856785454682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_34_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/123b55b1f521c38f829ea317e34f1d59.jpg","text":"TemporaryFile(/tmp/multipartBody733740268950342536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_48_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af5aaf879e4808f9a17a706877a5fe1a.jpg","text":"TemporaryFile(/tmp/multipartBody2455631437001276782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_42_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c7a60025733ec5936f9e2c9b86baccc.jpg","text":"TemporaryFile(/tmp/multipartBody1302420774018564439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_36_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff9dc65bc287730c2c82a902b5e6e9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5480147995891556895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023269375,"filename":"image_30102025_05_40_39_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684907","file1":"1391684904","file0":"1391684902","file4":"1391684918","file5":"1391684922","file3":"1391684910"},"map_files_photo_id_array":[{"photo_id":"1391684922","filename":"file5"},{"photo_id":"1391684907","filename":"file2"},{"photo_id":"1391684918","filename":"file4"},{"photo_id":"1391684904","filename":"file1"},{"photo_id":"1391684902","filename":"file0"},{"photo_id":"1391684910","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684918":["hashtag1","hashtag2"]},{"1391684902":["hashtag1","hashtag2"]},{"1391684922":["hashtag1","hashtag2"]},{"1391684910":["hashtag1","hashtag2"]},{"1391684904":["hashtag1","hashtag2"]},{"1391684907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684918, 1391684902, 1391684922, 1391684910, 1391684904, 1391684907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85160732269287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:54:22.547624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_51_3095.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_55_3522.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_57_2428.jpg', '/home/pi/Desktop/images/30102025/05/40/image_30102025_05_41_01_3663.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_03_2460.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_06_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_51_3095.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_55_3522.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_40_57_2428.jpg
/home/pi/Desktop/images/30102025/05/40/image_30102025_05_41_01_3663.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_03_2460.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_06_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684945","1391684939","1391684941","1391684949","1391684943","1391684937"],"photo_ids_order":["1391684937","1391684939","1391684941","1391684943","1391684945","1391684949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aaf4f35efe7cf040f371a95eb270bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody5892941436136576400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_41_03_2460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5aae30f140f735ed8d4b0bcbcbc2cd61.jpg","text":"TemporaryFile(/tmp/multipartBody6634310128730173639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_40_55_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c9ef117dd1526252bbfeb7be4002f9c.jpg","text":"TemporaryFile(/tmp/multipartBody966766516859180749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_40_57_2428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/800097bf6b0b6fab78695196628d0807.jpg","text":"TemporaryFile(/tmp/multipartBody5040399678681634603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_41_06_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e52dd2c2eee5a81ab8e539cbe83d043.jpg","text":"TemporaryFile(/tmp/multipartBody9068280191242104933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_41_01_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a488573980545aedf35cb1a9f8a8414.jpg","text":"TemporaryFile(/tmp/multipartBody2600304387809415666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023325328,"filename":"image_30102025_05_40_51_3095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684941","file1":"1391684939","file0":"1391684937","file4":"1391684945","file5":"1391684949","file3":"1391684943"},"map_files_photo_id_array":[{"photo_id":"1391684949","filename":"file5"},{"photo_id":"1391684941","filename":"file2"},{"photo_id":"1391684945","filename":"file4"},{"photo_id":"1391684939","filename":"file1"},{"photo_id":"1391684937","filename":"file0"},{"photo_id":"1391684943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684945":["hashtag1","hashtag2"]},{"1391684939":["hashtag1","hashtag2"]},{"1391684941":["hashtag1","hashtag2"]},{"1391684949":["hashtag1","hashtag2"]},{"1391684943":["hashtag1","hashtag2"]},{"1391684937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684945, 1391684939, 1391684941, 1391684949, 1391684943, 1391684937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000359535217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:55:02.617185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_10_3648.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_12_2627.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_15_2633.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_19_3537.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_25_3585.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_28_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_10_3648.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_12_2627.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_15_2633.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_19_3537.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_25_3585.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_28_2880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391684998","1391684995","1391684991","1391685042","1391684993","1391684996"],"photo_ids_order":["1391684991","1391684993","1391684995","1391684996","1391684998","1391685042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/684720b945f49ab6ebe735e49fea1ead.jpg","text":"TemporaryFile(/tmp/multipartBody1372258751461417715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_25_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac8c99b05c9d8160c14e80f2e18ca6ce.jpg","text":"TemporaryFile(/tmp/multipartBody7866920789527086944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_15_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/743e6fc85e1a36e0789e834a1c78d742.jpg","text":"TemporaryFile(/tmp/multipartBody6118949704880949274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_10_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba954d4bc741b40b13210bfc8a16aa49.jpg","text":"TemporaryFile(/tmp/multipartBody7291889216128615097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_28_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07dad3f1c93804db07d71abb97da6ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8402809005019710259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_12_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39d941a70d0b7127a7b25aa529a89fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3398449259232346228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023365129,"filename":"image_30102025_05_41_19_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391684995","file1":"1391684993","file0":"1391684991","file4":"1391684998","file5":"1391685042","file3":"1391684996"},"map_files_photo_id_array":[{"photo_id":"1391685042","filename":"file5"},{"photo_id":"1391684995","filename":"file2"},{"photo_id":"1391684998","filename":"file4"},{"photo_id":"1391684993","filename":"file1"},{"photo_id":"1391684991","filename":"file0"},{"photo_id":"1391684996","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391684998":["hashtag1","hashtag2"]},{"1391684995":["hashtag1","hashtag2"]},{"1391684991":["hashtag1","hashtag2"]},{"1391685042":["hashtag1","hashtag2"]},{"1391684993":["hashtag1","hashtag2"]},{"1391684996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391684998, 1391684995, 1391684991, 1391685042, 1391684993, 1391684996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61905765533447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:56:02.355469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_31_3833.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_33_1712.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_37_3695.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_39_2587.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_45_5827.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_51_5841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_31_3833.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_33_1712.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_37_3695.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_39_2587.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_45_5827.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_51_5841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391685061","1391685055","1391685063","1391685057","1391685054","1391685059"],"photo_ids_order":["1391685054","1391685055","1391685057","1391685059","1391685061","1391685063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/723d9684cc5cb2a085aeb8dfe36026c1.jpg","text":"TemporaryFile(/tmp/multipartBody844918019609389313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_45_5827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/458e5d6510ea55eaf3fefe767599a602.jpg","text":"TemporaryFile(/tmp/multipartBody6461923648336658117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_33_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4abc44b225a9132c841959a58e1b4f0f.jpg","text":"TemporaryFile(/tmp/multipartBody3287579692582621068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_51_5841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b07fc713235ee6f89128754c6e218ba.jpg","text":"TemporaryFile(/tmp/multipartBody5023908759884446158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_37_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e360e12b801533e9ece28bb03928d49.jpg","text":"TemporaryFile(/tmp/multipartBody7477013437564559631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_31_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cdd45628fe8e93ce883c6a7b9e02053.jpg","text":"TemporaryFile(/tmp/multipartBody1095560751026410229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023424775,"filename":"image_30102025_05_41_39_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391685057","file1":"1391685055","file0":"1391685054","file4":"1391685061","file5":"1391685063","file3":"1391685059"},"map_files_photo_id_array":[{"photo_id":"1391685063","filename":"file5"},{"photo_id":"1391685057","filename":"file2"},{"photo_id":"1391685061","filename":"file4"},{"photo_id":"1391685055","filename":"file1"},{"photo_id":"1391685054","filename":"file0"},{"photo_id":"1391685059","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391685061":["hashtag1","hashtag2"]},{"1391685055":["hashtag1","hashtag2"]},{"1391685063":["hashtag1","hashtag2"]},{"1391685057":["hashtag1","hashtag2"]},{"1391685054":["hashtag1","hashtag2"]},{"1391685059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391685061, 1391685055, 1391685063, 1391685057, 1391685054, 1391685059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.283669233322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 19:56:42.093393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_53_1702.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_54_1693.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_56_1601.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_58_1633.jpg', '/home/pi/Desktop/images/30102025/05/41/image_30102025_05_42_00_2612.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_03_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_53_1702.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_54_1693.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_56_1601.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_41_58_1633.jpg
/home/pi/Desktop/images/30102025/05/41/image_30102025_05_42_00_2612.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_03_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391685082","1391685070","1391685073","1391685084","1391685087","1391685077"],"photo_ids_order":["1391685070","1391685073","1391685077","1391685082","1391685084","1391685087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85195483bf76fb8cbb126d15f376375e.jpg","text":"TemporaryFile(/tmp/multipartBody9035814911047724418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_41_58_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78f55bf3a120d658d199e737141767c2.jpg","text":"TemporaryFile(/tmp/multipartBody851690586774192294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_41_53_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62d9c946a0166431f96159c1c95dfbcb.jpg","text":"TemporaryFile(/tmp/multipartBody7418529886352956395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_41_54_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff95c1fc1e8ea1fa3a634a7140ca4bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2697112050034301557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_42_00_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b38f3b2ad10a670ff2a7463d5b933f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2065446540463021438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_42_03_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b1443fa1d0583fe3c80c5a99376a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6273314824261706367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023463381,"filename":"image_30102025_05_41_56_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391685077","file1":"1391685073","file0":"1391685070","file4":"1391685084","file5":"1391685087","file3":"1391685082"},"map_files_photo_id_array":[{"photo_id":"1391685087","filename":"file5"},{"photo_id":"1391685077","filename":"file2"},{"photo_id":"1391685084","filename":"file4"},{"photo_id":"1391685073","filename":"file1"},{"photo_id":"1391685070","filename":"file0"},{"photo_id":"1391685082","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391685082":["hashtag1","hashtag2"]},{"1391685070":["hashtag1","hashtag2"]},{"1391685073":["hashtag1","hashtag2"]},{"1391685084":["hashtag1","hashtag2"]},{"1391685087":["hashtag1","hashtag2"]},{"1391685077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391685082, 1391685070, 1391685073, 1391685084, 1391685087, 1391685077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95103192329407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 19:57:22.265733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_07_3811.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_21_13862.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_22_1728.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_24_1641.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_26_1595.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_27_1547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_07_3811.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_21_13862.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_22_1728.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_24_1641.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_26_1595.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_27_1547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391685101","1391685094","1391685096","1391685108","1391685098","1391685105"],"photo_ids_order":["1391685094","1391685096","1391685098","1391685101","1391685105","1391685108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d91049bb7a3df50813fab7845741481f.jpg","text":"TemporaryFile(/tmp/multipartBody5640002040542885671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_24_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68db6f8fffc51fa7e1769b27f346c25b.jpg","text":"TemporaryFile(/tmp/multipartBody8830483750494051334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_07_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e206c97dc6fb948a76577566b7ec69ef.jpg","text":"TemporaryFile(/tmp/multipartBody8880348921334022599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_21_13862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a6f67d20ab9318250fe781ca6b7237.jpg","text":"TemporaryFile(/tmp/multipartBody1419201718746396092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_27_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4829bfb03d6c3a1b8275f37baa54afbe.jpg","text":"TemporaryFile(/tmp/multipartBody2221972500793305913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_22_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc6786c41a5f2464ba077da132e21a17.jpg","text":"TemporaryFile(/tmp/multipartBody3416576430367227986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023505048,"filename":"image_30102025_05_42_26_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391685098","file1":"1391685096","file0":"1391685094","file4":"1391685105","file5":"1391685108","file3":"1391685101"},"map_files_photo_id_array":[{"photo_id":"1391685108","filename":"file5"},{"photo_id":"1391685098","filename":"file2"},{"photo_id":"1391685105","filename":"file4"},{"photo_id":"1391685096","filename":"file1"},{"photo_id":"1391685094","filename":"file0"},{"photo_id":"1391685101","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391685101":["hashtag1","hashtag2"]},{"1391685094":["hashtag1","hashtag2"]},{"1391685096":["hashtag1","hashtag2"]},{"1391685108":["hashtag1","hashtag2"]},{"1391685098":["hashtag1","hashtag2"]},{"1391685105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391685101, 1391685094, 1391685096, 1391685108, 1391685098, 1391685105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.837764501571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 19:59:03.534676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_29_1538.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_34_3354.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_35_1733.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_42_7040.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_44_1780.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_46_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_29_1538.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_34_3354.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_35_1733.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_42_7040.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_44_1780.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_46_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391685373","1391685355","1391685351","1391685458","1391685359","1391685413"],"photo_ids_order":["1391685351","1391685355","1391685359","1391685373","1391685413","1391685458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f4fe9e8677ac67c8f7144f2bc3e1494.jpg","text":"TemporaryFile(/tmp/multipartBody5569604377347797931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_42_7040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fb4682ca07c4962554e2c8a49db2679.jpg","text":"TemporaryFile(/tmp/multipartBody8100323933783909572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_34_3354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2541ed8e7d822f1cd1f299c4ace7ab48.jpg","text":"TemporaryFile(/tmp/multipartBody8981247964629950636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_29_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/100c5d3e02ae0e89b51e590d454f7d88.jpg","text":"TemporaryFile(/tmp/multipartBody2541252446829692333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_46_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40c4234124d89381a0d03fc7e84d0884.jpg","text":"TemporaryFile(/tmp/multipartBody1608339352292729987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_35_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec039473efc0b007097ba1ce0e25655c.jpg","text":"TemporaryFile(/tmp/multipartBody7540256037554896580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023606010,"filename":"image_30102025_05_42_44_1780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391685359","file1":"1391685355","file0":"1391685351","file4":"1391685413","file5":"1391685458","file3":"1391685373"},"map_files_photo_id_array":[{"photo_id":"1391685458","filename":"file5"},{"photo_id":"1391685359","filename":"file2"},{"photo_id":"1391685413","filename":"file4"},{"photo_id":"1391685355","filename":"file1"},{"photo_id":"1391685351","filename":"file0"},{"photo_id":"1391685373","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391685373":["hashtag1","hashtag2"]},{"1391685355":["hashtag1","hashtag2"]},{"1391685351":["hashtag1","hashtag2"]},{"1391685458":["hashtag1","hashtag2"]},{"1391685359":["hashtag1","hashtag2"]},{"1391685413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391685373, 1391685355, 1391685351, 1391685458, 1391685359, 1391685413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30104613304138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:00:03.318438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_47_1662.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_50_3098.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_54_1808.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_58_3699.jpg', '/home/pi/Desktop/images/30102025/05/42/image_30102025_05_43_00_2671.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_03_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_47_1662.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_50_3098.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_54_1808.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_42_58_3699.jpg
/home/pi/Desktop/images/30102025/05/42/image_30102025_05_43_00_2671.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_03_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391685742","1391685907","1391685870","1391685786","1391685687","1391685825"],"photo_ids_order":["1391685687","1391685742","1391685786","1391685825","1391685870","1391685907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a517c5b30285cf8fb702da75ed9f903e.jpg","text":"TemporaryFile(/tmp/multipartBody4450301449536825278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_42_50_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03c3d52cbf805d3d402a06f8568be05d.jpg","text":"TemporaryFile(/tmp/multipartBody4422229454705615427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_43_03_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c1441cdc98fbba1a2eb22479b0d73ea.jpg","text":"TemporaryFile(/tmp/multipartBody7970700024659021840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_43_00_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ff7db3561c3aef2e727dffcc733e925.jpg","text":"TemporaryFile(/tmp/multipartBody8208010389121104105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_42_54_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3626a9b7cd782bcde61a53e7b9709b26.jpg","text":"TemporaryFile(/tmp/multipartBody966585042179200435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_42_47_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a810657b902cf12687b3a04847c0dbca.jpg","text":"TemporaryFile(/tmp/multipartBody2881496287381038259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023665632,"filename":"image_30102025_05_42_58_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391685786","file1":"1391685742","file0":"1391685687","file4":"1391685870","file5":"1391685907","file3":"1391685825"},"map_files_photo_id_array":[{"photo_id":"1391685907","filename":"file5"},{"photo_id":"1391685786","filename":"file2"},{"photo_id":"1391685870","filename":"file4"},{"photo_id":"1391685742","filename":"file1"},{"photo_id":"1391685687","filename":"file0"},{"photo_id":"1391685825","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391685742":["hashtag1","hashtag2"]},{"1391685907":["hashtag1","hashtag2"]},{"1391685870":["hashtag1","hashtag2"]},{"1391685786":["hashtag1","hashtag2"]},{"1391685687":["hashtag1","hashtag2"]},{"1391685825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391685742, 1391685907, 1391685870, 1391685786, 1391685687, 1391685825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.296940088272095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:01:02.684213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_07_3674.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_09_2508.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_12_2717.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_15_3691.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_18_2685.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_21_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_07_3674.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_09_2508.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_12_2717.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_15_3691.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_18_2685.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_21_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391686264","1391686333","1391686571","1391686487","1391686410","1391686208"],"photo_ids_order":["1391686208","1391686264","1391686333","1391686410","1391686487","1391686571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2cdb4af7b71de0994493fc4884149c4.jpg","text":"TemporaryFile(/tmp/multipartBody1527440785982195969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_09_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c08013a8b3da81f25052fdbbf1a3d49.jpg","text":"TemporaryFile(/tmp/multipartBody1205536112498666079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_12_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/183b57a3b79ee96147ec90143e9c9edc.jpg","text":"TemporaryFile(/tmp/multipartBody4950182323360290466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_21_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8f81ff5e1a84fbdcbb672d3f8a31d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6766973444303402515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_18_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5374ef80d75c1ddc42ec830c28f40cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3361333754597218877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_15_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e36c771c8051298dd7d45a46fda85494.jpg","text":"TemporaryFile(/tmp/multipartBody2796768826795998515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023725003,"filename":"image_30102025_05_43_07_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391686333","file1":"1391686264","file0":"1391686208","file4":"1391686487","file5":"1391686571","file3":"1391686410"},"map_files_photo_id_array":[{"photo_id":"1391686571","filename":"file5"},{"photo_id":"1391686333","filename":"file2"},{"photo_id":"1391686487","filename":"file4"},{"photo_id":"1391686264","filename":"file1"},{"photo_id":"1391686208","filename":"file0"},{"photo_id":"1391686410","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391686264":["hashtag1","hashtag2"]},{"1391686333":["hashtag1","hashtag2"]},{"1391686571":["hashtag1","hashtag2"]},{"1391686487":["hashtag1","hashtag2"]},{"1391686410":["hashtag1","hashtag2"]},{"1391686208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391686264, 1391686333, 1391686571, 1391686487, 1391686410, 1391686208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42638969421387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:01:42.077623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_24_2665.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_27_3609.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_30_2696.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_33_2962.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_37_3593.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_39_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_24_2665.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_27_3609.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_30_2696.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_33_2962.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_37_3593.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_39_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391686825","1391687034","1391686953","1391686874","1391686916","1391686993"],"photo_ids_order":["1391686825","1391686874","1391686916","1391686953","1391686993","1391687034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c783f9a77c35e648c982487458aab1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4490496555597392007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_24_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2759865fdf303e49225a1c0f40c41a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6278782012916351399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_39_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aad187290aef9e07dd55b12adcfa259.jpg","text":"TemporaryFile(/tmp/multipartBody1053107107745145406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_33_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf235d6b93a715f140e7d37f9d56c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody9080224056545131740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_27_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/527210a9cbb37e3d15637dc2d33089c8.jpg","text":"TemporaryFile(/tmp/multipartBody2508116657711456343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_30_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82209586944fa539cb5d7d403f047432.jpg","text":"TemporaryFile(/tmp/multipartBody7799757611667324857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023763401,"filename":"image_30102025_05_43_37_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391686916","file1":"1391686874","file0":"1391686825","file4":"1391686993","file5":"1391687034","file3":"1391686953"},"map_files_photo_id_array":[{"photo_id":"1391687034","filename":"file5"},{"photo_id":"1391686916","filename":"file2"},{"photo_id":"1391686993","filename":"file4"},{"photo_id":"1391686874","filename":"file1"},{"photo_id":"1391686825","filename":"file0"},{"photo_id":"1391686953","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391686825":["hashtag1","hashtag2"]},{"1391687034":["hashtag1","hashtag2"]},{"1391686953":["hashtag1","hashtag2"]},{"1391686874":["hashtag1","hashtag2"]},{"1391686916":["hashtag1","hashtag2"]},{"1391686993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391686825, 1391687034, 1391686953, 1391686874, 1391686916, 1391686993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.354307651519775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:02:22.225289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_42_2719.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_46_3553.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_48_2789.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_51_2587.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_54_2640.jpg', '/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_57_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_42_2719.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_46_3553.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_48_2789.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_51_2587.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_54_2640.jpg
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_43_57_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391687328","1391687288","1391687210","1391687405","1391687251","1391687368"],"photo_ids_order":["1391687210","1391687251","1391687288","1391687328","1391687368","1391687405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a6884489d70071b46df82e939814df2.jpg","text":"TemporaryFile(/tmp/multipartBody6565534195954307992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_51_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bae6ccf4f6c3cd4e0bacf0d82663ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4575522553693908557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_48_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7a9c1247f14c0817b15edd2b0153e4f.jpg","text":"TemporaryFile(/tmp/multipartBody1755246466956016660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_42_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbcde84d7aa2996399f8f6d6be57d2f2.jpg","text":"TemporaryFile(/tmp/multipartBody6779130239030825851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_57_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4fbcf02d7476a500a511dbf1254c048e.jpg","text":"TemporaryFile(/tmp/multipartBody4287976241660236274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_46_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/326b014d91dd5b3535eeef6b00632534.jpg","text":"TemporaryFile(/tmp/multipartBody3639505916175018620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023805004,"filename":"image_30102025_05_43_54_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391687288","file1":"1391687251","file0":"1391687210","file4":"1391687368","file5":"1391687405","file3":"1391687328"},"map_files_photo_id_array":[{"photo_id":"1391687405","filename":"file5"},{"photo_id":"1391687288","filename":"file2"},{"photo_id":"1391687368","filename":"file4"},{"photo_id":"1391687251","filename":"file1"},{"photo_id":"1391687210","filename":"file0"},{"photo_id":"1391687328","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391687328":["hashtag1","hashtag2"]},{"1391687288":["hashtag1","hashtag2"]},{"1391687210":["hashtag1","hashtag2"]},{"1391687405":["hashtag1","hashtag2"]},{"1391687251":["hashtag1","hashtag2"]},{"1391687368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391687328, 1391687288, 1391687210, 1391687405, 1391687251, 1391687368)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.39149260520935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:03:25.453491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/43/image_30102025_05_44_00_2676.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_03_2813.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_06_3711.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_09_2687.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_12_2669.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_15_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/43/image_30102025_05_44_00_2676.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_03_2813.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_06_3711.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_09_2687.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_12_2669.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_15_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391687916","1391687876","1391687837","1391688049","1391688004","1391687962"],"photo_ids_order":["1391687837","1391687876","1391687916","1391687962","1391688004","1391688049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb0de9ed0af1f44d20570bbf2ec345ec.jpg","text":"TemporaryFile(/tmp/multipartBody9156657093785617701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_06_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/394a4fe20252bbf4f7bcea8f7ddae785.jpg","text":"TemporaryFile(/tmp/multipartBody8500261633275793321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_03_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bc2a3b486808086bda43bb7ec8950b6.jpg","text":"TemporaryFile(/tmp/multipartBody694426481986284702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_00_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01080f8b7322e12dce90c33029944d43.jpg","text":"TemporaryFile(/tmp/multipartBody4975369096619146734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_15_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d5b38b9c63258fd784959e440a6ff71.jpg","text":"TemporaryFile(/tmp/multipartBody3552853870778974780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_12_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/956f89c83ec03adfe69abdbb8cc8f35e.jpg","text":"TemporaryFile(/tmp/multipartBody7532410239834343671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023868343,"filename":"image_30102025_05_44_09_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391687916","file1":"1391687876","file0":"1391687837","file4":"1391688004","file5":"1391688049","file3":"1391687962"},"map_files_photo_id_array":[{"photo_id":"1391688049","filename":"file5"},{"photo_id":"1391687916","filename":"file2"},{"photo_id":"1391688004","filename":"file4"},{"photo_id":"1391687876","filename":"file1"},{"photo_id":"1391687837","filename":"file0"},{"photo_id":"1391687962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391687916":["hashtag1","hashtag2"]},{"1391687876":["hashtag1","hashtag2"]},{"1391687837":["hashtag1","hashtag2"]},{"1391688049":["hashtag1","hashtag2"]},{"1391688004":["hashtag1","hashtag2"]},{"1391687962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391687916, 1391687876, 1391687837, 1391688049, 1391688004, 1391687962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60752582550049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:04:22.674215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_18_2671.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_21_2717.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_25_3671.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_27_2687.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_33_2747.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_36_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_18_2671.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_21_2717.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_25_3671.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_27_2687.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_33_2747.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_36_3538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688501","1391688507","1391688509","1391688466","1391688451","1391688459"],"photo_ids_order":["1391688451","1391688459","1391688466","1391688501","1391688507","1391688509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55353ca599199ddb2e7a6d9cdb889583.jpg","text":"TemporaryFile(/tmp/multipartBody3199796732473588426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_27_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a47a618b3a5521367dbe92fcc8a63bc.jpg","text":"TemporaryFile(/tmp/multipartBody9172367747206291060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_33_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8eaedefa11dcb63f1b6c92bb7f6c3994.jpg","text":"TemporaryFile(/tmp/multipartBody1667594055753054744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_36_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/927b443c9b19c7166f48a7ad983cfb15.jpg","text":"TemporaryFile(/tmp/multipartBody3202451552878486793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_25_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80b3b378b94c6e9ed23f6d140ceae7f1.jpg","text":"TemporaryFile(/tmp/multipartBody7508478140204589529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_18_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f9e3cef075a9ae6aeed9d7fa8d2a02c.jpg","text":"TemporaryFile(/tmp/multipartBody4489207530654718012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023939572,"filename":"image_30102025_05_44_21_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688466","file1":"1391688459","file0":"1391688451","file4":"1391688507","file5":"1391688509","file3":"1391688501"},"map_files_photo_id_array":[{"photo_id":"1391688509","filename":"file5"},{"photo_id":"1391688466","filename":"file2"},{"photo_id":"1391688507","filename":"file4"},{"photo_id":"1391688459","filename":"file1"},{"photo_id":"1391688451","filename":"file0"},{"photo_id":"1391688501","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688501":["hashtag1","hashtag2"]},{"1391688507":["hashtag1","hashtag2"]},{"1391688509":["hashtag1","hashtag2"]},{"1391688466":["hashtag1","hashtag2"]},{"1391688451":["hashtag1","hashtag2"]},{"1391688459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688501, 1391688507, 1391688509, 1391688466, 1391688451, 1391688459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.02715873718262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:05:22.013282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_39_2553.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_42_2842.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_45_3617.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_48_2821.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_51_2619.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_54_3003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_39_2553.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_42_2842.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_45_3617.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_48_2821.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_51_2619.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_54_3003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688522","1391688525","1391688533","1391688529","1391688523","1391688520"],"photo_ids_order":["1391688520","1391688522","1391688523","1391688525","1391688529","1391688533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aaf31245a6cf91223e265b1a856db6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5084481225747794038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_42_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8f5348c3b7146a1fefc53e7357a5fd5.jpg","text":"TemporaryFile(/tmp/multipartBody8606573965026003508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_48_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/745d216ca6b90b5c83948ef6865e0340.jpg","text":"TemporaryFile(/tmp/multipartBody5043568696035767911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_54_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2684cbf468d85aecf89cdea22285d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody67622725741376327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_51_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19eb7a3a62e3c7f5df172d5ab9bd8526.jpg","text":"TemporaryFile(/tmp/multipartBody3326745338380812391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_45_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96239db5ca4e32f25aa7b24b58c7efa5.jpg","text":"TemporaryFile(/tmp/multipartBody721545502845032685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762023984801,"filename":"image_30102025_05_44_39_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688523","file1":"1391688522","file0":"1391688520","file4":"1391688529","file5":"1391688533","file3":"1391688525"},"map_files_photo_id_array":[{"photo_id":"1391688533","filename":"file5"},{"photo_id":"1391688523","filename":"file2"},{"photo_id":"1391688529","filename":"file4"},{"photo_id":"1391688522","filename":"file1"},{"photo_id":"1391688520","filename":"file0"},{"photo_id":"1391688525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688522":["hashtag1","hashtag2"]},{"1391688525":["hashtag1","hashtag2"]},{"1391688533":["hashtag1","hashtag2"]},{"1391688529":["hashtag1","hashtag2"]},{"1391688523":["hashtag1","hashtag2"]},{"1391688520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688522, 1391688525, 1391688533, 1391688529, 1391688523, 1391688520)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.17618465423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:06:42.137934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_57_3606.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_45_00_2656.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_06_3773.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_09_2683.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_12_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_57_3606.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_45_00_2656.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_06_3773.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_09_2683.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_12_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688593","1391688581","1391688598","1391688595","1391688589","1391688585"],"photo_ids_order":["1391688581","1391688585","1391688589","1391688593","1391688595","1391688598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00657327eabddaa5bbfd412a8c7c0b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3269027377232634076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_45_06_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c02564c9864db192d5fb841917c0fde.jpg","text":"TemporaryFile(/tmp/multipartBody2505104649503992415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_44_57_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/599605d04a91f277152c2d44fe7fef04.jpg","text":"TemporaryFile(/tmp/multipartBody3428387953814639919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_45_12_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36412c1ee15d2a327fb41051400cbd17.jpg","text":"TemporaryFile(/tmp/multipartBody3851725883626444406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_45_09_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01ed415b85582b105c49cb63e9c79a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6505663683400148702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_45_03_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05347e469c7ecdccd33fa8060540aedc.jpg","text":"TemporaryFile(/tmp/multipartBody4206348510204875638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024063379,"filename":"image_30102025_05_45_00_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688589","file1":"1391688585","file0":"1391688581","file4":"1391688595","file5":"1391688598","file3":"1391688593"},"map_files_photo_id_array":[{"photo_id":"1391688598","filename":"file5"},{"photo_id":"1391688589","filename":"file2"},{"photo_id":"1391688595","filename":"file4"},{"photo_id":"1391688585","filename":"file1"},{"photo_id":"1391688581","filename":"file0"},{"photo_id":"1391688593","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688593":["hashtag1","hashtag2"]},{"1391688581":["hashtag1","hashtag2"]},{"1391688598":["hashtag1","hashtag2"]},{"1391688595":["hashtag1","hashtag2"]},{"1391688589":["hashtag1","hashtag2"]},{"1391688585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688593, 1391688581, 1391688598, 1391688595, 1391688589, 1391688585)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391688589 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391688589 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg";
uploaded 6 photos
time to upload: 61.34175944328308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:08:02.202789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_57_3606.jpg', '/home/pi/Desktop/images/30102025/05/44/image_30102025_05_45_00_2656.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_06_3773.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_09_2683.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_12_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_44_57_3606.jpg
/home/pi/Desktop/images/30102025/05/44/image_30102025_05_45_00_2656.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_03_2631.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_06_3773.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_09_2683.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_12_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688648","1391688641","1391688635","1391688646","1391688643","1391688639"],"photo_ids_order":["1391688635","1391688639","1391688641","1391688643","1391688646","1391688648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c6b1a39172d131667c4bf407d540648.jpg","text":"TemporaryFile(/tmp/multipartBody6413885054705087201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_45_12_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0576b5f2b0d43078275208d9d7e74d92.jpg","text":"TemporaryFile(/tmp/multipartBody7344363250595429666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_45_03_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7987c292af5ae8e73d258944267ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody889600367043835744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_44_57_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45842885bafa47922b78e8b7e4b20967.jpg","text":"TemporaryFile(/tmp/multipartBody4004337466320300418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_45_09_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60eaa556a95192ed0b7f99aa1969e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody8368031637238713849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_45_06_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1e913d489c09828a73101308c5ca132.jpg","text":"TemporaryFile(/tmp/multipartBody6525720854306028881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024147127,"filename":"image_30102025_05_45_00_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688641","file1":"1391688639","file0":"1391688635","file4":"1391688646","file5":"1391688648","file3":"1391688643"},"map_files_photo_id_array":[{"photo_id":"1391688648","filename":"file5"},{"photo_id":"1391688641","filename":"file2"},{"photo_id":"1391688646","filename":"file4"},{"photo_id":"1391688639","filename":"file1"},{"photo_id":"1391688635","filename":"file0"},{"photo_id":"1391688643","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688648":["hashtag1","hashtag2"]},{"1391688641":["hashtag1","hashtag2"]},{"1391688635":["hashtag1","hashtag2"]},{"1391688646":["hashtag1","hashtag2"]},{"1391688643":["hashtag1","hashtag2"]},{"1391688639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688648, 1391688641, 1391688635, 1391688646, 1391688643, 1391688639)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.022085428237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:09:24.690337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_15_3791.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_21_2746.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_24_3552.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_27_2515.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_29_2629.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_33_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_15_3791.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_21_2746.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_24_3552.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_27_2515.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_29_2629.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_33_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688669","1391688680","1391688674","1391688671","1391688685","1391688688"],"photo_ids_order":["1391688669","1391688671","1391688674","1391688680","1391688685","1391688688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/146c54ed1b4afc4b9b54c2ecd319d1c1.jpg","text":"TemporaryFile(/tmp/multipartBody9090088545119990067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_15_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b5081551f14818c2053e5951358d3c2.jpg","text":"TemporaryFile(/tmp/multipartBody2772907049975376260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_27_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7efd65e84fb8645330af3956414558a.jpg","text":"TemporaryFile(/tmp/multipartBody9176134750813928310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_24_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37764b0a14f18d76725fcf78333a069a.jpg","text":"TemporaryFile(/tmp/multipartBody2943257138152973531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0baec3698727dd8ce4d6e4745c474f2.jpg","text":"TemporaryFile(/tmp/multipartBody7671505341490652172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_29_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cfef6192acee8bacb8928e55acdacec.jpg","text":"TemporaryFile(/tmp/multipartBody4782759801503998295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024230248,"filename":"image_30102025_05_45_33_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688674","file1":"1391688671","file0":"1391688669","file4":"1391688685","file5":"1391688688","file3":"1391688680"},"map_files_photo_id_array":[{"photo_id":"1391688688","filename":"file5"},{"photo_id":"1391688674","filename":"file2"},{"photo_id":"1391688685","filename":"file4"},{"photo_id":"1391688671","filename":"file1"},{"photo_id":"1391688669","filename":"file0"},{"photo_id":"1391688680","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688669":["hashtag1","hashtag2"]},{"1391688680":["hashtag1","hashtag2"]},{"1391688674":["hashtag1","hashtag2"]},{"1391688671":["hashtag1","hashtag2"]},{"1391688685":["hashtag1","hashtag2"]},{"1391688688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688669, 1391688680, 1391688674, 1391688671, 1391688685, 1391688688)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 85.49555039405823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-01 20:11:02.571073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:11:21.893542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_36_2628.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_39_3162.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_42_2520.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_45_3788.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_48_2586.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_51_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_36_2628.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_39_3162.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_42_2520.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_45_3788.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_48_2586.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_51_2828.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.737973690032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:11:41.863354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_36_2628.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_39_3162.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_42_2520.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_45_3788.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_48_2586.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_51_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_36_2628.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_39_3162.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_42_2520.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_45_3788.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_48_2586.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_51_2828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688761","1391688778","1391688772","1391688766","1391688769","1391688774"],"photo_ids_order":["1391688761","1391688766","1391688769","1391688772","1391688774","1391688778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0b0788785a9a13f04f46469e2b00814.jpg","text":"TemporaryFile(/tmp/multipartBody7501601273226776118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_36_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ea033eac195fb487633b58d7a1b401d.jpg","text":"TemporaryFile(/tmp/multipartBody945489573363184684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_51_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fd18497fe18bbaf32d1cb06f5904827.jpg","text":"TemporaryFile(/tmp/multipartBody3800649996154754017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_45_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8237e6d9761e0d58e715eb3d03037c7.jpg","text":"TemporaryFile(/tmp/multipartBody189118868137444245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_39_3162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42ffde8c98ba47b58a3bad7279617cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4928319272083570698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_42_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d654138a0942e2593bca8264cb6c0fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7139531577063037046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024362970,"filename":"image_30102025_05_45_48_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688769","file1":"1391688766","file0":"1391688761","file4":"1391688774","file5":"1391688778","file3":"1391688772"},"map_files_photo_id_array":[{"photo_id":"1391688778","filename":"file5"},{"photo_id":"1391688769","filename":"file2"},{"photo_id":"1391688774","filename":"file4"},{"photo_id":"1391688766","filename":"file1"},{"photo_id":"1391688761","filename":"file0"},{"photo_id":"1391688772","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688761":["hashtag1","hashtag2"]},{"1391688778":["hashtag1","hashtag2"]},{"1391688772":["hashtag1","hashtag2"]},{"1391688766":["hashtag1","hashtag2"]},{"1391688769":["hashtag1","hashtag2"]},{"1391688774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688761, 1391688778, 1391688772, 1391688766, 1391688769, 1391688774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50296354293823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:12:22.075857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_54_3567.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_57_2755.jpg', '/home/pi/Desktop/images/30102025/05/45/image_30102025_05_46_00_2547.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_03_3531.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_06_2685.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_09_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_54_3567.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_45_57_2755.jpg
/home/pi/Desktop/images/30102025/05/45/image_30102025_05_46_00_2547.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_03_3531.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_06_2685.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_09_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688791","1391688799","1391688790","1391688793","1391688787","1391688795"],"photo_ids_order":["1391688787","1391688790","1391688791","1391688793","1391688795","1391688799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ce984c903dd2a807fdb5275638cbc19.jpg","text":"TemporaryFile(/tmp/multipartBody4639333673373735113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_46_00_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f89ab623eba6286beaf5ecef1fbf017.jpg","text":"TemporaryFile(/tmp/multipartBody3542819348634170503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_46_09_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd30f73297a8644bc488e8d9ff612137.jpg","text":"TemporaryFile(/tmp/multipartBody3723330034576285272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_45_57_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02cfd56e79a1b504ebcaa60981cb6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4554286326775346533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_46_03_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5c4eea6d2a7f9271f77f8ae1f9dfdfc.jpg","text":"TemporaryFile(/tmp/multipartBody5723452226286109345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_45_54_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/643d018995213807c8543d53bce9fc50.jpg","text":"TemporaryFile(/tmp/multipartBody505616161584823301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024404876,"filename":"image_30102025_05_46_06_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688791","file1":"1391688790","file0":"1391688787","file4":"1391688795","file5":"1391688799","file3":"1391688793"},"map_files_photo_id_array":[{"photo_id":"1391688799","filename":"file5"},{"photo_id":"1391688791","filename":"file2"},{"photo_id":"1391688795","filename":"file4"},{"photo_id":"1391688790","filename":"file1"},{"photo_id":"1391688787","filename":"file0"},{"photo_id":"1391688793","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688791":["hashtag1","hashtag2"]},{"1391688799":["hashtag1","hashtag2"]},{"1391688790":["hashtag1","hashtag2"]},{"1391688793":["hashtag1","hashtag2"]},{"1391688787":["hashtag1","hashtag2"]},{"1391688795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688791, 1391688799, 1391688790, 1391688793, 1391688787, 1391688795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47881484031677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:13:02.771580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_12_3781.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_15_2660.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_18_2827.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_20_2633.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_24_3617.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_27_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_12_3781.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_15_2660.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_18_2827.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_20_2633.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_24_3617.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_27_2845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688819","1391688813","1391688816","1391688821","1391688815","1391688817"],"photo_ids_order":["1391688813","1391688815","1391688816","1391688817","1391688819","1391688821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0668c761eebabfb6b14371d57489c021.jpg","text":"TemporaryFile(/tmp/multipartBody4067896693024287103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_24_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e2dc5dc7683a22fc714edff7dbd24e2.jpg","text":"TemporaryFile(/tmp/multipartBody4724196331372464404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_12_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8501ccbc093897e9eaa5d86846307682.jpg","text":"TemporaryFile(/tmp/multipartBody2768098848930640506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_18_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12277fca982a318cbdc1b4aeb58c4fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1393059258123726853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_27_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3b1db37ab059595e06ef75e5aba3edf.jpg","text":"TemporaryFile(/tmp/multipartBody4866168295212409020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_15_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c7f9bb5dc8a553dbab3051ea4e7a125.jpg","text":"TemporaryFile(/tmp/multipartBody8833340861321639371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024448316,"filename":"image_30102025_05_46_20_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688816","file1":"1391688815","file0":"1391688813","file4":"1391688819","file5":"1391688821","file3":"1391688817"},"map_files_photo_id_array":[{"photo_id":"1391688821","filename":"file5"},{"photo_id":"1391688816","filename":"file2"},{"photo_id":"1391688819","filename":"file4"},{"photo_id":"1391688815","filename":"file1"},{"photo_id":"1391688813","filename":"file0"},{"photo_id":"1391688817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688819":["hashtag1","hashtag2"]},{"1391688813":["hashtag1","hashtag2"]},{"1391688816":["hashtag1","hashtag2"]},{"1391688821":["hashtag1","hashtag2"]},{"1391688815":["hashtag1","hashtag2"]},{"1391688817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688819, 1391688813, 1391688816, 1391688821, 1391688815, 1391688817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03254961967468 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:14:03.444888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_30_2671.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_33_3603.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_36_2635.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_38_2621.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_42_3540.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_45_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_30_2671.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_33_3603.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_36_2635.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_38_2621.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_42_3540.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_45_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688846","1391688840","1391688851","1391688848","1391688856","1391688843"],"photo_ids_order":["1391688840","1391688843","1391688846","1391688848","1391688851","1391688856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0eab3a1a0ddeacdf398aca7094cbffc7.jpg","text":"TemporaryFile(/tmp/multipartBody6581914837617932911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_36_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbafe00d36255056e08c6f9361e5fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody1874028818400161438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_30_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7db3bc2ac7961c23bbafd5dab58eb01f.jpg","text":"TemporaryFile(/tmp/multipartBody269067493292402569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_42_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ff6ca18eaecf82194c5e13066ebb23f.jpg","text":"TemporaryFile(/tmp/multipartBody57141519566177307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_38_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53301eddfdc6a2a71734b88bbf1b8d31.jpg","text":"TemporaryFile(/tmp/multipartBody5522289250259890383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_45_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e8673aab19cf977b945abea11b179a1.jpg","text":"TemporaryFile(/tmp/multipartBody8071025150609503610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024505828,"filename":"image_30102025_05_46_33_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688846","file1":"1391688843","file0":"1391688840","file4":"1391688851","file5":"1391688856","file3":"1391688848"},"map_files_photo_id_array":[{"photo_id":"1391688856","filename":"file5"},{"photo_id":"1391688846","filename":"file2"},{"photo_id":"1391688851","filename":"file4"},{"photo_id":"1391688843","filename":"file1"},{"photo_id":"1391688840","filename":"file0"},{"photo_id":"1391688848","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688846":["hashtag1","hashtag2"]},{"1391688840":["hashtag1","hashtag2"]},{"1391688851":["hashtag1","hashtag2"]},{"1391688848":["hashtag1","hashtag2"]},{"1391688856":["hashtag1","hashtag2"]},{"1391688843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688846, 1391688840, 1391688851, 1391688848, 1391688856, 1391688843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12157368659973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:14:42.742047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_48_3680.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_51_2832.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_54_2755.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_57_2677.jpg', '/home/pi/Desktop/images/30102025/05/46/image_30102025_05_47_00_3597.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_03_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_48_3680.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_51_2832.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_54_2755.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_46_57_2677.jpg
/home/pi/Desktop/images/30102025/05/46/image_30102025_05_47_00_3597.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_03_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688872","1391688875","1391688882","1391688879","1391688870","1391688864"],"photo_ids_order":["1391688864","1391688870","1391688872","1391688875","1391688879","1391688882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29b93c48d82ad2cbb372ee33a65fa23c.jpg","text":"TemporaryFile(/tmp/multipartBody3849886402597346465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_46_54_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2c68b368d27e876a94363920f9350f9.jpg","text":"TemporaryFile(/tmp/multipartBody611974813096610952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_46_57_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/611c2bb24e34998d83be385974e0c76a.jpg","text":"TemporaryFile(/tmp/multipartBody6698960160382633946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_47_03_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3532da263579f38ebeb496c14fef5dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7693908431748969959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_47_00_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50ea47621a5bb0d76dbf4c43e3e73c55.jpg","text":"TemporaryFile(/tmp/multipartBody2657359319554539038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_46_51_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/189a3fa0c67c825a13d7556344f73dab.jpg","text":"TemporaryFile(/tmp/multipartBody4921408539644605581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024544045,"filename":"image_30102025_05_46_48_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688872","file1":"1391688870","file0":"1391688864","file4":"1391688879","file5":"1391688882","file3":"1391688875"},"map_files_photo_id_array":[{"photo_id":"1391688882","filename":"file5"},{"photo_id":"1391688872","filename":"file2"},{"photo_id":"1391688879","filename":"file4"},{"photo_id":"1391688870","filename":"file1"},{"photo_id":"1391688864","filename":"file0"},{"photo_id":"1391688875","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688872":["hashtag1","hashtag2"]},{"1391688875":["hashtag1","hashtag2"]},{"1391688882":["hashtag1","hashtag2"]},{"1391688879":["hashtag1","hashtag2"]},{"1391688870":["hashtag1","hashtag2"]},{"1391688864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688872, 1391688875, 1391688882, 1391688879, 1391688870, 1391688864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31876564025879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:15:42.055227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_09_3773.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_12_2698.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_15_2729.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_17_2741.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_21_3578.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_24_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_09_3773.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_12_2698.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_15_2729.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_17_2741.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_21_3578.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_24_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688896","1391688909","1391688900","1391688903","1391688905","1391688894"],"photo_ids_order":["1391688894","1391688896","1391688900","1391688903","1391688905","1391688909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f13f3af9f45d4f27f24830f03a091c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7653607001110720561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_12_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6c6ba84df688187fcdf29b1b1bb553e6.jpg","text":"TemporaryFile(/tmp/multipartBody1109513987115078303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_24_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b15192942d9a87833adece5343fdff6.jpg","text":"TemporaryFile(/tmp/multipartBody1950303998009392826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_15_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de7b96436437a06ab7ae50065cfa6bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4262751449154962426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_17_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/824d24349997e27c582dbfd4c33269bd.jpg","text":"TemporaryFile(/tmp/multipartBody5476824956810518474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_21_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/29b5a5f58c0a88e3a306364cd0c4fd02.jpg","text":"TemporaryFile(/tmp/multipartBody2672017811316080498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024603290,"filename":"image_30102025_05_47_09_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688900","file1":"1391688896","file0":"1391688894","file4":"1391688905","file5":"1391688909","file3":"1391688903"},"map_files_photo_id_array":[{"photo_id":"1391688909","filename":"file5"},{"photo_id":"1391688900","filename":"file2"},{"photo_id":"1391688905","filename":"file4"},{"photo_id":"1391688896","filename":"file1"},{"photo_id":"1391688894","filename":"file0"},{"photo_id":"1391688903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688896":["hashtag1","hashtag2"]},{"1391688909":["hashtag1","hashtag2"]},{"1391688900":["hashtag1","hashtag2"]},{"1391688903":["hashtag1","hashtag2"]},{"1391688905":["hashtag1","hashtag2"]},{"1391688894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688896, 1391688909, 1391688900, 1391688903, 1391688905, 1391688894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.318673610687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:16:22.243559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_26_2757.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_30_3543.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_33_2687.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_36_3554.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_39_2654.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_42_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_26_2757.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_30_3543.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_33_2687.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_36_3554.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_39_2654.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_42_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688933","1391688929","1391688920","1391688938","1391688923","1391688925"],"photo_ids_order":["1391688920","1391688923","1391688925","1391688929","1391688933","1391688938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/403bedeb55f221341864c8038dd6b761.jpg","text":"TemporaryFile(/tmp/multipartBody961768132953907141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_39_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2f3f620bba151d42d800045827334cb.jpg","text":"TemporaryFile(/tmp/multipartBody8883262229882891874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_36_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c160f56c6527d004e075205cb0c62343.jpg","text":"TemporaryFile(/tmp/multipartBody6327447360856634292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_26_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2728eb32281f6a5e510fe8d06620eafd.jpg","text":"TemporaryFile(/tmp/multipartBody6448390862441919725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_42_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff6736ab3efc1df9364969decec9a05d.jpg","text":"TemporaryFile(/tmp/multipartBody7039279627331368632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_30_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b8a75e84ba43aff612c488461039073.jpg","text":"TemporaryFile(/tmp/multipartBody5526452140262996959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024645055,"filename":"image_30102025_05_47_33_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688925","file1":"1391688923","file0":"1391688920","file4":"1391688933","file5":"1391688938","file3":"1391688929"},"map_files_photo_id_array":[{"photo_id":"1391688938","filename":"file5"},{"photo_id":"1391688925","filename":"file2"},{"photo_id":"1391688933","filename":"file4"},{"photo_id":"1391688923","filename":"file1"},{"photo_id":"1391688920","filename":"file0"},{"photo_id":"1391688929","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688933":["hashtag1","hashtag2"]},{"1391688929":["hashtag1","hashtag2"]},{"1391688920":["hashtag1","hashtag2"]},{"1391688938":["hashtag1","hashtag2"]},{"1391688923":["hashtag1","hashtag2"]},{"1391688925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688933, 1391688929, 1391688920, 1391688938, 1391688923, 1391688925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.489811420440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:17:03.261345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_44_2811.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_47_2899.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_51_3825.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_54_2598.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_56_2578.jpg', '/home/pi/Desktop/images/30102025/05/47/image_30102025_05_48_00_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_44_2811.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_47_2899.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_51_3825.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_54_2598.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_47_56_2578.jpg
/home/pi/Desktop/images/30102025/05/47/image_30102025_05_48_00_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688959","1391688953","1391688956","1391688952","1391688949","1391688954"],"photo_ids_order":["1391688949","1391688952","1391688953","1391688954","1391688956","1391688959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f5c5814321d2ff7a96391258e0ec4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1744271377850400689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_48_00_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9416939374b64da2508ce1c6203645bb.jpg","text":"TemporaryFile(/tmp/multipartBody7104091424859952730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_47_51_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b22efd863a8e54201b6f1cdcb699ce3f.jpg","text":"TemporaryFile(/tmp/multipartBody5267085411981883312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_47_56_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6597a8c425703c6ad1fd277d46892f88.jpg","text":"TemporaryFile(/tmp/multipartBody6339306496891939365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_47_47_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a1c3ae697dded5ca212dc6516939243.jpg","text":"TemporaryFile(/tmp/multipartBody5953186624344541312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_47_44_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6bbad8ae959ad4b238e7bc5846cb71d.jpg","text":"TemporaryFile(/tmp/multipartBody5806287776548278005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024685566,"filename":"image_30102025_05_47_54_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688953","file1":"1391688952","file0":"1391688949","file4":"1391688956","file5":"1391688959","file3":"1391688954"},"map_files_photo_id_array":[{"photo_id":"1391688959","filename":"file5"},{"photo_id":"1391688953","filename":"file2"},{"photo_id":"1391688956","filename":"file4"},{"photo_id":"1391688952","filename":"file1"},{"photo_id":"1391688949","filename":"file0"},{"photo_id":"1391688954","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688959":["hashtag1","hashtag2"]},{"1391688953":["hashtag1","hashtag2"]},{"1391688956":["hashtag1","hashtag2"]},{"1391688952":["hashtag1","hashtag2"]},{"1391688949":["hashtag1","hashtag2"]},{"1391688954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688959, 1391688953, 1391688956, 1391688952, 1391688949, 1391688954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76220941543579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:17:42.492195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_02_2606.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_06_3562.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_09_2665.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_11_2645.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_15_3599.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_18_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_02_2606.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_06_3562.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_09_2665.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_11_2645.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_15_3599.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_18_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391688977","1391688980","1391688982","1391688973","1391688984","1391688987"],"photo_ids_order":["1391688973","1391688977","1391688980","1391688982","1391688984","1391688987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53dcc77d863cafd99dd523151eecd7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1947752107626364353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_06_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8501f28bedbea242cf3ecd042ca537f4.jpg","text":"TemporaryFile(/tmp/multipartBody6836610575683474355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_09_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/810333739fd0a79f213fb4fc24e45933.jpg","text":"TemporaryFile(/tmp/multipartBody8025432142873340802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_11_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6454a0ed8d570a8ac64abd181f929b0.jpg","text":"TemporaryFile(/tmp/multipartBody7788762477331856827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_02_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/793c3f081194ad65261d0331623e53b6.jpg","text":"TemporaryFile(/tmp/multipartBody7360497887157246555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_15_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cecb93c1b5a84b352f0bed847a5dbac8.jpg","text":"TemporaryFile(/tmp/multipartBody6944615295991456713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024723778,"filename":"image_30102025_05_48_18_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391688980","file1":"1391688977","file0":"1391688973","file4":"1391688984","file5":"1391688987","file3":"1391688982"},"map_files_photo_id_array":[{"photo_id":"1391688987","filename":"file5"},{"photo_id":"1391688980","filename":"file2"},{"photo_id":"1391688984","filename":"file4"},{"photo_id":"1391688977","filename":"file1"},{"photo_id":"1391688973","filename":"file0"},{"photo_id":"1391688982","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391688977":["hashtag1","hashtag2"]},{"1391688980":["hashtag1","hashtag2"]},{"1391688982":["hashtag1","hashtag2"]},{"1391688973":["hashtag1","hashtag2"]},{"1391688984":["hashtag1","hashtag2"]},{"1391688987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391688977, 1391688980, 1391688982, 1391688973, 1391688984, 1391688987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65348958969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:18:22.595502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_20_2607.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_27_6867.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_30_3018.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_32_1943.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_34_1585.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_35_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_20_2607.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_27_6867.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_30_3018.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_32_1943.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_34_1585.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_35_1630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689001","1391689004","1391689007","1391688999","1391688996","1391689011"],"photo_ids_order":["1391688996","1391688999","1391689001","1391689004","1391689007","1391689011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3054cb00336ba2d57493caae605c556.jpg","text":"TemporaryFile(/tmp/multipartBody7345269504980918447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_30_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4173483006e025b89d095ea5dcf77b3.jpg","text":"TemporaryFile(/tmp/multipartBody695249816084618928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_32_1943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83132c62f03a2a124d618ec5653cd991.jpg","text":"TemporaryFile(/tmp/multipartBody3819826552624646784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_34_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a9c135ffc917ca5b11426e1c9c21579.jpg","text":"TemporaryFile(/tmp/multipartBody3292125293324745177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_27_6867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbe99bfb08cdabe33d273574f43be134.jpg","text":"TemporaryFile(/tmp/multipartBody6230493962432608157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_20_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7b0075b7a0367961d22a4cc414aab67.jpg","text":"TemporaryFile(/tmp/multipartBody2129919364016176419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024765184,"filename":"image_30102025_05_48_35_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689001","file1":"1391688999","file0":"1391688996","file4":"1391689007","file5":"1391689011","file3":"1391689004"},"map_files_photo_id_array":[{"photo_id":"1391689011","filename":"file5"},{"photo_id":"1391689001","filename":"file2"},{"photo_id":"1391689007","filename":"file4"},{"photo_id":"1391688999","filename":"file1"},{"photo_id":"1391688996","filename":"file0"},{"photo_id":"1391689004","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689001":["hashtag1","hashtag2"]},{"1391689004":["hashtag1","hashtag2"]},{"1391689007":["hashtag1","hashtag2"]},{"1391688999":["hashtag1","hashtag2"]},{"1391688996":["hashtag1","hashtag2"]},{"1391689011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689001, 1391689004, 1391689007, 1391688999, 1391688996, 1391689011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32297110557556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:19:02.835682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_39_3760.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_42_2567.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_44_2809.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_48_3652.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_51_2717.jpg', '/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_56_5209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_39_3760.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_42_2567.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_44_2809.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_48_3652.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_51_2717.jpg
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_56_5209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689031","1391689024","1391689033","1391689027","1391689036","1391689038"],"photo_ids_order":["1391689024","1391689027","1391689031","1391689033","1391689036","1391689038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33ce1c6cb028a671ae528e50b2221881.jpg","text":"TemporaryFile(/tmp/multipartBody8123734652470510240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_44_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9987d77668ed7eef3ba3554133dc71e8.jpg","text":"TemporaryFile(/tmp/multipartBody2399815686169129544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_39_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/861f19a785de9e889f83f7024a8b7be1.jpg","text":"TemporaryFile(/tmp/multipartBody7261600669405558355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_48_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8b5af24925d8f26566a0dfab761179f.jpg","text":"TemporaryFile(/tmp/multipartBody5384359185859002559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_42_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5824c43025b822453507503c8a5ca574.jpg","text":"TemporaryFile(/tmp/multipartBody6452164148456788889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_51_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a682221bf36e4d27a4f3a61b2e688c7.jpg","text":"TemporaryFile(/tmp/multipartBody5447041394078505884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024805346,"filename":"image_30102025_05_48_56_5209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689031","file1":"1391689027","file0":"1391689024","file4":"1391689036","file5":"1391689038","file3":"1391689033"},"map_files_photo_id_array":[{"photo_id":"1391689038","filename":"file5"},{"photo_id":"1391689031","filename":"file2"},{"photo_id":"1391689036","filename":"file4"},{"photo_id":"1391689027","filename":"file1"},{"photo_id":"1391689024","filename":"file0"},{"photo_id":"1391689033","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689031":["hashtag1","hashtag2"]},{"1391689024":["hashtag1","hashtag2"]},{"1391689033":["hashtag1","hashtag2"]},{"1391689027":["hashtag1","hashtag2"]},{"1391689036":["hashtag1","hashtag2"]},{"1391689038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689031, 1391689024, 1391689033, 1391689027, 1391689036, 1391689038)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.17813444137573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:20:02.877723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_59_1524.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_07_7733.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_09_1767.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_10_1506.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_12_1601.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_14_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/48/image_30102025_05_48_59_1524.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_07_7733.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_09_1767.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_10_1506.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_12_1601.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_14_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689071","1391689065","1391689068","1391689062","1391689056","1391689059"],"photo_ids_order":["1391689056","1391689059","1391689062","1391689065","1391689068","1391689071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/844f0063883899b75edc91142acf5e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4106821051265516654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_49_14_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/478c54ec88cb4e5cccfdac43abf2ce71.jpg","text":"TemporaryFile(/tmp/multipartBody4653798001099895464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_49_10_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc344ed3d4d24e9fc20585c642f04e28.jpg","text":"TemporaryFile(/tmp/multipartBody495778128788047464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_49_12_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e7fa1d2ba352861e3eb1b3649bb78f.jpg","text":"TemporaryFile(/tmp/multipartBody4808617431830672071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_49_09_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0d6fefdaad63c56a69daf1440bd0a10.jpg","text":"TemporaryFile(/tmp/multipartBody4887295593354182324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_48_59_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26a29d02fc29b6477d5b9ee17806b776.jpg","text":"TemporaryFile(/tmp/multipartBody3387324909818334323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024865121,"filename":"image_30102025_05_49_07_7733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689062","file1":"1391689059","file0":"1391689056","file4":"1391689068","file5":"1391689071","file3":"1391689065"},"map_files_photo_id_array":[{"photo_id":"1391689071","filename":"file5"},{"photo_id":"1391689062","filename":"file2"},{"photo_id":"1391689068","filename":"file4"},{"photo_id":"1391689059","filename":"file1"},{"photo_id":"1391689056","filename":"file0"},{"photo_id":"1391689065","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689071":["hashtag1","hashtag2"]},{"1391689065":["hashtag1","hashtag2"]},{"1391689068":["hashtag1","hashtag2"]},{"1391689062":["hashtag1","hashtag2"]},{"1391689056":["hashtag1","hashtag2"]},{"1391689059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689071, 1391689065, 1391689068, 1391689062, 1391689056, 1391689059)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.004685401916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:21:03.438038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689130","1391689123","1391689132","1391689135","1391689128","1391689125"],"photo_ids_order":["1391689123","1391689125","1391689128","1391689130","1391689132","1391689135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cf0e5b1e7099eb509e4cef393ea4453.jpg","text":"TemporaryFile(/tmp/multipartBody79486868675603437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_28_4584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3508ccdeacbb4138fc4948edd5bde14.jpg","text":"TemporaryFile(/tmp/multipartBody6425594395890576215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_18_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1640083ab3324b8e83d35124ff2d23e9.jpg","text":"TemporaryFile(/tmp/multipartBody4130894262686578543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_30_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/484b94bec75d0a5e73bc3ae2689144f6.jpg","text":"TemporaryFile(/tmp/multipartBody8024217538794126242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_32_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5877da1a40d02ce7fce87eefc05c4a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3641118989539091385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_24_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f9873577ed8aeae2d805f43fe597609f.jpg","text":"TemporaryFile(/tmp/multipartBody5012632375550584067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762024978313,"filename":"image_30102025_05_49_21_3073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689128","file1":"1391689125","file0":"1391689123","file4":"1391689132","file5":"1391689135","file3":"1391689130"},"map_files_photo_id_array":[{"photo_id":"1391689135","filename":"file5"},{"photo_id":"1391689128","filename":"file2"},{"photo_id":"1391689132","filename":"file4"},{"photo_id":"1391689125","filename":"file1"},{"photo_id":"1391689123","filename":"file0"},{"photo_id":"1391689130","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689130":["hashtag1","hashtag2"]},{"1391689123":["hashtag1","hashtag2"]},{"1391689132":["hashtag1","hashtag2"]},{"1391689135":["hashtag1","hashtag2"]},{"1391689128":["hashtag1","hashtag2"]},{"1391689125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689130, 1391689123, 1391689132, 1391689135, 1391689128, 1391689125)","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 = 1391689128 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391689128 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg";
uploaded 6 photos
time to upload: 114.70290303230286 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:23:04.069361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:23:23.281918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.555847644805908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:23:43.421252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_18_3626.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_21_3073.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_24_2659.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_28_4584.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_30_1512.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_32_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689190","1391689178","1391689187","1391689192","1391689195","1391689183"],"photo_ids_order":["1391689178","1391689183","1391689187","1391689190","1391689192","1391689195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/784b04ee9fbba187eafccafa98e103de.jpg","text":"TemporaryFile(/tmp/multipartBody4609381497110832227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_28_4584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd04f904aee9cf02f0618a9175d45b41.jpg","text":"TemporaryFile(/tmp/multipartBody7271551879296793585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_18_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8cdceed628753c601bde5ba9c35a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1436801640769062629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_24_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18ef2cd81e41e0101b69e52e18af9a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5637741815802755785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_30_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b67eecaca685fba88056fcee40e6705.jpg","text":"TemporaryFile(/tmp/multipartBody6929554397000652475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_32_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ceef8f5eb805416adb87860ab8b7ed15.jpg","text":"TemporaryFile(/tmp/multipartBody2364718313863054763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025084528,"filename":"image_30102025_05_49_21_3073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689187","file1":"1391689183","file0":"1391689178","file4":"1391689192","file5":"1391689195","file3":"1391689190"},"map_files_photo_id_array":[{"photo_id":"1391689195","filename":"file5"},{"photo_id":"1391689187","filename":"file2"},{"photo_id":"1391689192","filename":"file4"},{"photo_id":"1391689183","filename":"file1"},{"photo_id":"1391689178","filename":"file0"},{"photo_id":"1391689190","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689190":["hashtag1","hashtag2"]},{"1391689178":["hashtag1","hashtag2"]},{"1391689187":["hashtag1","hashtag2"]},{"1391689192":["hashtag1","hashtag2"]},{"1391689195":["hashtag1","hashtag2"]},{"1391689183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689190, 1391689178, 1391689187, 1391689192, 1391689195, 1391689183)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.99550795555115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:24:42.642449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_35_2702.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_39_3570.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_41_2699.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_48_3572.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_51_2913.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_53_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_35_2702.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_39_3570.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_41_2699.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_48_3572.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_51_2913.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_53_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391689226","1391689229","1391689214","1391689223","1391689219","1391689210"],"photo_ids_order":["1391689210","1391689214","1391689219","1391689223","1391689226","1391689229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d15d562e4a2c4bee458feefd02fc786f.jpg","text":"TemporaryFile(/tmp/multipartBody672029380298932250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_51_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/085a64246efb66f6e894e4d5972061d8.jpg","text":"TemporaryFile(/tmp/multipartBody4220532246159941038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_53_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d67f0f2e12b6cbcd6bbe319074dc2c61.jpg","text":"TemporaryFile(/tmp/multipartBody6789917434793118073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_39_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11f788526b52d9de6be7881c82317019.jpg","text":"TemporaryFile(/tmp/multipartBody2757858281490428487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_48_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e33514402cd27ce9db759ec016431c39.jpg","text":"TemporaryFile(/tmp/multipartBody5763122256336448514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_41_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf91c81c1ce56dad85e80b02d0040135.jpg","text":"TemporaryFile(/tmp/multipartBody5353152872600746204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025144396,"filename":"image_30102025_05_49_35_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689219","file1":"1391689214","file0":"1391689210","file4":"1391689226","file5":"1391689229","file3":"1391689223"},"map_files_photo_id_array":[{"photo_id":"1391689229","filename":"file5"},{"photo_id":"1391689219","filename":"file2"},{"photo_id":"1391689226","filename":"file4"},{"photo_id":"1391689214","filename":"file1"},{"photo_id":"1391689210","filename":"file0"},{"photo_id":"1391689223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689226":["hashtag1","hashtag2"]},{"1391689229":["hashtag1","hashtag2"]},{"1391689214":["hashtag1","hashtag2"]},{"1391689223":["hashtag1","hashtag2"]},{"1391689219":["hashtag1","hashtag2"]},{"1391689210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689226, 1391689229, 1391689214, 1391689223, 1391689219, 1391689210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.59392976760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:25:43.206899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_56_2837.jpg', '/home/pi/Desktop/images/30102025/05/49/image_30102025_05_50_00_3574.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_02_2707.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_05_2869.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_09_3570.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_15_6136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_49_56_2837.jpg
/home/pi/Desktop/images/30102025/05/49/image_30102025_05_50_00_3574.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_02_2707.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_05_2869.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_09_3570.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_15_6136.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689250","1391689261","1391689255","1391689264","1391689258","1391689245"],"photo_ids_order":["1391689245","1391689250","1391689255","1391689258","1391689261","1391689264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3ad5f651c6c3eccd9deb3837dbbf7b7.jpg","text":"TemporaryFile(/tmp/multipartBody6579749116938568576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_50_00_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55e9b59be2023d8037af3fa0d0dcb74f.jpg","text":"TemporaryFile(/tmp/multipartBody7168484874464270830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_50_09_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2710a6c09c12b374b4e3f7e955bf42d.jpg","text":"TemporaryFile(/tmp/multipartBody8013317596965524334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_50_02_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f409c5458a6cf810fd0d7924426e3824.jpg","text":"TemporaryFile(/tmp/multipartBody7966410543456049029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_50_15_6136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9d57d77f8fd400afbcfca85975ed52d.jpg","text":"TemporaryFile(/tmp/multipartBody4466128543896963313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_50_05_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/117562430afd958fa283e67124bc182d.jpg","text":"TemporaryFile(/tmp/multipartBody2917251785526538671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025204546,"filename":"image_30102025_05_49_56_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689255","file1":"1391689250","file0":"1391689245","file4":"1391689261","file5":"1391689264","file3":"1391689258"},"map_files_photo_id_array":[{"photo_id":"1391689264","filename":"file5"},{"photo_id":"1391689255","filename":"file2"},{"photo_id":"1391689261","filename":"file4"},{"photo_id":"1391689250","filename":"file1"},{"photo_id":"1391689245","filename":"file0"},{"photo_id":"1391689258","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689250":["hashtag1","hashtag2"]},{"1391689261":["hashtag1","hashtag2"]},{"1391689255":["hashtag1","hashtag2"]},{"1391689264":["hashtag1","hashtag2"]},{"1391689258":["hashtag1","hashtag2"]},{"1391689245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689250, 1391689261, 1391689255, 1391689264, 1391689258, 1391689245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13109230995178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:26:22.417077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_17_1644.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_18_1764.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_21_2651.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_24_2744.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_27_2783.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_29_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_17_1644.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_18_1764.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_21_2651.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_24_2744.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_27_2783.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_29_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689283","1391689277","1391689291","1391689294","1391689281","1391689287"],"photo_ids_order":["1391689277","1391689281","1391689283","1391689287","1391689291","1391689294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1fe476a1ec03d94d1e9e5fe6b285b8d3.jpg","text":"TemporaryFile(/tmp/multipartBody657122062295422986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_21_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1df1b9e1655947152ee04548f0ae9d84.jpg","text":"TemporaryFile(/tmp/multipartBody262922490050701834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_17_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be766ef26c45ce5386656cc759371474.jpg","text":"TemporaryFile(/tmp/multipartBody4386795367999316390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_27_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b03ceaaddfe4bdb50a66909f6682eeb5.jpg","text":"TemporaryFile(/tmp/multipartBody4117956089789846864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_29_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b9e505e523aeb1a960a7029bb65bf62.jpg","text":"TemporaryFile(/tmp/multipartBody8893368020624517636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_18_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64d07023e2dc5375899e88b19f417d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1487411150745653716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025245244,"filename":"image_30102025_05_50_24_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689283","file1":"1391689281","file0":"1391689277","file4":"1391689291","file5":"1391689294","file3":"1391689287"},"map_files_photo_id_array":[{"photo_id":"1391689294","filename":"file5"},{"photo_id":"1391689283","filename":"file2"},{"photo_id":"1391689291","filename":"file4"},{"photo_id":"1391689281","filename":"file1"},{"photo_id":"1391689277","filename":"file0"},{"photo_id":"1391689287","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689283":["hashtag1","hashtag2"]},{"1391689277":["hashtag1","hashtag2"]},{"1391689291":["hashtag1","hashtag2"]},{"1391689294":["hashtag1","hashtag2"]},{"1391689281":["hashtag1","hashtag2"]},{"1391689287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689283, 1391689277, 1391689291, 1391689294, 1391689281, 1391689287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99104070663452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:27:03.196579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_34_4874.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_36_1648.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_39_3718.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_41_1754.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_45_3743.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_47_2490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_34_4874.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_36_1648.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_39_3718.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_41_1754.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_45_3743.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_47_2490.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689346","1391689342","1391689339","1391689330","1391689318","1391689335"],"photo_ids_order":["1391689318","1391689330","1391689335","1391689339","1391689342","1391689346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9dc07d7c031240a8b3fdd63ec5ca7566.jpg","text":"TemporaryFile(/tmp/multipartBody1223805414403679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_47_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c8cc360f7eea8b5e50555d3e99e8912.jpg","text":"TemporaryFile(/tmp/multipartBody2035317707542948271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_45_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb1aa97b05f136d1029dd9cdf8f6fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody4499739340148294266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_41_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1261aa9c03c35e4aada95ba42dcb00c4.jpg","text":"TemporaryFile(/tmp/multipartBody23309756094377887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_36_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b061cb24fe9e9dfefd70ad9007b2ea7e.jpg","text":"TemporaryFile(/tmp/multipartBody602348134457992667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_34_4874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01528ac5c3de8a11ddd6fa0ddd424e26.jpg","text":"TemporaryFile(/tmp/multipartBody6869571320475410551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025285587,"filename":"image_30102025_05_50_39_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689335","file1":"1391689330","file0":"1391689318","file4":"1391689342","file5":"1391689346","file3":"1391689339"},"map_files_photo_id_array":[{"photo_id":"1391689346","filename":"file5"},{"photo_id":"1391689335","filename":"file2"},{"photo_id":"1391689342","filename":"file4"},{"photo_id":"1391689330","filename":"file1"},{"photo_id":"1391689318","filename":"file0"},{"photo_id":"1391689339","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689346":["hashtag1","hashtag2"]},{"1391689342":["hashtag1","hashtag2"]},{"1391689339":["hashtag1","hashtag2"]},{"1391689330":["hashtag1","hashtag2"]},{"1391689318":["hashtag1","hashtag2"]},{"1391689335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689346, 1391689342, 1391689339, 1391689330, 1391689318, 1391689335)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.91118311882019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:28:02.890935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_50_2732.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_54_3756.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_56_2575.jpg', '/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_59_2752.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_02_2766.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_06_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_50_2732.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_54_3756.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_56_2575.jpg
/home/pi/Desktop/images/30102025/05/50/image_30102025_05_50_59_2752.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_02_2766.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_06_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689382","1391689376","1391689378","1391689372","1391689369","1391689380"],"photo_ids_order":["1391689369","1391689372","1391689376","1391689378","1391689380","1391689382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4927c0b6ad60638dc375ec8b9002e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody6325844329111739319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_51_06_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d82a7d8d92f3680fab80cbf8025c642.jpg","text":"TemporaryFile(/tmp/multipartBody2426968802268600388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_50_56_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38abe7e1c24606e584ee638653bbc026.jpg","text":"TemporaryFile(/tmp/multipartBody6953363268352541068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_50_59_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5531807c1510f5e494639c38e8f9686b.jpg","text":"TemporaryFile(/tmp/multipartBody5826914030889062016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_50_54_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7eecbe6caacfe0c4783dfa2ebbc5c44e.jpg","text":"TemporaryFile(/tmp/multipartBody1580093841896081206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_50_50_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a88e404f35adc9d0a83f452ba93c73dc.jpg","text":"TemporaryFile(/tmp/multipartBody4728502395726007504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025344934,"filename":"image_30102025_05_51_02_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689376","file1":"1391689372","file0":"1391689369","file4":"1391689380","file5":"1391689382","file3":"1391689378"},"map_files_photo_id_array":[{"photo_id":"1391689382","filename":"file5"},{"photo_id":"1391689376","filename":"file2"},{"photo_id":"1391689380","filename":"file4"},{"photo_id":"1391689372","filename":"file1"},{"photo_id":"1391689369","filename":"file0"},{"photo_id":"1391689378","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689382":["hashtag1","hashtag2"]},{"1391689376":["hashtag1","hashtag2"]},{"1391689378":["hashtag1","hashtag2"]},{"1391689372":["hashtag1","hashtag2"]},{"1391689369":["hashtag1","hashtag2"]},{"1391689380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689382, 1391689376, 1391689378, 1391689372, 1391689369, 1391689380)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.78059720993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:29:03.325735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_08_2699.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_11_2639.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_15_3627.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_17_2827.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_20_2645.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_26_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_08_2699.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_11_2639.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_15_3627.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_17_2827.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_20_2645.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_26_2829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689418","1391689414","1391689402","1391689411","1391689405","1391689408"],"photo_ids_order":["1391689402","1391689405","1391689408","1391689411","1391689414","1391689418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18671c5f7bab649b1ea4500608d451e7.jpg","text":"TemporaryFile(/tmp/multipartBody9173859914849121514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_26_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbc6e9598f6599ef9a41b68f8ab8c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody6160810477210927043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_20_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5b4c0e6149fb9540ad8e9470c913b68.jpg","text":"TemporaryFile(/tmp/multipartBody8304018651380609746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc8f7a1ffdd1946b7833e652b5884746.jpg","text":"TemporaryFile(/tmp/multipartBody6408756661305966282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_17_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1df2f6d8fa62316d3921d14e7549ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4641964881656680223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_11_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f92f4f6ba6e2054bfd3e9673dcac50bb.jpg","text":"TemporaryFile(/tmp/multipartBody4553400212462643566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025405668,"filename":"image_30102025_05_51_15_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689408","file1":"1391689405","file0":"1391689402","file4":"1391689414","file5":"1391689418","file3":"1391689411"},"map_files_photo_id_array":[{"photo_id":"1391689418","filename":"file5"},{"photo_id":"1391689408","filename":"file2"},{"photo_id":"1391689414","filename":"file4"},{"photo_id":"1391689405","filename":"file1"},{"photo_id":"1391689402","filename":"file0"},{"photo_id":"1391689411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689418":["hashtag1","hashtag2"]},{"1391689414":["hashtag1","hashtag2"]},{"1391689402":["hashtag1","hashtag2"]},{"1391689411":["hashtag1","hashtag2"]},{"1391689405":["hashtag1","hashtag2"]},{"1391689408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689418, 1391689414, 1391689402, 1391689411, 1391689405, 1391689408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21072483062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:30:03.021389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_29_2813.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_33_3559.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_36_2962.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_38_2714.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_41_2533.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_45_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_29_2813.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_33_3559.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_36_2962.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_38_2714.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_41_2533.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_45_3785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689448","1391689442","1391689439","1391689441","1391689444","1391689440"],"photo_ids_order":["1391689439","1391689440","1391689441","1391689442","1391689444","1391689448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff3768f6ccb6e47d6106bb323271b0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8550385057929899849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_45_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce1b81ba7f8fb2c114d5e7a86eada1db.jpg","text":"TemporaryFile(/tmp/multipartBody3577202554623655128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_38_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e554ee96d1338aa7d86cd2f6121bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody4728891911979883389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_29_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7ee3ca7156f6dd5f61751be855f14f3.jpg","text":"TemporaryFile(/tmp/multipartBody6277215870973629552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_36_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b709671aec454a310ed0a79bf50eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody6270062623722787732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_41_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b35ed258bcffe17f4a06582e9ddb1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5791470175278590558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025465253,"filename":"image_30102025_05_51_33_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689441","file1":"1391689440","file0":"1391689439","file4":"1391689444","file5":"1391689448","file3":"1391689442"},"map_files_photo_id_array":[{"photo_id":"1391689448","filename":"file5"},{"photo_id":"1391689441","filename":"file2"},{"photo_id":"1391689444","filename":"file4"},{"photo_id":"1391689440","filename":"file1"},{"photo_id":"1391689439","filename":"file0"},{"photo_id":"1391689442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689448":["hashtag1","hashtag2"]},{"1391689442":["hashtag1","hashtag2"]},{"1391689439":["hashtag1","hashtag2"]},{"1391689441":["hashtag1","hashtag2"]},{"1391689444":["hashtag1","hashtag2"]},{"1391689440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689448, 1391689442, 1391689439, 1391689441, 1391689444, 1391689440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.301607608795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:30:42.602440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_48_2860.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_50_2604.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_54_3564.jpg', '/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_57_2923.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_02_2530.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_06_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_48_2860.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_50_2604.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_54_3564.jpg
/home/pi/Desktop/images/30102025/05/51/image_30102025_05_51_57_2923.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_02_2530.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_06_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689481","1391689478","1391689483","1391689486","1391689480","1391689482"],"photo_ids_order":["1391689478","1391689480","1391689481","1391689482","1391689483","1391689486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c774ea857ffc4085e9aa53472397fedf.jpg","text":"TemporaryFile(/tmp/multipartBody2732023935289074060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_51_54_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11fc8f4ea060c63deffe203ff9b84e23.jpg","text":"TemporaryFile(/tmp/multipartBody6161334531631069110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_51_48_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f7c5393548131786dc66d013d58fd04.jpg","text":"TemporaryFile(/tmp/multipartBody3149410381949645356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_52_02_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb3b65434a05a355d55889fa3ec2c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody658530416000306369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_52_06_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42373fff4fb0d9c15a2b66807130cbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5069756080586365867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_51_50_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a970c2b2fb7c1f1156702bf3c1bdd5b.jpg","text":"TemporaryFile(/tmp/multipartBody5868125675668941409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025503888,"filename":"image_30102025_05_51_57_2923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689481","file1":"1391689480","file0":"1391689478","file4":"1391689483","file5":"1391689486","file3":"1391689482"},"map_files_photo_id_array":[{"photo_id":"1391689486","filename":"file5"},{"photo_id":"1391689481","filename":"file2"},{"photo_id":"1391689483","filename":"file4"},{"photo_id":"1391689480","filename":"file1"},{"photo_id":"1391689478","filename":"file0"},{"photo_id":"1391689482","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689481":["hashtag1","hashtag2"]},{"1391689478":["hashtag1","hashtag2"]},{"1391689483":["hashtag1","hashtag2"]},{"1391689486":["hashtag1","hashtag2"]},{"1391689480":["hashtag1","hashtag2"]},{"1391689482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689481, 1391689478, 1391689483, 1391689486, 1391689480, 1391689482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14986538887024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:31:22.780670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_09_2885.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_11_2692.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_14_2940.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_17_2808.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_21_3564.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_23_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_09_2885.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_11_2692.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_14_2940.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_17_2808.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_21_3564.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_23_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689511","1391689516","1391689501","1391689504","1391689507","1391689499"],"photo_ids_order":["1391689499","1391689501","1391689504","1391689507","1391689511","1391689516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f844c1b716c22e89543b126569e6fff.jpg","text":"TemporaryFile(/tmp/multipartBody6241493697636428006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_21_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f7fbb773afa3dd03ca5a8a6ddc526207.jpg","text":"TemporaryFile(/tmp/multipartBody3485552648644496907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_23_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a83425a068114be01072674deec7b25d.jpg","text":"TemporaryFile(/tmp/multipartBody164399096435538828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_11_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55fcfca231b5aa7a3ae2b6855ff994ab.jpg","text":"TemporaryFile(/tmp/multipartBody1318028388472123674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_14_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a577ca33e581632dffd130e25f6f6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5996114471788767397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_17_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85c85c9ea589e79a36917b348ff9dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody7936538030351080095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025547680,"filename":"image_30102025_05_52_09_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689504","file1":"1391689501","file0":"1391689499","file4":"1391689511","file5":"1391689516","file3":"1391689507"},"map_files_photo_id_array":[{"photo_id":"1391689516","filename":"file5"},{"photo_id":"1391689504","filename":"file2"},{"photo_id":"1391689511","filename":"file4"},{"photo_id":"1391689501","filename":"file1"},{"photo_id":"1391689499","filename":"file0"},{"photo_id":"1391689507","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689511":["hashtag1","hashtag2"]},{"1391689516":["hashtag1","hashtag2"]},{"1391689501":["hashtag1","hashtag2"]},{"1391689504":["hashtag1","hashtag2"]},{"1391689507":["hashtag1","hashtag2"]},{"1391689499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689511, 1391689516, 1391689501, 1391689504, 1391689507, 1391689499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19806671142578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:32:22.063144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_26_2828.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_29_2764.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_33_3696.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_35_2766.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_38_2629.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_42_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_26_2828.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_29_2764.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_33_3696.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_35_2766.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_38_2629.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_42_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689541","1391689546","1391689549","1391689530","1391689533","1391689536"],"photo_ids_order":["1391689530","1391689533","1391689536","1391689541","1391689546","1391689549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fdcce6f87315bbf75109f3dba7eeb5c3.jpg","text":"TemporaryFile(/tmp/multipartBody1607020303073128753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_35_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da68a47ac59bc0ed08895e97c0c8e43b.jpg","text":"TemporaryFile(/tmp/multipartBody7273958154775794850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_38_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3fd5852f25bd569c2fe4d6df630d90e5.jpg","text":"TemporaryFile(/tmp/multipartBody7154879297192363039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_42_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a59c3b15922c49aff6e80cb474bf19a6.jpg","text":"TemporaryFile(/tmp/multipartBody1715458164628305024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_26_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc6bce588704a366a262c6e920f0ff69.jpg","text":"TemporaryFile(/tmp/multipartBody1177198465253949309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_29_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/451aa7ff27f58c04106d4ed19015303a.jpg","text":"TemporaryFile(/tmp/multipartBody6599443738481387736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025604771,"filename":"image_30102025_05_52_33_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689536","file1":"1391689533","file0":"1391689530","file4":"1391689546","file5":"1391689549","file3":"1391689541"},"map_files_photo_id_array":[{"photo_id":"1391689549","filename":"file5"},{"photo_id":"1391689536","filename":"file2"},{"photo_id":"1391689546","filename":"file4"},{"photo_id":"1391689533","filename":"file1"},{"photo_id":"1391689530","filename":"file0"},{"photo_id":"1391689541","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689541":["hashtag1","hashtag2"]},{"1391689546":["hashtag1","hashtag2"]},{"1391689549":["hashtag1","hashtag2"]},{"1391689530":["hashtag1","hashtag2"]},{"1391689533":["hashtag1","hashtag2"]},{"1391689536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689541, 1391689546, 1391689549, 1391689530, 1391689533, 1391689536)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.830984592437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:33:42.176835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_44_2653.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_47_2723.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_51_3658.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_53_2687.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_56_2676.jpg', '/home/pi/Desktop/images/30102025/05/52/image_30102025_05_53_00_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_44_2653.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_47_2723.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_51_3658.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_53_2687.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_56_2676.jpg
/home/pi/Desktop/images/30102025/05/52/image_30102025_05_53_00_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689595","1391689574","1391689591","1391689579","1391689588","1391689583"],"photo_ids_order":["1391689574","1391689579","1391689583","1391689588","1391689591","1391689595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/624d9a7848c6b861b138b873e8fbd358.jpg","text":"TemporaryFile(/tmp/multipartBody4294684653990335947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_53_00_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41ed19d2f44fcce257e493339037a9af.jpg","text":"TemporaryFile(/tmp/multipartBody7275530962589988553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_52_44_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/887748dcce18180360970f23392d12e7.jpg","text":"TemporaryFile(/tmp/multipartBody3064380454769098236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_52_56_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b138ed04228dc23c1a90f299534dc38d.jpg","text":"TemporaryFile(/tmp/multipartBody7467661483926300650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_52_47_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2162b10557d23d50e60a5d3de71123a2.jpg","text":"TemporaryFile(/tmp/multipartBody6907410187667072998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_52_53_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5eb7d79d4a9f87d69409dcc93adbf352.jpg","text":"TemporaryFile(/tmp/multipartBody6451979902937612923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025683418,"filename":"image_30102025_05_52_51_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689583","file1":"1391689579","file0":"1391689574","file4":"1391689591","file5":"1391689595","file3":"1391689588"},"map_files_photo_id_array":[{"photo_id":"1391689595","filename":"file5"},{"photo_id":"1391689583","filename":"file2"},{"photo_id":"1391689591","filename":"file4"},{"photo_id":"1391689579","filename":"file1"},{"photo_id":"1391689574","filename":"file0"},{"photo_id":"1391689588","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689595":["hashtag1","hashtag2"]},{"1391689574":["hashtag1","hashtag2"]},{"1391689591":["hashtag1","hashtag2"]},{"1391689579":["hashtag1","hashtag2"]},{"1391689588":["hashtag1","hashtag2"]},{"1391689583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689595, 1391689574, 1391689591, 1391689579, 1391689588, 1391689583)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391689583 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/52/image_30102025_05_52_51_3658.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.86662268638611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:35:02.432186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:35:26.026068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689652","1391689643","1391689657","1391689648","1391689635","1391689638"],"photo_ids_order":["1391689635","1391689638","1391689643","1391689648","1391689652","1391689657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61d34428c4f513fec30f15e23a45b506.jpg","text":"TemporaryFile(/tmp/multipartBody3842840014686930245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_17_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e0dfc1fb2a69337fb0410d3c8d0d6df.jpg","text":"TemporaryFile(/tmp/multipartBody6403884532912978728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_09_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b0a9c7fa56083994e8fd570776ea75c.jpg","text":"TemporaryFile(/tmp/multipartBody652117471326525834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_20_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23e281f82ddc0a491d9a249a01217795.jpg","text":"TemporaryFile(/tmp/multipartBody8443816779514918178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_11_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cef22b82ff1701026469707e9c94256d.jpg","text":"TemporaryFile(/tmp/multipartBody3750628109914574688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_02_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9a2dffcf0737c8100e7a9179017be28.jpg","text":"TemporaryFile(/tmp/multipartBody1853251163066799131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025795296,"filename":"image_30102025_05_53_05_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689643","file1":"1391689638","file0":"1391689635","file4":"1391689652","file5":"1391689657","file3":"1391689648"},"map_files_photo_id_array":[{"photo_id":"1391689657","filename":"file5"},{"photo_id":"1391689643","filename":"file2"},{"photo_id":"1391689652","filename":"file4"},{"photo_id":"1391689638","filename":"file1"},{"photo_id":"1391689635","filename":"file0"},{"photo_id":"1391689648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689652":["hashtag1","hashtag2"]},{"1391689643":["hashtag1","hashtag2"]},{"1391689657":["hashtag1","hashtag2"]},{"1391689648":["hashtag1","hashtag2"]},{"1391689635":["hashtag1","hashtag2"]},{"1391689638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689652, 1391689643, 1391689657, 1391689648, 1391689635, 1391689638)","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 = 1391689643 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391689643 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg";
uploaded 6 photos
time to upload: 68.79240846633911 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:37:11.434722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:37:31.516249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8532629013061523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:37:48.584176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_02_2648.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_05_2673.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_09_3580.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_11_2547.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_17_3666.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_20_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689730","1391689718","1391689722","1391689725","1391689728","1391689713"],"photo_ids_order":["1391689713","1391689718","1391689722","1391689725","1391689728","1391689730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6dbe14a91190a2a2260ec01a40bd278e.jpg","text":"TemporaryFile(/tmp/multipartBody2507582179231196980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_20_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/401917955282d83724d843ddb32f4929.jpg","text":"TemporaryFile(/tmp/multipartBody51434415658528884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_05_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cc9d83fb3cf0be053df34f642f77b38.jpg","text":"TemporaryFile(/tmp/multipartBody4679698876416126435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_09_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf8da6b10789a0c78ecf1bf5a6e18d40.jpg","text":"TemporaryFile(/tmp/multipartBody4644389374851663125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_11_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/664d4933a28ca77761e794a8ee63702f.jpg","text":"TemporaryFile(/tmp/multipartBody4482517623732590548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_17_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c1b06e0e0349d3c272e27d005fdf519.jpg","text":"TemporaryFile(/tmp/multipartBody7041748219871796153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025929788,"filename":"image_30102025_05_53_02_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689722","file1":"1391689718","file0":"1391689713","file4":"1391689728","file5":"1391689730","file3":"1391689725"},"map_files_photo_id_array":[{"photo_id":"1391689730","filename":"file5"},{"photo_id":"1391689722","filename":"file2"},{"photo_id":"1391689728","filename":"file4"},{"photo_id":"1391689718","filename":"file1"},{"photo_id":"1391689713","filename":"file0"},{"photo_id":"1391689725","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689730":["hashtag1","hashtag2"]},{"1391689718":["hashtag1","hashtag2"]},{"1391689722":["hashtag1","hashtag2"]},{"1391689725":["hashtag1","hashtag2"]},{"1391689728":["hashtag1","hashtag2"]},{"1391689713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689730, 1391689718, 1391689722, 1391689725, 1391689728, 1391689713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88202977180481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:38:42.802268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_24_3678.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_26_2615.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_29_2635.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_32_3585.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_35_2621.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_38_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_24_3678.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_26_2615.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_29_2635.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_32_3585.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_35_2621.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_38_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689748","1391689759","1391689752","1391689761","1391689755","1391689758"],"photo_ids_order":["1391689748","1391689752","1391689755","1391689758","1391689759","1391689761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a619a0ba3321edabb2a33384ab51250.jpg","text":"TemporaryFile(/tmp/multipartBody1295420991723648054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_24_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e67e5a8b71b5097372937283638cb494.jpg","text":"TemporaryFile(/tmp/multipartBody4926054327608039679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_35_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8252a825855b63e733b7a3bfae26fc79.jpg","text":"TemporaryFile(/tmp/multipartBody6331425445003206744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_26_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88f5780636d562d152ada4a3a03c39f4.jpg","text":"TemporaryFile(/tmp/multipartBody3979851999216381167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_38_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75c0108795cc7bff9c72c5403a9715fc.jpg","text":"TemporaryFile(/tmp/multipartBody5229628358199141370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_29_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a50520ff609a04d2495c58a7da509873.jpg","text":"TemporaryFile(/tmp/multipartBody9214523941519089941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762025984019,"filename":"image_30102025_05_53_32_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689755","file1":"1391689752","file0":"1391689748","file4":"1391689759","file5":"1391689761","file3":"1391689758"},"map_files_photo_id_array":[{"photo_id":"1391689761","filename":"file5"},{"photo_id":"1391689755","filename":"file2"},{"photo_id":"1391689759","filename":"file4"},{"photo_id":"1391689752","filename":"file1"},{"photo_id":"1391689748","filename":"file0"},{"photo_id":"1391689758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689748":["hashtag1","hashtag2"]},{"1391689759":["hashtag1","hashtag2"]},{"1391689752":["hashtag1","hashtag2"]},{"1391689761":["hashtag1","hashtag2"]},{"1391689755":["hashtag1","hashtag2"]},{"1391689758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689748, 1391689759, 1391689752, 1391689761, 1391689755, 1391689758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28851509094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:39:21.945190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_41_3588.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_44_2962.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_47_2740.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_50_2778.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_53_3586.jpg', '/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_56_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_41_3588.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_44_2962.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_47_2740.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_50_2778.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_53_3586.jpg
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_56_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689768","1391689783","1391689777","1391689771","1391689779","1391689773"],"photo_ids_order":["1391689768","1391689771","1391689773","1391689777","1391689779","1391689783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f04f69dfce7a3081c4e8ef8ace015c00.jpg","text":"TemporaryFile(/tmp/multipartBody5205515837814144756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_41_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/46f8e02d312b243fb0ad58c8b585ee63.jpg","text":"TemporaryFile(/tmp/multipartBody7919705641056683040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_56_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40457aad03f06476295d07672fb9dd5c.jpg","text":"TemporaryFile(/tmp/multipartBody4410023338004770792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_50_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f2e2bf0aabd708f04eb26a99f13f99a.jpg","text":"TemporaryFile(/tmp/multipartBody5769895345978544085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_44_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bff3f34fe1627da891e32cb8066e4cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6136462491191494021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_53_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f621081ddda20ba187f145bc16f31529.jpg","text":"TemporaryFile(/tmp/multipartBody3716742327083816317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026024732,"filename":"image_30102025_05_53_47_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689773","file1":"1391689771","file0":"1391689768","file4":"1391689779","file5":"1391689783","file3":"1391689777"},"map_files_photo_id_array":[{"photo_id":"1391689783","filename":"file5"},{"photo_id":"1391689773","filename":"file2"},{"photo_id":"1391689779","filename":"file4"},{"photo_id":"1391689771","filename":"file1"},{"photo_id":"1391689768","filename":"file0"},{"photo_id":"1391689777","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689768":["hashtag1","hashtag2"]},{"1391689783":["hashtag1","hashtag2"]},{"1391689777":["hashtag1","hashtag2"]},{"1391689771":["hashtag1","hashtag2"]},{"1391689779":["hashtag1","hashtag2"]},{"1391689773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689768, 1391689783, 1391689777, 1391689771, 1391689779, 1391689773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21517872810364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:40:02.613558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_59_2693.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_02_3682.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_05_2764.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_08_2521.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_11_3596.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_14_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/53/image_30102025_05_53_59_2693.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_02_3682.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_05_2764.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_08_2521.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_11_3596.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_14_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689809","1391689800","1391689802","1391689795","1391689804","1391689806"],"photo_ids_order":["1391689795","1391689800","1391689802","1391689804","1391689806","1391689809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1df8f45e3e92fe07c9516f6f2c387788.jpg","text":"TemporaryFile(/tmp/multipartBody1101024594155048617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_54_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22dc3145d4ad65e6ad1895983bc56985.jpg","text":"TemporaryFile(/tmp/multipartBody3637633166531310330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_54_02_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83d66445d0c99d44bcfb79960069ccc1.jpg","text":"TemporaryFile(/tmp/multipartBody2950435744899269661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_54_05_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/130e7ee296862993f92d56f5bfbc3bad.jpg","text":"TemporaryFile(/tmp/multipartBody7175015421688492743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_53_59_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6b72cd266e4f3323d9cf1dac70d8766.jpg","text":"TemporaryFile(/tmp/multipartBody2675975127113011737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_54_08_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/33acae2178daa7c717fad0c9704826de.jpg","text":"TemporaryFile(/tmp/multipartBody2893446148858911998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026064937,"filename":"image_30102025_05_54_11_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689802","file1":"1391689800","file0":"1391689795","file4":"1391689806","file5":"1391689809","file3":"1391689804"},"map_files_photo_id_array":[{"photo_id":"1391689809","filename":"file5"},{"photo_id":"1391689802","filename":"file2"},{"photo_id":"1391689806","filename":"file4"},{"photo_id":"1391689800","filename":"file1"},{"photo_id":"1391689795","filename":"file0"},{"photo_id":"1391689804","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689809":["hashtag1","hashtag2"]},{"1391689800":["hashtag1","hashtag2"]},{"1391689802":["hashtag1","hashtag2"]},{"1391689795":["hashtag1","hashtag2"]},{"1391689804":["hashtag1","hashtag2"]},{"1391689806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689809, 1391689800, 1391689802, 1391689795, 1391689804, 1391689806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.477102279663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:40:42.162877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_17_2737.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_21_3815.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_23_2534.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_26_2633.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_29_3592.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_32_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_17_2737.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_21_3815.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_23_2534.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_26_2633.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_29_3592.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_32_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689826","1391689820","1391689823","1391689817","1391689831","1391689828"],"photo_ids_order":["1391689817","1391689820","1391689823","1391689826","1391689828","1391689831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59526e963910c590cba5916010648c70.jpg","text":"TemporaryFile(/tmp/multipartBody6180030242892223559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_26_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a45cc4a2c088fe3798d3586f67d399b.jpg","text":"TemporaryFile(/tmp/multipartBody317162379764132138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_21_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97daae046a112ad9a2dbd6339ae181e5.jpg","text":"TemporaryFile(/tmp/multipartBody1119498127155649414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_23_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddc611d228beec1886ad222e317d30f1.jpg","text":"TemporaryFile(/tmp/multipartBody687961440299386813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_17_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b57c178278ef503a09aee019eb5d8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3972991525672193714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6438b5bed9a52ea935202bde1a23c58.jpg","text":"TemporaryFile(/tmp/multipartBody901417252878470904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026103446,"filename":"image_30102025_05_54_29_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689823","file1":"1391689820","file0":"1391689817","file4":"1391689828","file5":"1391689831","file3":"1391689826"},"map_files_photo_id_array":[{"photo_id":"1391689831","filename":"file5"},{"photo_id":"1391689823","filename":"file2"},{"photo_id":"1391689828","filename":"file4"},{"photo_id":"1391689820","filename":"file1"},{"photo_id":"1391689817","filename":"file0"},{"photo_id":"1391689826","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689826":["hashtag1","hashtag2"]},{"1391689820":["hashtag1","hashtag2"]},{"1391689823":["hashtag1","hashtag2"]},{"1391689817":["hashtag1","hashtag2"]},{"1391689831":["hashtag1","hashtag2"]},{"1391689828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689826, 1391689820, 1391689823, 1391689817, 1391689831, 1391689828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96731472015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:41:22.379017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_35_3533.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_38_2515.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_41_2619.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_44_3676.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_47_2608.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_50_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_35_3533.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_38_2515.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_41_2619.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_44_3676.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_47_2608.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_50_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689844","1391689861","1391689855","1391689851","1391689848","1391689845"],"photo_ids_order":["1391689844","1391689845","1391689848","1391689851","1391689855","1391689861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8696f89fdc7673968c50b09641b5e68d.jpg","text":"TemporaryFile(/tmp/multipartBody1314204620215632137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_35_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfdc7f4f5bd3156681b0806eef76e40e.jpg","text":"TemporaryFile(/tmp/multipartBody204003821994991441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_50_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc9ef3d1ae62b7daf18f53e243e762c1.jpg","text":"TemporaryFile(/tmp/multipartBody1873486243299557501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_47_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb7ac7fd9799e7396c64442f02700284.jpg","text":"TemporaryFile(/tmp/multipartBody5122155393396538585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_44_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/328d48375c1c265108d033db3213f784.jpg","text":"TemporaryFile(/tmp/multipartBody3340112823320890606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25ccc29159eb104386477d48f947c28c.jpg","text":"TemporaryFile(/tmp/multipartBody1668798459304139889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026147705,"filename":"image_30102025_05_54_38_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689848","file1":"1391689845","file0":"1391689844","file4":"1391689855","file5":"1391689861","file3":"1391689851"},"map_files_photo_id_array":[{"photo_id":"1391689861","filename":"file5"},{"photo_id":"1391689848","filename":"file2"},{"photo_id":"1391689855","filename":"file4"},{"photo_id":"1391689845","filename":"file1"},{"photo_id":"1391689844","filename":"file0"},{"photo_id":"1391689851","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689844":["hashtag1","hashtag2"]},{"1391689861":["hashtag1","hashtag2"]},{"1391689855":["hashtag1","hashtag2"]},{"1391689851":["hashtag1","hashtag2"]},{"1391689848":["hashtag1","hashtag2"]},{"1391689845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689844, 1391689861, 1391689855, 1391689851, 1391689848, 1391689845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79439830780029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:42:22.533351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_53_3688.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_56_2890.jpg', '/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_59_2653.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_02_3551.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_05_2125.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_08_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_53_3688.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_56_2890.jpg
/home/pi/Desktop/images/30102025/05/54/image_30102025_05_54_59_2653.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_02_3551.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_05_2125.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_08_3726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689883","1391689877","1391689892","1391689874","1391689879","1391689887"],"photo_ids_order":["1391689874","1391689877","1391689879","1391689883","1391689887","1391689892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20ab57b97ba311256fc4859cdb28831f.jpg","text":"TemporaryFile(/tmp/multipartBody5389275727637870784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_55_02_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42a2ab725f3803e43eddf8cd29c13605.jpg","text":"TemporaryFile(/tmp/multipartBody8758382894553254170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_54_56_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df4e29e79693733fdcccbf053a28548e.jpg","text":"TemporaryFile(/tmp/multipartBody8132994227127659004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_55_08_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e65f11730c010184e878053f9895f666.jpg","text":"TemporaryFile(/tmp/multipartBody7789440570233770720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_54_53_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/719b1a0d31c5ee12badc13862f88c180.jpg","text":"TemporaryFile(/tmp/multipartBody1757813398159844395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_54_59_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7148763b1b98134ac9b3af49f3aa0795.jpg","text":"TemporaryFile(/tmp/multipartBody7302121218086963960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026205069,"filename":"image_30102025_05_55_05_2125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689879","file1":"1391689877","file0":"1391689874","file4":"1391689887","file5":"1391689892","file3":"1391689883"},"map_files_photo_id_array":[{"photo_id":"1391689892","filename":"file5"},{"photo_id":"1391689879","filename":"file2"},{"photo_id":"1391689887","filename":"file4"},{"photo_id":"1391689877","filename":"file1"},{"photo_id":"1391689874","filename":"file0"},{"photo_id":"1391689883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689883":["hashtag1","hashtag2"]},{"1391689877":["hashtag1","hashtag2"]},{"1391689892":["hashtag1","hashtag2"]},{"1391689874":["hashtag1","hashtag2"]},{"1391689879":["hashtag1","hashtag2"]},{"1391689887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689883, 1391689877, 1391689892, 1391689874, 1391689879, 1391689887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18230438232422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:43:03.384821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_11_2553.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_14_3605.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_17_2943.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_20_2728.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_23_2651.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_26_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_11_2553.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_14_3605.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_17_2943.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_20_2728.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_23_2651.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_26_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689913","1391689909","1391689900","1391689917","1391689902","1391689905"],"photo_ids_order":["1391689900","1391689902","1391689905","1391689909","1391689913","1391689917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9367dcdf036c028bfdf629826ff28ab8.jpg","text":"TemporaryFile(/tmp/multipartBody878332613353109099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_23_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/608937dedd08455a22cb33c47fbdd601.jpg","text":"TemporaryFile(/tmp/multipartBody6107132376239330593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_20_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70a90fc53c89e96b83662c66a2d3a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8444032084611489699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_11_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b9773639b23cd692199cb03a14eda5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1126442033124904910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_26_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3f78a7766abf0a5d7e6a2deda336aff.jpg","text":"TemporaryFile(/tmp/multipartBody5745440928371737749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_14_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cefe6bc3801cf25f78cb649e52db442b.jpg","text":"TemporaryFile(/tmp/multipartBody2678550266938327358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026245704,"filename":"image_30102025_05_55_17_2943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689905","file1":"1391689902","file0":"1391689900","file4":"1391689913","file5":"1391689917","file3":"1391689909"},"map_files_photo_id_array":[{"photo_id":"1391689917","filename":"file5"},{"photo_id":"1391689905","filename":"file2"},{"photo_id":"1391689913","filename":"file4"},{"photo_id":"1391689902","filename":"file1"},{"photo_id":"1391689900","filename":"file0"},{"photo_id":"1391689909","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689913":["hashtag1","hashtag2"]},{"1391689909":["hashtag1","hashtag2"]},{"1391689900":["hashtag1","hashtag2"]},{"1391689917":["hashtag1","hashtag2"]},{"1391689902":["hashtag1","hashtag2"]},{"1391689905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689913, 1391689909, 1391689900, 1391689917, 1391689902, 1391689905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35348868370056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:43:42.695654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_29_2701.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_35_3676.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_38_2666.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_41_2655.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_44_2897.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_47_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_29_2701.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_35_3676.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_38_2666.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_41_2655.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_44_2897.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_47_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689931","1391689945","1391689939","1391689927","1391689941","1391689935"],"photo_ids_order":["1391689927","1391689931","1391689935","1391689939","1391689941","1391689945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27df3900ef52c6772f1a685fbcfdc565.jpg","text":"TemporaryFile(/tmp/multipartBody3091988843034378924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_35_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a60d78f09df567bb166af694eafd0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2532958444841463069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_47_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0189e45174c2ec15c8852189e7399e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8224643946422408093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69e88c88591bbd4bdd6e14b1e2f65eb1.jpg","text":"TemporaryFile(/tmp/multipartBody2209910137519994432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63dae4fdd8214f85d14e4f3799e4b09e.jpg","text":"TemporaryFile(/tmp/multipartBody769471619767030590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_44_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a36b41d176d4d23cc6ef53dee67b075e.jpg","text":"TemporaryFile(/tmp/multipartBody875114734893806936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026284043,"filename":"image_30102025_05_55_38_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689935","file1":"1391689931","file0":"1391689927","file4":"1391689941","file5":"1391689945","file3":"1391689939"},"map_files_photo_id_array":[{"photo_id":"1391689945","filename":"file5"},{"photo_id":"1391689935","filename":"file2"},{"photo_id":"1391689941","filename":"file4"},{"photo_id":"1391689931","filename":"file1"},{"photo_id":"1391689927","filename":"file0"},{"photo_id":"1391689939","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689931":["hashtag1","hashtag2"]},{"1391689945":["hashtag1","hashtag2"]},{"1391689939":["hashtag1","hashtag2"]},{"1391689927":["hashtag1","hashtag2"]},{"1391689941":["hashtag1","hashtag2"]},{"1391689935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689931, 1391689945, 1391689939, 1391689927, 1391689941, 1391689935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78185224533081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:44:21.810169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_50_2678.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_53_2567.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_56_3720.jpg', '/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_59_2758.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_02_2635.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_05_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_50_2678.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_53_2567.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_56_3720.jpg
/home/pi/Desktop/images/30102025/05/55/image_30102025_05_55_59_2758.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_02_2635.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_05_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689976","1391689970","1391689966","1391689957","1391689974","1391689962"],"photo_ids_order":["1391689957","1391689962","1391689966","1391689970","1391689974","1391689976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/755ea08382b691987180b35ba7584d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8813645669569044346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_56_05_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80c88b331a243a7aba49831d9bf2fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5177270275801722209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_55_59_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e24f35186a865811a83e8b2d3ce5d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7873564870505038585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_55_56_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/581f8de70fd2a467923b59ed67da6de6.jpg","text":"TemporaryFile(/tmp/multipartBody5499851303151200986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_55_50_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4784e58cc8334eb88c1f851e057d89a.jpg","text":"TemporaryFile(/tmp/multipartBody3855441157074415216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_56_02_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7815f3121b22dd3fcad65498e0fbdb5.jpg","text":"TemporaryFile(/tmp/multipartBody3899279598361350696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026327393,"filename":"image_30102025_05_55_53_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689966","file1":"1391689962","file0":"1391689957","file4":"1391689974","file5":"1391689976","file3":"1391689970"},"map_files_photo_id_array":[{"photo_id":"1391689976","filename":"file5"},{"photo_id":"1391689966","filename":"file2"},{"photo_id":"1391689974","filename":"file4"},{"photo_id":"1391689962","filename":"file1"},{"photo_id":"1391689957","filename":"file0"},{"photo_id":"1391689970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689976":["hashtag1","hashtag2"]},{"1391689970":["hashtag1","hashtag2"]},{"1391689966":["hashtag1","hashtag2"]},{"1391689957":["hashtag1","hashtag2"]},{"1391689974":["hashtag1","hashtag2"]},{"1391689962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689976, 1391689970, 1391689966, 1391689957, 1391689974, 1391689962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.174129486083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:45:22.063761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_08_2747.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_11_2666.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_14_3595.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_17_2628.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_20_2636.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_26_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_08_2747.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_11_2666.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_14_3595.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_17_2628.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_20_2636.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_26_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391689990","1391689993","1391689996","1391690000","1391689992","1391689994"],"photo_ids_order":["1391689990","1391689992","1391689993","1391689994","1391689996","1391690000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/381daaea2a07c3a8944d435cbd808362.jpg","text":"TemporaryFile(/tmp/multipartBody7205939827315686339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_08_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91ce3deba240fb9540ac2e79e3509453.jpg","text":"TemporaryFile(/tmp/multipartBody690100578400173281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_14_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98346e873b1dfad31b960160a2402b49.jpg","text":"TemporaryFile(/tmp/multipartBody4985667225028003827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_20_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5c91e8a361f3d38de394ecaaee25422.jpg","text":"TemporaryFile(/tmp/multipartBody3609899480288818098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_26_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43182aa033bdd4b4fd38cd8321691c0a.jpg","text":"TemporaryFile(/tmp/multipartBody4278849695370980782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_11_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/864b094a93f16c41578cd5ec599bd4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2805265691229211917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026384901,"filename":"image_30102025_05_56_17_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391689993","file1":"1391689992","file0":"1391689990","file4":"1391689996","file5":"1391690000","file3":"1391689994"},"map_files_photo_id_array":[{"photo_id":"1391690000","filename":"file5"},{"photo_id":"1391689993","filename":"file2"},{"photo_id":"1391689996","filename":"file4"},{"photo_id":"1391689992","filename":"file1"},{"photo_id":"1391689990","filename":"file0"},{"photo_id":"1391689994","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391689990":["hashtag1","hashtag2"]},{"1391689993":["hashtag1","hashtag2"]},{"1391689996":["hashtag1","hashtag2"]},{"1391690000":["hashtag1","hashtag2"]},{"1391689992":["hashtag1","hashtag2"]},{"1391689994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391689990, 1391689993, 1391689996, 1391690000, 1391689992, 1391689994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.313480615615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:46:02.693920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_29_2615.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_31_2685.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_35_3792.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_38_2599.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_41_2761.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_52_11483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_29_2615.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_31_2685.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_35_3792.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_38_2599.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_41_2761.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_52_11483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690016","1391690010","1391690013","1391690012","1391690018","1391690014"],"photo_ids_order":["1391690010","1391690012","1391690013","1391690014","1391690016","1391690018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e3a1045332c2f4fa4e3e589627f99ad.jpg","text":"TemporaryFile(/tmp/multipartBody4348914276104835910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_41_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c06dc6503937c7b54d14d3a9e10a5d0d.jpg","text":"TemporaryFile(/tmp/multipartBody7520741670683587487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_29_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e00e2c036426867a26ba5846898c91e1.jpg","text":"TemporaryFile(/tmp/multipartBody6612436008942535651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_35_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6619fc59b08b8dd75fd3010be2b0f88.jpg","text":"TemporaryFile(/tmp/multipartBody7174921734971837452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_31_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/382d1e7b7fce3f32e4ed5978294992ad.jpg","text":"TemporaryFile(/tmp/multipartBody9121842160711995877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_52_11483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1706e5fb40c2d1d8a14ced72c8fa36ed.jpg","text":"TemporaryFile(/tmp/multipartBody6113469028694888114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026425876,"filename":"image_30102025_05_56_38_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690013","file1":"1391690012","file0":"1391690010","file4":"1391690016","file5":"1391690018","file3":"1391690014"},"map_files_photo_id_array":[{"photo_id":"1391690018","filename":"file5"},{"photo_id":"1391690013","filename":"file2"},{"photo_id":"1391690016","filename":"file4"},{"photo_id":"1391690012","filename":"file1"},{"photo_id":"1391690010","filename":"file0"},{"photo_id":"1391690014","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690016":["hashtag1","hashtag2"]},{"1391690010":["hashtag1","hashtag2"]},{"1391690013":["hashtag1","hashtag2"]},{"1391690012":["hashtag1","hashtag2"]},{"1391690018":["hashtag1","hashtag2"]},{"1391690014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690016, 1391690010, 1391690013, 1391690012, 1391690018, 1391690014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90397524833679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:46:42.228027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_54_1666.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_55_1684.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_57_1546.jpg', '/home/pi/Desktop/images/30102025/05/56/image_30102025_05_57_00_3186.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_02_1740.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_05_3454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_54_1666.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_55_1684.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_56_57_1546.jpg
/home/pi/Desktop/images/30102025/05/56/image_30102025_05_57_00_3186.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_02_1740.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_05_3454.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690040","1391690043","1391690030","1391690036","1391690044","1391690047"],"photo_ids_order":["1391690030","1391690036","1391690040","1391690043","1391690044","1391690047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f51b4c5df0c12c8a07610ef403e22259.jpg","text":"TemporaryFile(/tmp/multipartBody5615542174343862999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_56_57_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92ef324069aec3a86a7b0adb77da2f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3070206156053029828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_57_00_3186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d141e3e2c6af42d1111e73a051d4fb04.jpg","text":"TemporaryFile(/tmp/multipartBody3214866704099890144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_56_54_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a34386688c71955675b227ce620b6f6.jpg","text":"TemporaryFile(/tmp/multipartBody3493404599469356621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_56_55_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b83a843998fcce7ab16023d207f8cafc.jpg","text":"TemporaryFile(/tmp/multipartBody5737458803709307537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_57_02_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1388e09222b1a1f82a616e74304d37e.jpg","text":"TemporaryFile(/tmp/multipartBody3705391031306935485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026463498,"filename":"image_30102025_05_57_05_3454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690040","file1":"1391690036","file0":"1391690030","file4":"1391690044","file5":"1391690047","file3":"1391690043"},"map_files_photo_id_array":[{"photo_id":"1391690047","filename":"file5"},{"photo_id":"1391690040","filename":"file2"},{"photo_id":"1391690044","filename":"file4"},{"photo_id":"1391690036","filename":"file1"},{"photo_id":"1391690030","filename":"file0"},{"photo_id":"1391690043","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690040":["hashtag1","hashtag2"]},{"1391690043":["hashtag1","hashtag2"]},{"1391690030":["hashtag1","hashtag2"]},{"1391690036":["hashtag1","hashtag2"]},{"1391690044":["hashtag1","hashtag2"]},{"1391690047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690040, 1391690043, 1391690030, 1391690036, 1391690044, 1391690047)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.33978581428528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:47:42.490022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_07_1540.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_09_1798.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_11_2621.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_14_2610.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_18_4195.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_20_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_07_1540.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_09_1798.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_11_2621.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_14_2610.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_18_4195.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_20_1782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690076","1391690100","1391690103","1391690105","1391690108","1391690086"],"photo_ids_order":["1391690076","1391690086","1391690100","1391690103","1391690105","1391690108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8957caf86c76fa010dab0769cbbd3f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3966672240887887306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_07_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2dda73a73d730064799ad2f5c27be2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4979413761203157820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_11_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80b47badefad80eff8b95f09abd4e44f.jpg","text":"TemporaryFile(/tmp/multipartBody4702069512763550113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_14_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c532dd996e0e734ece3f7498d79d9392.jpg","text":"TemporaryFile(/tmp/multipartBody6345953020889362408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_18_4195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ca674b93618088788819471e7772ce3.jpg","text":"TemporaryFile(/tmp/multipartBody529593014265257194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_20_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bf0cef763e943aac0830d7bcdfec319.jpg","text":"TemporaryFile(/tmp/multipartBody3011029337474307585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026523785,"filename":"image_30102025_05_57_09_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690100","file1":"1391690086","file0":"1391690076","file4":"1391690105","file5":"1391690108","file3":"1391690103"},"map_files_photo_id_array":[{"photo_id":"1391690108","filename":"file5"},{"photo_id":"1391690100","filename":"file2"},{"photo_id":"1391690105","filename":"file4"},{"photo_id":"1391690086","filename":"file1"},{"photo_id":"1391690076","filename":"file0"},{"photo_id":"1391690103","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690076":["hashtag1","hashtag2"]},{"1391690100":["hashtag1","hashtag2"]},{"1391690103":["hashtag1","hashtag2"]},{"1391690105":["hashtag1","hashtag2"]},{"1391690108":["hashtag1","hashtag2"]},{"1391690086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690076, 1391690100, 1391690103, 1391690105, 1391690108, 1391690086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.308547019958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:48:22.719916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_23_2801.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_25_2813.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_29_3551.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_32_2802.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_36_3854.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_37_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_23_2801.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_25_2813.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_29_3551.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_32_2802.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_36_3854.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_37_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690148","1391690142","1391690138","1391690132","1391690135","1391690146"],"photo_ids_order":["1391690132","1391690135","1391690138","1391690142","1391690146","1391690148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c9147da227e1f807aa02ad7692014300.jpg","text":"TemporaryFile(/tmp/multipartBody8561032704933021668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_37_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca15c2f2fbc24b4e65eae1de871264c0.jpg","text":"TemporaryFile(/tmp/multipartBody6789640643658753872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_32_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2d949e41448c9fca751ee270c18030fd.jpg","text":"TemporaryFile(/tmp/multipartBody8474606902307803129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_29_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a01cf955de0b54033dcb0aec0df84fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6231069509770737976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_23_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57294a4809d52355d75ab52c9bd2d8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4435121913429241785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_25_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d622121307df3b7b93a5bb04e39024b.jpg","text":"TemporaryFile(/tmp/multipartBody4049789190473423516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026594571,"filename":"image_30102025_05_57_36_3854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690138","file1":"1391690135","file0":"1391690132","file4":"1391690146","file5":"1391690148","file3":"1391690142"},"map_files_photo_id_array":[{"photo_id":"1391690148","filename":"file5"},{"photo_id":"1391690138","filename":"file2"},{"photo_id":"1391690146","filename":"file4"},{"photo_id":"1391690135","filename":"file1"},{"photo_id":"1391690132","filename":"file0"},{"photo_id":"1391690142","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690148":["hashtag1","hashtag2"]},{"1391690142":["hashtag1","hashtag2"]},{"1391690138":["hashtag1","hashtag2"]},{"1391690132":["hashtag1","hashtag2"]},{"1391690135":["hashtag1","hashtag2"]},{"1391690146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690148, 1391690142, 1391690138, 1391690132, 1391690135, 1391690146)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 91.87062096595764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:50:17.479469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_41_3620.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_44_2604.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_47_3570.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_50_2510.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_55_5047.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_56_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_41_3620.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_44_2604.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_47_3570.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_50_2510.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_55_5047.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_56_1774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.048119068145752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:50:22.869676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_41_3620.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_44_2604.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_47_3570.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_50_2510.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_55_5047.jpg', '/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_56_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_41_3620.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_44_2604.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_47_3570.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_50_2510.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_55_5047.jpg
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_56_1774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690183","1391690179","1391690194","1391690188","1391690203","1391690199"],"photo_ids_order":["1391690179","1391690183","1391690188","1391690194","1391690199","1391690203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d286abb750624e03e83d2a8e65a11705.jpg","text":"TemporaryFile(/tmp/multipartBody1835992235787347305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_44_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe62a983504409bd40745dbe91d834fc.jpg","text":"TemporaryFile(/tmp/multipartBody43728040000839634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_41_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ff6c45bf75d28feb5f84f99b43ca5b4.jpg","text":"TemporaryFile(/tmp/multipartBody915602517041628397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_50_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51ca5760ed4458f0ef05e7e856142915.jpg","text":"TemporaryFile(/tmp/multipartBody3954819626123244288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_47_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/51cc7cdd17f8cc14e78122359dc7f982.jpg","text":"TemporaryFile(/tmp/multipartBody357817559300058460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_56_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b34058e917a2954895f3f883b84fd5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5104546626155001560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026685499,"filename":"image_30102025_05_57_55_5047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690188","file1":"1391690183","file0":"1391690179","file4":"1391690199","file5":"1391690203","file3":"1391690194"},"map_files_photo_id_array":[{"photo_id":"1391690203","filename":"file5"},{"photo_id":"1391690188","filename":"file2"},{"photo_id":"1391690199","filename":"file4"},{"photo_id":"1391690183","filename":"file1"},{"photo_id":"1391690179","filename":"file0"},{"photo_id":"1391690194","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690183":["hashtag1","hashtag2"]},{"1391690179":["hashtag1","hashtag2"]},{"1391690194":["hashtag1","hashtag2"]},{"1391690188":["hashtag1","hashtag2"]},{"1391690203":["hashtag1","hashtag2"]},{"1391690199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690183, 1391690179, 1391690194, 1391690188, 1391690203, 1391690199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70235562324524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:51:22.199818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_59_2726.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_03_4168.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_08_2688.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_10_2652.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_14_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_59_2726.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_03_4168.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_08_2688.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_10_2652.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_14_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690241","1391690249","1391690234","1391690233","1391690236","1391690245"],"photo_ids_order":["1391690233","1391690234","1391690236","1391690241","1391690245","1391690249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5dcbfa5ff1b49ba8f6154897fd81263.jpg","text":"TemporaryFile(/tmp/multipartBody349210793517977937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_58_08_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea457c992c62f593d1f1381186f0ed2b.jpg","text":"TemporaryFile(/tmp/multipartBody4548751977992154865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_58_14_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4cf67b8b6138944faf1c130b2f8f099.jpg","text":"TemporaryFile(/tmp/multipartBody8962055298532717440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_58_03_4168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb13cb356679676ad72ef53ffdf646ed.jpg","text":"TemporaryFile(/tmp/multipartBody7060208862715006327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_57_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21a0e90ad7688a2cc9a46445bb8148e5.jpg","text":"TemporaryFile(/tmp/multipartBody3201544819061402927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_58_05_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae6aa6b638bdac0427bdd339e051d146.jpg","text":"TemporaryFile(/tmp/multipartBody7463878711146204238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026749636,"filename":"image_30102025_05_58_10_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690236","file1":"1391690234","file0":"1391690233","file4":"1391690245","file5":"1391690249","file3":"1391690241"},"map_files_photo_id_array":[{"photo_id":"1391690249","filename":"file5"},{"photo_id":"1391690236","filename":"file2"},{"photo_id":"1391690245","filename":"file4"},{"photo_id":"1391690234","filename":"file1"},{"photo_id":"1391690233","filename":"file0"},{"photo_id":"1391690241","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690241":["hashtag1","hashtag2"]},{"1391690249":["hashtag1","hashtag2"]},{"1391690234":["hashtag1","hashtag2"]},{"1391690233":["hashtag1","hashtag2"]},{"1391690236":["hashtag1","hashtag2"]},{"1391690245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690241, 1391690249, 1391690234, 1391690233, 1391690236, 1391690245)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391690236 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391690236 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg";
uploaded 6 photos
time to upload: 81.92074275016785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:53:09.146995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_59_2726.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_03_4168.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_08_2688.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_10_2652.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_14_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/57/image_30102025_05_57_59_2726.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_03_4168.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_05_1615.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_08_2688.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_10_2652.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_14_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690294","1391690288","1391690290","1391690284","1391690292","1391690286"],"photo_ids_order":["1391690284","1391690286","1391690288","1391690290","1391690292","1391690294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b287607780f9f5999fc207b420274f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1696852272399890312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_58_14_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/52d859e08cbeb96cfac1d889c15464b1.jpg","text":"TemporaryFile(/tmp/multipartBody5853775859643773828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_58_05_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41bb3c641948fb72c0709ab154348ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2687893371217658792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_58_08_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cdcd7e97284e4d359c1d26e388ca886.jpg","text":"TemporaryFile(/tmp/multipartBody6109956820766606945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_57_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf88871edc94aa74290d79a1c822f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8641205288497136082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_58_10_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce529752b99d77a3fdecbf01efee0c41.jpg","text":"TemporaryFile(/tmp/multipartBody3092598289624309528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026853072,"filename":"image_30102025_05_58_03_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690288","file1":"1391690286","file0":"1391690284","file4":"1391690292","file5":"1391690294","file3":"1391690290"},"map_files_photo_id_array":[{"photo_id":"1391690294","filename":"file5"},{"photo_id":"1391690288","filename":"file2"},{"photo_id":"1391690292","filename":"file4"},{"photo_id":"1391690286","filename":"file1"},{"photo_id":"1391690284","filename":"file0"},{"photo_id":"1391690290","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690294":["hashtag1","hashtag2"]},{"1391690288":["hashtag1","hashtag2"]},{"1391690290":["hashtag1","hashtag2"]},{"1391690284":["hashtag1","hashtag2"]},{"1391690292":["hashtag1","hashtag2"]},{"1391690286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690294, 1391690288, 1391690290, 1391690284, 1391690292, 1391690286)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.17563009262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:54:28.018149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_17_2751.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_19_2692.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_22_2813.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_26_3626.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_28_2599.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_32_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_17_2751.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_19_2692.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_22_2813.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_26_3626.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_28_2599.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_32_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690332","1391690341","1391690335","1391690329","1391690344","1391690338"],"photo_ids_order":["1391690329","1391690332","1391690335","1391690338","1391690341","1391690344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/339b6c75b745038803cc5e8f1bc525ff.jpg","text":"TemporaryFile(/tmp/multipartBody3655071792397962167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c8d2db70f28b6fbc83b3670cf67c2de.jpg","text":"TemporaryFile(/tmp/multipartBody4837467838300980675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_28_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a922e56267782e14f7917a74a064d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody1961821371703055072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_22_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4314f41e48810ee0620f452f3af13a37.jpg","text":"TemporaryFile(/tmp/multipartBody4601166829332795550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_17_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27adc1a73abe989dcc931ce40273375f.jpg","text":"TemporaryFile(/tmp/multipartBody3204909070687202703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_32_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1b20772fa0d867ef1d6761b8c3ed578.jpg","text":"TemporaryFile(/tmp/multipartBody3582429260490458605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762026936046,"filename":"image_30102025_05_58_26_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690335","file1":"1391690332","file0":"1391690329","file4":"1391690341","file5":"1391690344","file3":"1391690338"},"map_files_photo_id_array":[{"photo_id":"1391690344","filename":"file5"},{"photo_id":"1391690335","filename":"file2"},{"photo_id":"1391690341","filename":"file4"},{"photo_id":"1391690332","filename":"file1"},{"photo_id":"1391690329","filename":"file0"},{"photo_id":"1391690338","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690332":["hashtag1","hashtag2"]},{"1391690341":["hashtag1","hashtag2"]},{"1391690335":["hashtag1","hashtag2"]},{"1391690329":["hashtag1","hashtag2"]},{"1391690344":["hashtag1","hashtag2"]},{"1391690338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690332, 1391690341, 1391690335, 1391690329, 1391690344, 1391690338)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.794633626937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 20:55:42.087236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_35_2636.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_38_2782.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_40_2652.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_44_3589.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_46_2706.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_50_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_35_2636.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_38_2782.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_40_2652.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_44_3589.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_46_2706.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_50_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690387","1391690396","1391690378","1391690383","1391690374","1391690391"],"photo_ids_order":["1391690374","1391690378","1391690383","1391690387","1391690391","1391690396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af99fd4df68e4831110ba5fef92fb9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8321149862226924026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_44_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9d6fc4498475cf568229b4920492fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5527200143780020090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_50_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e532577ef97ce3150dfb0e01b91a27c3.jpg","text":"TemporaryFile(/tmp/multipartBody1293881905117226734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_38_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaac049fe90d77125c7ee0328a650bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8070170345786254028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4a9d68bff788e74046185cc10b68c9d.jpg","text":"TemporaryFile(/tmp/multipartBody829058069097914969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_35_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d811c5c310857040eab97b5310839424.jpg","text":"TemporaryFile(/tmp/multipartBody1246805346851603927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027003326,"filename":"image_30102025_05_58_46_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690383","file1":"1391690378","file0":"1391690374","file4":"1391690391","file5":"1391690396","file3":"1391690387"},"map_files_photo_id_array":[{"photo_id":"1391690396","filename":"file5"},{"photo_id":"1391690383","filename":"file2"},{"photo_id":"1391690391","filename":"file4"},{"photo_id":"1391690378","filename":"file1"},{"photo_id":"1391690374","filename":"file0"},{"photo_id":"1391690387","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690387":["hashtag1","hashtag2"]},{"1391690396":["hashtag1","hashtag2"]},{"1391690378":["hashtag1","hashtag2"]},{"1391690383":["hashtag1","hashtag2"]},{"1391690374":["hashtag1","hashtag2"]},{"1391690391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690387, 1391690396, 1391690378, 1391690383, 1391690374, 1391690391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2351610660553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 20:56:22.243351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_53_2596.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_55_2729.jpg', '/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_59_3651.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_02_2677.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_04_2542.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_08_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_53_2596.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_55_2729.jpg
/home/pi/Desktop/images/30102025/05/58/image_30102025_05_58_59_3651.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_02_2677.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_04_2542.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_08_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690400","1391690423","1391690417","1391690402","1391690411","1391690405"],"photo_ids_order":["1391690400","1391690402","1391690405","1391690411","1391690417","1391690423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfe9f18ca88722b5792a1bb31f6b8564.jpg","text":"TemporaryFile(/tmp/multipartBody9086210447320614248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_58_53_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec26b2973c9fa2edc5c8bc0f2cec9839.jpg","text":"TemporaryFile(/tmp/multipartBody479863504214515054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_59_08_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/712fc525dc594ebd24b29c61aa490c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5772229555516673613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_59_04_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cdab6ab6b8932022751b21be8b848c7.jpg","text":"TemporaryFile(/tmp/multipartBody4127488242213686634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_58_55_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d8a01807b90598c5b8de11ee2251e8e.jpg","text":"TemporaryFile(/tmp/multipartBody157811610610709388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_59_02_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5471f9a1b64f1b93df679dd69214d94c.jpg","text":"TemporaryFile(/tmp/multipartBody8803199588066692811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027045034,"filename":"image_30102025_05_58_59_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690405","file1":"1391690402","file0":"1391690400","file4":"1391690417","file5":"1391690423","file3":"1391690411"},"map_files_photo_id_array":[{"photo_id":"1391690423","filename":"file5"},{"photo_id":"1391690405","filename":"file2"},{"photo_id":"1391690417","filename":"file4"},{"photo_id":"1391690402","filename":"file1"},{"photo_id":"1391690400","filename":"file0"},{"photo_id":"1391690411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690400":["hashtag1","hashtag2"]},{"1391690423":["hashtag1","hashtag2"]},{"1391690417":["hashtag1","hashtag2"]},{"1391690402":["hashtag1","hashtag2"]},{"1391690411":["hashtag1","hashtag2"]},{"1391690405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690400, 1391690423, 1391690417, 1391690402, 1391690411, 1391690405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.650733947753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:57:03.168877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_11_2702.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_13_2715.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_16_2926.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_20_3562.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_22_2559.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_26_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_11_2702.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_13_2715.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_16_2926.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_20_3562.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_22_2559.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_26_3724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690628","1391690474","1391690587","1391690668","1391690507","1391690545"],"photo_ids_order":["1391690474","1391690507","1391690545","1391690587","1391690628","1391690668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b84f500e0cad7c8139273c12232d2b18.jpg","text":"TemporaryFile(/tmp/multipartBody6587700047982587844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_22_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7afad6af350783f093df2d297ee465a.jpg","text":"TemporaryFile(/tmp/multipartBody1123837610577081949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_11_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/596be6c9d59c6f626dba4567b0273565.jpg","text":"TemporaryFile(/tmp/multipartBody3922610351009893046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_20_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e9d2d81c4895360290ae52d9d9b3d43.jpg","text":"TemporaryFile(/tmp/multipartBody5103122552093055608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_26_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f120cbda51d806cabc75ded4e4dbaeb.jpg","text":"TemporaryFile(/tmp/multipartBody8586655655511436993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_13_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8f40c052cf6ffaad48f709a85522b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2857790843074307457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027090012,"filename":"image_30102025_05_59_16_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690545","file1":"1391690507","file0":"1391690474","file4":"1391690628","file5":"1391690668","file3":"1391690587"},"map_files_photo_id_array":[{"photo_id":"1391690668","filename":"file5"},{"photo_id":"1391690545","filename":"file2"},{"photo_id":"1391690628","filename":"file4"},{"photo_id":"1391690507","filename":"file1"},{"photo_id":"1391690474","filename":"file0"},{"photo_id":"1391690587","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690628":["hashtag1","hashtag2"]},{"1391690474":["hashtag1","hashtag2"]},{"1391690587":["hashtag1","hashtag2"]},{"1391690668":["hashtag1","hashtag2"]},{"1391690507":["hashtag1","hashtag2"]},{"1391690545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690628, 1391690474, 1391690587, 1391690668, 1391690507, 1391690545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39291715621948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 20:59:03.267064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_29_2724.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_31_2712.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_34_2737.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_38_3664.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_41_2733.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_43_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_29_2724.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_31_2712.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_34_2737.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_38_3664.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_41_2733.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_43_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391690907","1391690915","1391690899","1391690903","1391690917","1391690911"],"photo_ids_order":["1391690899","1391690903","1391690907","1391690911","1391690915","1391690917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a99490cc772ae2392606659ac52b9bfb.jpg","text":"TemporaryFile(/tmp/multipartBody6615057099172502936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_34_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d56166555a391bd899677ae0ed0a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2757385347128717374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_41_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e60efa7887e150136bcf1c26043b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody627487516392113245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_29_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cd040dc605e7aafa41523a2bd924f9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7555424522292360434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_31_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6c78dc0883603bc3aa83ec60b161e75.jpg","text":"TemporaryFile(/tmp/multipartBody2523625584133014474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_43_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7a100894d5f2f74b68530560fc752dd.jpg","text":"TemporaryFile(/tmp/multipartBody3819362175312444778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027207580,"filename":"image_30102025_05_59_38_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391690907","file1":"1391690903","file0":"1391690899","file4":"1391690915","file5":"1391690917","file3":"1391690911"},"map_files_photo_id_array":[{"photo_id":"1391690917","filename":"file5"},{"photo_id":"1391690907","filename":"file2"},{"photo_id":"1391690915","filename":"file4"},{"photo_id":"1391690903","filename":"file1"},{"photo_id":"1391690899","filename":"file0"},{"photo_id":"1391690911","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391690907":["hashtag1","hashtag2"]},{"1391690915":["hashtag1","hashtag2"]},{"1391690899":["hashtag1","hashtag2"]},{"1391690903":["hashtag1","hashtag2"]},{"1391690917":["hashtag1","hashtag2"]},{"1391690911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391690907, 1391690915, 1391690899, 1391690903, 1391690917, 1391690911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17100644111633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:00:03.140163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_47_3630.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_50_2700.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_52_2566.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_56_3739.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_59_2683.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_06_00_01_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_47_3630.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_50_2700.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_52_2566.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_56_3739.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_59_2683.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_06_00_01_2576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1642038822174072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:00:22.815807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_47_3630.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_50_2700.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_52_2566.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_56_3739.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_59_2683.jpg', '/home/pi/Desktop/images/30102025/05/59/image_30102025_06_00_01_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_47_3630.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_50_2700.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_52_2566.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_56_3739.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_05_59_59_2683.jpg
/home/pi/Desktop/images/30102025/05/59/image_30102025_06_00_01_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391691191","1391691152","1391691233","1391691112","1391691069","1391691027"],"photo_ids_order":["1391691027","1391691069","1391691112","1391691152","1391691191","1391691233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/046a32e98eff778090f8e665f75935b2.jpg","text":"TemporaryFile(/tmp/multipartBody7417959970614046124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_05_59_59_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/393080c1e548a5290c7d02d1d00d608a.jpg","text":"TemporaryFile(/tmp/multipartBody7219566302036607263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_05_59_56_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e3b120824ddbf7083dd81dc1026f391.jpg","text":"TemporaryFile(/tmp/multipartBody1436734612084382777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_06_00_01_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faa3ebf10d505f64e8bb92c61c3d3ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8110521953702640249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_05_59_52_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75c34cb15392ba81a767f71a7c96453d.jpg","text":"TemporaryFile(/tmp/multipartBody4959309872966303856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_05_59_50_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e165694a38c456388aa85ed0a7c779a.jpg","text":"TemporaryFile(/tmp/multipartBody5860271223901448127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027285535,"filename":"image_30102025_05_59_47_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391691112","file1":"1391691069","file0":"1391691027","file4":"1391691191","file5":"1391691233","file3":"1391691152"},"map_files_photo_id_array":[{"photo_id":"1391691233","filename":"file5"},{"photo_id":"1391691112","filename":"file2"},{"photo_id":"1391691191","filename":"file4"},{"photo_id":"1391691069","filename":"file1"},{"photo_id":"1391691027","filename":"file0"},{"photo_id":"1391691152","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391691191":["hashtag1","hashtag2"]},{"1391691152":["hashtag1","hashtag2"]},{"1391691233":["hashtag1","hashtag2"]},{"1391691112":["hashtag1","hashtag2"]},{"1391691069":["hashtag1","hashtag2"]},{"1391691027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391691191, 1391691152, 1391691233, 1391691112, 1391691069, 1391691027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74813508987427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:01:02.651998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_05_3808.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_08_2653.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_10_2597.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_14_3630.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_17_2713.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_19_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_05_3808.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_08_2653.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_10_2597.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_14_3630.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_17_2713.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_19_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391691383","1391691548","1391691463","1391691582","1391691423","1391691504"],"photo_ids_order":["1391691383","1391691423","1391691463","1391691504","1391691548","1391691582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41363f72301dd4cab85c893e248aeda6.jpg","text":"TemporaryFile(/tmp/multipartBody6807376442417981172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_05_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a18ff0f217d73ea6f243544b01382783.jpg","text":"TemporaryFile(/tmp/multipartBody8407754358964482358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_17_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/132cd5b8021b4598946a8f1be9b26b71.jpg","text":"TemporaryFile(/tmp/multipartBody2135933936813548680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_10_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08f3ea37231003f51e96ab60b78697a6.jpg","text":"TemporaryFile(/tmp/multipartBody8532941997946096951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_19_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34afbb1c6e5deae1697d1bedda780a13.jpg","text":"TemporaryFile(/tmp/multipartBody8190061971860779047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_08_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b3e216b53f0ebe7bda061f51f6a5490.jpg","text":"TemporaryFile(/tmp/multipartBody8139490492007764552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027325033,"filename":"image_30102025_06_00_14_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391691463","file1":"1391691423","file0":"1391691383","file4":"1391691548","file5":"1391691582","file3":"1391691504"},"map_files_photo_id_array":[{"photo_id":"1391691582","filename":"file5"},{"photo_id":"1391691463","filename":"file2"},{"photo_id":"1391691548","filename":"file4"},{"photo_id":"1391691423","filename":"file1"},{"photo_id":"1391691383","filename":"file0"},{"photo_id":"1391691504","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391691383":["hashtag1","hashtag2"]},{"1391691548":["hashtag1","hashtag2"]},{"1391691463":["hashtag1","hashtag2"]},{"1391691582":["hashtag1","hashtag2"]},{"1391691423":["hashtag1","hashtag2"]},{"1391691504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391691383, 1391691548, 1391691463, 1391691582, 1391691423, 1391691504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10492968559265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:01:41.925871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_22_2785.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_26_3766.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_29_2699.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_31_2589.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_35_3762.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_38_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_22_2785.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_26_3766.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_29_2699.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_31_2589.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_35_3762.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_38_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391691606","1391691599","1391691590","1391691605","1391691595","1391691603"],"photo_ids_order":["1391691590","1391691595","1391691599","1391691603","1391691605","1391691606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae24dfe80faa1280d6d2af5fdd0f1736.jpg","text":"TemporaryFile(/tmp/multipartBody6613267812953798509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_38_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dccf0801222c20ca3dd44cf25320a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5542191149214924267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_29_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06fe68485f3ba4706ef2c60d39f61078.jpg","text":"TemporaryFile(/tmp/multipartBody1657197911943797456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_22_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f6b730efffa2228ba47602c0193b981.jpg","text":"TemporaryFile(/tmp/multipartBody4665225689009121025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_35_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53f8d0ad2a81649bd2002ca532316ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6172756279701047442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_26_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b9bcae2e405a962c3b91402d49af100.jpg","text":"TemporaryFile(/tmp/multipartBody722981049689028956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027363265,"filename":"image_30102025_06_00_31_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391691599","file1":"1391691595","file0":"1391691590","file4":"1391691605","file5":"1391691606","file3":"1391691603"},"map_files_photo_id_array":[{"photo_id":"1391691606","filename":"file5"},{"photo_id":"1391691599","filename":"file2"},{"photo_id":"1391691605","filename":"file4"},{"photo_id":"1391691595","filename":"file1"},{"photo_id":"1391691590","filename":"file0"},{"photo_id":"1391691603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391691606":["hashtag1","hashtag2"]},{"1391691599":["hashtag1","hashtag2"]},{"1391691590":["hashtag1","hashtag2"]},{"1391691605":["hashtag1","hashtag2"]},{"1391691595":["hashtag1","hashtag2"]},{"1391691603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391691606, 1391691599, 1391691590, 1391691605, 1391691595, 1391691603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04855489730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:02:22.127887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_41_2837.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_43_2672.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_47_3686.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_52_2603.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_55_2735.jpg', '/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_59_3512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_41_2837.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_43_2672.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_47_3686.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_52_2603.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_55_2735.jpg
/home/pi/Desktop/images/30102025/06/00/image_30102025_06_00_59_3512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391691788","1391692037","1391691956","1391692197","1391691874","1391692113"],"photo_ids_order":["1391691788","1391691874","1391691956","1391692037","1391692113","1391692197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d88a2fbcbc37e4bf428a1f4bf4d31f2.jpg","text":"TemporaryFile(/tmp/multipartBody2252659703067017950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_41_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f093ce151e00f4f0c5d2368bc0a4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6676597456368107469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_52_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a409ca408ea529a8e0dd933b6f339c2.jpg","text":"TemporaryFile(/tmp/multipartBody6700767615732353229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_47_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50bae534d92ceab4b74d485dacb4c728.jpg","text":"TemporaryFile(/tmp/multipartBody8661889193708680113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_59_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/163c71a9003f3dbf3e3fb7f92cbb0018.jpg","text":"TemporaryFile(/tmp/multipartBody2154600522854080255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0935670fc1ef949d1d7244b56fe00082.jpg","text":"TemporaryFile(/tmp/multipartBody3276199593582837950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027405119,"filename":"image_30102025_06_00_55_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391691956","file1":"1391691874","file0":"1391691788","file4":"1391692113","file5":"1391692197","file3":"1391692037"},"map_files_photo_id_array":[{"photo_id":"1391692197","filename":"file5"},{"photo_id":"1391691956","filename":"file2"},{"photo_id":"1391692113","filename":"file4"},{"photo_id":"1391691874","filename":"file1"},{"photo_id":"1391691788","filename":"file0"},{"photo_id":"1391692037","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391691788":["hashtag1","hashtag2"]},{"1391692037":["hashtag1","hashtag2"]},{"1391691956":["hashtag1","hashtag2"]},{"1391692197":["hashtag1","hashtag2"]},{"1391691874":["hashtag1","hashtag2"]},{"1391692113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391691788, 1391692037, 1391691956, 1391692197, 1391691874, 1391692113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63160681724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:03:03.074007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_01_2263.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_05_3679.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_09_4289.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_10_1573.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_13_2553.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_20_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_01_2263.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_05_3679.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_09_4289.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_10_1573.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_13_2553.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_20_6591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391692559","1391692448","1391692403","1391692641","1391692515","1391692602"],"photo_ids_order":["1391692403","1391692448","1391692515","1391692559","1391692602","1391692641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f6ac931ca874fc8443034d68f15b92c.jpg","text":"TemporaryFile(/tmp/multipartBody800496006224322728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_10_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4218edf4842339546a061888e98c1a01.jpg","text":"TemporaryFile(/tmp/multipartBody2907616385884249444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_05_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0ed0c867d47734987bbe27e686d5f06.jpg","text":"TemporaryFile(/tmp/multipartBody5810913810140684718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_01_2263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f050e7b839bed7a7c85c2bdc42af597.jpg","text":"TemporaryFile(/tmp/multipartBody1584233934316822808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_20_6591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cac0a9b45256f534121e96c2151dbb50.jpg","text":"TemporaryFile(/tmp/multipartBody506504592212184247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_09_4289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8645bb1fe09a566a10923700cd3152f.jpg","text":"TemporaryFile(/tmp/multipartBody787246246908178542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027445348,"filename":"image_30102025_06_01_13_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391692515","file1":"1391692448","file0":"1391692403","file4":"1391692602","file5":"1391692641","file3":"1391692559"},"map_files_photo_id_array":[{"photo_id":"1391692641","filename":"file5"},{"photo_id":"1391692515","filename":"file2"},{"photo_id":"1391692602","filename":"file4"},{"photo_id":"1391692448","filename":"file1"},{"photo_id":"1391692403","filename":"file0"},{"photo_id":"1391692559","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391692559":["hashtag1","hashtag2"]},{"1391692448":["hashtag1","hashtag2"]},{"1391692403":["hashtag1","hashtag2"]},{"1391692641":["hashtag1","hashtag2"]},{"1391692515":["hashtag1","hashtag2"]},{"1391692602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391692559, 1391692448, 1391692403, 1391692641, 1391692515, 1391692602)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.368921995162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:04:02.614742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_21_1711.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_23_1882.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_26_2626.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_29_2714.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_31_2718.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_34_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_21_1711.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_23_1882.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_26_2626.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_29_2714.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_31_2718.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_34_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391693047","1391693158","1391692971","1391693121","1391693083","1391693009"],"photo_ids_order":["1391692971","1391693009","1391693047","1391693083","1391693121","1391693158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e9dd0c04392f84a63d28fa0bd97f2a61.jpg","text":"TemporaryFile(/tmp/multipartBody8311010074685885868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_26_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd9ca6b9e8dab1127f2d177bfffc3ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4303110808038051786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_34_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a212fefe5221909513edb5f6385ba978.jpg","text":"TemporaryFile(/tmp/multipartBody1094015576362827495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_21_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaecc2923a8699200c2c11416a70e750.jpg","text":"TemporaryFile(/tmp/multipartBody8222119254302927193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_31_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53ab47d0a071817928fa179e399ad2b2.jpg","text":"TemporaryFile(/tmp/multipartBody7109500074068501124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_29_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6fe6e3c1549b818b190bc6e85eb94cae.jpg","text":"TemporaryFile(/tmp/multipartBody7544306352584556655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027504825,"filename":"image_30102025_06_01_23_1882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693047","file1":"1391693009","file0":"1391692971","file4":"1391693121","file5":"1391693158","file3":"1391693083"},"map_files_photo_id_array":[{"photo_id":"1391693158","filename":"file5"},{"photo_id":"1391693047","filename":"file2"},{"photo_id":"1391693121","filename":"file4"},{"photo_id":"1391693009","filename":"file1"},{"photo_id":"1391692971","filename":"file0"},{"photo_id":"1391693083","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391693047":["hashtag1","hashtag2"]},{"1391693158":["hashtag1","hashtag2"]},{"1391692971":["hashtag1","hashtag2"]},{"1391693121":["hashtag1","hashtag2"]},{"1391693083":["hashtag1","hashtag2"]},{"1391693009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391693047, 1391693158, 1391692971, 1391693121, 1391693083, 1391693009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95400047302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:04:42.045122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_38_3572.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_40_2738.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_43_2619.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_47_3669.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_49_2577.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_53_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_38_3572.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_40_2738.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_43_2619.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_47_3669.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_49_2577.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_53_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391693191","1391693200","1391693203","1391693206","1391693204","1391693197"],"photo_ids_order":["1391693191","1391693197","1391693200","1391693203","1391693204","1391693206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e499e569df7a9551c85117c13dd3230.jpg","text":"TemporaryFile(/tmp/multipartBody3286081920744436720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_38_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/707bad30355bca9dcf447ebe9448b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5525256827756417021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d184256c5d4594c5152165866437c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5775229215882194840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_47_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67e162e243e05165afd1b4ea9ae04bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6519258955725515514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_53_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c77a1ad807d1791a63d47cf4c23f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody2661298282504480856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_49_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90810be9ca299c209c6c6bbbb3ac1a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5972912465474937406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027543311,"filename":"image_30102025_06_01_40_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693200","file1":"1391693197","file0":"1391693191","file4":"1391693204","file5":"1391693206","file3":"1391693203"},"map_files_photo_id_array":[{"photo_id":"1391693206","filename":"file5"},{"photo_id":"1391693200","filename":"file2"},{"photo_id":"1391693204","filename":"file4"},{"photo_id":"1391693197","filename":"file1"},{"photo_id":"1391693191","filename":"file0"},{"photo_id":"1391693203","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391693191":["hashtag1","hashtag2"]},{"1391693200":["hashtag1","hashtag2"]},{"1391693203":["hashtag1","hashtag2"]},{"1391693206":["hashtag1","hashtag2"]},{"1391693204":["hashtag1","hashtag2"]},{"1391693197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391693191, 1391693200, 1391693203, 1391693206, 1391693204, 1391693197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3052020072937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:05:24.450446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_55_2710.jpg', '/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_58_3012.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_01_2634.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_05_3561.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_07_2631.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_10_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_55_2710.jpg
/home/pi/Desktop/images/30102025/06/01/image_30102025_06_01_58_3012.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_01_2634.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_05_3561.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_07_2631.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_10_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391693227","1391693230","1391693214","1391693223","1391693216","1391693219"],"photo_ids_order":["1391693214","1391693216","1391693219","1391693223","1391693227","1391693230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d2d1618e374e2a228073aa06fac39afe.jpg","text":"TemporaryFile(/tmp/multipartBody6585581237359835499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_02_07_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/daf60cb683a8c4fbb71d3cf10946ebf0.jpg","text":"TemporaryFile(/tmp/multipartBody9017291505907687666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_02_10_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/badc5601ead1767a4f4a9da32057a75d.jpg","text":"TemporaryFile(/tmp/multipartBody2571691881028707632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_01_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fac77427c51930494aac161dc6faf69e.jpg","text":"TemporaryFile(/tmp/multipartBody8788700979920189808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_02_05_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4140e60dbbd2f583ad83f12a49d9c53.jpg","text":"TemporaryFile(/tmp/multipartBody8292961852783806673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_01_58_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7314122fbb9821bf036b64c6ce08970c.jpg","text":"TemporaryFile(/tmp/multipartBody3834408690461052199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027587398,"filename":"image_30102025_06_02_01_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693219","file1":"1391693216","file0":"1391693214","file4":"1391693227","file5":"1391693230","file3":"1391693223"},"map_files_photo_id_array":[{"photo_id":"1391693230","filename":"file5"},{"photo_id":"1391693219","filename":"file2"},{"photo_id":"1391693227","filename":"file4"},{"photo_id":"1391693216","filename":"file1"},{"photo_id":"1391693214","filename":"file0"},{"photo_id":"1391693223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391693227":["hashtag1","hashtag2"]},{"1391693230":["hashtag1","hashtag2"]},{"1391693214":["hashtag1","hashtag2"]},{"1391693223":["hashtag1","hashtag2"]},{"1391693216":["hashtag1","hashtag2"]},{"1391693219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391693227, 1391693230, 1391693214, 1391693223, 1391693216, 1391693219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.907100439071655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:06:22.534941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_14_3695.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_16_2616.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_19_2690.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_23_3691.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_25_2592.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_28_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_14_3695.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_16_2616.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_19_2690.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_23_3691.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_25_2592.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_28_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391693290","1391693245","1391693334","1391693378","1391693468","1391693420"],"photo_ids_order":["1391693245","1391693290","1391693334","1391693378","1391693420","1391693468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb15a7e4f9a628958dd5bbff93c39ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7873525011754252772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_16_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31678fa062eda7bac757a8750b429b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6110387407679159846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_14_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a68b157808afd48b3b081cf14ec32e6.jpg","text":"TemporaryFile(/tmp/multipartBody3835872951924639242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_19_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f16dd871673553b998deb91c0763a0c9.jpg","text":"TemporaryFile(/tmp/multipartBody6106707974733630623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_23_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c3445fdd859d11ce4984efdd8daff173.jpg","text":"TemporaryFile(/tmp/multipartBody23793028142618747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_28_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f842a0ac55c87bf7882d82cd4b7e067c.jpg","text":"TemporaryFile(/tmp/multipartBody1116365328094208807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027645380,"filename":"image_30102025_06_02_25_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693334","file1":"1391693290","file0":"1391693245","file4":"1391693420","file5":"1391693468","file3":"1391693378"},"map_files_photo_id_array":[{"photo_id":"1391693468","filename":"file5"},{"photo_id":"1391693334","filename":"file2"},{"photo_id":"1391693420","filename":"file4"},{"photo_id":"1391693290","filename":"file1"},{"photo_id":"1391693245","filename":"file0"},{"photo_id":"1391693378","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391693290":["hashtag1","hashtag2"]},{"1391693245":["hashtag1","hashtag2"]},{"1391693334":["hashtag1","hashtag2"]},{"1391693378":["hashtag1","hashtag2"]},{"1391693468":["hashtag1","hashtag2"]},{"1391693420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391693290, 1391693245, 1391693334, 1391693378, 1391693468, 1391693420)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.54681038856506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:07:22.791462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_32_3759.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_34_2716.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_37_2769.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_40_2904.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_44_3607.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_46_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_32_3759.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_34_2716.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_37_2769.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_40_2904.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_44_3607.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_46_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391693793","1391693868","1391693864","1391693852","1391693831","1391693890"],"photo_ids_order":["1391693793","1391693831","1391693852","1391693864","1391693868","1391693890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6713720c407474bf6735d493a6e9bb7.jpg","text":"TemporaryFile(/tmp/multipartBody518927765651874015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_32_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4f313991af941836f67ff6234001cb52.jpg","text":"TemporaryFile(/tmp/multipartBody2927390970202989258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_44_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4f730f3a15680f2a50a31746d8f0bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5342154481991761125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_40_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60611bf9339a7d94fa880474d724000a.jpg","text":"TemporaryFile(/tmp/multipartBody2300041534604695498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_37_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfbb3ded0a5812132bff5d079d884f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2837617484117180983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_34_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ba5ffd858dfb62016588f7f6c643dde.jpg","text":"TemporaryFile(/tmp/multipartBody3863495119061396745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027706175,"filename":"image_30102025_06_02_46_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693852","file1":"1391693831","file0":"1391693793","file4":"1391693868","file5":"1391693890","file3":"1391693864"},"map_files_photo_id_array":[{"photo_id":"1391693890","filename":"file5"},{"photo_id":"1391693852","filename":"file2"},{"photo_id":"1391693868","filename":"file4"},{"photo_id":"1391693831","filename":"file1"},{"photo_id":"1391693793","filename":"file0"},{"photo_id":"1391693864","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391693793":["hashtag1","hashtag2"]},{"1391693868":["hashtag1","hashtag2"]},{"1391693864":["hashtag1","hashtag2"]},{"1391693852":["hashtag1","hashtag2"]},{"1391693831":["hashtag1","hashtag2"]},{"1391693890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391693793, 1391693868, 1391693864, 1391693852, 1391693831, 1391693890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0572235584259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:08:02.474217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_49_2744.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_52_2627.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_56_3810.jpg', '/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_58_2680.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_01_2791.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_05_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_49_2744.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_52_2627.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_56_3810.jpg
/home/pi/Desktop/images/30102025/06/02/image_30102025_06_02_58_2680.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_01_2791.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_05_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694040","1391693986","1391693946","1391694020","1391694008","1391693927"],"photo_ids_order":["1391693927","1391693946","1391693986","1391694008","1391694020","1391694040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/761dfd8a62397c7106d10b01d910e5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4409067047205479156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_03_05_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f722ab0ab2a246fb7f9d31ea41ef2de2.jpg","text":"TemporaryFile(/tmp/multipartBody5720323130367377794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_02_56_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3d96fe9c75e065f730fe49e5ff7975f.jpg","text":"TemporaryFile(/tmp/multipartBody4493911956040739411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_02_52_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e8e5e31ddf746a8369a235518941f24.jpg","text":"TemporaryFile(/tmp/multipartBody6861623139548679104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_03_01_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2acf79da2f4409dc481a6331ece78ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6251537259112703279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_02_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebb1919f4d9014cb6549b522f6a6a79b.jpg","text":"TemporaryFile(/tmp/multipartBody8529863991850791127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027744761,"filename":"image_30102025_06_02_49_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391693986","file1":"1391693946","file0":"1391693927","file4":"1391694020","file5":"1391694040","file3":"1391694008"},"map_files_photo_id_array":[{"photo_id":"1391694040","filename":"file5"},{"photo_id":"1391693986","filename":"file2"},{"photo_id":"1391694020","filename":"file4"},{"photo_id":"1391693946","filename":"file1"},{"photo_id":"1391693927","filename":"file0"},{"photo_id":"1391694008","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694040":["hashtag1","hashtag2"]},{"1391693986":["hashtag1","hashtag2"]},{"1391693946":["hashtag1","hashtag2"]},{"1391694020":["hashtag1","hashtag2"]},{"1391694008":["hashtag1","hashtag2"]},{"1391693927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694040, 1391693986, 1391693946, 1391694020, 1391694008, 1391693927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.214568853378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:08:41.957860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_07_2761.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_10_2628.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_13_2633.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_16_3555.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_19_2516.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_22_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_07_2761.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_10_2628.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_13_2633.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_16_3555.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_19_2516.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_22_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694072","1391694065","1391694068","1391694062","1391694059","1391694070"],"photo_ids_order":["1391694059","1391694062","1391694065","1391694068","1391694070","1391694072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba807dad00e9d0e3e5af7bda9b68ff58.jpg","text":"TemporaryFile(/tmp/multipartBody5361126988207615341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_22_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9e8cd4f3d8a63b1b358340e1a99a5f32.jpg","text":"TemporaryFile(/tmp/multipartBody3827440227950907952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3b7f9b45dfdd5d19581dcf73312f1af.jpg","text":"TemporaryFile(/tmp/multipartBody8866820750298144494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_16_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9123ad6e2054eddd3432fba6a474c3c3.jpg","text":"TemporaryFile(/tmp/multipartBody745157449240447329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_10_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba574da3361c6b830bfa38f5c13003e7.jpg","text":"TemporaryFile(/tmp/multipartBody2103253995074798250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_07_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f93a6182b4d7c1e7d6d1a2f28b90a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4824639667640835283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027783185,"filename":"image_30102025_06_03_19_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694065","file1":"1391694062","file0":"1391694059","file4":"1391694070","file5":"1391694072","file3":"1391694068"},"map_files_photo_id_array":[{"photo_id":"1391694072","filename":"file5"},{"photo_id":"1391694065","filename":"file2"},{"photo_id":"1391694070","filename":"file4"},{"photo_id":"1391694062","filename":"file1"},{"photo_id":"1391694059","filename":"file0"},{"photo_id":"1391694068","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694072":["hashtag1","hashtag2"]},{"1391694065":["hashtag1","hashtag2"]},{"1391694068":["hashtag1","hashtag2"]},{"1391694062":["hashtag1","hashtag2"]},{"1391694059":["hashtag1","hashtag2"]},{"1391694070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694072, 1391694065, 1391694068, 1391694062, 1391694059, 1391694070)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.72833061218262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:09:44.540847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_25_2643.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_28_2704.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_31_3710.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_34_2567.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_37_2671.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_41_4267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_25_2643.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_28_2704.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_31_3710.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_34_2567.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_37_2671.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_41_4267.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.9472055435180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:10:03.178283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_25_2643.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_28_2704.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_31_3710.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_34_2567.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_37_2671.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_41_4267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_25_2643.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_28_2704.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_31_3710.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_34_2567.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_37_2671.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_41_4267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694195","1391694197","1391694201","1391694203","1391694199","1391694190"],"photo_ids_order":["1391694190","1391694195","1391694197","1391694199","1391694201","1391694203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39f1f538a2da1f2b4078ffab492ffbf5.jpg","text":"TemporaryFile(/tmp/multipartBody4785605253741498181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_28_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b388a0830a604b9259a2ab9b5b75302.jpg","text":"TemporaryFile(/tmp/multipartBody8916506720543973956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_31_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d3315485ae63c47789fe4445612b171.jpg","text":"TemporaryFile(/tmp/multipartBody8280336922440621298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_37_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2d7f3748328637433faeacc41f3a481.jpg","text":"TemporaryFile(/tmp/multipartBody1540895774175907082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_41_4267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8033249e99948e66d6617414d9ebcc92.jpg","text":"TemporaryFile(/tmp/multipartBody1353988172625063153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_34_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f54963b1264b782fe6bf18a4166d527.jpg","text":"TemporaryFile(/tmp/multipartBody9121380370408989892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027865420,"filename":"image_30102025_06_03_25_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694197","file1":"1391694195","file0":"1391694190","file4":"1391694201","file5":"1391694203","file3":"1391694199"},"map_files_photo_id_array":[{"photo_id":"1391694203","filename":"file5"},{"photo_id":"1391694197","filename":"file2"},{"photo_id":"1391694201","filename":"file4"},{"photo_id":"1391694195","filename":"file1"},{"photo_id":"1391694190","filename":"file0"},{"photo_id":"1391694199","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694195":["hashtag1","hashtag2"]},{"1391694197":["hashtag1","hashtag2"]},{"1391694201":["hashtag1","hashtag2"]},{"1391694203":["hashtag1","hashtag2"]},{"1391694199":["hashtag1","hashtag2"]},{"1391694190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694195, 1391694197, 1391694201, 1391694203, 1391694199, 1391694190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.891083002090454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:10:42.788321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_44_2684.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_46_2555.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_49_2712.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_52_2744.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_55_3599.jpg', '/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_58_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_44_2684.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_46_2555.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_49_2712.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_52_2744.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_55_3599.jpg
/home/pi/Desktop/images/30102025/06/03/image_30102025_06_03_58_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694232","1391694235","1391694223","1391694217","1391694227","1391694238"],"photo_ids_order":["1391694217","1391694223","1391694227","1391694232","1391694235","1391694238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca4c00d15cc790a1a556c340720914aa.jpg","text":"TemporaryFile(/tmp/multipartBody4171117928019810873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_52_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67186eec0d3a4d0bb0c87fadc766657e.jpg","text":"TemporaryFile(/tmp/multipartBody7922880311008182357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_55_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/426b3eeaab9c0e94b2fbafda4a38b51f.jpg","text":"TemporaryFile(/tmp/multipartBody239188862173493736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_46_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc8bb132d3dadc68e63cae7aa87262af.jpg","text":"TemporaryFile(/tmp/multipartBody4385497203430866160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d2be286fba194444e9a262f1fc99907.jpg","text":"TemporaryFile(/tmp/multipartBody6397021360353904249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_49_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3b19f6a595714fa843c049157bbd3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7632549047211346604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027904079,"filename":"image_30102025_06_03_58_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694227","file1":"1391694223","file0":"1391694217","file4":"1391694235","file5":"1391694238","file3":"1391694232"},"map_files_photo_id_array":[{"photo_id":"1391694238","filename":"file5"},{"photo_id":"1391694227","filename":"file2"},{"photo_id":"1391694235","filename":"file4"},{"photo_id":"1391694223","filename":"file1"},{"photo_id":"1391694217","filename":"file0"},{"photo_id":"1391694232","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694232":["hashtag1","hashtag2"]},{"1391694235":["hashtag1","hashtag2"]},{"1391694223":["hashtag1","hashtag2"]},{"1391694217":["hashtag1","hashtag2"]},{"1391694227":["hashtag1","hashtag2"]},{"1391694238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694232, 1391694235, 1391694223, 1391694217, 1391694227, 1391694238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24640607833862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:11:21.987701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_01_2606.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_04_3686.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_07_2607.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_10_2710.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_13_3672.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_16_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_01_2606.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_04_3686.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_07_2607.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_10_2710.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_13_3672.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_16_2841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694253","1391694241","1391694249","1391694243","1391694245","1391694256"],"photo_ids_order":["1391694241","1391694243","1391694245","1391694249","1391694253","1391694256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e66d7b021fff85db5f8e8b0469128c2.jpg","text":"TemporaryFile(/tmp/multipartBody3674088170903974356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_13_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24ae311b2299380eb07cd616e470e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6621307677905638224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_01_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61550dace6b222d63fcf804f6c341642.jpg","text":"TemporaryFile(/tmp/multipartBody3107379935233349909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_10_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db95284f052350d47fec71989ebe3b9f.jpg","text":"TemporaryFile(/tmp/multipartBody68820806338239598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_04_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57daa1b54eb86d2acab6bef0d8f9cb15.jpg","text":"TemporaryFile(/tmp/multipartBody3565387359013493531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_07_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d08b569ae3f8230d9b965314890135fd.jpg","text":"TemporaryFile(/tmp/multipartBody8951896493305642508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027944778,"filename":"image_30102025_06_04_16_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694245","file1":"1391694243","file0":"1391694241","file4":"1391694253","file5":"1391694256","file3":"1391694249"},"map_files_photo_id_array":[{"photo_id":"1391694256","filename":"file5"},{"photo_id":"1391694245","filename":"file2"},{"photo_id":"1391694253","filename":"file4"},{"photo_id":"1391694243","filename":"file1"},{"photo_id":"1391694241","filename":"file0"},{"photo_id":"1391694249","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694253":["hashtag1","hashtag2"]},{"1391694241":["hashtag1","hashtag2"]},{"1391694249":["hashtag1","hashtag2"]},{"1391694243":["hashtag1","hashtag2"]},{"1391694245":["hashtag1","hashtag2"]},{"1391694256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694253, 1391694241, 1391694249, 1391694243, 1391694245, 1391694256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.471391916275024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:12:02.729260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_19_2791.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_22_2704.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_25_3684.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_28_2733.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_31_2584.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_34_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_19_2791.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_22_2704.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_25_3684.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_28_2733.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_31_2584.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_34_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694276","1391694264","1391694272","1391694260","1391694268","1391694262"],"photo_ids_order":["1391694260","1391694262","1391694264","1391694268","1391694272","1391694276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/729a96b8bb567d8cbecfb48ebf165f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7224268290023724380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_34_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5db04b7692d4fbcd85e2c0bcf126b45.jpg","text":"TemporaryFile(/tmp/multipartBody9031619225949781767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_25_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c96c9132e5adf817c200e7d11b78d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody4285387702303144653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_31_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a44362d6c6bbe7421e1dbf1ca3404bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2982123002964896931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_19_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d6530ed87afc98ab475d622e713713e.jpg","text":"TemporaryFile(/tmp/multipartBody8428829753005161163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_28_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4453e3da34a8c0483130a9da3afbfbfd.jpg","text":"TemporaryFile(/tmp/multipartBody8336566061553222401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762027984966,"filename":"image_30102025_06_04_22_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694264","file1":"1391694262","file0":"1391694260","file4":"1391694272","file5":"1391694276","file3":"1391694268"},"map_files_photo_id_array":[{"photo_id":"1391694276","filename":"file5"},{"photo_id":"1391694264","filename":"file2"},{"photo_id":"1391694272","filename":"file4"},{"photo_id":"1391694262","filename":"file1"},{"photo_id":"1391694260","filename":"file0"},{"photo_id":"1391694268","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694276":["hashtag1","hashtag2"]},{"1391694264":["hashtag1","hashtag2"]},{"1391694272":["hashtag1","hashtag2"]},{"1391694260":["hashtag1","hashtag2"]},{"1391694268":["hashtag1","hashtag2"]},{"1391694262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694276, 1391694264, 1391694272, 1391694260, 1391694268, 1391694262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27628993988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:12:42.217859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_37_2744.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_40_2931.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_44_3590.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_46_2780.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_49_2736.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_52_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_37_2744.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_40_2931.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_44_3590.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_46_2780.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_49_2736.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_52_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694294","1391694288","1391694303","1391694300","1391694292","1391694298"],"photo_ids_order":["1391694288","1391694292","1391694294","1391694298","1391694300","1391694303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71630798b3579891630b064109d10e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2323346905567470423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_44_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86a7427a4f5e996298759d296c6dcf64.jpg","text":"TemporaryFile(/tmp/multipartBody7111847486212103366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_37_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b6eacb4712f0d28f67131dbdcda666c.jpg","text":"TemporaryFile(/tmp/multipartBody8265608959807671514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_52_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/41abb0fba002706f877abd80f670e535.jpg","text":"TemporaryFile(/tmp/multipartBody3689977357145309394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb1dc0b178aa1ad754a5d9c9025a78d4.jpg","text":"TemporaryFile(/tmp/multipartBody8460924216752466327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_40_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39340199d1d708d8bcc1204e3512c177.jpg","text":"TemporaryFile(/tmp/multipartBody679938649265488687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028023536,"filename":"image_30102025_06_04_46_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694294","file1":"1391694292","file0":"1391694288","file4":"1391694300","file5":"1391694303","file3":"1391694298"},"map_files_photo_id_array":[{"photo_id":"1391694303","filename":"file5"},{"photo_id":"1391694294","filename":"file2"},{"photo_id":"1391694300","filename":"file4"},{"photo_id":"1391694292","filename":"file1"},{"photo_id":"1391694288","filename":"file0"},{"photo_id":"1391694298","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694294":["hashtag1","hashtag2"]},{"1391694288":["hashtag1","hashtag2"]},{"1391694303":["hashtag1","hashtag2"]},{"1391694300":["hashtag1","hashtag2"]},{"1391694292":["hashtag1","hashtag2"]},{"1391694298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694294, 1391694288, 1391694303, 1391694300, 1391694292, 1391694298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20340943336487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:13:22.446980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_55_3738.jpg', '/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_58_2669.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_01_2556.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_04_3674.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_07_2569.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_10_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_55_3738.jpg
/home/pi/Desktop/images/30102025/06/04/image_30102025_06_04_58_2669.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_01_2556.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_04_3674.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_07_2569.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_10_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694331","1391694310","1391694313","1391694316","1391694320","1391694323"],"photo_ids_order":["1391694310","1391694313","1391694316","1391694320","1391694323","1391694331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/633f36405f3750ee110aef84c70a3808.jpg","text":"TemporaryFile(/tmp/multipartBody9098747681512201617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_05_10_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dac6283caa82b45011bb0815d8fd0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1359110048096158430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_04_55_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/225fa7743c6f615cdf210c9ae9992a60.jpg","text":"TemporaryFile(/tmp/multipartBody2533403915445569806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_04_58_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e9f1bb0dcb1868329145e4059a7200d.jpg","text":"TemporaryFile(/tmp/multipartBody2928271640659423032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_05_01_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0dbb2972e5d2d1d1c729f0891ce7760.jpg","text":"TemporaryFile(/tmp/multipartBody554718840028559449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_05_04_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c05a4d3ec7cac2e39cba5b2d126bc82b.jpg","text":"TemporaryFile(/tmp/multipartBody7967102780698436253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028065226,"filename":"image_30102025_06_05_07_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694316","file1":"1391694313","file0":"1391694310","file4":"1391694323","file5":"1391694331","file3":"1391694320"},"map_files_photo_id_array":[{"photo_id":"1391694331","filename":"file5"},{"photo_id":"1391694316","filename":"file2"},{"photo_id":"1391694323","filename":"file4"},{"photo_id":"1391694313","filename":"file1"},{"photo_id":"1391694310","filename":"file0"},{"photo_id":"1391694320","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694331":["hashtag1","hashtag2"]},{"1391694310":["hashtag1","hashtag2"]},{"1391694313":["hashtag1","hashtag2"]},{"1391694316":["hashtag1","hashtag2"]},{"1391694320":["hashtag1","hashtag2"]},{"1391694323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694331, 1391694310, 1391694313, 1391694316, 1391694320, 1391694323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93404746055603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:14:03.097092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_13_3616.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_16_2670.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_19_2590.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_25_2835.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_28_2621.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_31_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_13_3616.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_16_2670.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_19_2590.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_25_2835.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_28_2621.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_31_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694352","1391694346","1391694354","1391694348","1391694350","1391694341"],"photo_ids_order":["1391694341","1391694346","1391694348","1391694350","1391694352","1391694354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a885d5c562ae47dcfbd8355a1f186dca.jpg","text":"TemporaryFile(/tmp/multipartBody8873418423160765408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79524e76640cf190eea7288403b1bcd1.jpg","text":"TemporaryFile(/tmp/multipartBody4179595829402493830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2299261afe4246e6141d20e3cc357ba2.jpg","text":"TemporaryFile(/tmp/multipartBody68613484893609115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_31_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/122856510085ea531ee86cde43a09877.jpg","text":"TemporaryFile(/tmp/multipartBody2190147025445957424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ababdfec928a3407ebb0c737ebe61591.jpg","text":"TemporaryFile(/tmp/multipartBody2775227765768399775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_25_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9491104b62970518bd0d26584eb54b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2810905796150965261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028105448,"filename":"image_30102025_06_05_13_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694348","file1":"1391694346","file0":"1391694341","file4":"1391694352","file5":"1391694354","file3":"1391694350"},"map_files_photo_id_array":[{"photo_id":"1391694354","filename":"file5"},{"photo_id":"1391694348","filename":"file2"},{"photo_id":"1391694352","filename":"file4"},{"photo_id":"1391694346","filename":"file1"},{"photo_id":"1391694341","filename":"file0"},{"photo_id":"1391694350","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694352":["hashtag1","hashtag2"]},{"1391694346":["hashtag1","hashtag2"]},{"1391694354":["hashtag1","hashtag2"]},{"1391694348":["hashtag1","hashtag2"]},{"1391694350":["hashtag1","hashtag2"]},{"1391694341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694352, 1391694346, 1391694354, 1391694348, 1391694350, 1391694341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7399959564209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:14:42.526378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_34_2609.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_37_2687.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_40_3532.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_51_8064.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_52_1591.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_54_1820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_34_2609.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_37_2687.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_40_3532.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_51_8064.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_52_1591.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_54_1820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694378","1391694372","1391694363","1391694380","1391694368","1391694376"],"photo_ids_order":["1391694363","1391694368","1391694372","1391694376","1391694378","1391694380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d2ff9ea4d984c9b139776a59570d062.jpg","text":"TemporaryFile(/tmp/multipartBody506416839564940411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_52_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5940bdfd2135a58bb09b9adecbffa5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8965484402603232969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_40_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3118612476439ce7c9e0357557820da4.jpg","text":"TemporaryFile(/tmp/multipartBody8894738879082018398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_34_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3002d0ccbf9bec2bfebb57513d5a007d.jpg","text":"TemporaryFile(/tmp/multipartBody4707674935778636792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_54_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7096e0b9cdf0daf599181e90385cc728.jpg","text":"TemporaryFile(/tmp/multipartBody5331368750577825430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_37_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b70c8a2832d9043eb984f94b60a862c.jpg","text":"TemporaryFile(/tmp/multipartBody715098136765903334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028143808,"filename":"image_30102025_06_05_51_8064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694372","file1":"1391694368","file0":"1391694363","file4":"1391694378","file5":"1391694380","file3":"1391694376"},"map_files_photo_id_array":[{"photo_id":"1391694380","filename":"file5"},{"photo_id":"1391694372","filename":"file2"},{"photo_id":"1391694378","filename":"file4"},{"photo_id":"1391694368","filename":"file1"},{"photo_id":"1391694363","filename":"file0"},{"photo_id":"1391694376","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694378":["hashtag1","hashtag2"]},{"1391694372":["hashtag1","hashtag2"]},{"1391694363":["hashtag1","hashtag2"]},{"1391694380":["hashtag1","hashtag2"]},{"1391694368":["hashtag1","hashtag2"]},{"1391694376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694378, 1391694372, 1391694363, 1391694380, 1391694368, 1391694376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.474191665649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:15:22.609474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_56_1611.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_57_1712.jpg', '/home/pi/Desktop/images/30102025/06/05/image_30102025_06_06_01_3704.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_04_2838.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_07_2690.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_10_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_56_1611.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_05_57_1712.jpg
/home/pi/Desktop/images/30102025/06/05/image_30102025_06_06_01_3704.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_04_2838.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_07_2690.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_10_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694403","1391694390","1391694393","1391694387","1391694405","1391694397"],"photo_ids_order":["1391694387","1391694390","1391694393","1391694397","1391694403","1391694405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/861f0feee42a479703719b39e2bf6e61.jpg","text":"TemporaryFile(/tmp/multipartBody8073482610417129713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_06_07_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c483d153bbf6ccbaf866efcd670acb7e.jpg","text":"TemporaryFile(/tmp/multipartBody293387694404490093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_05_57_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9adc39fb43b9c167ab40e38301459f0b.jpg","text":"TemporaryFile(/tmp/multipartBody5440385149836257999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_06_01_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8abe31a9d6a180a1d66256e1b569adea.jpg","text":"TemporaryFile(/tmp/multipartBody4170813012035019236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_05_56_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f869056ca0bbea500516e3f8a115fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody1046476510647956682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_06_10_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/783fd5e26a04b484a78e4ab04462488b.jpg","text":"TemporaryFile(/tmp/multipartBody627973156477071050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028185385,"filename":"image_30102025_06_06_04_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694393","file1":"1391694390","file0":"1391694387","file4":"1391694403","file5":"1391694405","file3":"1391694397"},"map_files_photo_id_array":[{"photo_id":"1391694405","filename":"file5"},{"photo_id":"1391694393","filename":"file2"},{"photo_id":"1391694403","filename":"file4"},{"photo_id":"1391694390","filename":"file1"},{"photo_id":"1391694387","filename":"file0"},{"photo_id":"1391694397","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694403":["hashtag1","hashtag2"]},{"1391694390":["hashtag1","hashtag2"]},{"1391694393":["hashtag1","hashtag2"]},{"1391694387":["hashtag1","hashtag2"]},{"1391694405":["hashtag1","hashtag2"]},{"1391694397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694403, 1391694390, 1391694393, 1391694387, 1391694405, 1391694397)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.39978766441345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:16:21.878365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_13_2708.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_16_2560.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_19_3855.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_22_2555.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_28_5582.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_29_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_13_2708.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_16_2560.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_19_3855.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_22_2555.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_28_5582.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_29_1693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694439","1391694430","1391694427","1391694425","1391694434","1391694422"],"photo_ids_order":["1391694422","1391694425","1391694427","1391694430","1391694434","1391694439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45c6e1068b54c56e683d09c33eb19804.jpg","text":"TemporaryFile(/tmp/multipartBody5216656378804815798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_29_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8dcadf4b4d23f1a0ce82a4c10be40e4.jpg","text":"TemporaryFile(/tmp/multipartBody5482738916255123627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_22_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9dbe71d1d53feffb4cba603604c6613c.jpg","text":"TemporaryFile(/tmp/multipartBody3795322457660066004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_19_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aacc332cc77636f146255dc7f8caec9.jpg","text":"TemporaryFile(/tmp/multipartBody5591557763852332293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_16_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0dc9418db50472550de67777c442c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7903213967872143684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_28_5582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28e7809e1c7d7ec6bd6f2339fcff9506.jpg","text":"TemporaryFile(/tmp/multipartBody243372457272822829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028244338,"filename":"image_30102025_06_06_13_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694427","file1":"1391694425","file0":"1391694422","file4":"1391694434","file5":"1391694439","file3":"1391694430"},"map_files_photo_id_array":[{"photo_id":"1391694439","filename":"file5"},{"photo_id":"1391694427","filename":"file2"},{"photo_id":"1391694434","filename":"file4"},{"photo_id":"1391694425","filename":"file1"},{"photo_id":"1391694422","filename":"file0"},{"photo_id":"1391694430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694439":["hashtag1","hashtag2"]},{"1391694430":["hashtag1","hashtag2"]},{"1391694427":["hashtag1","hashtag2"]},{"1391694425":["hashtag1","hashtag2"]},{"1391694434":["hashtag1","hashtag2"]},{"1391694422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694439, 1391694430, 1391694427, 1391694425, 1391694434, 1391694422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62853455543518 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:17:22.288848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:17:52.217835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_31_1705.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_34_2656.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_37_3635.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_40_2805.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_43_2564.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_49_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_31_1705.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_34_2656.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_37_3635.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_40_2805.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_43_2564.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_49_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694468","1391694473","1391694476","1391694470","1391694467","1391694478"],"photo_ids_order":["1391694467","1391694468","1391694470","1391694473","1391694476","1391694478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6269d84cafb0ff0bc7c758eb685bc3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6021514505651547691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_34_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61be885bfb4261bc3eb9c6622b5e6997.jpg","text":"TemporaryFile(/tmp/multipartBody9006127907631848691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1b5dff5f418e5150964135abc06b5dac.jpg","text":"TemporaryFile(/tmp/multipartBody7713827926366275562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_43_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81e99ad43a00533e1e62bb903e65a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6197099141838900830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_37_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b06c5e6e21c9423e59f75af030530fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1265611033508398671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_31_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2af50c319b4ed12083b7580aae62e50f.jpg","text":"TemporaryFile(/tmp/multipartBody9050464241713801808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028352711,"filename":"image_30102025_06_06_49_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694470","file1":"1391694468","file0":"1391694467","file4":"1391694476","file5":"1391694478","file3":"1391694473"},"map_files_photo_id_array":[{"photo_id":"1391694478","filename":"file5"},{"photo_id":"1391694470","filename":"file2"},{"photo_id":"1391694476","filename":"file4"},{"photo_id":"1391694468","filename":"file1"},{"photo_id":"1391694467","filename":"file0"},{"photo_id":"1391694473","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694468":["hashtag1","hashtag2"]},{"1391694473":["hashtag1","hashtag2"]},{"1391694476":["hashtag1","hashtag2"]},{"1391694470":["hashtag1","hashtag2"]},{"1391694467":["hashtag1","hashtag2"]},{"1391694478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694468, 1391694473, 1391694476, 1391694470, 1391694467, 1391694478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.54554724693298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:19:05.918534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_52_2792.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_55_3543.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_58_2602.jpg', '/home/pi/Desktop/images/30102025/06/06/image_30102025_06_07_00_2664.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_04_3563.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_07_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_52_2792.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_55_3543.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_06_58_2602.jpg
/home/pi/Desktop/images/30102025/06/06/image_30102025_06_07_00_2664.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_04_3563.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_07_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694546","1391694525","1391694560","1391694554","1391694557","1391694551"],"photo_ids_order":["1391694525","1391694546","1391694551","1391694554","1391694557","1391694560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fcf2b34f6fac1352750575b0e2ce14e.jpg","text":"TemporaryFile(/tmp/multipartBody3570659899758127808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_06_55_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a06c1253149fa2a42dd7ce313a9469d.jpg","text":"TemporaryFile(/tmp/multipartBody7120222650129575920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_06_52_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cb8ea85257f4c021c839e23c6069d71.jpg","text":"TemporaryFile(/tmp/multipartBody5650414849980955696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_07_07_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/baff84b354fcadea6191ecaf7b7c8fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8592003916203614700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_07_00_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c6b34abe25384bad2c876a68b9e1cfd.jpg","text":"TemporaryFile(/tmp/multipartBody99146070672188865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_07_04_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/407f17abfd7b987c97cbecfd8c3cd009.jpg","text":"TemporaryFile(/tmp/multipartBody683100133900969060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028412658,"filename":"image_30102025_06_06_58_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694551","file1":"1391694546","file0":"1391694525","file4":"1391694557","file5":"1391694560","file3":"1391694554"},"map_files_photo_id_array":[{"photo_id":"1391694560","filename":"file5"},{"photo_id":"1391694551","filename":"file2"},{"photo_id":"1391694557","filename":"file4"},{"photo_id":"1391694546","filename":"file1"},{"photo_id":"1391694525","filename":"file0"},{"photo_id":"1391694554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694546":["hashtag1","hashtag2"]},{"1391694525":["hashtag1","hashtag2"]},{"1391694560":["hashtag1","hashtag2"]},{"1391694554":["hashtag1","hashtag2"]},{"1391694557":["hashtag1","hashtag2"]},{"1391694551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694546, 1391694525, 1391694560, 1391694554, 1391694557, 1391694551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.39538812637329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:20:09.336794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:20:35.720409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:20:48.787094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_09_2792.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_12_2826.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_16_3510.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_18_2619.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_26_7712.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_28_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_09_2792.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_12_2826.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_16_3510.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_18_2619.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_26_7712.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_28_1759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694712","1391694734","1391694722","1391694716","1391694707","1391694727"],"photo_ids_order":["1391694707","1391694712","1391694716","1391694722","1391694727","1391694734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/206eb58ccab4a02a3fafcb998bed972b.jpg","text":"TemporaryFile(/tmp/multipartBody8748229748388375610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_12_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c064c582b9d06a374c8cd22ab9eb21e4.jpg","text":"TemporaryFile(/tmp/multipartBody2694051092348708924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_28_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2cd62ffc18ea84f556a05752d2a0ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2679000246255853596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_18_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a3812b6bcf0def7936cb459251519f9.jpg","text":"TemporaryFile(/tmp/multipartBody8212398155073780725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_16_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff5a3d6199d7683277a30604f1f6a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody8846900502100566717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_09_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2c9d0b07bd92a11a9b0340bd85b39d76.jpg","text":"TemporaryFile(/tmp/multipartBody8059707216825655242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028510069,"filename":"image_30102025_06_07_26_7712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694716","file1":"1391694712","file0":"1391694707","file4":"1391694727","file5":"1391694734","file3":"1391694722"},"map_files_photo_id_array":[{"photo_id":"1391694734","filename":"file5"},{"photo_id":"1391694716","filename":"file2"},{"photo_id":"1391694727","filename":"file4"},{"photo_id":"1391694712","filename":"file1"},{"photo_id":"1391694707","filename":"file0"},{"photo_id":"1391694722","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694712":["hashtag1","hashtag2"]},{"1391694734":["hashtag1","hashtag2"]},{"1391694722":["hashtag1","hashtag2"]},{"1391694716":["hashtag1","hashtag2"]},{"1391694707":["hashtag1","hashtag2"]},{"1391694727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694712, 1391694734, 1391694722, 1391694716, 1391694707, 1391694727)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 69.10424590110779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:22:03.165463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_30_1810.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_31_1592.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_42_10919.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_44_1613.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_51_7228.jpg', '/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_53_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_30_1810.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_31_1592.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_42_10919.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_44_1613.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_51_7228.jpg
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_07_53_1585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694752","1391694761","1391694755","1391694749","1391694764","1391694758"],"photo_ids_order":["1391694749","1391694752","1391694755","1391694758","1391694761","1391694764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91a1b05a6f3e254e952b34518f4f63eb.jpg","text":"TemporaryFile(/tmp/multipartBody482871485847828884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_31_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57fb963bac1db74e92a965b50390fcad.jpg","text":"TemporaryFile(/tmp/multipartBody5659794436277217695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_51_7228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/209818e7d349f40055a212d4738bd2d5.jpg","text":"TemporaryFile(/tmp/multipartBody6777747125235832181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_42_10919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee35bf62620ea6c2fbad7374aecd6ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4085174915860173182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_30_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b094357c4a26ed8a67757b86cae0aecc.jpg","text":"TemporaryFile(/tmp/multipartBody924898934005422995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_53_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a32a8f9ad9f2d12ee7436c79082e034.jpg","text":"TemporaryFile(/tmp/multipartBody7587345656584274844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028585502,"filename":"image_30102025_06_07_44_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694755","file1":"1391694752","file0":"1391694749","file4":"1391694761","file5":"1391694764","file3":"1391694758"},"map_files_photo_id_array":[{"photo_id":"1391694764","filename":"file5"},{"photo_id":"1391694755","filename":"file2"},{"photo_id":"1391694761","filename":"file4"},{"photo_id":"1391694752","filename":"file1"},{"photo_id":"1391694749","filename":"file0"},{"photo_id":"1391694758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694752":["hashtag1","hashtag2"]},{"1391694761":["hashtag1","hashtag2"]},{"1391694755":["hashtag1","hashtag2"]},{"1391694749":["hashtag1","hashtag2"]},{"1391694764":["hashtag1","hashtag2"]},{"1391694758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694752, 1391694761, 1391694755, 1391694749, 1391694764, 1391694758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.328185081481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:23:34.120347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:24:03.448734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/07/image_30102025_06_08_00_7300.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_24_24402.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_36_11757.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_38_1635.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_39_1567.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_41_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/07/image_30102025_06_08_00_7300.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_24_24402.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_36_11757.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_38_1635.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_39_1567.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_41_1711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694814","1391694822","1391694819","1391694810","1391694816","1391694812"],"photo_ids_order":["1391694810","1391694812","1391694814","1391694816","1391694819","1391694822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/511172613c23e76659b608595bd07384.jpg","text":"TemporaryFile(/tmp/multipartBody5381074320034016639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_36_11757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38b01a5c75d0e200e5d3f6b5bc019205.jpg","text":"TemporaryFile(/tmp/multipartBody459881884031112032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_41_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd9b5f3df20939a94a3f49d897445a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6373603802481580533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_39_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2567c8dfb0202691d4fdd9342da6b86e.jpg","text":"TemporaryFile(/tmp/multipartBody4445025611828246483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_00_7300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70098abb1ffca755946a9b71957cea66.jpg","text":"TemporaryFile(/tmp/multipartBody8463323441075439312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_38_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40c55030b16ef332039c32f7af652283.jpg","text":"TemporaryFile(/tmp/multipartBody7633960048968293132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028705746,"filename":"image_30102025_06_08_24_24402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694814","file1":"1391694812","file0":"1391694810","file4":"1391694819","file5":"1391694822","file3":"1391694816"},"map_files_photo_id_array":[{"photo_id":"1391694822","filename":"file5"},{"photo_id":"1391694814","filename":"file2"},{"photo_id":"1391694819","filename":"file4"},{"photo_id":"1391694812","filename":"file1"},{"photo_id":"1391694810","filename":"file0"},{"photo_id":"1391694816","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694814":["hashtag1","hashtag2"]},{"1391694822":["hashtag1","hashtag2"]},{"1391694819":["hashtag1","hashtag2"]},{"1391694810":["hashtag1","hashtag2"]},{"1391694816":["hashtag1","hashtag2"]},{"1391694812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694814, 1391694822, 1391694819, 1391694810, 1391694816, 1391694812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.163753032684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:24:42.405382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_43_1780.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_45_1812.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_46_1757.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_48_1648.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_50_1639.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_51_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_43_1780.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_45_1812.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_46_1757.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_48_1648.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_50_1639.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_51_1793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694841","1391694840","1391694837","1391694834","1391694845","1391694830"],"photo_ids_order":["1391694830","1391694834","1391694837","1391694840","1391694841","1391694845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef2ad6c7c35c58877ac99c3ef1966e21.jpg","text":"TemporaryFile(/tmp/multipartBody2306035905366751055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_50_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0df6a5dd696a870d98c908f5a6b42753.jpg","text":"TemporaryFile(/tmp/multipartBody7911371925046962555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_48_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2cfa7a95ae8dedf7724b61e7077464b.jpg","text":"TemporaryFile(/tmp/multipartBody1813794033994204540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_46_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/910deff194ae7c4c9b2020054e5dc2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6027153525351785242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_45_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00921d5a84b60aa3282096bb2a9185f9.jpg","text":"TemporaryFile(/tmp/multipartBody2331912916727345526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_51_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea5bcae1dabaf6da5f462ff9a55fe837.jpg","text":"TemporaryFile(/tmp/multipartBody1164466489437294841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028743629,"filename":"image_30102025_06_08_43_1780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694837","file1":"1391694834","file0":"1391694830","file4":"1391694841","file5":"1391694845","file3":"1391694840"},"map_files_photo_id_array":[{"photo_id":"1391694845","filename":"file5"},{"photo_id":"1391694837","filename":"file2"},{"photo_id":"1391694841","filename":"file4"},{"photo_id":"1391694834","filename":"file1"},{"photo_id":"1391694830","filename":"file0"},{"photo_id":"1391694840","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694841":["hashtag1","hashtag2"]},{"1391694840":["hashtag1","hashtag2"]},{"1391694837":["hashtag1","hashtag2"]},{"1391694834":["hashtag1","hashtag2"]},{"1391694845":["hashtag1","hashtag2"]},{"1391694830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694841, 1391694840, 1391694837, 1391694834, 1391694845, 1391694830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42939233779907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:25:22.595883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_55_3766.jpg', '/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_59_4165.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_01_1586.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_04_2635.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_05_1615.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_07_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_55_3766.jpg
/home/pi/Desktop/images/30102025/06/08/image_30102025_06_08_59_4165.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_01_1586.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_04_2635.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_05_1615.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_07_1599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694852","1391694854","1391694863","1391694856","1391694865","1391694859"],"photo_ids_order":["1391694852","1391694854","1391694856","1391694859","1391694863","1391694865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23e5845845f39d5a3821975942b4e0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2117632297245989929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_08_55_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2956fa9387bc70e9bc47567a105a8b41.jpg","text":"TemporaryFile(/tmp/multipartBody5730483114953810518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_08_59_4165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0cfc647171f3bdfa300a889cabe64a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2355132023839679781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_09_05_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4de0ad76119c3fac2e69cda5e4a511ad.jpg","text":"TemporaryFile(/tmp/multipartBody1529573851754992712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_09_01_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec87709cccaaafce2c37a157b8d25ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6996922451957763106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_09_07_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/231b17ed5e10a2c9a68f1ad63a5397dc.jpg","text":"TemporaryFile(/tmp/multipartBody1254368028979821719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028785369,"filename":"image_30102025_06_09_04_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694856","file1":"1391694854","file0":"1391694852","file4":"1391694863","file5":"1391694865","file3":"1391694859"},"map_files_photo_id_array":[{"photo_id":"1391694865","filename":"file5"},{"photo_id":"1391694856","filename":"file2"},{"photo_id":"1391694863","filename":"file4"},{"photo_id":"1391694854","filename":"file1"},{"photo_id":"1391694852","filename":"file0"},{"photo_id":"1391694859","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694852":["hashtag1","hashtag2"]},{"1391694854":["hashtag1","hashtag2"]},{"1391694863":["hashtag1","hashtag2"]},{"1391694856":["hashtag1","hashtag2"]},{"1391694865":["hashtag1","hashtag2"]},{"1391694859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694852, 1391694854, 1391694863, 1391694856, 1391694865, 1391694859)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.27657771110535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:26:43.994220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_22_15026.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_24_1727.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_27_1670.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_29_1726.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_30_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_22_15026.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_24_1727.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_27_1670.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_29_1726.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_30_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694910","1391694909","1391694914","1391694917","1391694911","1391694908"],"photo_ids_order":["1391694908","1391694909","1391694910","1391694911","1391694914","1391694917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22805b481525af5b6e671cfb78d47038.jpg","text":"TemporaryFile(/tmp/multipartBody2662695525550931856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_25_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/488f68f50abd22d4837340b98641be3a.jpg","text":"TemporaryFile(/tmp/multipartBody3566353524063814862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_24_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c7206af9c548a487e8fb296c919783a7.jpg","text":"TemporaryFile(/tmp/multipartBody8838625398692593624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_29_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce08e28c2910428cb83fa0c3fbf697d9.jpg","text":"TemporaryFile(/tmp/multipartBody6485423713015597034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_30_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5e78df68fc57a208ad2c1ee3e005ae87.jpg","text":"TemporaryFile(/tmp/multipartBody4057017029116555700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_27_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64ccd3b350da6f84be861dc6dc5bf1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8588642964769668049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762028909845,"filename":"image_30102025_06_09_22_15026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694910","file1":"1391694909","file0":"1391694908","file4":"1391694914","file5":"1391694917","file3":"1391694911"},"map_files_photo_id_array":[{"photo_id":"1391694917","filename":"file5"},{"photo_id":"1391694910","filename":"file2"},{"photo_id":"1391694914","filename":"file4"},{"photo_id":"1391694909","filename":"file1"},{"photo_id":"1391694908","filename":"file0"},{"photo_id":"1391694911","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694910":["hashtag1","hashtag2"]},{"1391694909":["hashtag1","hashtag2"]},{"1391694914":["hashtag1","hashtag2"]},{"1391694917":["hashtag1","hashtag2"]},{"1391694911":["hashtag1","hashtag2"]},{"1391694908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694910, 1391694909, 1391694914, 1391694917, 1391694911, 1391694908)","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 = 1391694910 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391694910 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg";
uploaded 6 photos
time to upload: 104.46674966812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:28:56.495437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:29:11.519771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:29:25.607778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_22_15026.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_24_1727.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_27_1670.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_29_1726.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_30_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_22_15026.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_24_1727.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_25_1603.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_27_1670.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_29_1726.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_30_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391694966","1391694975","1391694960","1391694980","1391694962","1391694970"],"photo_ids_order":["1391694960","1391694962","1391694966","1391694970","1391694975","1391694980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f5025f528dcd46a7e539eee9d7750e2f.jpg","text":"TemporaryFile(/tmp/multipartBody963102559381795830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_25_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1dd723841d75e82b4303621405d42a0d.jpg","text":"TemporaryFile(/tmp/multipartBody728507735869532656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_29_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97148df5d749456301d0997e9b85940e.jpg","text":"TemporaryFile(/tmp/multipartBody2132530291567707361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_22_15026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6990b2b3f6202578c8b82bcfc623a613.jpg","text":"TemporaryFile(/tmp/multipartBody4823154206555159582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_30_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc7694861a074fd685b04ae6314b0ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1705774020224158242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_24_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f6ad29126a3f2208df82bc26193a1da.jpg","text":"TemporaryFile(/tmp/multipartBody3094730195026799021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029028373,"filename":"image_30102025_06_09_27_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694966","file1":"1391694962","file0":"1391694960","file4":"1391694975","file5":"1391694980","file3":"1391694970"},"map_files_photo_id_array":[{"photo_id":"1391694980","filename":"file5"},{"photo_id":"1391694966","filename":"file2"},{"photo_id":"1391694975","filename":"file4"},{"photo_id":"1391694962","filename":"file1"},{"photo_id":"1391694960","filename":"file0"},{"photo_id":"1391694970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391694966":["hashtag1","hashtag2"]},{"1391694975":["hashtag1","hashtag2"]},{"1391694960":["hashtag1","hashtag2"]},{"1391694980":["hashtag1","hashtag2"]},{"1391694962":["hashtag1","hashtag2"]},{"1391694970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391694966, 1391694975, 1391694960, 1391694980, 1391694962, 1391694970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16025996208191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:30:21.913670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_32_1805.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_34_1531.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_35_1579.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_46_10738.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_47_1565.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_52_4297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_32_1805.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_34_1531.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_35_1579.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_46_10738.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_47_1565.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_52_4297.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695002","1391694995","1391694998","1391694992","1391695006","1391695009"],"photo_ids_order":["1391694992","1391694995","1391694998","1391695002","1391695006","1391695009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fda01f22ce9ccb8cda89eee7e3a218f7.jpg","text":"TemporaryFile(/tmp/multipartBody5712185413206702981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_46_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/91059850ac2122019cce86b36c44d937.jpg","text":"TemporaryFile(/tmp/multipartBody1550471648630169841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_34_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eee7130572be8ec25ec36e747d252062.jpg","text":"TemporaryFile(/tmp/multipartBody7241673155279938324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_35_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77e0f6a922e7b715e30f454341f90b64.jpg","text":"TemporaryFile(/tmp/multipartBody7954134829704586363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_32_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1b4dea4e54a89761c1509ec9fbb588a.jpg","text":"TemporaryFile(/tmp/multipartBody5040278120598063880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_47_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab89e79e8d9cc4e880a576c617ef919e.jpg","text":"TemporaryFile(/tmp/multipartBody3601621832856644174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029084695,"filename":"image_30102025_06_09_52_4297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391694998","file1":"1391694995","file0":"1391694992","file4":"1391695006","file5":"1391695009","file3":"1391695002"},"map_files_photo_id_array":[{"photo_id":"1391695009","filename":"file5"},{"photo_id":"1391694998","filename":"file2"},{"photo_id":"1391695006","filename":"file4"},{"photo_id":"1391694995","filename":"file1"},{"photo_id":"1391694992","filename":"file0"},{"photo_id":"1391695002","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695002":["hashtag1","hashtag2"]},{"1391694995":["hashtag1","hashtag2"]},{"1391694998":["hashtag1","hashtag2"]},{"1391694992":["hashtag1","hashtag2"]},{"1391695006":["hashtag1","hashtag2"]},{"1391695009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695002, 1391694995, 1391694998, 1391694992, 1391695006, 1391695009)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 68.49013352394104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:31:45.625645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_53_1724.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_55_1534.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_57_1763.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_58_1637.jpg', '/home/pi/Desktop/images/30102025/06/09/image_30102025_06_10_00_1600.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_02_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_53_1724.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_55_1534.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_57_1763.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_09_58_1637.jpg
/home/pi/Desktop/images/30102025/06/09/image_30102025_06_10_00_1600.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_02_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695071","1391695089","1391695080","1391695074","1391695077","1391695085"],"photo_ids_order":["1391695071","1391695074","1391695077","1391695080","1391695085","1391695089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/42952e535c3b8283176a412ee3a4737e.jpg","text":"TemporaryFile(/tmp/multipartBody5523072271527447895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_09_53_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a91e3d2dbf04440316a6f016ab6c7065.jpg","text":"TemporaryFile(/tmp/multipartBody1431695629213260007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_10_02_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60dcaeb1442394a41275732d5b0f8788.jpg","text":"TemporaryFile(/tmp/multipartBody6832351015660763685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_09_58_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d21978daad35727d1ba144994227662c.jpg","text":"TemporaryFile(/tmp/multipartBody5352121706874323910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_09_55_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f78bb2f1d6e68bc41584fcaeca943c08.jpg","text":"TemporaryFile(/tmp/multipartBody4382913145096705639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_09_57_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9160b9adc5e70775eac1d3299aa2d3db.jpg","text":"TemporaryFile(/tmp/multipartBody7006382931261590482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029166852,"filename":"image_30102025_06_10_00_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695077","file1":"1391695074","file0":"1391695071","file4":"1391695085","file5":"1391695089","file3":"1391695080"},"map_files_photo_id_array":[{"photo_id":"1391695089","filename":"file5"},{"photo_id":"1391695077","filename":"file2"},{"photo_id":"1391695085","filename":"file4"},{"photo_id":"1391695074","filename":"file1"},{"photo_id":"1391695071","filename":"file0"},{"photo_id":"1391695080","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695071":["hashtag1","hashtag2"]},{"1391695089":["hashtag1","hashtag2"]},{"1391695080":["hashtag1","hashtag2"]},{"1391695074":["hashtag1","hashtag2"]},{"1391695077":["hashtag1","hashtag2"]},{"1391695085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695071, 1391695089, 1391695080, 1391695074, 1391695077, 1391695085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75210785865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:32:41.833394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_03_1601.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_21_18060.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_30_9087.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_32_1670.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_34_1647.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_35_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_03_1601.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_21_18060.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_30_9087.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_32_1670.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_34_1647.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_35_1704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695104","1391695112","1391695121","1391695115","1391695117","1391695108"],"photo_ids_order":["1391695104","1391695108","1391695112","1391695115","1391695117","1391695121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58c3767998579f24ddd63a680119847d.jpg","text":"TemporaryFile(/tmp/multipartBody2138720068827254912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_03_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63da6d77d72fd5a7638bdc6f0b229a53.jpg","text":"TemporaryFile(/tmp/multipartBody2452026624625297552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_30_9087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2f379e59309b929039c8909a63a65974.jpg","text":"TemporaryFile(/tmp/multipartBody2595489934659835411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_35_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0d53967f8b780e3d02d4ba1e9126eb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7053539787985986754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_32_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4c862303e599aaec8e2be1c01be4c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1863647245067116029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_34_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/372b800caacd0757c53739f8c37af866.jpg","text":"TemporaryFile(/tmp/multipartBody4492908379915678497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029223126,"filename":"image_30102025_06_10_21_18060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695112","file1":"1391695108","file0":"1391695104","file4":"1391695117","file5":"1391695121","file3":"1391695115"},"map_files_photo_id_array":[{"photo_id":"1391695121","filename":"file5"},{"photo_id":"1391695112","filename":"file2"},{"photo_id":"1391695117","filename":"file4"},{"photo_id":"1391695108","filename":"file1"},{"photo_id":"1391695104","filename":"file0"},{"photo_id":"1391695115","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695104":["hashtag1","hashtag2"]},{"1391695112":["hashtag1","hashtag2"]},{"1391695121":["hashtag1","hashtag2"]},{"1391695115":["hashtag1","hashtag2"]},{"1391695117":["hashtag1","hashtag2"]},{"1391695108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695104, 1391695112, 1391695121, 1391695115, 1391695117, 1391695108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9373095035553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:33:21.974196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_37_1682.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_39_1662.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_40_1653.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_42_1628.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_44_1667.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_45_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_37_1682.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_39_1662.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_40_1653.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_42_1628.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_44_1667.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_45_1715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695137","1391695131","1391695139","1391695133","1391695142","1391695135"],"photo_ids_order":["1391695131","1391695133","1391695135","1391695137","1391695139","1391695142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63b4dad9e5ccc321b6589193ebddd8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3614456980631072240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_42_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ffdee67239b5de1fdbe26dcadd6c51a4.jpg","text":"TemporaryFile(/tmp/multipartBody7987769768542249913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_37_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7735499fb75a23f49946f411b7a67672.jpg","text":"TemporaryFile(/tmp/multipartBody278665530222301226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_44_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/248b0c435d9a85a6f88bb16befdc997c.jpg","text":"TemporaryFile(/tmp/multipartBody1080292655277506911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_39_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0dfba382deb0663ef7a13bc98fc1c864.jpg","text":"TemporaryFile(/tmp/multipartBody2482587534769506191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_45_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c20f6d4a7ab3819ace1192d52463f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5866955302857381063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029264823,"filename":"image_30102025_06_10_40_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695135","file1":"1391695133","file0":"1391695131","file4":"1391695139","file5":"1391695142","file3":"1391695137"},"map_files_photo_id_array":[{"photo_id":"1391695142","filename":"file5"},{"photo_id":"1391695135","filename":"file2"},{"photo_id":"1391695139","filename":"file4"},{"photo_id":"1391695133","filename":"file1"},{"photo_id":"1391695131","filename":"file0"},{"photo_id":"1391695137","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695137":["hashtag1","hashtag2"]},{"1391695131":["hashtag1","hashtag2"]},{"1391695139":["hashtag1","hashtag2"]},{"1391695133":["hashtag1","hashtag2"]},{"1391695142":["hashtag1","hashtag2"]},{"1391695135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695137, 1391695131, 1391695139, 1391695133, 1391695142, 1391695135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.887330770492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:34:03.334397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_47_1564.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_49_1724.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_50_1655.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_52_1533.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_53_1618.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_55_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_47_1564.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_49_1724.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_50_1655.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_52_1533.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_53_1618.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_55_1751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 47.992066621780396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:35:03.258897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_47_1564.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_49_1724.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_50_1655.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_52_1533.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_53_1618.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_55_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_47_1564.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_49_1724.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_50_1655.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_52_1533.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_53_1618.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_55_1751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695201","1391695200","1391695196","1391695192","1391695195","1391695197"],"photo_ids_order":["1391695192","1391695195","1391695196","1391695197","1391695200","1391695201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4baa62840d6a3b32a55c26cabe5ff63c.jpg","text":"TemporaryFile(/tmp/multipartBody6948906901907459037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_55_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/316bbaeec152248c338584ebe18132bf.jpg","text":"TemporaryFile(/tmp/multipartBody303822682879515742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_53_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec867e28d4ffa7a4600cb3e51c78fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1620868130756090011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_50_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e97ee4b3a521e2732287f86ded28751a.jpg","text":"TemporaryFile(/tmp/multipartBody4603581650521327767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_47_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d5d64bdfc71625fe7d53b92eb546537.jpg","text":"TemporaryFile(/tmp/multipartBody4310997234925023696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_49_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4cc66f940ec6ffea0f6cff066f225bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8464520908332677719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029366336,"filename":"image_30102025_06_10_52_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695196","file1":"1391695195","file0":"1391695192","file4":"1391695200","file5":"1391695201","file3":"1391695197"},"map_files_photo_id_array":[{"photo_id":"1391695201","filename":"file5"},{"photo_id":"1391695196","filename":"file2"},{"photo_id":"1391695200","filename":"file4"},{"photo_id":"1391695195","filename":"file1"},{"photo_id":"1391695192","filename":"file0"},{"photo_id":"1391695197","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695201":["hashtag1","hashtag2"]},{"1391695200":["hashtag1","hashtag2"]},{"1391695196":["hashtag1","hashtag2"]},{"1391695192":["hashtag1","hashtag2"]},{"1391695195":["hashtag1","hashtag2"]},{"1391695197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695201, 1391695200, 1391695196, 1391695192, 1391695195, 1391695197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.987409591674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:35:42.810075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_57_1732.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_59_1634.jpg', '/home/pi/Desktop/images/30102025/06/10/image_30102025_06_11_00_1604.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_02_1634.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_14_12639.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_16_1798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_57_1732.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_10_59_1634.jpg
/home/pi/Desktop/images/30102025/06/10/image_30102025_06_11_00_1604.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_02_1634.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_14_12639.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_16_1798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695223","1391695229","1391695220","1391695217","1391695225","1391695213"],"photo_ids_order":["1391695213","1391695217","1391695220","1391695223","1391695225","1391695229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee9d6f031120c622546f087a65cd5077.jpg","text":"TemporaryFile(/tmp/multipartBody9207519898017136384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_11_02_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c007a7da994a803c346f50e61003657e.jpg","text":"TemporaryFile(/tmp/multipartBody5418622575153702331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_11_16_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e57236eb63fb0f105f60f0d53bfd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody4239453048666869987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_11_00_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5578b13815b7ee80b8f066146cbc9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody8781510683143429956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_10_59_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e0938c2abc82eba8ea8716489407926.jpg","text":"TemporaryFile(/tmp/multipartBody147553609499698220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_11_14_12639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a83805c0868e64cff37b510f03536971.jpg","text":"TemporaryFile(/tmp/multipartBody952143378496325728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029404049,"filename":"image_30102025_06_10_57_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695220","file1":"1391695217","file0":"1391695213","file4":"1391695225","file5":"1391695229","file3":"1391695223"},"map_files_photo_id_array":[{"photo_id":"1391695229","filename":"file5"},{"photo_id":"1391695220","filename":"file2"},{"photo_id":"1391695225","filename":"file4"},{"photo_id":"1391695217","filename":"file1"},{"photo_id":"1391695213","filename":"file0"},{"photo_id":"1391695223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695223":["hashtag1","hashtag2"]},{"1391695229":["hashtag1","hashtag2"]},{"1391695220":["hashtag1","hashtag2"]},{"1391695217":["hashtag1","hashtag2"]},{"1391695225":["hashtag1","hashtag2"]},{"1391695213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695223, 1391695229, 1391695220, 1391695217, 1391695225, 1391695213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25347661972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:36:22.041579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_21_4542.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_22_1591.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_24_1688.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_26_1623.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_27_1698.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_29_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_21_4542.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_22_1591.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_24_1688.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_26_1623.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_27_1698.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_29_1753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695242","1391695244","1391695238","1391695235","1391695240","1391695246"],"photo_ids_order":["1391695235","1391695238","1391695240","1391695242","1391695244","1391695246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d6b11e94fd45060f811cb1c8ac3c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8633167117241942835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_26_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31859b6d6be9ba12bcbf6831e13f6e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6330360752377527850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_27_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f74107a73eee53db9b3dd2161819645.jpg","text":"TemporaryFile(/tmp/multipartBody6158359617366347404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_22_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/252a0dc29123164c011e5ed4fa4b0487.jpg","text":"TemporaryFile(/tmp/multipartBody6549574043707540603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_21_4542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6b1c9d4ea5ceacf6a092a559c829640.jpg","text":"TemporaryFile(/tmp/multipartBody1078842597837712848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_24_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22ae9ff6386da4cf3f58e3acc11bcf77.jpg","text":"TemporaryFile(/tmp/multipartBody5616019051238701141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029444889,"filename":"image_30102025_06_11_29_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695240","file1":"1391695238","file0":"1391695235","file4":"1391695244","file5":"1391695246","file3":"1391695242"},"map_files_photo_id_array":[{"photo_id":"1391695246","filename":"file5"},{"photo_id":"1391695240","filename":"file2"},{"photo_id":"1391695244","filename":"file4"},{"photo_id":"1391695238","filename":"file1"},{"photo_id":"1391695235","filename":"file0"},{"photo_id":"1391695242","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695242":["hashtag1","hashtag2"]},{"1391695244":["hashtag1","hashtag2"]},{"1391695238":["hashtag1","hashtag2"]},{"1391695235":["hashtag1","hashtag2"]},{"1391695240":["hashtag1","hashtag2"]},{"1391695246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695242, 1391695244, 1391695238, 1391695235, 1391695240, 1391695246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71199607849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:37:02.996573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_31_1617.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_33_1765.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_34_1534.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_36_1647.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_38_1871.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_39_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_31_1617.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_33_1765.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_34_1534.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_36_1647.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_38_1871.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_39_1585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695260","1391695254","1391695262","1391695256","1391695264","1391695258"],"photo_ids_order":["1391695254","1391695256","1391695258","1391695260","1391695262","1391695264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9860865ecfa30b901601d001ce64f6cf.jpg","text":"TemporaryFile(/tmp/multipartBody1862950015649559812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_36_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/277d809eba6f8ee24a9032c43c10b1e7.jpg","text":"TemporaryFile(/tmp/multipartBody770929799171124978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_31_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2e6ade8d584808eb8aca26800fc6fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1208763365633570615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_38_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/790d22af17e715a0a6477ee687f9db55.jpg","text":"TemporaryFile(/tmp/multipartBody8474044538967173686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_33_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f506ded1ab7a947c7b09790f95db3009.jpg","text":"TemporaryFile(/tmp/multipartBody8316355526545262713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_39_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efa8093616fd775558bdda80877aa6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2769788858105175813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029485340,"filename":"image_30102025_06_11_34_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695258","file1":"1391695256","file0":"1391695254","file4":"1391695262","file5":"1391695264","file3":"1391695260"},"map_files_photo_id_array":[{"photo_id":"1391695264","filename":"file5"},{"photo_id":"1391695258","filename":"file2"},{"photo_id":"1391695262","filename":"file4"},{"photo_id":"1391695256","filename":"file1"},{"photo_id":"1391695254","filename":"file0"},{"photo_id":"1391695260","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695260":["hashtag1","hashtag2"]},{"1391695254":["hashtag1","hashtag2"]},{"1391695262":["hashtag1","hashtag2"]},{"1391695256":["hashtag1","hashtag2"]},{"1391695264":["hashtag1","hashtag2"]},{"1391695258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695260, 1391695254, 1391695262, 1391695256, 1391695264, 1391695258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84343338012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:37:42.296222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_41_1603.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_43_1863.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_44_1609.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_46_1632.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_48_1627.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_49_1507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_41_1603.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_43_1863.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_44_1609.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_46_1632.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_48_1627.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_49_1507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695274","1391695277","1391695271","1391695285","1391695279","1391695282"],"photo_ids_order":["1391695271","1391695274","1391695277","1391695279","1391695282","1391695285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c5082135721c04461507248e3c9248a5.jpg","text":"TemporaryFile(/tmp/multipartBody6807616455434820527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_43_1863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3df04a8d392dcbcaf23f88bfa88a684f.jpg","text":"TemporaryFile(/tmp/multipartBody7769840496373114280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_44_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f43606415fe6378a6f523fc2635e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8086321326218290662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_41_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09a907e7382e0b5fb7164a4f2b0e3aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8635961374763192310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_49_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f43a53c7af6894fd0788d9fc5acf31f.jpg","text":"TemporaryFile(/tmp/multipartBody756430259190539272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_46_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8bdff69c87529eebdda81d69ba8a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4293404455787141383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029523583,"filename":"image_30102025_06_11_48_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695277","file1":"1391695274","file0":"1391695271","file4":"1391695282","file5":"1391695285","file3":"1391695279"},"map_files_photo_id_array":[{"photo_id":"1391695285","filename":"file5"},{"photo_id":"1391695277","filename":"file2"},{"photo_id":"1391695282","filename":"file4"},{"photo_id":"1391695274","filename":"file1"},{"photo_id":"1391695271","filename":"file0"},{"photo_id":"1391695279","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695274":["hashtag1","hashtag2"]},{"1391695277":["hashtag1","hashtag2"]},{"1391695271":["hashtag1","hashtag2"]},{"1391695285":["hashtag1","hashtag2"]},{"1391695279":["hashtag1","hashtag2"]},{"1391695282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695274, 1391695277, 1391695271, 1391695285, 1391695279, 1391695282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.742706060409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:38:22.486698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_51_1750.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_52_1620.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_54_1731.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_56_1770.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_57_1576.jpg', '/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_59_1512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_51_1750.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_52_1620.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_54_1731.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_56_1770.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_57_1576.jpg
/home/pi/Desktop/images/30102025/06/11/image_30102025_06_11_59_1512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695314","1391695305","1391695310","1391695297","1391695301","1391695293"],"photo_ids_order":["1391695293","1391695297","1391695301","1391695305","1391695310","1391695314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be392ec66170bcfc1475f52322f1f4dc.jpg","text":"TemporaryFile(/tmp/multipartBody6850570418243726420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_59_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e6e3c103b0753f9ca9494e7c80e50a31.jpg","text":"TemporaryFile(/tmp/multipartBody8150587759723831076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_56_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9ee43a168994e21733b0259669e6a10.jpg","text":"TemporaryFile(/tmp/multipartBody6168853764172600412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_57_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c8bd4779588abae9bcf31b027a2fe740.jpg","text":"TemporaryFile(/tmp/multipartBody1135524843372458695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_52_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b315167e567d1c87533fdd6e006f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6985249064485972241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_54_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11c8d95d015f2b485b4462476f29f768.jpg","text":"TemporaryFile(/tmp/multipartBody3030013343716570822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029565265,"filename":"image_30102025_06_11_51_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695301","file1":"1391695297","file0":"1391695293","file4":"1391695310","file5":"1391695314","file3":"1391695305"},"map_files_photo_id_array":[{"photo_id":"1391695314","filename":"file5"},{"photo_id":"1391695301","filename":"file2"},{"photo_id":"1391695310","filename":"file4"},{"photo_id":"1391695297","filename":"file1"},{"photo_id":"1391695293","filename":"file0"},{"photo_id":"1391695305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695314":["hashtag1","hashtag2"]},{"1391695305":["hashtag1","hashtag2"]},{"1391695310":["hashtag1","hashtag2"]},{"1391695297":["hashtag1","hashtag2"]},{"1391695301":["hashtag1","hashtag2"]},{"1391695293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695314, 1391695305, 1391695310, 1391695297, 1391695301, 1391695293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.594215393066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:39:03.685703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_01_1634.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_02_1545.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_04_1626.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_07_2934.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_10_2798.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_12_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_01_1634.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_02_1545.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_04_1626.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_07_2934.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_10_2798.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_12_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695322","1391695331","1391695325","1391695319","1391695334","1391695328"],"photo_ids_order":["1391695319","1391695322","1391695325","1391695328","1391695331","1391695334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e87b77634274a8ea2f0d539f1e55b51.jpg","text":"TemporaryFile(/tmp/multipartBody4516628202226356559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_02_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f39d762540a1ea9204716e1b77d9944c.jpg","text":"TemporaryFile(/tmp/multipartBody7034791392882113308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_10_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de9c00464f75bad8a7ed7c7cf8236809.jpg","text":"TemporaryFile(/tmp/multipartBody6180399775425358222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_04_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a6da2aa4df9eb40509b376d6a7c8ec6.jpg","text":"TemporaryFile(/tmp/multipartBody9166476676613639222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_01_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a31f50fadef1a21b76efdf6743437f5.jpg","text":"TemporaryFile(/tmp/multipartBody9004224394775104260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_12_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ac83febed717a3b67bbead927bb60296.jpg","text":"TemporaryFile(/tmp/multipartBody7443490499192210219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029606129,"filename":"image_30102025_06_12_07_2934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695325","file1":"1391695322","file0":"1391695319","file4":"1391695331","file5":"1391695334","file3":"1391695328"},"map_files_photo_id_array":[{"photo_id":"1391695334","filename":"file5"},{"photo_id":"1391695325","filename":"file2"},{"photo_id":"1391695331","filename":"file4"},{"photo_id":"1391695322","filename":"file1"},{"photo_id":"1391695319","filename":"file0"},{"photo_id":"1391695328","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695322":["hashtag1","hashtag2"]},{"1391695331":["hashtag1","hashtag2"]},{"1391695325":["hashtag1","hashtag2"]},{"1391695319":["hashtag1","hashtag2"]},{"1391695334":["hashtag1","hashtag2"]},{"1391695328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695322, 1391695331, 1391695325, 1391695319, 1391695334, 1391695328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79870891571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:39:42.662019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_15_2669.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_19_3676.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_21_2767.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_24_2696.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_27_2861.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_31_3881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_15_2669.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_19_3676.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_21_2767.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_24_2696.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_27_2861.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_31_3881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695353","1391695355","1391695340","1391695343","1391695351","1391695348"],"photo_ids_order":["1391695340","1391695343","1391695348","1391695351","1391695353","1391695355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5712a888ae0e289eac51918cbb9c8cce.jpg","text":"TemporaryFile(/tmp/multipartBody3324620798796865551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_27_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3eb2b52d95f006db2de18eaa18b01491.jpg","text":"TemporaryFile(/tmp/multipartBody8210509549514978410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_31_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/217ebff680de6116ed6a6c69dc9d0b75.jpg","text":"TemporaryFile(/tmp/multipartBody2415945155087640441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_15_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/64f4dde52ca2db7344dec538909229d5.jpg","text":"TemporaryFile(/tmp/multipartBody8542238844817611584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_19_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/60532e3aa2673abbcb5a052b9bf1777e.jpg","text":"TemporaryFile(/tmp/multipartBody1128680239962739643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_24_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8ef2cd191a6377f36dc16a0d1baae8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1334803966077173977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029643943,"filename":"image_30102025_06_12_21_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695348","file1":"1391695343","file0":"1391695340","file4":"1391695353","file5":"1391695355","file3":"1391695351"},"map_files_photo_id_array":[{"photo_id":"1391695355","filename":"file5"},{"photo_id":"1391695348","filename":"file2"},{"photo_id":"1391695353","filename":"file4"},{"photo_id":"1391695343","filename":"file1"},{"photo_id":"1391695340","filename":"file0"},{"photo_id":"1391695351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695353":["hashtag1","hashtag2"]},{"1391695355":["hashtag1","hashtag2"]},{"1391695340":["hashtag1","hashtag2"]},{"1391695343":["hashtag1","hashtag2"]},{"1391695351":["hashtag1","hashtag2"]},{"1391695348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695353, 1391695355, 1391695340, 1391695343, 1391695351, 1391695348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.156219244003296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:40:21.757338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_34_2816.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_36_2586.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_39_2754.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_43_3665.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_45_2741.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_48_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_34_2816.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_36_2586.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_39_2754.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_43_3665.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_45_2741.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_48_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695362","1391695365","1391695368","1391695358","1391695372","1391695360"],"photo_ids_order":["1391695358","1391695360","1391695362","1391695365","1391695368","1391695372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a1b6a1bb9a131cc8fb8ce05577c9d061.jpg","text":"TemporaryFile(/tmp/multipartBody2958336387308979086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_39_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22c9545dd556c5cd40aab5763d3ae596.jpg","text":"TemporaryFile(/tmp/multipartBody6606170995715624540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_43_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ff156e4d82e3651b2f8f1fff9575f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2884724667585446831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_45_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c259076f7c8a18d640a967c01308d18.jpg","text":"TemporaryFile(/tmp/multipartBody8429723217626440403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_34_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/878b0c448be13d563e8c261048224a98.jpg","text":"TemporaryFile(/tmp/multipartBody5663399452469815431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_48_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df683f37e7dba1be82767f4afb109829.jpg","text":"TemporaryFile(/tmp/multipartBody4606654154115154796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029684552,"filename":"image_30102025_06_12_36_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695362","file1":"1391695360","file0":"1391695358","file4":"1391695368","file5":"1391695372","file3":"1391695365"},"map_files_photo_id_array":[{"photo_id":"1391695372","filename":"file5"},{"photo_id":"1391695362","filename":"file2"},{"photo_id":"1391695368","filename":"file4"},{"photo_id":"1391695360","filename":"file1"},{"photo_id":"1391695358","filename":"file0"},{"photo_id":"1391695365","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695362":["hashtag1","hashtag2"]},{"1391695365":["hashtag1","hashtag2"]},{"1391695368":["hashtag1","hashtag2"]},{"1391695358":["hashtag1","hashtag2"]},{"1391695372":["hashtag1","hashtag2"]},{"1391695360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695362, 1391695365, 1391695368, 1391695358, 1391695372, 1391695360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.761778593063354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:41:02.706038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_51_2746.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_54_3647.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_57_2541.jpg', '/home/pi/Desktop/images/30102025/06/12/image_30102025_06_13_01_3653.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_03_2672.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_06_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_51_2746.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_54_3647.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_12_57_2541.jpg
/home/pi/Desktop/images/30102025/06/12/image_30102025_06_13_01_3653.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_03_2672.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_06_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695410","1391695428","1391695404","1391695394","1391695390","1391695387"],"photo_ids_order":["1391695387","1391695390","1391695394","1391695404","1391695410","1391695428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4032ea9dc940ab9c2fc33cb65b6ad8e9.jpg","text":"TemporaryFile(/tmp/multipartBody7887230527660911511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_13_03_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92a67811275b95afa6808d290089d313.jpg","text":"TemporaryFile(/tmp/multipartBody8125426016909847739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_13_06_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b2cbd640805995c3d20626c9d165657.jpg","text":"TemporaryFile(/tmp/multipartBody5103706560055473234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_13_01_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/227ceb2212c473e64dbdb3e7c1b1fd12.jpg","text":"TemporaryFile(/tmp/multipartBody683465962288765572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_12_57_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39e351d1d286418e5dbe1bdd368208e7.jpg","text":"TemporaryFile(/tmp/multipartBody582690043359024192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_12_54_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0210408b82b6a9b82e4296b44b7028b3.jpg","text":"TemporaryFile(/tmp/multipartBody2642721292765959270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029725052,"filename":"image_30102025_06_12_51_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695394","file1":"1391695390","file0":"1391695387","file4":"1391695410","file5":"1391695428","file3":"1391695404"},"map_files_photo_id_array":[{"photo_id":"1391695428","filename":"file5"},{"photo_id":"1391695394","filename":"file2"},{"photo_id":"1391695410","filename":"file4"},{"photo_id":"1391695390","filename":"file1"},{"photo_id":"1391695387","filename":"file0"},{"photo_id":"1391695404","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695410":["hashtag1","hashtag2"]},{"1391695428":["hashtag1","hashtag2"]},{"1391695404":["hashtag1","hashtag2"]},{"1391695394":["hashtag1","hashtag2"]},{"1391695390":["hashtag1","hashtag2"]},{"1391695387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695410, 1391695428, 1391695404, 1391695394, 1391695390, 1391695387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.479450941085815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:41:42.014241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_09_2830.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_12_3509.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_15_2719.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_18_2894.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_21_3598.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_24_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_09_2830.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_12_3509.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_15_2719.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_18_2894.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_21_3598.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_24_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695451","1391695439","1391695450","1391695453","1391695447","1391695444"],"photo_ids_order":["1391695439","1391695444","1391695447","1391695450","1391695451","1391695453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/812243cd1748311d7b0d95cc8fe99186.jpg","text":"TemporaryFile(/tmp/multipartBody2502513146354843473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_21_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e3f46f71d6944bfeabd47d3c5bda00c9.jpg","text":"TemporaryFile(/tmp/multipartBody5260085664931293841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_09_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f498ce0f949071bf7da16a0688a0160d.jpg","text":"TemporaryFile(/tmp/multipartBody7084341898514456444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_18_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4436fd80ebace00a7c3e1bab63223054.jpg","text":"TemporaryFile(/tmp/multipartBody8800923850045530614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_24_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6bb639950fc258a7f742aa1d445a40e.jpg","text":"TemporaryFile(/tmp/multipartBody1260145051454259082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_15_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c12b567aee0bca5f6fa5128268e42bee.jpg","text":"TemporaryFile(/tmp/multipartBody8444661308349009642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029763300,"filename":"image_30102025_06_13_12_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695447","file1":"1391695444","file0":"1391695439","file4":"1391695451","file5":"1391695453","file3":"1391695450"},"map_files_photo_id_array":[{"photo_id":"1391695453","filename":"file5"},{"photo_id":"1391695447","filename":"file2"},{"photo_id":"1391695451","filename":"file4"},{"photo_id":"1391695444","filename":"file1"},{"photo_id":"1391695439","filename":"file0"},{"photo_id":"1391695450","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695451":["hashtag1","hashtag2"]},{"1391695439":["hashtag1","hashtag2"]},{"1391695450":["hashtag1","hashtag2"]},{"1391695453":["hashtag1","hashtag2"]},{"1391695447":["hashtag1","hashtag2"]},{"1391695444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695451, 1391695439, 1391695450, 1391695453, 1391695447, 1391695444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86903786659241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:42:22.142920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_27_2697.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_30_3637.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_33_2787.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_39_3682.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_42_2636.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_45_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_27_2697.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_30_3637.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_33_2787.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_39_3682.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_42_2636.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_45_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695479","1391695470","1391695466","1391695460","1391695463","1391695474"],"photo_ids_order":["1391695460","1391695463","1391695466","1391695470","1391695474","1391695479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/533cfbe3c5419299d52aa02c19b2858e.jpg","text":"TemporaryFile(/tmp/multipartBody8429118598210599825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_45_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89a41cfb3039bfe6e17a43de0db1f50d.jpg","text":"TemporaryFile(/tmp/multipartBody4760241818734725468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_39_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d306a49cba6bd85dc7cba61e29bbad6b.jpg","text":"TemporaryFile(/tmp/multipartBody7868226911212857958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_33_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1141fc4bc3c1d8889d87a67f7df78a6.jpg","text":"TemporaryFile(/tmp/multipartBody4002309897604055803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_27_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/584f80ebbe9ff1e9520639a93978553a.jpg","text":"TemporaryFile(/tmp/multipartBody1546266771166133570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_30_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4dff04c0c6a50e937070eba4402e9679.jpg","text":"TemporaryFile(/tmp/multipartBody8393902653572835710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029804933,"filename":"image_30102025_06_13_42_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695466","file1":"1391695463","file0":"1391695460","file4":"1391695474","file5":"1391695479","file3":"1391695470"},"map_files_photo_id_array":[{"photo_id":"1391695479","filename":"file5"},{"photo_id":"1391695466","filename":"file2"},{"photo_id":"1391695474","filename":"file4"},{"photo_id":"1391695463","filename":"file1"},{"photo_id":"1391695460","filename":"file0"},{"photo_id":"1391695470","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695479":["hashtag1","hashtag2"]},{"1391695470":["hashtag1","hashtag2"]},{"1391695466":["hashtag1","hashtag2"]},{"1391695460":["hashtag1","hashtag2"]},{"1391695463":["hashtag1","hashtag2"]},{"1391695474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695479, 1391695470, 1391695466, 1391695460, 1391695463, 1391695474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86045002937317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:43:03.026339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_48_3664.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_51_2684.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_54_2663.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_57_3789.jpg', '/home/pi/Desktop/images/30102025/06/13/image_30102025_06_14_00_2597.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_03_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_48_3664.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_51_2684.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_54_2663.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_13_57_3789.jpg
/home/pi/Desktop/images/30102025/06/13/image_30102025_06_14_00_2597.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_03_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695497","1391695500","1391695493","1391695495","1391695489","1391695491"],"photo_ids_order":["1391695489","1391695491","1391695493","1391695495","1391695497","1391695500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ebd1d5321b26f779e03b557263a134ba.jpg","text":"TemporaryFile(/tmp/multipartBody6556717106050669124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_14_00_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/50054f96ff0faed044e0626f8b9a443b.jpg","text":"TemporaryFile(/tmp/multipartBody7159137751705942516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_14_03_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3976544eddafd7d4f82b11a4ad85a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8071132008920480730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_13_54_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ecf5ce923f757ec9fafc0d231c12cbe.jpg","text":"TemporaryFile(/tmp/multipartBody9026977066823679349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_13_57_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc4bde44ef7c48329b957e0c5e2f7087.jpg","text":"TemporaryFile(/tmp/multipartBody637110021045334103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_13_48_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73d3ebc75487159ddbb9fa3cabd30ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8225570330885540626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029845387,"filename":"image_30102025_06_13_51_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695493","file1":"1391695491","file0":"1391695489","file4":"1391695497","file5":"1391695500","file3":"1391695495"},"map_files_photo_id_array":[{"photo_id":"1391695500","filename":"file5"},{"photo_id":"1391695493","filename":"file2"},{"photo_id":"1391695497","filename":"file4"},{"photo_id":"1391695491","filename":"file1"},{"photo_id":"1391695489","filename":"file0"},{"photo_id":"1391695495","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695497":["hashtag1","hashtag2"]},{"1391695500":["hashtag1","hashtag2"]},{"1391695493":["hashtag1","hashtag2"]},{"1391695495":["hashtag1","hashtag2"]},{"1391695489":["hashtag1","hashtag2"]},{"1391695491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695497, 1391695500, 1391695493, 1391695495, 1391695489, 1391695491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87517762184143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:43:42.379322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_06_2785.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_09_3584.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_12_2730.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_15_2675.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_18_3716.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_21_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_06_2785.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_09_3584.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_12_2730.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_15_2675.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_18_3716.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_21_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695523","1391695508","1391695513","1391695516","1391695519","1391695510"],"photo_ids_order":["1391695508","1391695510","1391695513","1391695516","1391695519","1391695523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27b558e67e3344578009f180750023e8.jpg","text":"TemporaryFile(/tmp/multipartBody3551331432664797152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_21_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68fe265a33e1daccfd07a529eb3a78b3.jpg","text":"TemporaryFile(/tmp/multipartBody7102850298747407291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_06_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad0c67bbb8d23761f5e2aea41798787a.jpg","text":"TemporaryFile(/tmp/multipartBody4359967864625964781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_12_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e6f0a8e7f1c06474aba197c4dd552cb.jpg","text":"TemporaryFile(/tmp/multipartBody2282244362972857029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_15_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/079eefa1548178ff723a89036c09686f.jpg","text":"TemporaryFile(/tmp/multipartBody4890747871185687097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_18_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b16f46b1eecff17415eda6caa6c4d04.jpg","text":"TemporaryFile(/tmp/multipartBody2434821442110770596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029883679,"filename":"image_30102025_06_14_09_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695513","file1":"1391695510","file0":"1391695508","file4":"1391695519","file5":"1391695523","file3":"1391695516"},"map_files_photo_id_array":[{"photo_id":"1391695523","filename":"file5"},{"photo_id":"1391695513","filename":"file2"},{"photo_id":"1391695519","filename":"file4"},{"photo_id":"1391695510","filename":"file1"},{"photo_id":"1391695508","filename":"file0"},{"photo_id":"1391695516","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695523":["hashtag1","hashtag2"]},{"1391695508":["hashtag1","hashtag2"]},{"1391695513":["hashtag1","hashtag2"]},{"1391695516":["hashtag1","hashtag2"]},{"1391695519":["hashtag1","hashtag2"]},{"1391695510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695523, 1391695508, 1391695513, 1391695516, 1391695519, 1391695510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21082162857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:44:22.577926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_24_2740.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_27_3661.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_30_2765.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_33_2900.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_36_2896.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_39_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_24_2740.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_27_3661.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_30_2765.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_33_2900.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_36_2896.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_39_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695545","1391695535","1391695550","1391695531","1391695540","1391695534"],"photo_ids_order":["1391695531","1391695534","1391695535","1391695540","1391695545","1391695550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/366b6386ac961766d76ac1e2a20f5092.jpg","text":"TemporaryFile(/tmp/multipartBody2725312534778920370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_36_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1333cbec7ef8fe2148bd6b7d5cbe3574.jpg","text":"TemporaryFile(/tmp/multipartBody7657748690024934112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_30_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/728192d154e97c7e2cb0c6769f632cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1105573828294870649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_39_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0f06620a3970ac0622f4073e0d55c18.jpg","text":"TemporaryFile(/tmp/multipartBody3994932661500784328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_24_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2a9d5b6118af8816b925bc52d93f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody5341329565675937763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_33_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4557e6697af2474c389739c90810952.jpg","text":"TemporaryFile(/tmp/multipartBody2707952675331898749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029925366,"filename":"image_30102025_06_14_27_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695535","file1":"1391695534","file0":"1391695531","file4":"1391695545","file5":"1391695550","file3":"1391695540"},"map_files_photo_id_array":[{"photo_id":"1391695550","filename":"file5"},{"photo_id":"1391695535","filename":"file2"},{"photo_id":"1391695545","filename":"file4"},{"photo_id":"1391695534","filename":"file1"},{"photo_id":"1391695531","filename":"file0"},{"photo_id":"1391695540","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695545":["hashtag1","hashtag2"]},{"1391695535":["hashtag1","hashtag2"]},{"1391695550":["hashtag1","hashtag2"]},{"1391695531":["hashtag1","hashtag2"]},{"1391695540":["hashtag1","hashtag2"]},{"1391695534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695545, 1391695535, 1391695550, 1391695531, 1391695540, 1391695534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58577013015747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:45:03.399367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_42_3640.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_45_2570.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_48_2876.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_51_3666.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_54_2649.jpg', '/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_57_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_42_3640.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_45_2570.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_48_2876.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_51_3666.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_54_2649.jpg
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_14_57_2864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695569","1391695566","1391695580","1391695574","1391695564","1391695567"],"photo_ids_order":["1391695564","1391695566","1391695567","1391695569","1391695574","1391695580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5f6d3e2e8d008bd3b4ff359f63f6476.jpg","text":"TemporaryFile(/tmp/multipartBody7871530131140253162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_51_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0cf5e05db0e4036ef11a6207a1148f1.jpg","text":"TemporaryFile(/tmp/multipartBody621219113165176944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_45_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dea4e92fffbd607bad44f78492648ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2074221850340224575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_57_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1799be6fa76f9ad5c9c5b5c4eec71bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5162613576293623165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_54_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be189db6e08256b031755ddd35603440.jpg","text":"TemporaryFile(/tmp/multipartBody7134527118107851505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_42_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0acc1675ef9b6f6cb479fdbbc6a15b84.jpg","text":"TemporaryFile(/tmp/multipartBody8911652835231014082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762029965755,"filename":"image_30102025_06_14_48_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695567","file1":"1391695566","file0":"1391695564","file4":"1391695574","file5":"1391695580","file3":"1391695569"},"map_files_photo_id_array":[{"photo_id":"1391695580","filename":"file5"},{"photo_id":"1391695567","filename":"file2"},{"photo_id":"1391695574","filename":"file4"},{"photo_id":"1391695566","filename":"file1"},{"photo_id":"1391695564","filename":"file0"},{"photo_id":"1391695569","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695569":["hashtag1","hashtag2"]},{"1391695566":["hashtag1","hashtag2"]},{"1391695580":["hashtag1","hashtag2"]},{"1391695574":["hashtag1","hashtag2"]},{"1391695564":["hashtag1","hashtag2"]},{"1391695567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695569, 1391695566, 1391695580, 1391695574, 1391695564, 1391695567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83172082901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:45:42.864333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/14/image_30102025_06_15_00_2585.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_03_3597.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_06_2616.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_08_2681.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_12_3725.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_15_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/14/image_30102025_06_15_00_2585.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_03_3597.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_06_2616.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_08_2681.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_12_3725.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_15_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695595","1391695601","1391695604","1391695606","1391695599","1391695603"],"photo_ids_order":["1391695595","1391695599","1391695601","1391695603","1391695604","1391695606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36acf8a47764114b6f054646113d3705.jpg","text":"TemporaryFile(/tmp/multipartBody8596296629101040621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_00_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd57bc498adb4a55e48ece5e78f4b515.jpg","text":"TemporaryFile(/tmp/multipartBody5458142495520220753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_06_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e8ec022d49a715d7b087a75c83b3bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5037164909937935767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_12_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce3c6b8cf98d3f50810742fe8ef906c3.jpg","text":"TemporaryFile(/tmp/multipartBody1462862336647734080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae2a49c8402a890f501af65901cdbeca.jpg","text":"TemporaryFile(/tmp/multipartBody2219443462560255345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_03_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f0f45d6ac428a1d5d5ddd0bbfec1e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5625567910033249724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030004148,"filename":"image_30102025_06_15_08_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695601","file1":"1391695599","file0":"1391695595","file4":"1391695604","file5":"1391695606","file3":"1391695603"},"map_files_photo_id_array":[{"photo_id":"1391695606","filename":"file5"},{"photo_id":"1391695601","filename":"file2"},{"photo_id":"1391695604","filename":"file4"},{"photo_id":"1391695599","filename":"file1"},{"photo_id":"1391695595","filename":"file0"},{"photo_id":"1391695603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695595":["hashtag1","hashtag2"]},{"1391695601":["hashtag1","hashtag2"]},{"1391695604":["hashtag1","hashtag2"]},{"1391695606":["hashtag1","hashtag2"]},{"1391695599":["hashtag1","hashtag2"]},{"1391695603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695595, 1391695601, 1391695604, 1391695606, 1391695599, 1391695603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64982557296753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:46:21.993480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_18_2686.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_21_3572.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_24_2593.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_27_3660.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_30_2776.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_33_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_18_2686.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_21_3572.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_24_2593.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_27_3660.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_30_2776.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_33_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695632","1391695622","1391695624","1391695627","1391695636","1391695618"],"photo_ids_order":["1391695618","1391695622","1391695624","1391695627","1391695632","1391695636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cde661a147ee33f97b3f47e70b8b0ed.jpg","text":"TemporaryFile(/tmp/multipartBody6342072566645488268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_30_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24e0b412269c5fb0461a769e5131383e.jpg","text":"TemporaryFile(/tmp/multipartBody2259348180878992514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_21_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9769f83fbba5ca9658eaec36394f64bc.jpg","text":"TemporaryFile(/tmp/multipartBody1262228533428095788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_24_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bfe6b3e82719146f4207b3b5cadb5f7.jpg","text":"TemporaryFile(/tmp/multipartBody1499967202920271236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_27_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0c331250d3737e1e60bad4db73bc5d4.jpg","text":"TemporaryFile(/tmp/multipartBody8635217250390212603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_33_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1240474ce6d989c29dfcac2381690920.jpg","text":"TemporaryFile(/tmp/multipartBody1786719409827789546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030044801,"filename":"image_30102025_06_15_18_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695624","file1":"1391695622","file0":"1391695618","file4":"1391695632","file5":"1391695636","file3":"1391695627"},"map_files_photo_id_array":[{"photo_id":"1391695636","filename":"file5"},{"photo_id":"1391695624","filename":"file2"},{"photo_id":"1391695632","filename":"file4"},{"photo_id":"1391695622","filename":"file1"},{"photo_id":"1391695618","filename":"file0"},{"photo_id":"1391695627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695632":["hashtag1","hashtag2"]},{"1391695622":["hashtag1","hashtag2"]},{"1391695624":["hashtag1","hashtag2"]},{"1391695627":["hashtag1","hashtag2"]},{"1391695636":["hashtag1","hashtag2"]},{"1391695618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695632, 1391695622, 1391695624, 1391695627, 1391695636, 1391695618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7597382068634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:47:02.746609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_35_2658.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_39_3803.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_42_2591.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_44_2583.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_48_3605.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_51_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_35_2658.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_39_3803.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_42_2591.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_44_2583.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_48_3605.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_51_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695647","1391695652","1391695649","1391695657","1391695651","1391695654"],"photo_ids_order":["1391695647","1391695649","1391695651","1391695652","1391695654","1391695657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fcf98cf2cc3016202825ed5d0a7bd260.jpg","text":"TemporaryFile(/tmp/multipartBody5161215034643405617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_35_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/deaa4a118d28b48ea63e3a3a30ef5588.jpg","text":"TemporaryFile(/tmp/multipartBody8310049908491471797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_44_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0024dd11fd7e513f36646db955b1f351.jpg","text":"TemporaryFile(/tmp/multipartBody1366869551608660478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_39_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/836b32c671c482923857edd9824db489.jpg","text":"TemporaryFile(/tmp/multipartBody8862599670953392446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_51_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/305815c4850c10a4d3f7ed599ff46673.jpg","text":"TemporaryFile(/tmp/multipartBody3619912935409432243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_42_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2490f2790f3745676a325fe18c0493a6.jpg","text":"TemporaryFile(/tmp/multipartBody8368933789632840303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030085098,"filename":"image_30102025_06_15_48_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695651","file1":"1391695649","file0":"1391695647","file4":"1391695654","file5":"1391695657","file3":"1391695652"},"map_files_photo_id_array":[{"photo_id":"1391695657","filename":"file5"},{"photo_id":"1391695651","filename":"file2"},{"photo_id":"1391695654","filename":"file4"},{"photo_id":"1391695649","filename":"file1"},{"photo_id":"1391695647","filename":"file0"},{"photo_id":"1391695652","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695647":["hashtag1","hashtag2"]},{"1391695652":["hashtag1","hashtag2"]},{"1391695649":["hashtag1","hashtag2"]},{"1391695657":["hashtag1","hashtag2"]},{"1391695651":["hashtag1","hashtag2"]},{"1391695654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695647, 1391695652, 1391695649, 1391695657, 1391695651, 1391695654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.704009771347046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:47:42.195729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_53_2793.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_57_3651.jpg', '/home/pi/Desktop/images/30102025/06/15/image_30102025_06_16_00_2609.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_03_3623.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_06_2597.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_08_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_53_2793.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_15_57_3651.jpg
/home/pi/Desktop/images/30102025/06/15/image_30102025_06_16_00_2609.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_03_3623.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_06_2597.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_08_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695683","1391695685","1391695681","1391695675","1391695678","1391695672"],"photo_ids_order":["1391695672","1391695675","1391695678","1391695681","1391695683","1391695685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fba2d2172bfa645d5dcc8c9540e03f15.jpg","text":"TemporaryFile(/tmp/multipartBody7601397903644616399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_16_06_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ae23aa26028f8a985632674677061a8.jpg","text":"TemporaryFile(/tmp/multipartBody3377337003736160020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_16_08_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb5d382228f0e0e48736038e78f3649a.jpg","text":"TemporaryFile(/tmp/multipartBody2397268018223839903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_16_03_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dab3d4d3da2b536a1e1104a7b7716e42.jpg","text":"TemporaryFile(/tmp/multipartBody7198696542115769072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_15_57_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fefd3182e883196052e2fbcbfc62edb7.jpg","text":"TemporaryFile(/tmp/multipartBody825348095083811673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_16_00_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b3c593d36fe8c8d553cf28f3cb4594e.jpg","text":"TemporaryFile(/tmp/multipartBody8841076690421456602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030125162,"filename":"image_30102025_06_15_53_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695678","file1":"1391695675","file0":"1391695672","file4":"1391695683","file5":"1391695685","file3":"1391695681"},"map_files_photo_id_array":[{"photo_id":"1391695685","filename":"file5"},{"photo_id":"1391695678","filename":"file2"},{"photo_id":"1391695683","filename":"file4"},{"photo_id":"1391695675","filename":"file1"},{"photo_id":"1391695672","filename":"file0"},{"photo_id":"1391695681","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695683":["hashtag1","hashtag2"]},{"1391695685":["hashtag1","hashtag2"]},{"1391695681":["hashtag1","hashtag2"]},{"1391695675":["hashtag1","hashtag2"]},{"1391695678":["hashtag1","hashtag2"]},{"1391695672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695683, 1391695685, 1391695681, 1391695675, 1391695678, 1391695672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74040412902832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:48:22.341433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_12_3806.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_15_2628.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_18_2685.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_21_3631.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_24_2696.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_27_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_12_3806.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_15_2628.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_18_2685.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_21_3631.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_24_2696.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_27_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695695","1391695703","1391695706","1391695711","1391695698","1391695692"],"photo_ids_order":["1391695692","1391695695","1391695698","1391695703","1391695706","1391695711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63c92f14e2567ffbc299e7269d2d1941.jpg","text":"TemporaryFile(/tmp/multipartBody1957129373994677247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_15_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/223aca681f4efe1aca32786dda381b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3256685304214360714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_21_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8e95ea7494dbdb06f96cc5f155d3c73.jpg","text":"TemporaryFile(/tmp/multipartBody869329417424598199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_24_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf53dabb8ed3c232d2e28babedf5edce.jpg","text":"TemporaryFile(/tmp/multipartBody7540010897905242385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_27_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c67aa9dcea5963ee1047c4baa9ed089f.jpg","text":"TemporaryFile(/tmp/multipartBody5487405592245233212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_18_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/88f0afc52ef87572f8c6b7aea0508d00.jpg","text":"TemporaryFile(/tmp/multipartBody2775495285683397036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030165160,"filename":"image_30102025_06_16_12_3806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695698","file1":"1391695695","file0":"1391695692","file4":"1391695706","file5":"1391695711","file3":"1391695703"},"map_files_photo_id_array":[{"photo_id":"1391695711","filename":"file5"},{"photo_id":"1391695698","filename":"file2"},{"photo_id":"1391695706","filename":"file4"},{"photo_id":"1391695695","filename":"file1"},{"photo_id":"1391695692","filename":"file0"},{"photo_id":"1391695703","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695695":["hashtag1","hashtag2"]},{"1391695703":["hashtag1","hashtag2"]},{"1391695706":["hashtag1","hashtag2"]},{"1391695711":["hashtag1","hashtag2"]},{"1391695698":["hashtag1","hashtag2"]},{"1391695692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695695, 1391695703, 1391695706, 1391695711, 1391695698, 1391695692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36960959434509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:49:03.736228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_30_3686.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_33_2825.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_36_2675.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_38_2641.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_42_3701.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_45_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_30_3686.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_33_2825.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_36_2675.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_38_2641.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_42_3701.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_45_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695734","1391695716","1391695731","1391695719","1391695723","1391695726"],"photo_ids_order":["1391695716","1391695719","1391695723","1391695726","1391695731","1391695734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a654e1ad02470226d07c1dd824b46eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1274610495864544267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_45_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86c862ca6a354b5027f48fb77567a49b.jpg","text":"TemporaryFile(/tmp/multipartBody6434342322382000811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_30_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04eb8a2204218e18ac4a81c360fc7cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7410784036952783853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_42_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aecb8d03137ebdfe449819e76b4db084.jpg","text":"TemporaryFile(/tmp/multipartBody3066855762925053819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_33_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48692dc4f36261dc66a55ea670ece19e.jpg","text":"TemporaryFile(/tmp/multipartBody8612255883988711156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_36_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67d92602b2fd4618413132948e8c2137.jpg","text":"TemporaryFile(/tmp/multipartBody8031448536377216867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030206033,"filename":"image_30102025_06_16_38_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695723","file1":"1391695719","file0":"1391695716","file4":"1391695731","file5":"1391695734","file3":"1391695726"},"map_files_photo_id_array":[{"photo_id":"1391695734","filename":"file5"},{"photo_id":"1391695723","filename":"file2"},{"photo_id":"1391695731","filename":"file4"},{"photo_id":"1391695719","filename":"file1"},{"photo_id":"1391695716","filename":"file0"},{"photo_id":"1391695726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695734":["hashtag1","hashtag2"]},{"1391695716":["hashtag1","hashtag2"]},{"1391695731":["hashtag1","hashtag2"]},{"1391695719":["hashtag1","hashtag2"]},{"1391695723":["hashtag1","hashtag2"]},{"1391695726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695734, 1391695716, 1391695731, 1391695719, 1391695723, 1391695726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63395357131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:49:42.497602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_48_2753.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_51_3693.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_54_2619.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_57_2772.jpg', '/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_59_2779.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_03_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_48_2753.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_51_3693.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_54_2619.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_57_2772.jpg
/home/pi/Desktop/images/30102025/06/16/image_30102025_06_16_59_2779.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_03_3757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695752","1391695749","1391695743","1391695746","1391695757","1391695753"],"photo_ids_order":["1391695743","1391695746","1391695749","1391695752","1391695753","1391695757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/543506373e798025d31a768696a1d004.jpg","text":"TemporaryFile(/tmp/multipartBody4562626318873594847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_16_57_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bd072aa920b717c5876b98208f10ec02.jpg","text":"TemporaryFile(/tmp/multipartBody7361276016084391380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_16_54_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fcfe55206f0f64446746b10ead7ffec.jpg","text":"TemporaryFile(/tmp/multipartBody8573622136146842437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_16_48_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f2796eac33cf1e8220e698467410f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6705897879960966825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_16_51_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/790b4e77dbed8203d24cd1d32f9ba733.jpg","text":"TemporaryFile(/tmp/multipartBody8636783378829351125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_17_03_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdebe3467d99263641333b35941ffe4f.jpg","text":"TemporaryFile(/tmp/multipartBody9144208125499726949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030243785,"filename":"image_30102025_06_16_59_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695749","file1":"1391695746","file0":"1391695743","file4":"1391695753","file5":"1391695757","file3":"1391695752"},"map_files_photo_id_array":[{"photo_id":"1391695757","filename":"file5"},{"photo_id":"1391695749","filename":"file2"},{"photo_id":"1391695753","filename":"file4"},{"photo_id":"1391695746","filename":"file1"},{"photo_id":"1391695743","filename":"file0"},{"photo_id":"1391695752","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695752":["hashtag1","hashtag2"]},{"1391695749":["hashtag1","hashtag2"]},{"1391695743":["hashtag1","hashtag2"]},{"1391695746":["hashtag1","hashtag2"]},{"1391695757":["hashtag1","hashtag2"]},{"1391695753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695752, 1391695749, 1391695743, 1391695746, 1391695757, 1391695753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50237822532654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:50:22.622173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_06_2717.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_09_2723.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_12_3562.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_15_2677.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_18_2710.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_20_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_06_2717.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_09_2723.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_12_3562.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_15_2677.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_18_2710.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_20_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695764","1391695766","1391695774","1391695768","1391695771","1391695779"],"photo_ids_order":["1391695764","1391695766","1391695768","1391695771","1391695774","1391695779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d185885472b968a9063b8623f7d7ecf.jpg","text":"TemporaryFile(/tmp/multipartBody361785853949480756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_06_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31fa09cd6feb87120160665cb9e725ef.jpg","text":"TemporaryFile(/tmp/multipartBody6994114585417306632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_09_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a5078c19d69aecf701ff944d58d771b.jpg","text":"TemporaryFile(/tmp/multipartBody7696237974398965030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_18_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a40103eb0ea4312912d870885476992.jpg","text":"TemporaryFile(/tmp/multipartBody3527257097489560989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_12_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9360a6e94786e9377f8fd42a61b0006e.jpg","text":"TemporaryFile(/tmp/multipartBody7978456435791907518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_15_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c65cec76934cc922f3363f6773ceb0d.jpg","text":"TemporaryFile(/tmp/multipartBody8350016706408689693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030285424,"filename":"image_30102025_06_17_20_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695768","file1":"1391695766","file0":"1391695764","file4":"1391695774","file5":"1391695779","file3":"1391695771"},"map_files_photo_id_array":[{"photo_id":"1391695779","filename":"file5"},{"photo_id":"1391695768","filename":"file2"},{"photo_id":"1391695774","filename":"file4"},{"photo_id":"1391695766","filename":"file1"},{"photo_id":"1391695764","filename":"file0"},{"photo_id":"1391695771","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695764":["hashtag1","hashtag2"]},{"1391695766":["hashtag1","hashtag2"]},{"1391695774":["hashtag1","hashtag2"]},{"1391695768":["hashtag1","hashtag2"]},{"1391695771":["hashtag1","hashtag2"]},{"1391695779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695764, 1391695766, 1391695774, 1391695768, 1391695771, 1391695779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67899513244629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:51:02.626576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_24_3671.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_27_2572.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_30_3533.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_33_2662.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_36_2886.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_38_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_24_3671.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_27_2572.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_30_3533.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_33_2662.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_36_2886.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_38_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695793","1391695799","1391695787","1391695795","1391695797","1391695791"],"photo_ids_order":["1391695787","1391695791","1391695793","1391695795","1391695797","1391695799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/141debd9d7f0e509bc7dd099780fd8f1.jpg","text":"TemporaryFile(/tmp/multipartBody974480861941603510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_30_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0022c8535875365c4aa128ad31d6ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody9201030768191318777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_38_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d9ad4fa31a77e1e33e5b7928e745289.jpg","text":"TemporaryFile(/tmp/multipartBody2974496027190485045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_24_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e980062b51d184a4a4acfaed9a2e8246.jpg","text":"TemporaryFile(/tmp/multipartBody2570670551423036759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_33_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e36bbce11a3a48a98e03ab800960a47.jpg","text":"TemporaryFile(/tmp/multipartBody1723073907323737051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_36_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e27d2f05770d14039149e7b99547fb16.jpg","text":"TemporaryFile(/tmp/multipartBody6821342570839213449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030324956,"filename":"image_30102025_06_17_27_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695793","file1":"1391695791","file0":"1391695787","file4":"1391695797","file5":"1391695799","file3":"1391695795"},"map_files_photo_id_array":[{"photo_id":"1391695799","filename":"file5"},{"photo_id":"1391695793","filename":"file2"},{"photo_id":"1391695797","filename":"file4"},{"photo_id":"1391695791","filename":"file1"},{"photo_id":"1391695787","filename":"file0"},{"photo_id":"1391695795","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695793":["hashtag1","hashtag2"]},{"1391695799":["hashtag1","hashtag2"]},{"1391695787":["hashtag1","hashtag2"]},{"1391695795":["hashtag1","hashtag2"]},{"1391695797":["hashtag1","hashtag2"]},{"1391695791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695793, 1391695799, 1391695787, 1391695795, 1391695797, 1391695791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96961975097656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:51:42.061043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_42_3715.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_45_2700.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_47_2674.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_51_3607.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_54_2603.jpg', '/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_57_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_42_3715.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_45_2700.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_47_2674.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_51_3607.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_54_2603.jpg
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_17_57_3587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695812","1391695820","1391695808","1391695823","1391695822","1391695816"],"photo_ids_order":["1391695808","1391695812","1391695816","1391695820","1391695822","1391695823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7d5053bcd2105e90e376b30ee65e83f5.jpg","text":"TemporaryFile(/tmp/multipartBody7531672439818039995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b37d28e05bd8a36786a6b98cd8392c56.jpg","text":"TemporaryFile(/tmp/multipartBody3619204254927435163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_51_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1155ad27c6782f84ba733600d04f62e9.jpg","text":"TemporaryFile(/tmp/multipartBody3137665790590827534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_42_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2bf8a7723e9a82696a81bbe2638bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody8578170760463460449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_57_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7cb3e2b6a47eab7ac896c7ab86b3f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody9148725393196243752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_54_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d08853d9c5325f7bacee10ee8d29bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody8615675386535073159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030363350,"filename":"image_30102025_06_17_47_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695816","file1":"1391695812","file0":"1391695808","file4":"1391695822","file5":"1391695823","file3":"1391695820"},"map_files_photo_id_array":[{"photo_id":"1391695823","filename":"file5"},{"photo_id":"1391695816","filename":"file2"},{"photo_id":"1391695822","filename":"file4"},{"photo_id":"1391695812","filename":"file1"},{"photo_id":"1391695808","filename":"file0"},{"photo_id":"1391695820","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695812":["hashtag1","hashtag2"]},{"1391695820":["hashtag1","hashtag2"]},{"1391695808":["hashtag1","hashtag2"]},{"1391695823":["hashtag1","hashtag2"]},{"1391695822":["hashtag1","hashtag2"]},{"1391695816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695812, 1391695820, 1391695808, 1391695823, 1391695822, 1391695816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59169673919678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:52:22.179188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/17/image_30102025_06_18_00_2604.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_03_2814.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_05_2683.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_09_3680.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_12_2768.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_14_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/17/image_30102025_06_18_00_2604.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_03_2814.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_05_2683.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_09_3680.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_12_2768.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_14_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695839","1391695844","1391695826","1391695835","1391695829","1391695831"],"photo_ids_order":["1391695826","1391695829","1391695831","1391695835","1391695839","1391695844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dd24e9acb390fe9248f386fffd3056c4.jpg","text":"TemporaryFile(/tmp/multipartBody821123221977713994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_12_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1651655daadb35bf7f29661ca45ef221.jpg","text":"TemporaryFile(/tmp/multipartBody7232493441703188636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_14_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13795db05b09f785e211de371b6d4f4e.jpg","text":"TemporaryFile(/tmp/multipartBody740958155059328210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_00_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f14371cb69938a3bfd098508d82d369.jpg","text":"TemporaryFile(/tmp/multipartBody287488260403590212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_09_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a02bf7613ccf010794cba5192828fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7184184496512290598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_03_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be3e8f7b510e5e03ae3ac6374c73b833.jpg","text":"TemporaryFile(/tmp/multipartBody1142722696867579617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030404969,"filename":"image_30102025_06_18_05_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695831","file1":"1391695829","file0":"1391695826","file4":"1391695839","file5":"1391695844","file3":"1391695835"},"map_files_photo_id_array":[{"photo_id":"1391695844","filename":"file5"},{"photo_id":"1391695831","filename":"file2"},{"photo_id":"1391695839","filename":"file4"},{"photo_id":"1391695829","filename":"file1"},{"photo_id":"1391695826","filename":"file0"},{"photo_id":"1391695835","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695839":["hashtag1","hashtag2"]},{"1391695844":["hashtag1","hashtag2"]},{"1391695826":["hashtag1","hashtag2"]},{"1391695835":["hashtag1","hashtag2"]},{"1391695829":["hashtag1","hashtag2"]},{"1391695831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695839, 1391695844, 1391695826, 1391695835, 1391695829, 1391695831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44543433189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:53:03.041378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_17_2823.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_21_3698.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_24_2646.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_26_2622.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_30_3619.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_33_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_17_2823.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_21_3698.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_24_2646.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_26_2622.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_30_3619.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_33_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695866","1391695860","1391695862","1391695855","1391695870","1391695858"],"photo_ids_order":["1391695855","1391695858","1391695860","1391695862","1391695866","1391695870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/207546f29c570d625a44df3aab2ab159.jpg","text":"TemporaryFile(/tmp/multipartBody6368450866971002399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_30_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f825e751d474fd72f5f108018ce2fc26.jpg","text":"TemporaryFile(/tmp/multipartBody2483466768387954997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_24_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/053026fcd3e5372c8dd4a46243f63cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5306380639762819042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_26_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f59957f5f103f53d27404cd02fc3672b.jpg","text":"TemporaryFile(/tmp/multipartBody5583597217899652597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_17_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa217bbe1b681dd99832387ae6f03018.jpg","text":"TemporaryFile(/tmp/multipartBody2708499496996892061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_33_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3329b5b2263fadd2858609092777e14d.jpg","text":"TemporaryFile(/tmp/multipartBody2843286103861641785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030445426,"filename":"image_30102025_06_18_21_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695860","file1":"1391695858","file0":"1391695855","file4":"1391695866","file5":"1391695870","file3":"1391695862"},"map_files_photo_id_array":[{"photo_id":"1391695870","filename":"file5"},{"photo_id":"1391695860","filename":"file2"},{"photo_id":"1391695866","filename":"file4"},{"photo_id":"1391695858","filename":"file1"},{"photo_id":"1391695855","filename":"file0"},{"photo_id":"1391695862","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695866":["hashtag1","hashtag2"]},{"1391695860":["hashtag1","hashtag2"]},{"1391695862":["hashtag1","hashtag2"]},{"1391695855":["hashtag1","hashtag2"]},{"1391695870":["hashtag1","hashtag2"]},{"1391695858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695866, 1391695860, 1391695862, 1391695855, 1391695870, 1391695858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73919630050659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:53:42.402564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_35_2633.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_39_3692.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_42_2714.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_44_2675.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_48_3567.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_50_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_35_2633.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_39_3692.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_42_2714.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_44_2675.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_48_3567.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_50_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695893","1391695887","1391695883","1391695879","1391695896","1391695890"],"photo_ids_order":["1391695879","1391695883","1391695887","1391695890","1391695893","1391695896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a700768fcff97ca0b7867eb06a3f8704.jpg","text":"TemporaryFile(/tmp/multipartBody7133149762423317153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_48_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fee578e25cec109bfe74a9a109cd0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6681160604538887037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_42_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f3f92940452e648cdbcb7dbdf670f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2249611099328592538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_39_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdb0306eece455a862f5bbf73b6ba428.jpg","text":"TemporaryFile(/tmp/multipartBody3025628364242299235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_35_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa8d124e98b8f3407c4557fce13e12c4.jpg","text":"TemporaryFile(/tmp/multipartBody8237593087569057667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_50_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c19de328c85524247dc228b303ee9677.jpg","text":"TemporaryFile(/tmp/multipartBody8308174932833004242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030483678,"filename":"image_30102025_06_18_44_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695887","file1":"1391695883","file0":"1391695879","file4":"1391695893","file5":"1391695896","file3":"1391695890"},"map_files_photo_id_array":[{"photo_id":"1391695896","filename":"file5"},{"photo_id":"1391695887","filename":"file2"},{"photo_id":"1391695893","filename":"file4"},{"photo_id":"1391695883","filename":"file1"},{"photo_id":"1391695879","filename":"file0"},{"photo_id":"1391695890","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695893":["hashtag1","hashtag2"]},{"1391695887":["hashtag1","hashtag2"]},{"1391695883":["hashtag1","hashtag2"]},{"1391695879":["hashtag1","hashtag2"]},{"1391695896":["hashtag1","hashtag2"]},{"1391695890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695893, 1391695887, 1391695883, 1391695879, 1391695896, 1391695890)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.95834493637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:54:42.565858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_54_3574.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_57_2773.jpg', '/home/pi/Desktop/images/30102025/06/18/image_30102025_06_19_00_2908.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_02_2545.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_06_3637.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_08_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_54_3574.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_18_57_2773.jpg
/home/pi/Desktop/images/30102025/06/18/image_30102025_06_19_00_2908.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_02_2545.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_06_3637.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_08_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695929","1391695917","1391695925","1391695913","1391695921","1391695927"],"photo_ids_order":["1391695913","1391695917","1391695921","1391695925","1391695927","1391695929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e3a718073e4ed8e5f44060be1f037eb.jpg","text":"TemporaryFile(/tmp/multipartBody5192045727565571757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_19_08_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85729109f9836b9da5aa1a70d66f5e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7408458427239652105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_18_57_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/668d7f04e16e4652f7c501b182e138ae.jpg","text":"TemporaryFile(/tmp/multipartBody4935428520164290232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_19_02_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fda536ef6d67c834dabb55c399f2372.jpg","text":"TemporaryFile(/tmp/multipartBody1780614364402270297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_18_54_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37ad39b25213d8d6d37dcd0cb8bc055f.jpg","text":"TemporaryFile(/tmp/multipartBody7543982193904647421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_19_00_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/899da3f4ddd444388e233ab2644482ed.jpg","text":"TemporaryFile(/tmp/multipartBody7130025941585238799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030544039,"filename":"image_30102025_06_19_06_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695921","file1":"1391695917","file0":"1391695913","file4":"1391695927","file5":"1391695929","file3":"1391695925"},"map_files_photo_id_array":[{"photo_id":"1391695929","filename":"file5"},{"photo_id":"1391695921","filename":"file2"},{"photo_id":"1391695927","filename":"file4"},{"photo_id":"1391695917","filename":"file1"},{"photo_id":"1391695913","filename":"file0"},{"photo_id":"1391695925","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695929":["hashtag1","hashtag2"]},{"1391695917":["hashtag1","hashtag2"]},{"1391695925":["hashtag1","hashtag2"]},{"1391695913":["hashtag1","hashtag2"]},{"1391695921":["hashtag1","hashtag2"]},{"1391695927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695929, 1391695917, 1391695925, 1391695913, 1391695921, 1391695927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.203309774398804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:55:22.781500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_11_2635.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_15_3656.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_17_2645.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_21_3591.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_24_2708.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_26_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_11_2635.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_15_3656.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_17_2645.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_21_3591.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_24_2708.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_26_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695938","1391695949","1391695942","1391695936","1391695951","1391695945"],"photo_ids_order":["1391695936","1391695938","1391695942","1391695945","1391695949","1391695951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17094d89df3e0a8c2c6d3873badd8f50.jpg","text":"TemporaryFile(/tmp/multipartBody7932916046376282987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_15_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be55365368d0cb7154e46f9fe2a10a41.jpg","text":"TemporaryFile(/tmp/multipartBody5754855748384764667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_24_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ee276c492efc46ff0b206573a3f9b95.jpg","text":"TemporaryFile(/tmp/multipartBody470488543534710411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_17_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1de996d32ea5080cd88327cfa39d038.jpg","text":"TemporaryFile(/tmp/multipartBody2635071210389464544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_11_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80b9a2fb577f79bc3eed704efdc43854.jpg","text":"TemporaryFile(/tmp/multipartBody2875278890621419166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_26_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/297daa7a243a280df866f8dd6a6fbda9.jpg","text":"TemporaryFile(/tmp/multipartBody8723486251469586290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030587353,"filename":"image_30102025_06_19_21_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695942","file1":"1391695938","file0":"1391695936","file4":"1391695949","file5":"1391695951","file3":"1391695945"},"map_files_photo_id_array":[{"photo_id":"1391695951","filename":"file5"},{"photo_id":"1391695942","filename":"file2"},{"photo_id":"1391695949","filename":"file4"},{"photo_id":"1391695938","filename":"file1"},{"photo_id":"1391695936","filename":"file0"},{"photo_id":"1391695945","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695938":["hashtag1","hashtag2"]},{"1391695949":["hashtag1","hashtag2"]},{"1391695942":["hashtag1","hashtag2"]},{"1391695936":["hashtag1","hashtag2"]},{"1391695951":["hashtag1","hashtag2"]},{"1391695945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695938, 1391695949, 1391695942, 1391695936, 1391695951, 1391695945)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.225531339645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 21:56:24.185863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_30_3589.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_33_2739.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_35_2661.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_39_3420.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_41_2668.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_44_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_30_3589.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_33_2739.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_35_2661.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_39_3420.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_41_2668.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_44_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391695992","1391695994","1391695997","1391695999","1391695993","1391695995"],"photo_ids_order":["1391695992","1391695993","1391695994","1391695995","1391695997","1391695999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9643af76f1ae5b26bf4b2333a3acb8b5.jpg","text":"TemporaryFile(/tmp/multipartBody5493802694734659087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_30_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cd1fff5ba77f8ce6d751722d99fa7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4452824044246397432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_35_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c699065271bfe60e8cccf365121319b.jpg","text":"TemporaryFile(/tmp/multipartBody6449842101789960468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_41_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8842f8479cd9f36006842cc9bde6c450.jpg","text":"TemporaryFile(/tmp/multipartBody1180433903979951709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_44_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a95a3fab8ca3261d333f2f5a431664af.jpg","text":"TemporaryFile(/tmp/multipartBody6131255679345394852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_33_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07e9a0be66cbb1e8f146fe4528df680c.jpg","text":"TemporaryFile(/tmp/multipartBody2408029177472126639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030684528,"filename":"image_30102025_06_19_39_3420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391695994","file1":"1391695993","file0":"1391695992","file4":"1391695997","file5":"1391695999","file3":"1391695995"},"map_files_photo_id_array":[{"photo_id":"1391695999","filename":"file5"},{"photo_id":"1391695994","filename":"file2"},{"photo_id":"1391695997","filename":"file4"},{"photo_id":"1391695993","filename":"file1"},{"photo_id":"1391695992","filename":"file0"},{"photo_id":"1391695995","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391695992":["hashtag1","hashtag2"]},{"1391695994":["hashtag1","hashtag2"]},{"1391695997":["hashtag1","hashtag2"]},{"1391695999":["hashtag1","hashtag2"]},{"1391695993":["hashtag1","hashtag2"]},{"1391695995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391695992, 1391695994, 1391695997, 1391695999, 1391695993, 1391695995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.8488039970398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 21:57:42.504565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_48_3619.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_50_2731.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_53_2622.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_57_3904.jpg', '/home/pi/Desktop/images/30102025/06/19/image_30102025_06_20_00_2763.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_02_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_48_3619.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_50_2731.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_53_2622.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_57_3904.jpg
/home/pi/Desktop/images/30102025/06/19/image_30102025_06_20_00_2763.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_02_2698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391696211","1391696210","1391696147","1391696207","1391696209","1391696190"],"photo_ids_order":["1391696147","1391696190","1391696207","1391696209","1391696210","1391696211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5eb4c5b30cac39c37f3803f3fd2c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1465437166668864082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_20_02_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddf7878e36d1d6f2bbd233e9a17ea4fc.jpg","text":"TemporaryFile(/tmp/multipartBody4172777961649508013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_20_00_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3230e06f00fbd776927fc32a62251bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5141468765771365159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_19_48_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ab539a82899b27025f3d1f96a9ca332.jpg","text":"TemporaryFile(/tmp/multipartBody3642264254566175727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_19_53_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6565349716bf474f706334cb66952066.jpg","text":"TemporaryFile(/tmp/multipartBody8215471915982997694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_19_57_3904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cefc483789814c6c0e353a64c9b3d70f.jpg","text":"TemporaryFile(/tmp/multipartBody5885394007211446445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030725009,"filename":"image_30102025_06_19_50_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391696207","file1":"1391696190","file0":"1391696147","file4":"1391696210","file5":"1391696211","file3":"1391696209"},"map_files_photo_id_array":[{"photo_id":"1391696211","filename":"file5"},{"photo_id":"1391696207","filename":"file2"},{"photo_id":"1391696210","filename":"file4"},{"photo_id":"1391696190","filename":"file1"},{"photo_id":"1391696147","filename":"file0"},{"photo_id":"1391696209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391696211":["hashtag1","hashtag2"]},{"1391696210":["hashtag1","hashtag2"]},{"1391696147":["hashtag1","hashtag2"]},{"1391696207":["hashtag1","hashtag2"]},{"1391696209":["hashtag1","hashtag2"]},{"1391696190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391696211, 1391696210, 1391696147, 1391696207, 1391696209, 1391696190)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391696207 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/19/image_30102025_06_19_53_2622.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.81511306762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 21:59:03.627121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_05_2774.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_09_3665.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_12_2667.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_14_2515.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_18_3606.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_20_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_05_2774.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_09_3665.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_12_2667.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_14_2515.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_18_3606.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_20_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391696331","1391696334","1391696344","1391696347","1391696340","1391696337"],"photo_ids_order":["1391696331","1391696334","1391696337","1391696340","1391696344","1391696347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9799f5392eca0c7597792386d28705f3.jpg","text":"TemporaryFile(/tmp/multipartBody1032199876574818542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_05_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/563de6acb195dfb9899069c65787fe1b.jpg","text":"TemporaryFile(/tmp/multipartBody7726667660634298523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_09_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a6ad13171dee73df586c0f78a436f70.jpg","text":"TemporaryFile(/tmp/multipartBody2707972742849216844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_18_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5029aba3597fd5b4c4e1fd862e1b513a.jpg","text":"TemporaryFile(/tmp/multipartBody6043070169731019308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_20_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/935f3673dd9c0a97b84df180d9c7ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody8902179241865347532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_14_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bec165e02b0bc6207373e7fd0159722.jpg","text":"TemporaryFile(/tmp/multipartBody6951301264719256898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030806256,"filename":"image_30102025_06_20_12_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391696337","file1":"1391696334","file0":"1391696331","file4":"1391696344","file5":"1391696347","file3":"1391696340"},"map_files_photo_id_array":[{"photo_id":"1391696347","filename":"file5"},{"photo_id":"1391696337","filename":"file2"},{"photo_id":"1391696344","filename":"file4"},{"photo_id":"1391696334","filename":"file1"},{"photo_id":"1391696331","filename":"file0"},{"photo_id":"1391696340","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391696331":["hashtag1","hashtag2"]},{"1391696334":["hashtag1","hashtag2"]},{"1391696344":["hashtag1","hashtag2"]},{"1391696347":["hashtag1","hashtag2"]},{"1391696340":["hashtag1","hashtag2"]},{"1391696337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391696331, 1391696334, 1391696344, 1391696347, 1391696340, 1391696337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86880397796631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:00:02.457160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_23_2735.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_27_3787.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_29_2599.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_32_2571.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_36_3627.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_38_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_23_2735.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_27_3787.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_29_2599.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_32_2571.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_36_3627.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_38_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391696378","1391696372","1391696375","1391696365","1391696382","1391696370"],"photo_ids_order":["1391696365","1391696370","1391696372","1391696375","1391696378","1391696382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/12e412861eabe9a049a214e25214a9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7918533982938318275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_36_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28748433be7eab08f1ea5fa092d482dc.jpg","text":"TemporaryFile(/tmp/multipartBody2368736410629710727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_29_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cbf1b97af90e0390e918d4a82585ab65.jpg","text":"TemporaryFile(/tmp/multipartBody8383662256466956608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_32_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cb182ffaa948729b866af9bbe47a56f.jpg","text":"TemporaryFile(/tmp/multipartBody8121240641883425612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_23_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c422fd052d10c3c9ea60794d9ae4e2bb.jpg","text":"TemporaryFile(/tmp/multipartBody2999950364527980662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_38_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35354d1515c81c5a0a58fbed82c3153b.jpg","text":"TemporaryFile(/tmp/multipartBody8945533288068319430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030864758,"filename":"image_30102025_06_20_27_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391696372","file1":"1391696370","file0":"1391696365","file4":"1391696378","file5":"1391696382","file3":"1391696375"},"map_files_photo_id_array":[{"photo_id":"1391696382","filename":"file5"},{"photo_id":"1391696372","filename":"file2"},{"photo_id":"1391696378","filename":"file4"},{"photo_id":"1391696370","filename":"file1"},{"photo_id":"1391696365","filename":"file0"},{"photo_id":"1391696375","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391696378":["hashtag1","hashtag2"]},{"1391696372":["hashtag1","hashtag2"]},{"1391696375":["hashtag1","hashtag2"]},{"1391696365":["hashtag1","hashtag2"]},{"1391696382":["hashtag1","hashtag2"]},{"1391696370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391696378, 1391696372, 1391696375, 1391696365, 1391696382, 1391696370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0686571598053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:00:42.053524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_41_2563.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_45_3630.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_47_2774.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_50_2753.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_53_2752.jpg', '/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_57_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_41_2563.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_45_3630.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_47_2774.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_50_2753.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_53_2752.jpg
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_20_57_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391696396","1391696390","1391696402","1391696392","1391696398","1391696394"],"photo_ids_order":["1391696390","1391696392","1391696394","1391696396","1391696398","1391696402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5cc5b3802c9200f211b6b594d55aa66.jpg","text":"TemporaryFile(/tmp/multipartBody8255751770351056060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_50_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7e26688e3cc89818b5b87ecb7128e34.jpg","text":"TemporaryFile(/tmp/multipartBody273583267908614643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_41_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/624ce7916c58e38fde077440cda52ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5737334575090205268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_57_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a77fa83fbb245319690b2bba310150d.jpg","text":"TemporaryFile(/tmp/multipartBody4493365929762725118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_45_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff7a1a5ad7c02e2e71a23149b9928e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7193076032117591141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_53_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdc76895c0b9ed059ab88d7215ef012d.jpg","text":"TemporaryFile(/tmp/multipartBody7955859428252584486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030903405,"filename":"image_30102025_06_20_47_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391696394","file1":"1391696392","file0":"1391696390","file4":"1391696398","file5":"1391696402","file3":"1391696396"},"map_files_photo_id_array":[{"photo_id":"1391696402","filename":"file5"},{"photo_id":"1391696394","filename":"file2"},{"photo_id":"1391696398","filename":"file4"},{"photo_id":"1391696392","filename":"file1"},{"photo_id":"1391696390","filename":"file0"},{"photo_id":"1391696396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391696396":["hashtag1","hashtag2"]},{"1391696390":["hashtag1","hashtag2"]},{"1391696402":["hashtag1","hashtag2"]},{"1391696392":["hashtag1","hashtag2"]},{"1391696398":["hashtag1","hashtag2"]},{"1391696394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391696396, 1391696390, 1391696402, 1391696392, 1391696398, 1391696394)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.075109243392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:01:42.232733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/20/image_30102025_06_21_00_2823.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_02_2695.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_05_2777.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_09_3575.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_11_2587.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_15_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/20/image_30102025_06_21_00_2823.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_02_2695.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_05_2777.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_09_3575.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_11_2587.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_15_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391696622","1391696663","1391696581","1391696542","1391696710","1391696748"],"photo_ids_order":["1391696542","1391696581","1391696622","1391696663","1391696710","1391696748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a4a5f9cfec98f8bcd1c01b2794a4f38.jpg","text":"TemporaryFile(/tmp/multipartBody8904729234378293933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_05_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/efa9aab267d8582c38f2534ebfd626ed.jpg","text":"TemporaryFile(/tmp/multipartBody111961479164010080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_09_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e42ab98585ca858e78b5585e8301085e.jpg","text":"TemporaryFile(/tmp/multipartBody8588632287513078647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_02_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3dbb33bf225568b1347cf9c26827471f.jpg","text":"TemporaryFile(/tmp/multipartBody3271272105494728043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_00_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c88fa4969b99d23d999a37baee43e3c.jpg","text":"TemporaryFile(/tmp/multipartBody6207930800365227003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_11_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3ffa65ed01022fa4c803df9b6962cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody8594684038283412177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762030963515,"filename":"image_30102025_06_21_15_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391696622","file1":"1391696581","file0":"1391696542","file4":"1391696710","file5":"1391696748","file3":"1391696663"},"map_files_photo_id_array":[{"photo_id":"1391696748","filename":"file5"},{"photo_id":"1391696622","filename":"file2"},{"photo_id":"1391696710","filename":"file4"},{"photo_id":"1391696581","filename":"file1"},{"photo_id":"1391696542","filename":"file0"},{"photo_id":"1391696663","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391696622":["hashtag1","hashtag2"]},{"1391696663":["hashtag1","hashtag2"]},{"1391696581":["hashtag1","hashtag2"]},{"1391696542":["hashtag1","hashtag2"]},{"1391696710":["hashtag1","hashtag2"]},{"1391696748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391696622, 1391696663, 1391696581, 1391696542, 1391696710, 1391696748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70900583267212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:02:22.392471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_17_2621.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_20_2549.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_23_2894.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_27_3777.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_29_2679.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_32_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_17_2621.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_20_2549.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_23_2894.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_27_3777.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_29_2679.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_32_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391697164","1391697248","1391697206","1391697127","1391697291","1391697087"],"photo_ids_order":["1391697087","1391697127","1391697164","1391697206","1391697248","1391697291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68b8af381ac3aaf0519e8bb0cf61a04e.jpg","text":"TemporaryFile(/tmp/multipartBody3641653407836257509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_23_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f742bcb1a2fa7353ae77f5dc6f0a2c30.jpg","text":"TemporaryFile(/tmp/multipartBody1043376805589730921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_29_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89d487f886519ae3eb9760985489bb82.jpg","text":"TemporaryFile(/tmp/multipartBody8590973983921034793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_27_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3390a06770901b3a8331dfa1399a1a87.jpg","text":"TemporaryFile(/tmp/multipartBody692242009534055898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_20_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58b83cc4b0f77409aec3199fd3a50d08.jpg","text":"TemporaryFile(/tmp/multipartBody6833348353602007135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_32_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9905539d6d1c584729c25c7ea642105.jpg","text":"TemporaryFile(/tmp/multipartBody1595109816363839509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031025674,"filename":"image_30102025_06_21_17_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391697164","file1":"1391697127","file0":"1391697087","file4":"1391697248","file5":"1391697291","file3":"1391697206"},"map_files_photo_id_array":[{"photo_id":"1391697291","filename":"file5"},{"photo_id":"1391697164","filename":"file2"},{"photo_id":"1391697248","filename":"file4"},{"photo_id":"1391697127","filename":"file1"},{"photo_id":"1391697087","filename":"file0"},{"photo_id":"1391697206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391697164":["hashtag1","hashtag2"]},{"1391697248":["hashtag1","hashtag2"]},{"1391697206":["hashtag1","hashtag2"]},{"1391697127":["hashtag1","hashtag2"]},{"1391697291":["hashtag1","hashtag2"]},{"1391697087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391697164, 1391697248, 1391697206, 1391697127, 1391697291, 1391697087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31054925918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:03:22.069447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_36_3644.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_38_2635.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_41_2612.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_45_3703.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_47_2758.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_50_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_36_3644.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_38_2635.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_41_2612.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_45_3703.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_47_2758.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_50_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391697362","1391697356","1391697349","1391697346","1391697351","1391697354"],"photo_ids_order":["1391697346","1391697349","1391697351","1391697354","1391697356","1391697362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f330bb8880e3f825ba0c9b94b09a6420.jpg","text":"TemporaryFile(/tmp/multipartBody6283211157221237804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_50_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03fe959dc540895d3ce756b00cf3bd25.jpg","text":"TemporaryFile(/tmp/multipartBody2328967482817585552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_47_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98277f70870ba7592775b6ec076e5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2294057124701003135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_38_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4f629c14a3ba5f91aa7780253ea30c8.jpg","text":"TemporaryFile(/tmp/multipartBody8845267865937650803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_36_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/954946af9667500a3b18281cdd42040d.jpg","text":"TemporaryFile(/tmp/multipartBody7546655284991837032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_41_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e4545426dd79b8e435ad6428bda6d79.jpg","text":"TemporaryFile(/tmp/multipartBody6177993926287799153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031064863,"filename":"image_30102025_06_21_45_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391697351","file1":"1391697349","file0":"1391697346","file4":"1391697356","file5":"1391697362","file3":"1391697354"},"map_files_photo_id_array":[{"photo_id":"1391697362","filename":"file5"},{"photo_id":"1391697351","filename":"file2"},{"photo_id":"1391697356","filename":"file4"},{"photo_id":"1391697349","filename":"file1"},{"photo_id":"1391697346","filename":"file0"},{"photo_id":"1391697354","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391697362":["hashtag1","hashtag2"]},{"1391697356":["hashtag1","hashtag2"]},{"1391697349":["hashtag1","hashtag2"]},{"1391697346":["hashtag1","hashtag2"]},{"1391697351":["hashtag1","hashtag2"]},{"1391697354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391697362, 1391697356, 1391697349, 1391697346, 1391697351, 1391697354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70204758644104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:04:02.966896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_54_3583.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_56_2614.jpg', '/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_59_2574.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_02_3636.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_05_2558.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_09_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_54_3583.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_56_2614.jpg
/home/pi/Desktop/images/30102025/06/21/image_30102025_06_21_59_2574.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_02_3636.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_05_2558.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_09_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391697371","1391697373","1391697376","1391697370","1391697393","1391697369"],"photo_ids_order":["1391697369","1391697370","1391697371","1391697373","1391697376","1391697393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/073094767c80c17e750bc593020164e6.jpg","text":"TemporaryFile(/tmp/multipartBody1521305469091550754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_21_59_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8a670675a8284e33b73186e1e9155d32.jpg","text":"TemporaryFile(/tmp/multipartBody3607870356687842924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_22_02_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0232bf6fb696802c69d1a8ece5911ab.jpg","text":"TemporaryFile(/tmp/multipartBody659493519791922933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_22_05_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82ff1a203bb0289cd8817a0e358e7681.jpg","text":"TemporaryFile(/tmp/multipartBody2402021658457256445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_21_56_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/013f08a5e5f8acda765121df1f13fd3c.jpg","text":"TemporaryFile(/tmp/multipartBody9187014428052992698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_22_09_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b45d2bf4b4e1545d132a5ec3202af9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4447932565248670923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031105341,"filename":"image_30102025_06_21_54_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391697371","file1":"1391697370","file0":"1391697369","file4":"1391697376","file5":"1391697393","file3":"1391697373"},"map_files_photo_id_array":[{"photo_id":"1391697393","filename":"file5"},{"photo_id":"1391697371","filename":"file2"},{"photo_id":"1391697376","filename":"file4"},{"photo_id":"1391697370","filename":"file1"},{"photo_id":"1391697369","filename":"file0"},{"photo_id":"1391697373","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391697371":["hashtag1","hashtag2"]},{"1391697373":["hashtag1","hashtag2"]},{"1391697376":["hashtag1","hashtag2"]},{"1391697370":["hashtag1","hashtag2"]},{"1391697393":["hashtag1","hashtag2"]},{"1391697369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391697371, 1391697373, 1391697376, 1391697370, 1391697393, 1391697369)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.927717447280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:05:03.186565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_12_2896.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_14_2743.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_17_2842.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_20_2699.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_23_3645.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_26_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_12_2896.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_14_2743.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_17_2842.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_20_2699.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_23_3645.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_26_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391697973","1391698281","1391698213","1391698131","1391698326","1391698046"],"photo_ids_order":["1391697973","1391698046","1391698131","1391698213","1391698281","1391698326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f11ffc27476b1ed5d184dca3afe1b14.jpg","text":"TemporaryFile(/tmp/multipartBody3257530012565175857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_12_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f150fc01b00792b6c24445994d74d942.jpg","text":"TemporaryFile(/tmp/multipartBody2972799873957787256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_23_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92ccc2d78c8207e049428ec89631da5d.jpg","text":"TemporaryFile(/tmp/multipartBody2756333465600071780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c27ff88bd8b65e68a34bbf58555a983.jpg","text":"TemporaryFile(/tmp/multipartBody5189282954333736594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_17_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f7832202b8ee8a0ba598a9f98d522d4.jpg","text":"TemporaryFile(/tmp/multipartBody7905477600292999191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_26_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44e429ce4101b2dd99793d0e989857cb.jpg","text":"TemporaryFile(/tmp/multipartBody1984238385147912217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031165534,"filename":"image_30102025_06_22_14_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391698131","file1":"1391698046","file0":"1391697973","file4":"1391698281","file5":"1391698326","file3":"1391698213"},"map_files_photo_id_array":[{"photo_id":"1391698326","filename":"file5"},{"photo_id":"1391698131","filename":"file2"},{"photo_id":"1391698281","filename":"file4"},{"photo_id":"1391698046","filename":"file1"},{"photo_id":"1391697973","filename":"file0"},{"photo_id":"1391698213","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391697973":["hashtag1","hashtag2"]},{"1391698281":["hashtag1","hashtag2"]},{"1391698213":["hashtag1","hashtag2"]},{"1391698131":["hashtag1","hashtag2"]},{"1391698326":["hashtag1","hashtag2"]},{"1391698046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391697973, 1391698281, 1391698213, 1391698131, 1391698326, 1391698046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71835017204285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:05:42.468485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_30_3679.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_32_2757.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_35_2596.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_38_2698.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_42_3797.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_44_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_30_3679.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_32_2757.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_35_2596.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_38_2698.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_42_3797.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_44_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391698690","1391698610","1391698793","1391698515","1391698748","1391698556"],"photo_ids_order":["1391698515","1391698556","1391698610","1391698690","1391698748","1391698793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ddbcbf00c375ad0f5f9e730daf756737.jpg","text":"TemporaryFile(/tmp/multipartBody2340746108654818508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37b7cbecf08c0e8da719b862a40e5050.jpg","text":"TemporaryFile(/tmp/multipartBody8607112878908943993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_35_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b7f4be19690b07de5a1929567c5ad0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3892492429402527095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_44_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a15a93dd12bd0d6993c613678e9ecd4.jpg","text":"TemporaryFile(/tmp/multipartBody8005498032216495509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_30_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18381722dc37a5ed813af133d5c43f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4199892616759178611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_42_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bb7679b0a1f0fd9ba96c89e8cb2ee17.jpg","text":"TemporaryFile(/tmp/multipartBody2529278714126867780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031203712,"filename":"image_30102025_06_22_32_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391698610","file1":"1391698556","file0":"1391698515","file4":"1391698748","file5":"1391698793","file3":"1391698690"},"map_files_photo_id_array":[{"photo_id":"1391698793","filename":"file5"},{"photo_id":"1391698610","filename":"file2"},{"photo_id":"1391698748","filename":"file4"},{"photo_id":"1391698556","filename":"file1"},{"photo_id":"1391698515","filename":"file0"},{"photo_id":"1391698690","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391698690":["hashtag1","hashtag2"]},{"1391698610":["hashtag1","hashtag2"]},{"1391698793":["hashtag1","hashtag2"]},{"1391698515":["hashtag1","hashtag2"]},{"1391698748":["hashtag1","hashtag2"]},{"1391698556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391698690, 1391698610, 1391698793, 1391698515, 1391698748, 1391698556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29367995262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:06:22.735391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_47_2644.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_50_3583.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_53_2773.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_56_2588.jpg', '/home/pi/Desktop/images/30102025/06/22/image_30102025_06_23_00_3750.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_02_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_47_2644.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_50_3583.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_53_2773.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_22_56_2588.jpg
/home/pi/Desktop/images/30102025/06/22/image_30102025_06_23_00_3750.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_02_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391698852","1391698930","1391698887","1391698854","1391698857","1391698973"],"photo_ids_order":["1391698852","1391698854","1391698857","1391698887","1391698930","1391698973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff5da239ded8c655236a588e763dd26b.jpg","text":"TemporaryFile(/tmp/multipartBody6837677652421501604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_22_47_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c4ca7b5ed54612aba7060a87e3e1a46.jpg","text":"TemporaryFile(/tmp/multipartBody6088093373887479320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_23_00_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/014dc830c6141345c936fdd8cbfdb88d.jpg","text":"TemporaryFile(/tmp/multipartBody8221156537521801604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_22_56_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34b2012f0911ecb4c8f8b28261cea449.jpg","text":"TemporaryFile(/tmp/multipartBody7421216743158762685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_22_50_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c67f0425c3d050b5af4cc7aa1fc7cfb5.jpg","text":"TemporaryFile(/tmp/multipartBody9101828076550062489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_22_53_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc19abdc2cd7cfc379452aeede08d7a9.jpg","text":"TemporaryFile(/tmp/multipartBody6915471129648404441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031245573,"filename":"image_30102025_06_23_02_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391698857","file1":"1391698854","file0":"1391698852","file4":"1391698930","file5":"1391698973","file3":"1391698887"},"map_files_photo_id_array":[{"photo_id":"1391698973","filename":"file5"},{"photo_id":"1391698857","filename":"file2"},{"photo_id":"1391698930","filename":"file4"},{"photo_id":"1391698854","filename":"file1"},{"photo_id":"1391698852","filename":"file0"},{"photo_id":"1391698887","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391698852":["hashtag1","hashtag2"]},{"1391698930":["hashtag1","hashtag2"]},{"1391698887":["hashtag1","hashtag2"]},{"1391698854":["hashtag1","hashtag2"]},{"1391698857":["hashtag1","hashtag2"]},{"1391698973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391698852, 1391698930, 1391698887, 1391698854, 1391698857, 1391698973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.746426820755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:07:02.747265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_05_2782.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_08_2910.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_12_3632.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_14_2651.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_17_2746.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_21_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_05_2782.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_08_2910.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_12_3632.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_14_2651.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_17_2746.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_21_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391699128","1391699203","1391699433","1391699355","1391699166","1391699276"],"photo_ids_order":["1391699128","1391699166","1391699203","1391699276","1391699355","1391699433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f97a757c8070e817e83322d0d5a91d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8667026531298893785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_05_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19c780b639f93441593b8c46cd373821.jpg","text":"TemporaryFile(/tmp/multipartBody8071761284805458336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_12_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/637cbac485269ed9b53f396e278de036.jpg","text":"TemporaryFile(/tmp/multipartBody2786158393896219642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_21_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0833b466d1a460688de1ac7388c760bd.jpg","text":"TemporaryFile(/tmp/multipartBody1345705469496130354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_17_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2e24b2b898eacbb16250a246db3628a.jpg","text":"TemporaryFile(/tmp/multipartBody815012943618583912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_08_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2a64b67a862449dea4c2c0a66b50e74.jpg","text":"TemporaryFile(/tmp/multipartBody4725469919373497201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031285056,"filename":"image_30102025_06_23_14_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391699203","file1":"1391699166","file0":"1391699128","file4":"1391699355","file5":"1391699433","file3":"1391699276"},"map_files_photo_id_array":[{"photo_id":"1391699433","filename":"file5"},{"photo_id":"1391699203","filename":"file2"},{"photo_id":"1391699355","filename":"file4"},{"photo_id":"1391699166","filename":"file1"},{"photo_id":"1391699128","filename":"file0"},{"photo_id":"1391699276","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391699128":["hashtag1","hashtag2"]},{"1391699203":["hashtag1","hashtag2"]},{"1391699433":["hashtag1","hashtag2"]},{"1391699355":["hashtag1","hashtag2"]},{"1391699166":["hashtag1","hashtag2"]},{"1391699276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391699128, 1391699203, 1391699433, 1391699355, 1391699166, 1391699276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.21246838569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:08:02.880604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:08:22.467782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_23_2701.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_26_2608.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_29_2729.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_33_3852.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_35_2707.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_38_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_23_2701.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_26_2608.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_29_2729.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_33_3852.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_35_2707.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_38_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391700948","1391701076","1391700875","1391701031","1391700836","1391700988"],"photo_ids_order":["1391700836","1391700875","1391700948","1391700988","1391701031","1391701076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/def0c37e02b74557ce058ab0f6591d17.jpg","text":"TemporaryFile(/tmp/multipartBody1554783101511131948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_29_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de8cabd399b61fc94cef9799a561fdd3.jpg","text":"TemporaryFile(/tmp/multipartBody4741298375468845520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_38_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a7572676db07cdeefbeb4b994f7a89f.jpg","text":"TemporaryFile(/tmp/multipartBody2960865233877634491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_26_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab5bf695fa874b2d14c95da3930174b6.jpg","text":"TemporaryFile(/tmp/multipartBody6925239612312864774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_35_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f4cc41a2847dd82f194eba8107c76c8.jpg","text":"TemporaryFile(/tmp/multipartBody1133474626544272432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_23_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/001b11028dc13b4942d6701b6ac153b5.jpg","text":"TemporaryFile(/tmp/multipartBody5209428028609241726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031366843,"filename":"image_30102025_06_23_33_3852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391700948","file1":"1391700875","file0":"1391700836","file4":"1391701031","file5":"1391701076","file3":"1391700988"},"map_files_photo_id_array":[{"photo_id":"1391701076","filename":"file5"},{"photo_id":"1391700948","filename":"file2"},{"photo_id":"1391701031","filename":"file4"},{"photo_id":"1391700875","filename":"file1"},{"photo_id":"1391700836","filename":"file0"},{"photo_id":"1391700988","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391700948":["hashtag1","hashtag2"]},{"1391701076":["hashtag1","hashtag2"]},{"1391700875":["hashtag1","hashtag2"]},{"1391701031":["hashtag1","hashtag2"]},{"1391700836":["hashtag1","hashtag2"]},{"1391700988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391700948, 1391701076, 1391700875, 1391701031, 1391700836, 1391700988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32745909690857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:09:03.513220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_41_3593.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_44_2793.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_47_2649.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_53_5949.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_55_1647.jpg', '/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_56_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_41_3593.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_44_2793.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_47_2649.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_53_5949.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_55_1647.jpg
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_56_1636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391701212","1391701214","1391701211","1391701216","1391701219","1391701210"],"photo_ids_order":["1391701210","1391701211","1391701212","1391701214","1391701216","1391701219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2df8a0e68409cc132053b2c7659558cb.jpg","text":"TemporaryFile(/tmp/multipartBody5228496853619108566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_47_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55e3010ea613ae9b08ac9514dcd98e66.jpg","text":"TemporaryFile(/tmp/multipartBody4216760730106952400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_53_5949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de8be39286eef296ba9f1a1b32d59a58.jpg","text":"TemporaryFile(/tmp/multipartBody4986199756361963208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_44_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8d0a6a5c6fb02d953b9126ba71cba0f.jpg","text":"TemporaryFile(/tmp/multipartBody7512872906986404523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_55_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8b458e5fd3082df17a8e9d29f4b0e95.jpg","text":"TemporaryFile(/tmp/multipartBody1774253460101656599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_56_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76e2b3ac34e0a5d7a4964e84c197d587.jpg","text":"TemporaryFile(/tmp/multipartBody2970213271113159778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031405991,"filename":"image_30102025_06_23_41_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391701212","file1":"1391701211","file0":"1391701210","file4":"1391701216","file5":"1391701219","file3":"1391701214"},"map_files_photo_id_array":[{"photo_id":"1391701219","filename":"file5"},{"photo_id":"1391701212","filename":"file2"},{"photo_id":"1391701216","filename":"file4"},{"photo_id":"1391701211","filename":"file1"},{"photo_id":"1391701210","filename":"file0"},{"photo_id":"1391701214","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391701212":["hashtag1","hashtag2"]},{"1391701214":["hashtag1","hashtag2"]},{"1391701211":["hashtag1","hashtag2"]},{"1391701216":["hashtag1","hashtag2"]},{"1391701219":["hashtag1","hashtag2"]},{"1391701210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391701212, 1391701214, 1391701211, 1391701216, 1391701219, 1391701210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48741292953491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:09:42.757269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_59_2548.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_07_7969.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_08_1511.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_10_1666.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_11_1638.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_14_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/23/image_30102025_06_23_59_2548.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_07_7969.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_08_1511.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_10_1666.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_11_1638.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_14_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391701401","1391701245","1391701472","1391701630","1391701318","1391701554"],"photo_ids_order":["1391701245","1391701318","1391701401","1391701472","1391701554","1391701630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6e7bb854b521f93f32393e34651abdc3.jpg","text":"TemporaryFile(/tmp/multipartBody8520556762151866853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_24_08_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/470b8bd71db6021cd5c1de682523286f.jpg","text":"TemporaryFile(/tmp/multipartBody4478554002031157484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_23_59_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8b3e453ac19ff9d7540dc696037802c.jpg","text":"TemporaryFile(/tmp/multipartBody8010455247762586392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_24_10_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf6141a69a43790340f2d8c5bf5bf90b.jpg","text":"TemporaryFile(/tmp/multipartBody7998077948127946024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_24_14_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f6722cf803000395660b91533a36f76.jpg","text":"TemporaryFile(/tmp/multipartBody4273198621576112327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_24_07_7969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fc284db6dff49e9d0b3568afcdf7f16.jpg","text":"TemporaryFile(/tmp/multipartBody4705578120777952015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031446577,"filename":"image_30102025_06_24_11_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391701401","file1":"1391701318","file0":"1391701245","file4":"1391701554","file5":"1391701630","file3":"1391701472"},"map_files_photo_id_array":[{"photo_id":"1391701630","filename":"file5"},{"photo_id":"1391701401","filename":"file2"},{"photo_id":"1391701554","filename":"file4"},{"photo_id":"1391701318","filename":"file1"},{"photo_id":"1391701245","filename":"file0"},{"photo_id":"1391701472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391701401":["hashtag1","hashtag2"]},{"1391701245":["hashtag1","hashtag2"]},{"1391701472":["hashtag1","hashtag2"]},{"1391701630":["hashtag1","hashtag2"]},{"1391701318":["hashtag1","hashtag2"]},{"1391701554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391701401, 1391701245, 1391701472, 1391701630, 1391701318, 1391701554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27953290939331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:10:21.790413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_17_2526.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_20_3672.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_23_2511.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_26_3686.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_29_2800.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_32_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_17_2526.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_20_3672.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_23_2511.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_26_3686.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_29_2800.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_32_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391702318","1391702069","1391701910","1391702170","1391702245","1391701990"],"photo_ids_order":["1391701910","1391701990","1391702069","1391702170","1391702245","1391702318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8246755131ff98902091ab9a93d67f23.jpg","text":"TemporaryFile(/tmp/multipartBody6419996798110220319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_32_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c414d72418f0cb3b5a8393b0c92c526.jpg","text":"TemporaryFile(/tmp/multipartBody5352302024897648738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_23_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4ad51e968f24f84126618127f05df98.jpg","text":"TemporaryFile(/tmp/multipartBody2903912300593249894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_17_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/810f9912b68c960995406ac05369388c.jpg","text":"TemporaryFile(/tmp/multipartBody8150151834237210373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_26_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/adeb8e1e631c126cd2178ae3184a99b8.jpg","text":"TemporaryFile(/tmp/multipartBody7813224635551523155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_29_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19ade84fc573915e00b1dd81905538d2.jpg","text":"TemporaryFile(/tmp/multipartBody2739777100451764398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031484572,"filename":"image_30102025_06_24_20_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391702069","file1":"1391701990","file0":"1391701910","file4":"1391702245","file5":"1391702318","file3":"1391702170"},"map_files_photo_id_array":[{"photo_id":"1391702318","filename":"file5"},{"photo_id":"1391702069","filename":"file2"},{"photo_id":"1391702245","filename":"file4"},{"photo_id":"1391701990","filename":"file1"},{"photo_id":"1391701910","filename":"file0"},{"photo_id":"1391702170","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391702318":["hashtag1","hashtag2"]},{"1391702069":["hashtag1","hashtag2"]},{"1391701910":["hashtag1","hashtag2"]},{"1391702170":["hashtag1","hashtag2"]},{"1391702245":["hashtag1","hashtag2"]},{"1391701990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391702318, 1391702069, 1391701910, 1391702170, 1391702245, 1391701990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82790446281433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:11:03.549640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_35_2760.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_38_3700.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_41_2665.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_44_2556.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_47_3745.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_50_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_35_2760.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_38_3700.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_41_2665.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_44_2556.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_47_3745.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_50_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391702869","1391703046","1391702970","1391702760","1391702682","1391703122"],"photo_ids_order":["1391702682","1391702760","1391702869","1391702970","1391703046","1391703122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/357b0609ed7c3b230f26b3e0fd271f33.jpg","text":"TemporaryFile(/tmp/multipartBody1772857543748848137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_41_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f5e312779abd3bf6af25b39defb42c3.jpg","text":"TemporaryFile(/tmp/multipartBody1240786786596182305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_47_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/141018a9a7549ac36eef7cd6273a3de7.jpg","text":"TemporaryFile(/tmp/multipartBody4565697769439884372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_44_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cf04a8fdedb87db8ba603f767568621e.jpg","text":"TemporaryFile(/tmp/multipartBody4856225065913704206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_38_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/067e9e0753b90af951a7466b9dba398a.jpg","text":"TemporaryFile(/tmp/multipartBody6302897287426319530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_35_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c2c2b66f7bdf03e49a56f4b6f4fe1c6.jpg","text":"TemporaryFile(/tmp/multipartBody4014234627046420509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031525902,"filename":"image_30102025_06_24_50_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391702869","file1":"1391702760","file0":"1391702682","file4":"1391703046","file5":"1391703122","file3":"1391702970"},"map_files_photo_id_array":[{"photo_id":"1391703122","filename":"file5"},{"photo_id":"1391702869","filename":"file2"},{"photo_id":"1391703046","filename":"file4"},{"photo_id":"1391702760","filename":"file1"},{"photo_id":"1391702682","filename":"file0"},{"photo_id":"1391702970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391702869":["hashtag1","hashtag2"]},{"1391703046":["hashtag1","hashtag2"]},{"1391702970":["hashtag1","hashtag2"]},{"1391702760":["hashtag1","hashtag2"]},{"1391702682":["hashtag1","hashtag2"]},{"1391703122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391702869, 1391703046, 1391702970, 1391702760, 1391702682, 1391703122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33690857887268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:11:42.789691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_53_2538.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_56_3821.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_59_2601.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_02_2708.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_05_3716.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_08_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_53_2538.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_56_3821.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_59_2601.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_02_2708.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_05_3716.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_08_2702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2358384132385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:12:02.435548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_53_2538.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_56_3821.jpg', '/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_59_2601.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_02_2708.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_05_3716.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_08_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_53_2538.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_56_3821.jpg
/home/pi/Desktop/images/30102025/06/24/image_30102025_06_24_59_2601.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_02_2708.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_05_3716.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_08_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391703916","1391703703","1391703831","1391703747","1391703788","1391703875"],"photo_ids_order":["1391703703","1391703747","1391703788","1391703831","1391703875","1391703916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6b6f13fedc18773b77a40b707f44a77.jpg","text":"TemporaryFile(/tmp/multipartBody7883023352371843269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_25_08_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba3b17772ceb3bc1c8f2a340b9243b2a.jpg","text":"TemporaryFile(/tmp/multipartBody164728408862366483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_24_53_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaeb365650dbcf046835cdfbe40bf499.jpg","text":"TemporaryFile(/tmp/multipartBody8356273863983149075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_25_02_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b140d9d72ce4029b7534da8586347797.jpg","text":"TemporaryFile(/tmp/multipartBody6052843537558397312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_24_56_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ef4235327679ead231a5134c2fdb5b6.jpg","text":"TemporaryFile(/tmp/multipartBody5919719920928377476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_24_59_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e4d7db8a1f0a2b3f1660592ad67fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody7799426944332991237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031584550,"filename":"image_30102025_06_25_05_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391703788","file1":"1391703747","file0":"1391703703","file4":"1391703875","file5":"1391703916","file3":"1391703831"},"map_files_photo_id_array":[{"photo_id":"1391703916","filename":"file5"},{"photo_id":"1391703788","filename":"file2"},{"photo_id":"1391703875","filename":"file4"},{"photo_id":"1391703747","filename":"file1"},{"photo_id":"1391703703","filename":"file0"},{"photo_id":"1391703831","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391703916":["hashtag1","hashtag2"]},{"1391703703":["hashtag1","hashtag2"]},{"1391703831":["hashtag1","hashtag2"]},{"1391703747":["hashtag1","hashtag2"]},{"1391703788":["hashtag1","hashtag2"]},{"1391703875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391703916, 1391703703, 1391703831, 1391703747, 1391703788, 1391703875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03331637382507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:12:41.950896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_11_2688.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_13_2660.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_17_3704.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_20_2898.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_23_2620.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_26_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_11_2688.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_13_2660.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_17_3704.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_20_2898.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_23_2620.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_26_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391704108","1391704155","1391704239","1391704196","1391704067","1391704313"],"photo_ids_order":["1391704067","1391704108","1391704155","1391704196","1391704239","1391704313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff5c9781236c81656523ec6ce84ebeb9.jpg","text":"TemporaryFile(/tmp/multipartBody5512265742311585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_13_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/920664ced46406ff4fcfa13edcbb5148.jpg","text":"TemporaryFile(/tmp/multipartBody8648441823288640599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_17_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0bc296b65efcc3ee92713f25075903f5.jpg","text":"TemporaryFile(/tmp/multipartBody8528336681779669508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_23_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f561c88406f5c4539efc7d6ca4d44002.jpg","text":"TemporaryFile(/tmp/multipartBody4944550346685443591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_20_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b0746e6fcd315b86804239159613567.jpg","text":"TemporaryFile(/tmp/multipartBody9026329683830498654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_11_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74e7d6316e9b5d68d536be114179c91b.jpg","text":"TemporaryFile(/tmp/multipartBody5389633913967354160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031623226,"filename":"image_30102025_06_25_26_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391704155","file1":"1391704108","file0":"1391704067","file4":"1391704239","file5":"1391704313","file3":"1391704196"},"map_files_photo_id_array":[{"photo_id":"1391704313","filename":"file5"},{"photo_id":"1391704155","filename":"file2"},{"photo_id":"1391704239","filename":"file4"},{"photo_id":"1391704108","filename":"file1"},{"photo_id":"1391704067","filename":"file0"},{"photo_id":"1391704196","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391704108":["hashtag1","hashtag2"]},{"1391704155":["hashtag1","hashtag2"]},{"1391704239":["hashtag1","hashtag2"]},{"1391704196":["hashtag1","hashtag2"]},{"1391704067":["hashtag1","hashtag2"]},{"1391704313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391704108, 1391704155, 1391704239, 1391704196, 1391704067, 1391704313)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 86.75516748428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:14:22.287351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_29_2239.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_32_3559.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_35_2577.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_38_3607.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_42_3383.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_44_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_29_2239.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_32_3559.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_35_2577.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_38_3607.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_42_3383.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_44_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391705250","1391705328","1391705409","1391705693","1391705581","1391705485"],"photo_ids_order":["1391705250","1391705328","1391705409","1391705485","1391705581","1391705693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e6240f578bdc1dcf5542d71051ded14.jpg","text":"TemporaryFile(/tmp/multipartBody2367373607143681333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_29_2239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eda6e5d9c103e90112f2c842bb3e64fb.jpg","text":"TemporaryFile(/tmp/multipartBody7520397105661254975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_32_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d2fb5f89572d74d0e18309fa154e98f.jpg","text":"TemporaryFile(/tmp/multipartBody440726504024250323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_35_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b64c451d9815b89a3a044896c2106efc.jpg","text":"TemporaryFile(/tmp/multipartBody7534577419424173280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_44_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4145fdbd73b00f787e21e2a54e1b30a5.jpg","text":"TemporaryFile(/tmp/multipartBody7274836256279486900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_42_3383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fba7ee7e26ce43a5edc2e8a7db8fa9eb.jpg","text":"TemporaryFile(/tmp/multipartBody5106629220241597505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031725127,"filename":"image_30102025_06_25_38_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391705409","file1":"1391705328","file0":"1391705250","file4":"1391705581","file5":"1391705693","file3":"1391705485"},"map_files_photo_id_array":[{"photo_id":"1391705693","filename":"file5"},{"photo_id":"1391705409","filename":"file2"},{"photo_id":"1391705581","filename":"file4"},{"photo_id":"1391705328","filename":"file1"},{"photo_id":"1391705250","filename":"file0"},{"photo_id":"1391705485","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391705250":["hashtag1","hashtag2"]},{"1391705328":["hashtag1","hashtag2"]},{"1391705409":["hashtag1","hashtag2"]},{"1391705693":["hashtag1","hashtag2"]},{"1391705581":["hashtag1","hashtag2"]},{"1391705485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391705250, 1391705328, 1391705409, 1391705693, 1391705581, 1391705485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20966935157776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:15:03.114764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_47_2571.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_50_2706.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_53_3665.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_56_2690.jpg', '/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_59_2806.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_02_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_47_2571.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_50_2706.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_53_3665.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_56_2690.jpg
/home/pi/Desktop/images/30102025/06/25/image_30102025_06_25_59_2806.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_02_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391706321","1391706248","1391706413","1391706602","1391706163","1391706514"],"photo_ids_order":["1391706163","1391706248","1391706321","1391706413","1391706514","1391706602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f447e521106849b39328d80add7f3721.jpg","text":"TemporaryFile(/tmp/multipartBody1541714627040718841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_25_53_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b38b66754eb841fe1f57b4ca40fb465.jpg","text":"TemporaryFile(/tmp/multipartBody7476014116953531598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_25_50_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f1cbada4e0925814cd0678c48f9452c.jpg","text":"TemporaryFile(/tmp/multipartBody2253014791082538973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_25_56_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f806fd3774df293eb5935ea52ce78438.jpg","text":"TemporaryFile(/tmp/multipartBody9125902754810241934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_26_02_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/63692e93bea1e7dd0b8043453a987acb.jpg","text":"TemporaryFile(/tmp/multipartBody70544161851445499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_25_47_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cf3c492f3603fd52a0ac6ca14d3a673.jpg","text":"TemporaryFile(/tmp/multipartBody3744265361730951411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031765464,"filename":"image_30102025_06_25_59_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391706321","file1":"1391706248","file0":"1391706163","file4":"1391706514","file5":"1391706602","file3":"1391706413"},"map_files_photo_id_array":[{"photo_id":"1391706602","filename":"file5"},{"photo_id":"1391706321","filename":"file2"},{"photo_id":"1391706514","filename":"file4"},{"photo_id":"1391706248","filename":"file1"},{"photo_id":"1391706163","filename":"file0"},{"photo_id":"1391706413","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391706321":["hashtag1","hashtag2"]},{"1391706248":["hashtag1","hashtag2"]},{"1391706413":["hashtag1","hashtag2"]},{"1391706602":["hashtag1","hashtag2"]},{"1391706163":["hashtag1","hashtag2"]},{"1391706514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391706321, 1391706248, 1391706413, 1391706602, 1391706163, 1391706514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62769651412964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:15:42.584450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_05_2982.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_08_2822.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_11_2591.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_14_2739.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_17_3581.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_20_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_05_2982.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_08_2822.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_11_2591.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_14_2739.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_17_3581.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_20_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391707224","1391707373","1391706968","1391707297","1391707048","1391707149"],"photo_ids_order":["1391706968","1391707048","1391707149","1391707224","1391707297","1391707373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cec696e1a91dec8b95581900a895ce66.jpg","text":"TemporaryFile(/tmp/multipartBody7839534379562769067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_14_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fb7391806c3f6e273e043abbc408a371.jpg","text":"TemporaryFile(/tmp/multipartBody8750922555051138278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_20_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/261d96e429e7b44e4bfb23b81dadf0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2538195155987607564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_05_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d2eccc6ec9c0857f76ba9ef8f18fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3317995789638450871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_17_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8fe1b9221ec03680b06a91a5a4be68f.jpg","text":"TemporaryFile(/tmp/multipartBody5493845267266087438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_08_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/465a73f1b9d5c0725d0ed4f7d09798a4.jpg","text":"TemporaryFile(/tmp/multipartBody8040270314696091543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031803874,"filename":"image_30102025_06_26_11_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391707149","file1":"1391707048","file0":"1391706968","file4":"1391707297","file5":"1391707373","file3":"1391707224"},"map_files_photo_id_array":[{"photo_id":"1391707373","filename":"file5"},{"photo_id":"1391707149","filename":"file2"},{"photo_id":"1391707297","filename":"file4"},{"photo_id":"1391707048","filename":"file1"},{"photo_id":"1391706968","filename":"file0"},{"photo_id":"1391707224","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391707224":["hashtag1","hashtag2"]},{"1391707373":["hashtag1","hashtag2"]},{"1391706968":["hashtag1","hashtag2"]},{"1391707297":["hashtag1","hashtag2"]},{"1391707048":["hashtag1","hashtag2"]},{"1391707149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391707224, 1391707373, 1391706968, 1391707297, 1391707048, 1391707149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96134161949158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-01 22:16:22.725078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_22_2656.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_26_3718.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_29_2784.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_32_2634.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_35_3698.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_38_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_22_2656.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_26_3718.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_29_2784.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_32_2634.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_35_3698.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_38_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391708557","1391708428","1391708373","1391708298","1391708514","1391708471"],"photo_ids_order":["1391708298","1391708373","1391708428","1391708471","1391708514","1391708557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14adbb5811253f8b77ab8afff5c7c39b.jpg","text":"TemporaryFile(/tmp/multipartBody4454636229025220246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_38_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11813cee3cfea6c8bf9b4218112fae69.jpg","text":"TemporaryFile(/tmp/multipartBody962061320763890435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_29_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85c91f439c3e571843e886aeec56ac93.jpg","text":"TemporaryFile(/tmp/multipartBody8176023957599564665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_26_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1ed2441a8c1bc8c4fa35ded35efa2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3674889253702526686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d993bf155456d834e898d8c60314398.jpg","text":"TemporaryFile(/tmp/multipartBody336496878073433735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_35_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed9fbe66fc3e65f414a03aacaec226fa.jpg","text":"TemporaryFile(/tmp/multipartBody6299968146298420256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031868096,"filename":"image_30102025_06_26_32_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391708428","file1":"1391708373","file0":"1391708298","file4":"1391708514","file5":"1391708557","file3":"1391708471"},"map_files_photo_id_array":[{"photo_id":"1391708557","filename":"file5"},{"photo_id":"1391708428","filename":"file2"},{"photo_id":"1391708514","filename":"file4"},{"photo_id":"1391708373","filename":"file1"},{"photo_id":"1391708298","filename":"file0"},{"photo_id":"1391708471","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391708557":["hashtag1","hashtag2"]},{"1391708428":["hashtag1","hashtag2"]},{"1391708373":["hashtag1","hashtag2"]},{"1391708298":["hashtag1","hashtag2"]},{"1391708514":["hashtag1","hashtag2"]},{"1391708471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391708557, 1391708428, 1391708373, 1391708298, 1391708514, 1391708471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.996437072753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:17:42.147270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_41_2672.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_44_3671.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_47_2571.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_49_2576.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_53_3659.jpg', '/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_56_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_41_2672.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_44_3671.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_47_2571.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_49_2576.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_53_3659.jpg
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_56_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391709391","1391709046","1391709435","1391709258","1391709339","1391709167"],"photo_ids_order":["1391709046","1391709167","1391709258","1391709339","1391709391","1391709435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48b21e06ddcde036a80b3dfa8744dec3.jpg","text":"TemporaryFile(/tmp/multipartBody635765919535998734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_53_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/233bda1cda8fadee9dfaebb225bb74ed.jpg","text":"TemporaryFile(/tmp/multipartBody8589604956721765339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_41_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/311a10c2a973df692011c999fecbce2e.jpg","text":"TemporaryFile(/tmp/multipartBody6885891311867079486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_56_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c14db3022099a17d93ba820e5f1493e.jpg","text":"TemporaryFile(/tmp/multipartBody6860439506705776173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_47_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c8531c1a71c06be640566aec858512f.jpg","text":"TemporaryFile(/tmp/multipartBody7183647684846320597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_49_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ed8d993119721f17aeb9a573d6c9c261.jpg","text":"TemporaryFile(/tmp/multipartBody7852812785087278509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762031931355,"filename":"image_30102025_06_26_44_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391709258","file1":"1391709167","file0":"1391709046","file4":"1391709391","file5":"1391709435","file3":"1391709339"},"map_files_photo_id_array":[{"photo_id":"1391709435","filename":"file5"},{"photo_id":"1391709258","filename":"file2"},{"photo_id":"1391709391","filename":"file4"},{"photo_id":"1391709167","filename":"file1"},{"photo_id":"1391709046","filename":"file0"},{"photo_id":"1391709339","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391709391":["hashtag1","hashtag2"]},{"1391709046":["hashtag1","hashtag2"]},{"1391709435":["hashtag1","hashtag2"]},{"1391709258":["hashtag1","hashtag2"]},{"1391709339":["hashtag1","hashtag2"]},{"1391709167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391709391, 1391709046, 1391709435, 1391709258, 1391709339, 1391709167)","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 = 1391709258 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_47_2571.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.61870694160461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:19:03.364359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_58_2643.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_02_3593.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_05_2575.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_07_2807.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_11_3590.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_14_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/26/image_30102025_06_26_58_2643.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_02_3593.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_05_2575.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_07_2807.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_11_3590.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_14_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391710174","1391710516","1391710411","1391710251","1391710326","1391710097"],"photo_ids_order":["1391710097","1391710174","1391710251","1391710326","1391710411","1391710516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b70b46f3f49e1f6f30e4c7c8c195633.jpg","text":"TemporaryFile(/tmp/multipartBody2667580085958610967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_27_02_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b8bc15f5cc6d40c8667daacd64a0f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4820606958920822177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_27_14_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/929acfe56c748dcdfd5ebad4a5cca46c.jpg","text":"TemporaryFile(/tmp/multipartBody7625492907161729624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_27_11_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0532ae37c95d752eb4160829e74ab95.jpg","text":"TemporaryFile(/tmp/multipartBody3792414744572965711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_27_05_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f1e0910f78bdc66dc03769e8e84e0d13.jpg","text":"TemporaryFile(/tmp/multipartBody7597363065165639255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_27_07_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b8d1bf62a98c63317dcb2dc5fac8920.jpg","text":"TemporaryFile(/tmp/multipartBody6396653876676039733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032009202,"filename":"image_30102025_06_26_58_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391710251","file1":"1391710174","file0":"1391710097","file4":"1391710411","file5":"1391710516","file3":"1391710326"},"map_files_photo_id_array":[{"photo_id":"1391710516","filename":"file5"},{"photo_id":"1391710251","filename":"file2"},{"photo_id":"1391710411","filename":"file4"},{"photo_id":"1391710174","filename":"file1"},{"photo_id":"1391710097","filename":"file0"},{"photo_id":"1391710326","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391710174":["hashtag1","hashtag2"]},{"1391710516":["hashtag1","hashtag2"]},{"1391710411":["hashtag1","hashtag2"]},{"1391710251":["hashtag1","hashtag2"]},{"1391710326":["hashtag1","hashtag2"]},{"1391710097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391710174, 1391710516, 1391710411, 1391710251, 1391710326, 1391710097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.397871017456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:20:03.283719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_17_3661.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_20_2622.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_23_2809.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_26_3565.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_29_2662.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_32_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_17_3661.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_20_2622.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_23_2809.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_26_3565.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_29_2662.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_32_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391711306","1391711482","1391711578","1391711442","1391711523","1391711393"],"photo_ids_order":["1391711306","1391711393","1391711442","1391711482","1391711523","1391711578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/06125d975469a161fed6a10a041ded8f.jpg","text":"TemporaryFile(/tmp/multipartBody7135673171625520824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_17_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d95105aa37809c6f408569947c049a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8861688977112189902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_26_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56965e8b74e7d8065e7469e6498a345b.jpg","text":"TemporaryFile(/tmp/multipartBody2971005445290829972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_32_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/77ca4543caa4fdf29de956e58ae5d36c.jpg","text":"TemporaryFile(/tmp/multipartBody5178827371878787207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_23_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cd831c9b56984d73ec6b9344f73b484.jpg","text":"TemporaryFile(/tmp/multipartBody2888110519924350368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_29_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/11b94ef5cd44e66c324c5bd534b8075e.jpg","text":"TemporaryFile(/tmp/multipartBody957790413610694468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032065520,"filename":"image_30102025_06_27_20_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391711442","file1":"1391711393","file0":"1391711306","file4":"1391711523","file5":"1391711578","file3":"1391711482"},"map_files_photo_id_array":[{"photo_id":"1391711578","filename":"file5"},{"photo_id":"1391711442","filename":"file2"},{"photo_id":"1391711523","filename":"file4"},{"photo_id":"1391711393","filename":"file1"},{"photo_id":"1391711306","filename":"file0"},{"photo_id":"1391711482","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391711306":["hashtag1","hashtag2"]},{"1391711482":["hashtag1","hashtag2"]},{"1391711578":["hashtag1","hashtag2"]},{"1391711442":["hashtag1","hashtag2"]},{"1391711523":["hashtag1","hashtag2"]},{"1391711393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391711306, 1391711482, 1391711578, 1391711442, 1391711523, 1391711393)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.16408920288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:21:02.557456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_35_3551.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_38_2653.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_40_2698.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_44_3698.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_47_2705.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_50_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_35_3551.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_38_2653.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_40_2698.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_44_3698.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_47_2705.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_50_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391712130","1391712096","1391712042","1391712132","1391712126","1391712128"],"photo_ids_order":["1391712042","1391712096","1391712126","1391712128","1391712130","1391712132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc420204de8e93fb7915cc47dbf0ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody4641684593253163914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_47_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b0283d5c0d1034da367751713dc9dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5735085298493599634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_38_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f8074cb647142cdf8bf89a554846815.jpg","text":"TemporaryFile(/tmp/multipartBody2683827353399107912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_35_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28a9cdb3dfb4461f833b903d3fda9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2005155535580296166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_50_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c442f8f7690cf0ea882d9e750f0e287.jpg","text":"TemporaryFile(/tmp/multipartBody5112870881534826316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d6db98ac986c954080ccf5a90f77ca28.jpg","text":"TemporaryFile(/tmp/multipartBody7995892202012211557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032124848,"filename":"image_30102025_06_27_44_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391712126","file1":"1391712096","file0":"1391712042","file4":"1391712130","file5":"1391712132","file3":"1391712128"},"map_files_photo_id_array":[{"photo_id":"1391712132","filename":"file5"},{"photo_id":"1391712126","filename":"file2"},{"photo_id":"1391712130","filename":"file4"},{"photo_id":"1391712096","filename":"file1"},{"photo_id":"1391712042","filename":"file0"},{"photo_id":"1391712128","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391712130":["hashtag1","hashtag2"]},{"1391712096":["hashtag1","hashtag2"]},{"1391712042":["hashtag1","hashtag2"]},{"1391712132":["hashtag1","hashtag2"]},{"1391712126":["hashtag1","hashtag2"]},{"1391712128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391712130, 1391712096, 1391712042, 1391712132, 1391712126, 1391712128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535892963409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:21:41.990859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_52_2819.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_56_3689.jpg', '/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_59_2620.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_04_2826.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_08_3826.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_11_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_52_2819.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_56_3689.jpg
/home/pi/Desktop/images/30102025/06/27/image_30102025_06_27_59_2620.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_04_2826.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_08_3826.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_11_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391712187","1391712409","1391712144","1391712228","1391712326","1391712149"],"photo_ids_order":["1391712144","1391712149","1391712187","1391712228","1391712326","1391712409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b668d77da49ade9d2df6b044878fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody556371339021519082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_27_59_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5108f84d2214e12407e504b6d773a15c.jpg","text":"TemporaryFile(/tmp/multipartBody9205517687507369656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_28_11_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0a940e364555a1c73e5cfcff0ae806b3.jpg","text":"TemporaryFile(/tmp/multipartBody4719204028084258257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_27_52_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97d3fb906ad1ab87e4e3ebc77a04e789.jpg","text":"TemporaryFile(/tmp/multipartBody821762953798593128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_28_04_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0656dd3cfa4b11ac047ee67dfd82f244.jpg","text":"TemporaryFile(/tmp/multipartBody4639917276216808765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_28_08_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d011e81fb0be31747ad554da3fdb1554.jpg","text":"TemporaryFile(/tmp/multipartBody98826707991200554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032163257,"filename":"image_30102025_06_27_56_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391712187","file1":"1391712149","file0":"1391712144","file4":"1391712326","file5":"1391712409","file3":"1391712228"},"map_files_photo_id_array":[{"photo_id":"1391712409","filename":"file5"},{"photo_id":"1391712187","filename":"file2"},{"photo_id":"1391712326","filename":"file4"},{"photo_id":"1391712149","filename":"file1"},{"photo_id":"1391712144","filename":"file0"},{"photo_id":"1391712228","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391712187":["hashtag1","hashtag2"]},{"1391712409":["hashtag1","hashtag2"]},{"1391712144":["hashtag1","hashtag2"]},{"1391712228":["hashtag1","hashtag2"]},{"1391712326":["hashtag1","hashtag2"]},{"1391712149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391712187, 1391712409, 1391712144, 1391712228, 1391712326, 1391712149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.24374842643738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:22:42.252636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_13_2735.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_16_2726.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_20_3690.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_23_2796.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_25_2577.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_29_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_13_2735.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_16_2726.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_20_3690.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_23_2796.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_25_2577.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_29_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391712786","1391712714","1391712983","1391712860","1391712944","1391712905"],"photo_ids_order":["1391712714","1391712786","1391712860","1391712905","1391712944","1391712983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9918fba0749aa730bda0ef28d2b1b459.jpg","text":"TemporaryFile(/tmp/multipartBody3264444915562220997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_16_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8b9cb3b118f40281d772073cd2fbe7a.jpg","text":"TemporaryFile(/tmp/multipartBody1590455872651787995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_13_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c7545679166a7383c6cf320cdd9322b.jpg","text":"TemporaryFile(/tmp/multipartBody5781102317749249228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_29_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fb126b2e547cb8f82a71f2030e47acd.jpg","text":"TemporaryFile(/tmp/multipartBody6331907939685725172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cedec9dac1b391a87a373a64e8de7b1a.jpg","text":"TemporaryFile(/tmp/multipartBody158230564179693577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_25_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fbb4c93586f4bb45da10143556313901.jpg","text":"TemporaryFile(/tmp/multipartBody5137666310606521199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032223545,"filename":"image_30102025_06_28_23_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391712860","file1":"1391712786","file0":"1391712714","file4":"1391712944","file5":"1391712983","file3":"1391712905"},"map_files_photo_id_array":[{"photo_id":"1391712983","filename":"file5"},{"photo_id":"1391712860","filename":"file2"},{"photo_id":"1391712944","filename":"file4"},{"photo_id":"1391712786","filename":"file1"},{"photo_id":"1391712714","filename":"file0"},{"photo_id":"1391712905","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391712786":["hashtag1","hashtag2"]},{"1391712714":["hashtag1","hashtag2"]},{"1391712983":["hashtag1","hashtag2"]},{"1391712860":["hashtag1","hashtag2"]},{"1391712944":["hashtag1","hashtag2"]},{"1391712905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391712786, 1391712714, 1391712983, 1391712860, 1391712944, 1391712905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.960527420043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:23:22.333497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_32_2623.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_34_2645.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_38_3728.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_41_2644.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_43_2675.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_47_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_32_2623.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_34_2645.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_38_3728.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_41_2644.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_43_2675.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_47_3886.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391713320","1391713325","1391713268","1391713328","1391713217","1391713258"],"photo_ids_order":["1391713217","1391713258","1391713268","1391713320","1391713325","1391713328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e17113e5532c229a633e339195a873e.jpg","text":"TemporaryFile(/tmp/multipartBody9023519161070750191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_41_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/125691392f254fb0bfd2d765143a1d76.jpg","text":"TemporaryFile(/tmp/multipartBody7420095090595935056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_43_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/943a9d385c2881742ce43d4393d1fb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2058578596260270772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_38_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/340a0ef49abe7b1b00ca8e4119b72f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1349504521043535193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_47_3886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48f16b556b8f21dd32a0fff7584d1040.jpg","text":"TemporaryFile(/tmp/multipartBody4713732649851501885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_32_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9abcb3a9f099e1f9319c414e45f9cb76.jpg","text":"TemporaryFile(/tmp/multipartBody3432769756979545425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032265184,"filename":"image_30102025_06_28_34_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391713268","file1":"1391713258","file0":"1391713217","file4":"1391713325","file5":"1391713328","file3":"1391713320"},"map_files_photo_id_array":[{"photo_id":"1391713328","filename":"file5"},{"photo_id":"1391713268","filename":"file2"},{"photo_id":"1391713325","filename":"file4"},{"photo_id":"1391713258","filename":"file1"},{"photo_id":"1391713217","filename":"file0"},{"photo_id":"1391713320","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391713320":["hashtag1","hashtag2"]},{"1391713325":["hashtag1","hashtag2"]},{"1391713268":["hashtag1","hashtag2"]},{"1391713328":["hashtag1","hashtag2"]},{"1391713217":["hashtag1","hashtag2"]},{"1391713258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391713320, 1391713325, 1391713268, 1391713328, 1391713217, 1391713258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.381654262542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:24:03.198382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_50_2906.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_53_2657.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_55_2809.jpg', '/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_58_2648.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_02_3672.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_05_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_50_2906.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_53_2657.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_55_2809.jpg
/home/pi/Desktop/images/30102025/06/28/image_30102025_06_28_58_2648.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_02_3672.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_05_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391713395","1391713394","1391713397","1391713396","1391713400","1391713420"],"photo_ids_order":["1391713394","1391713395","1391713396","1391713397","1391713400","1391713420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9993b28439247671a07cfb19643a2364.jpg","text":"TemporaryFile(/tmp/multipartBody9163954960641747282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_28_53_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/827b2b70b93b293387b47aeff595c028.jpg","text":"TemporaryFile(/tmp/multipartBody3865390115363489491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_28_50_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/399e87ff8c1823ba1697ec7de6902627.jpg","text":"TemporaryFile(/tmp/multipartBody485853349360785441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_28_58_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce3240c98b51aafb5182d1619384ef19.jpg","text":"TemporaryFile(/tmp/multipartBody3700516552780995677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_28_55_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/535f181bd3a10391cc745e5d5a6c2e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4361840627145640033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_29_02_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0df390137bf4fe9142379a69a086f887.jpg","text":"TemporaryFile(/tmp/multipartBody3933664814359861437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032305447,"filename":"image_30102025_06_29_05_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391713396","file1":"1391713395","file0":"1391713394","file4":"1391713400","file5":"1391713420","file3":"1391713397"},"map_files_photo_id_array":[{"photo_id":"1391713420","filename":"file5"},{"photo_id":"1391713396","filename":"file2"},{"photo_id":"1391713400","filename":"file4"},{"photo_id":"1391713395","filename":"file1"},{"photo_id":"1391713394","filename":"file0"},{"photo_id":"1391713397","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391713395":["hashtag1","hashtag2"]},{"1391713394":["hashtag1","hashtag2"]},{"1391713397":["hashtag1","hashtag2"]},{"1391713396":["hashtag1","hashtag2"]},{"1391713400":["hashtag1","hashtag2"]},{"1391713420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391713395, 1391713394, 1391713397, 1391713396, 1391713400, 1391713420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.229464054107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:24:42.680071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_07_2640.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_11_3516.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_13_2645.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_17_3669.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_20_2580.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_22_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_07_2640.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_11_3516.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_13_2645.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_17_3669.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_20_2580.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_22_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391713737","1391713620","1391713661","1391713700","1391713576","1391713777"],"photo_ids_order":["1391713576","1391713620","1391713661","1391713700","1391713737","1391713777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bbd79fc3b8699ead1aa298434139da2.jpg","text":"TemporaryFile(/tmp/multipartBody583243306999605133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_20_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1992e7f71b9d10e8b61eb3a89f56a762.jpg","text":"TemporaryFile(/tmp/multipartBody5012584495540774137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_11_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e45ac7b2e955d544bddc7a5469ea1d3.jpg","text":"TemporaryFile(/tmp/multipartBody4551681295645738130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/19efde0e680befbf9053abe1cb7b736b.jpg","text":"TemporaryFile(/tmp/multipartBody4098735852719052071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_17_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f2960bcc47e2fc8233c9ac7291c926a3.jpg","text":"TemporaryFile(/tmp/multipartBody6355844131673829502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b60e00df2586944edd62978c904cb63.jpg","text":"TemporaryFile(/tmp/multipartBody583140654317910967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032343959,"filename":"image_30102025_06_29_22_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391713661","file1":"1391713620","file0":"1391713576","file4":"1391713737","file5":"1391713777","file3":"1391713700"},"map_files_photo_id_array":[{"photo_id":"1391713777","filename":"file5"},{"photo_id":"1391713661","filename":"file2"},{"photo_id":"1391713737","filename":"file4"},{"photo_id":"1391713620","filename":"file1"},{"photo_id":"1391713576","filename":"file0"},{"photo_id":"1391713700","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391713737":["hashtag1","hashtag2"]},{"1391713620":["hashtag1","hashtag2"]},{"1391713661":["hashtag1","hashtag2"]},{"1391713700":["hashtag1","hashtag2"]},{"1391713576":["hashtag1","hashtag2"]},{"1391713777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391713737, 1391713620, 1391713661, 1391713700, 1391713576, 1391713777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.110798358917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:25:21.853045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_26_3746.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_29_2596.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_31_2669.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_35_3733.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_38_2725.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_40_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_26_3746.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_29_2596.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_31_2669.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_35_3733.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_38_2725.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_40_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391714043","1391714004","1391714171","1391713961","1391714129","1391714083"],"photo_ids_order":["1391713961","1391714004","1391714043","1391714083","1391714129","1391714171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9a00be2a6d073e80ba22fd57cf4b68eb.jpg","text":"TemporaryFile(/tmp/multipartBody7709182781732658003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/273f43b9a59b3b595156d1b5fb47eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2222174469329162739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d12d61a99f65fa1a29fddf383916120.jpg","text":"TemporaryFile(/tmp/multipartBody6629744885158679134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7ebae4f1a0dec234792fd20c18f23844.jpg","text":"TemporaryFile(/tmp/multipartBody3927210884882398209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_26_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba2a1eac711480c12d68c9f250223760.jpg","text":"TemporaryFile(/tmp/multipartBody7957712169058372612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4524d554c109defcaa29cbc5c72b199d.jpg","text":"TemporaryFile(/tmp/multipartBody4735326492113918429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032385833,"filename":"image_30102025_06_29_35_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391714043","file1":"1391714004","file0":"1391713961","file4":"1391714129","file5":"1391714171","file3":"1391714083"},"map_files_photo_id_array":[{"photo_id":"1391714171","filename":"file5"},{"photo_id":"1391714043","filename":"file2"},{"photo_id":"1391714129","filename":"file4"},{"photo_id":"1391714004","filename":"file1"},{"photo_id":"1391713961","filename":"file0"},{"photo_id":"1391714083","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391714043":["hashtag1","hashtag2"]},{"1391714004":["hashtag1","hashtag2"]},{"1391714171":["hashtag1","hashtag2"]},{"1391713961":["hashtag1","hashtag2"]},{"1391714129":["hashtag1","hashtag2"]},{"1391714083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391714043, 1391714004, 1391714171, 1391713961, 1391714129, 1391714083)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.65268063545227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:26:21.961004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_43_3181.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_46_2809.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_50_3642.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_53_2629.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_55_2546.jpg', '/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_59_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_43_3181.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_46_2809.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_50_3642.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_53_2629.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_55_2546.jpg
/home/pi/Desktop/images/30102025/06/29/image_30102025_06_29_59_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391714676","1391714634","1391714562","1391714726","1391714722","1391714512"],"photo_ids_order":["1391714512","1391714562","1391714634","1391714676","1391714722","1391714726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7fa5b7726afc57564727c87565d7b81e.jpg","text":"TemporaryFile(/tmp/multipartBody6278771076640578471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_53_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5aa2bd35213aa28600885a9b47f55988.jpg","text":"TemporaryFile(/tmp/multipartBody6178726805827596936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_50_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8adfb3b25e0eea063d2937b0011c598.jpg","text":"TemporaryFile(/tmp/multipartBody2695348026995176027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_46_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5bcc04e806c8c11a6f9384ef7cb0170.jpg","text":"TemporaryFile(/tmp/multipartBody8352190295067308334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_59_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f7ec6fc114d394c6b345d0a88474b54.jpg","text":"TemporaryFile(/tmp/multipartBody4634064669174242543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_55_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/036a9d5aaf890534c636f7a923dec648.jpg","text":"TemporaryFile(/tmp/multipartBody5617268063304868950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032446497,"filename":"image_30102025_06_29_43_3181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391714634","file1":"1391714562","file0":"1391714512","file4":"1391714722","file5":"1391714726","file3":"1391714676"},"map_files_photo_id_array":[{"photo_id":"1391714726","filename":"file5"},{"photo_id":"1391714634","filename":"file2"},{"photo_id":"1391714722","filename":"file4"},{"photo_id":"1391714562","filename":"file1"},{"photo_id":"1391714512","filename":"file0"},{"photo_id":"1391714676","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391714676":["hashtag1","hashtag2"]},{"1391714634":["hashtag1","hashtag2"]},{"1391714562":["hashtag1","hashtag2"]},{"1391714726":["hashtag1","hashtag2"]},{"1391714722":["hashtag1","hashtag2"]},{"1391714512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391714676, 1391714634, 1391714562, 1391714726, 1391714722, 1391714512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.35414123535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:27:22.056549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_02_2624.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_04_2611.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_08_3690.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_11_2734.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_14_3143.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_16_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_02_2624.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_04_2611.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_08_3690.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_11_2734.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_14_3143.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_16_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391714744","1391714738","1391714747","1391714741","1391714735","1391714749"],"photo_ids_order":["1391714735","1391714738","1391714741","1391714744","1391714747","1391714749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8293b17cfaa6a059330b9c9719370de3.jpg","text":"TemporaryFile(/tmp/multipartBody3024571172253611074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_11_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/13c9a8a95f9d96e81e26ef0fc7cdd64b.jpg","text":"TemporaryFile(/tmp/multipartBody2438760788762213926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_04_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ef2a9550dfeffe31298fc63d0629b647.jpg","text":"TemporaryFile(/tmp/multipartBody8693478138553420802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_14_3143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eae77cd0f3429300a457164904380a11.jpg","text":"TemporaryFile(/tmp/multipartBody8532714742314332780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_08_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b0f53f4a52ba4eb7b6ae2a6d36e8ee73.jpg","text":"TemporaryFile(/tmp/multipartBody241431233091506755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_02_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee7b12db3d20a5ffd6ec3e25f5e9bcc5.jpg","text":"TemporaryFile(/tmp/multipartBody1669705501740676669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032505005,"filename":"image_30102025_06_30_16_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391714741","file1":"1391714738","file0":"1391714735","file4":"1391714747","file5":"1391714749","file3":"1391714744"},"map_files_photo_id_array":[{"photo_id":"1391714749","filename":"file5"},{"photo_id":"1391714741","filename":"file2"},{"photo_id":"1391714747","filename":"file4"},{"photo_id":"1391714738","filename":"file1"},{"photo_id":"1391714735","filename":"file0"},{"photo_id":"1391714744","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391714744":["hashtag1","hashtag2"]},{"1391714738":["hashtag1","hashtag2"]},{"1391714747":["hashtag1","hashtag2"]},{"1391714741":["hashtag1","hashtag2"]},{"1391714735":["hashtag1","hashtag2"]},{"1391714749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391714744, 1391714738, 1391714747, 1391714741, 1391714735, 1391714749)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.62094497680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:28:34.783807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_19_2669.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_23_3566.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_25_2657.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_29_3619.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_32_2704.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_34_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_19_2669.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_23_3566.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_25_2657.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_29_3619.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_32_2704.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_34_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391715017","1391715107","1391714930","1391715058","1391714890","1391714971"],"photo_ids_order":["1391714890","1391714930","1391714971","1391715017","1391715058","1391715107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/425268c93532c8ea105fc95ab615c583.jpg","text":"TemporaryFile(/tmp/multipartBody124063214128354240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_29_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4891b301db7bb345c0b9b6796cf313a.jpg","text":"TemporaryFile(/tmp/multipartBody8019735039835657675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_34_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a560fe6aaf731b157d365d26a8d501a3.jpg","text":"TemporaryFile(/tmp/multipartBody1199930469817940963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_23_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f4549bd3315977ac36fdfad39778af33.jpg","text":"TemporaryFile(/tmp/multipartBody6489450884104644762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_32_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f817b7ddfab303381b6c49c912c2980.jpg","text":"TemporaryFile(/tmp/multipartBody3224777387179624380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_19_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a035188e6f8164640f9e25e3d12c9ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2442072800853622172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032577710,"filename":"image_30102025_06_30_25_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391714971","file1":"1391714930","file0":"1391714890","file4":"1391715058","file5":"1391715107","file3":"1391715017"},"map_files_photo_id_array":[{"photo_id":"1391715107","filename":"file5"},{"photo_id":"1391714971","filename":"file2"},{"photo_id":"1391715058","filename":"file4"},{"photo_id":"1391714930","filename":"file1"},{"photo_id":"1391714890","filename":"file0"},{"photo_id":"1391715017","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391715017":["hashtag1","hashtag2"]},{"1391715107":["hashtag1","hashtag2"]},{"1391714930":["hashtag1","hashtag2"]},{"1391715058":["hashtag1","hashtag2"]},{"1391714890":["hashtag1","hashtag2"]},{"1391714971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391715017, 1391715107, 1391714930, 1391715058, 1391714890, 1391714971)","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 = 1391714971 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_25_2657.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.44013381004333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:29:42.547718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_37_2735.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_41_3565.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_43_2649.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_47_3690.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_50_2636.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_52_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_37_2735.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_41_3565.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_43_2649.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_47_3690.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_50_2636.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_52_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391715746","1391715877","1391715792","1391716011","1391715930","1391715834"],"photo_ids_order":["1391715746","1391715792","1391715834","1391715877","1391715930","1391716011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5da10791950b2a8b938678273bc76b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5405033043041754564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_37_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ed93504fd4ddd615563d8795ac30338.jpg","text":"TemporaryFile(/tmp/multipartBody1838828891313091755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_47_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ab2170b677a2558e22db11630705261.jpg","text":"TemporaryFile(/tmp/multipartBody7913328874119070103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_41_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/20ed90baeaf5d5e534de56fd693d9d11.jpg","text":"TemporaryFile(/tmp/multipartBody290630682259521512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_52_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aafd0b0fdd1080091bf1d78a1269cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody7840936028613155284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_50_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3784f8e5afec6f8065be6d9f478d6c39.jpg","text":"TemporaryFile(/tmp/multipartBody652794341586179462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032643824,"filename":"image_30102025_06_30_43_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391715834","file1":"1391715792","file0":"1391715746","file4":"1391715930","file5":"1391716011","file3":"1391715877"},"map_files_photo_id_array":[{"photo_id":"1391716011","filename":"file5"},{"photo_id":"1391715834","filename":"file2"},{"photo_id":"1391715930","filename":"file4"},{"photo_id":"1391715792","filename":"file1"},{"photo_id":"1391715746","filename":"file0"},{"photo_id":"1391715877","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391715746":["hashtag1","hashtag2"]},{"1391715877":["hashtag1","hashtag2"]},{"1391715792":["hashtag1","hashtag2"]},{"1391716011":["hashtag1","hashtag2"]},{"1391715930":["hashtag1","hashtag2"]},{"1391715834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391715746, 1391715877, 1391715792, 1391716011, 1391715930, 1391715834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9374418258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:30:22.778989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_56_3627.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_59_2772.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_04_2773.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_08_3731.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_10_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_56_3627.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_59_2772.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_04_2773.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_08_3731.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_10_2503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391716310","1391716270","1391716590","1391716380","1391716470","1391716233"],"photo_ids_order":["1391716233","1391716270","1391716310","1391716380","1391716470","1391716590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/baf52f5e9717f56f401c454259ded809.jpg","text":"TemporaryFile(/tmp/multipartBody1487535035840634545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_31_01_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/468644b2a8907f210dcd7acf14cc29a2.jpg","text":"TemporaryFile(/tmp/multipartBody492027854197921735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_30_59_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bcb45ab08246ab7800b0c855084f757.jpg","text":"TemporaryFile(/tmp/multipartBody7344393719725540477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_31_10_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d7429ccb85029ca489ad3ef5cd9071e.jpg","text":"TemporaryFile(/tmp/multipartBody5946184075104686527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_31_04_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2357ec9b3d69d23f90b1a7af02fe0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody6934229531372090526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_31_08_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bd4e6b932a7f0a3c185f56a511c74c1.jpg","text":"TemporaryFile(/tmp/multipartBody7382422130041336821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032685678,"filename":"image_30102025_06_30_56_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391716310","file1":"1391716270","file0":"1391716233","file4":"1391716470","file5":"1391716590","file3":"1391716380"},"map_files_photo_id_array":[{"photo_id":"1391716590","filename":"file5"},{"photo_id":"1391716310","filename":"file2"},{"photo_id":"1391716470","filename":"file4"},{"photo_id":"1391716270","filename":"file1"},{"photo_id":"1391716233","filename":"file0"},{"photo_id":"1391716380","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391716310":["hashtag1","hashtag2"]},{"1391716270":["hashtag1","hashtag2"]},{"1391716590":["hashtag1","hashtag2"]},{"1391716380":["hashtag1","hashtag2"]},{"1391716470":["hashtag1","hashtag2"]},{"1391716233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391716310, 1391716270, 1391716590, 1391716380, 1391716470, 1391716233)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391716310 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391716310 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg";
uploaded 6 photos
time to upload: 63.97626852989197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:31:42.228691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_56_3627.jpg', '/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_59_2772.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_04_2773.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_08_3731.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_10_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_56_3627.jpg
/home/pi/Desktop/images/30102025/06/30/image_30102025_06_30_59_2772.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_01_2684.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_04_2773.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_08_3731.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_10_2503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391717583","1391717757","1391717859","1391717901","1391717672","1391717819"],"photo_ids_order":["1391717583","1391717672","1391717757","1391717819","1391717859","1391717901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a412f2d349d4794cc32f2929201ce41.jpg","text":"TemporaryFile(/tmp/multipartBody2542454683283356241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_30_56_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fe88f5f2648039460872d60f0e8350c.jpg","text":"TemporaryFile(/tmp/multipartBody7932538771509746983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_31_01_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5697b4c9619b61e36ad29beb1564be2b.jpg","text":"TemporaryFile(/tmp/multipartBody6305271092857558467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_31_08_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70140c667683dd5ecf00a467b9141987.jpg","text":"TemporaryFile(/tmp/multipartBody7817001763788237477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_31_10_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0af4f066a4a1a483e4bc76ff0db0745.jpg","text":"TemporaryFile(/tmp/multipartBody5291997051028818755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_30_59_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/76a2da64e93a504cc6cc5ba02c3c967e.jpg","text":"TemporaryFile(/tmp/multipartBody2415693638919263549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032763400,"filename":"image_30102025_06_31_04_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391717757","file1":"1391717672","file0":"1391717583","file4":"1391717859","file5":"1391717901","file3":"1391717819"},"map_files_photo_id_array":[{"photo_id":"1391717901","filename":"file5"},{"photo_id":"1391717757","filename":"file2"},{"photo_id":"1391717859","filename":"file4"},{"photo_id":"1391717672","filename":"file1"},{"photo_id":"1391717583","filename":"file0"},{"photo_id":"1391717819","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391717583":["hashtag1","hashtag2"]},{"1391717757":["hashtag1","hashtag2"]},{"1391717859":["hashtag1","hashtag2"]},{"1391717901":["hashtag1","hashtag2"]},{"1391717672":["hashtag1","hashtag2"]},{"1391717819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391717583, 1391717757, 1391717859, 1391717901, 1391717672, 1391717819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.689056396484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:32:24.860806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_13_2733.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_17_3617.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_19_2584.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_23_3557.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_25_2642.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_28_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_13_2733.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_17_3617.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_19_2584.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_23_3557.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_25_2642.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_28_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391719197","1391718922","1391718455","1391719075","1391718608","1391718763"],"photo_ids_order":["1391718455","1391718608","1391718763","1391718922","1391719075","1391719197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3721df2e015becb06d29a5446e56c038.jpg","text":"TemporaryFile(/tmp/multipartBody3091442992943846922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e26e34bf8b89123c6e396000c5617e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3894246677607205916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_23_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1a01a098d2ff24051c06f6fdaf56c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2550740356058224783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_13_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4bcdcac9142181eea8738bf2bdafe88b.jpg","text":"TemporaryFile(/tmp/multipartBody7909058781727745030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_25_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c094ce670772b9c5ccaa95f275e956df.jpg","text":"TemporaryFile(/tmp/multipartBody6403661318980359063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_17_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfb2a043177c1e7e539f85e565a93db0.jpg","text":"TemporaryFile(/tmp/multipartBody897275841019361556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032807578,"filename":"image_30102025_06_31_19_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391718763","file1":"1391718608","file0":"1391718455","file4":"1391719075","file5":"1391719197","file3":"1391718922"},"map_files_photo_id_array":[{"photo_id":"1391719197","filename":"file5"},{"photo_id":"1391718763","filename":"file2"},{"photo_id":"1391719075","filename":"file4"},{"photo_id":"1391718608","filename":"file1"},{"photo_id":"1391718455","filename":"file0"},{"photo_id":"1391718922","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391719197":["hashtag1","hashtag2"]},{"1391718922":["hashtag1","hashtag2"]},{"1391718455":["hashtag1","hashtag2"]},{"1391719075":["hashtag1","hashtag2"]},{"1391718608":["hashtag1","hashtag2"]},{"1391718763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391719197, 1391718922, 1391718455, 1391719075, 1391718608, 1391718763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.796597480773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:33:21.966457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_32_3589.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_35_2805.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_37_2658.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_41_3598.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_43_2657.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_46_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_32_3589.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_35_2805.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_37_2658.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_41_3598.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_43_2657.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_46_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391720206","1391720016","1391719958","1391720264","1391720159","1391720092"],"photo_ids_order":["1391719958","1391720016","1391720092","1391720159","1391720206","1391720264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/799ac12878fb51e4e29b7d2c0aed49aa.jpg","text":"TemporaryFile(/tmp/multipartBody2976851666081023433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_43_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da6441baf82f34e0f15e1f64147ccef7.jpg","text":"TemporaryFile(/tmp/multipartBody7599612637339296816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_35_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d0ac17743afa1919676235fdee90714b.jpg","text":"TemporaryFile(/tmp/multipartBody6114080684861393969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_32_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e8c4416c04271a0b5ea5a365f091fe11.jpg","text":"TemporaryFile(/tmp/multipartBody8335152575815478818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_46_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0e9626c0a783c95b4b9c683ceac0f72.jpg","text":"TemporaryFile(/tmp/multipartBody1351920400411071969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_41_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43580e327c779931ed4859da20ea6ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4925933076354449508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032864655,"filename":"image_30102025_06_31_37_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391720092","file1":"1391720016","file0":"1391719958","file4":"1391720206","file5":"1391720264","file3":"1391720159"},"map_files_photo_id_array":[{"photo_id":"1391720264","filename":"file5"},{"photo_id":"1391720092","filename":"file2"},{"photo_id":"1391720206","filename":"file4"},{"photo_id":"1391720016","filename":"file1"},{"photo_id":"1391719958","filename":"file0"},{"photo_id":"1391720159","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391720206":["hashtag1","hashtag2"]},{"1391720016":["hashtag1","hashtag2"]},{"1391719958":["hashtag1","hashtag2"]},{"1391720264":["hashtag1","hashtag2"]},{"1391720159":["hashtag1","hashtag2"]},{"1391720092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391720206, 1391720016, 1391719958, 1391720264, 1391720159, 1391720092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69571042060852 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:34:22.349089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_50_3691.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_52_2669.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_55_2637.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_59_3572.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_01_2802.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_04_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_50_3691.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_52_2669.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_55_2637.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_59_3572.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_01_2802.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_04_2680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.196379661560059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:34:42.432033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_50_3691.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_52_2669.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_55_2637.jpg', '/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_59_3572.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_01_2802.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_04_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_50_3691.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_52_2669.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_55_2637.jpg
/home/pi/Desktop/images/30102025/06/31/image_30102025_06_31_59_3572.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_01_2802.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_04_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391721315","1391721147","1391721065","1391721388","1391721469","1391721229"],"photo_ids_order":["1391721065","1391721147","1391721229","1391721315","1391721388","1391721469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8879aed20122286b09155b34fd66945e.jpg","text":"TemporaryFile(/tmp/multipartBody7020936480786007780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_31_59_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57dbf12ddd6f17bcaf8fd7f56e348c92.jpg","text":"TemporaryFile(/tmp/multipartBody5539751204019293117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_31_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6119229de31bc52c7dc68198a1e100e0.jpg","text":"TemporaryFile(/tmp/multipartBody6215140357591195739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_31_50_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90093649b0edb4b729c899ea782628f0.jpg","text":"TemporaryFile(/tmp/multipartBody4035377040557442299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_32_01_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8913e306a0df721391521be9e05ede58.jpg","text":"TemporaryFile(/tmp/multipartBody3047120178986746011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_32_04_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89c67866d17284c948d68697303b5115.jpg","text":"TemporaryFile(/tmp/multipartBody2618622189501927573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032943565,"filename":"image_30102025_06_31_55_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391721229","file1":"1391721147","file0":"1391721065","file4":"1391721388","file5":"1391721469","file3":"1391721315"},"map_files_photo_id_array":[{"photo_id":"1391721469","filename":"file5"},{"photo_id":"1391721229","filename":"file2"},{"photo_id":"1391721388","filename":"file4"},{"photo_id":"1391721147","filename":"file1"},{"photo_id":"1391721065","filename":"file0"},{"photo_id":"1391721315","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391721315":["hashtag1","hashtag2"]},{"1391721147":["hashtag1","hashtag2"]},{"1391721065":["hashtag1","hashtag2"]},{"1391721388":["hashtag1","hashtag2"]},{"1391721469":["hashtag1","hashtag2"]},{"1391721229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391721315, 1391721147, 1391721065, 1391721388, 1391721469, 1391721229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2800133228302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:35:22.632971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_07_2657.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_11_3884.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_13_2716.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_16_2584.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_20_3640.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_22_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_07_2657.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_11_3884.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_13_2716.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_16_2584.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_20_3640.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_22_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391721855","1391722104","1391722025","1391722063","1391721979","1391721919"],"photo_ids_order":["1391721855","1391721919","1391721979","1391722025","1391722063","1391722104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55b10dc9bf9e627d26612e7e4311e8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1309360036695189302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_07_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f1e4e76ffa41894bc383e9242629d44.jpg","text":"TemporaryFile(/tmp/multipartBody4545112029384740797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_22_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18f631da15fa4b9136a2b17ef9858d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7358712982934591801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_16_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4e2fbc96efee644567ace56bc168bdc.jpg","text":"TemporaryFile(/tmp/multipartBody762497288883526744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_20_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5012d122562e8be962f567bed64b29a1.jpg","text":"TemporaryFile(/tmp/multipartBody6512982503727870099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_13_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aa405bd4871580201c8c7d1e920d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody265126121784793242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762032998736,"filename":"image_30102025_06_32_11_3884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391721979","file1":"1391721919","file0":"1391721855","file4":"1391722063","file5":"1391722104","file3":"1391722025"},"map_files_photo_id_array":[{"photo_id":"1391722104","filename":"file5"},{"photo_id":"1391721979","filename":"file2"},{"photo_id":"1391722063","filename":"file4"},{"photo_id":"1391721919","filename":"file1"},{"photo_id":"1391721855","filename":"file0"},{"photo_id":"1391722025","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391721855":["hashtag1","hashtag2"]},{"1391722104":["hashtag1","hashtag2"]},{"1391722025":["hashtag1","hashtag2"]},{"1391722063":["hashtag1","hashtag2"]},{"1391721979":["hashtag1","hashtag2"]},{"1391721919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391721855, 1391722104, 1391722025, 1391722063, 1391721979, 1391721919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.18815541267395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:36:21.804537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_25_2623.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_28_2754.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_32_3769.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_34_2549.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_38_3491.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_40_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_25_2623.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_28_2754.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_32_3769.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_34_2549.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_38_3491.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_40_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391722421","1391722601","1391722678","1391722558","1391722639","1391722473"],"photo_ids_order":["1391722421","1391722473","1391722558","1391722601","1391722639","1391722678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1384560e631e7490662871bb03e237b.jpg","text":"TemporaryFile(/tmp/multipartBody933041188325581080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_25_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0d5fa5949d5f0981b37adf03a2a048a.jpg","text":"TemporaryFile(/tmp/multipartBody2848972451303796019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_34_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e18ba2dd2ebad6597574d0bde3c1d09.jpg","text":"TemporaryFile(/tmp/multipartBody6774811772515729033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_40_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af28b720ce6ea57ae83d0d035508f420.jpg","text":"TemporaryFile(/tmp/multipartBody5881615130421874457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_32_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d1441f1d17baba838ed64fa84e12cfd.jpg","text":"TemporaryFile(/tmp/multipartBody5156584898033799117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_38_3491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3836abcef7e19b327f0e0ebc0f9ab039.jpg","text":"TemporaryFile(/tmp/multipartBody4329143579082653592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033044606,"filename":"image_30102025_06_32_28_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391722558","file1":"1391722473","file0":"1391722421","file4":"1391722639","file5":"1391722678","file3":"1391722601"},"map_files_photo_id_array":[{"photo_id":"1391722678","filename":"file5"},{"photo_id":"1391722558","filename":"file2"},{"photo_id":"1391722639","filename":"file4"},{"photo_id":"1391722473","filename":"file1"},{"photo_id":"1391722421","filename":"file0"},{"photo_id":"1391722601","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391722421":["hashtag1","hashtag2"]},{"1391722601":["hashtag1","hashtag2"]},{"1391722678":["hashtag1","hashtag2"]},{"1391722558":["hashtag1","hashtag2"]},{"1391722639":["hashtag1","hashtag2"]},{"1391722473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391722421, 1391722601, 1391722678, 1391722558, 1391722639, 1391722473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.119547605514526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:37:22.176851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_43_2579.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_47_3749.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_52_2655.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_56_3561.jpg', '/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_58_2644.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_01_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_43_2579.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_47_3749.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_52_2655.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_56_3561.jpg
/home/pi/Desktop/images/30102025/06/32/image_30102025_06_32_58_2644.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_01_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391722943","1391722940","1391722916","1391722879","1391722882","1391722881"],"photo_ids_order":["1391722879","1391722881","1391722882","1391722916","1391722940","1391722943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17f98df7aee307f03f6e50b9cc585dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3343856260057562920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_33_01_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9538d33c8a023c759bcb10c2796b89f7.jpg","text":"TemporaryFile(/tmp/multipartBody1314649653367618595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_32_58_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5844efae6cde8cfcc9b1433ba3ae769.jpg","text":"TemporaryFile(/tmp/multipartBody6841811979598834197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_32_56_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3187d20e4de4169a90d9ce2bf1f5cee3.jpg","text":"TemporaryFile(/tmp/multipartBody4690375862239647160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_32_43_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c14b3a19e3119b1229659ed91385f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4440173864672062531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_32_52_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/104b8621509dfe5b5ca5920d88333757.jpg","text":"TemporaryFile(/tmp/multipartBody7212270998140869879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033104959,"filename":"image_30102025_06_32_47_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391722882","file1":"1391722881","file0":"1391722879","file4":"1391722940","file5":"1391722943","file3":"1391722916"},"map_files_photo_id_array":[{"photo_id":"1391722943","filename":"file5"},{"photo_id":"1391722882","filename":"file2"},{"photo_id":"1391722940","filename":"file4"},{"photo_id":"1391722881","filename":"file1"},{"photo_id":"1391722879","filename":"file0"},{"photo_id":"1391722916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391722943":["hashtag1","hashtag2"]},{"1391722940":["hashtag1","hashtag2"]},{"1391722916":["hashtag1","hashtag2"]},{"1391722879":["hashtag1","hashtag2"]},{"1391722882":["hashtag1","hashtag2"]},{"1391722881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391722943, 1391722940, 1391722916, 1391722879, 1391722882, 1391722881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72437238693237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:38:02.900977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_05_3650.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_07_2501.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_11_3542.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_13_2612.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_16_2547.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_19_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_05_3650.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_07_2501.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_11_3542.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_13_2612.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_16_2547.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_19_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391723453","1391723534","1391723132","1391723290","1391723199","1391723367"],"photo_ids_order":["1391723132","1391723199","1391723290","1391723367","1391723453","1391723534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9157d8148bf569cba612736cb8f0db3d.jpg","text":"TemporaryFile(/tmp/multipartBody8283105975841907691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_16_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c030dd71046c88358e5fdb1e20822ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7212818354026795399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_19_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73f7928e390d9754be71e6e9febf7b94.jpg","text":"TemporaryFile(/tmp/multipartBody1829536060115434047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_05_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99a3157c9d08f2e6273a63aa5781b6da.jpg","text":"TemporaryFile(/tmp/multipartBody1601769678254324705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_11_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2ad67bddbf26a367e9bd5df37bfac87.jpg","text":"TemporaryFile(/tmp/multipartBody7171776731647015450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_07_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f6e9a448b8527229d6c972dfb90514f.jpg","text":"TemporaryFile(/tmp/multipartBody4719344074582547232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033145123,"filename":"image_30102025_06_33_13_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391723290","file1":"1391723199","file0":"1391723132","file4":"1391723453","file5":"1391723534","file3":"1391723367"},"map_files_photo_id_array":[{"photo_id":"1391723534","filename":"file5"},{"photo_id":"1391723290","filename":"file2"},{"photo_id":"1391723453","filename":"file4"},{"photo_id":"1391723199","filename":"file1"},{"photo_id":"1391723132","filename":"file0"},{"photo_id":"1391723367","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391723453":["hashtag1","hashtag2"]},{"1391723534":["hashtag1","hashtag2"]},{"1391723132":["hashtag1","hashtag2"]},{"1391723290":["hashtag1","hashtag2"]},{"1391723199":["hashtag1","hashtag2"]},{"1391723367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391723453, 1391723534, 1391723132, 1391723290, 1391723199, 1391723367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07604765892029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:38:42.569035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_22_2724.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_25_2558.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_28_3729.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_31_2693.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_34_2715.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_38_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_22_2724.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_25_2558.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_28_3729.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_31_2693.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_34_2715.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_38_3627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.209287405014038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:39:03.576817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_22_2724.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_25_2558.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_28_3729.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_31_2693.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_34_2715.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_38_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_22_2724.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_25_2558.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_28_3729.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_31_2693.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_34_2715.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_38_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391724644","1391724292","1391724460","1391724382","1391724214","1391724540"],"photo_ids_order":["1391724214","1391724292","1391724382","1391724460","1391724540","1391724644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/15cf4b0127d8643d2b8aeb046aedc999.jpg","text":"TemporaryFile(/tmp/multipartBody8026042049110370076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_38_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b040e8c5122729173ee30180a1c58dca.jpg","text":"TemporaryFile(/tmp/multipartBody5561323835247286673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_25_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05babcea93d33b1d8d7d30288701bebc.jpg","text":"TemporaryFile(/tmp/multipartBody7352437597552169061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_31_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f0f72cf38f70ccb9af7ea4e4b06e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6629715978195191654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_28_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00bde1fa054ad73ca5c171a7566750ca.jpg","text":"TemporaryFile(/tmp/multipartBody4630631786745367413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_22_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa2cf6ce8170aada174e4909880af552.jpg","text":"TemporaryFile(/tmp/multipartBody5711039311150066793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033205959,"filename":"image_30102025_06_33_34_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391724382","file1":"1391724292","file0":"1391724214","file4":"1391724540","file5":"1391724644","file3":"1391724460"},"map_files_photo_id_array":[{"photo_id":"1391724644","filename":"file5"},{"photo_id":"1391724382","filename":"file2"},{"photo_id":"1391724540","filename":"file4"},{"photo_id":"1391724292","filename":"file1"},{"photo_id":"1391724214","filename":"file0"},{"photo_id":"1391724460","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391724644":["hashtag1","hashtag2"]},{"1391724292":["hashtag1","hashtag2"]},{"1391724460":["hashtag1","hashtag2"]},{"1391724382":["hashtag1","hashtag2"]},{"1391724214":["hashtag1","hashtag2"]},{"1391724540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391724644, 1391724292, 1391724460, 1391724382, 1391724214, 1391724540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64757418632507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:39:42.741079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_40_2590.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_43_2694.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_47_3767.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_49_2761.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_52_2762.jpg', '/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_55_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_40_2590.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_43_2694.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_47_3767.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_49_2761.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_52_2762.jpg
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_55_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391725135","1391725344","1391725227","1391725056","1391725460","1391724971"],"photo_ids_order":["1391724971","1391725056","1391725135","1391725227","1391725344","1391725460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/26a1554567327ebff7a7110694583a84.jpg","text":"TemporaryFile(/tmp/multipartBody5036547867715192364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_47_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/335f72258f747410285610a3089a7439.jpg","text":"TemporaryFile(/tmp/multipartBody360248182506720990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_52_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8aea4fe83d2f9dd41d5c0363b64db609.jpg","text":"TemporaryFile(/tmp/multipartBody306047793798667682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_49_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/61bc1c0ecd23ad8df024b145afe4fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody4319115679695413568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_43_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c0e91ba2cb18ff1598d3a310bb1d2cc5.jpg","text":"TemporaryFile(/tmp/multipartBody5184477767372902376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_55_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e7421b25e6ed27d6dacf442acda4fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8727960108747248525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033244029,"filename":"image_30102025_06_33_40_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391725135","file1":"1391725056","file0":"1391724971","file4":"1391725344","file5":"1391725460","file3":"1391725227"},"map_files_photo_id_array":[{"photo_id":"1391725460","filename":"file5"},{"photo_id":"1391725135","filename":"file2"},{"photo_id":"1391725344","filename":"file4"},{"photo_id":"1391725056","filename":"file1"},{"photo_id":"1391724971","filename":"file0"},{"photo_id":"1391725227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391725135":["hashtag1","hashtag2"]},{"1391725344":["hashtag1","hashtag2"]},{"1391725227":["hashtag1","hashtag2"]},{"1391725056":["hashtag1","hashtag2"]},{"1391725460":["hashtag1","hashtag2"]},{"1391724971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391725135, 1391725344, 1391725227, 1391725056, 1391725460, 1391724971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25867295265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:40:21.992833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_59_3690.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_01_2595.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_04_2689.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_07_3611.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_10_2532.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_14_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/33/image_30102025_06_33_59_3690.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_01_2595.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_04_2689.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_07_3611.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_10_2532.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_14_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391726190","1391725840","1391726030","1391725949","1391725766","1391726114"],"photo_ids_order":["1391725766","1391725840","1391725949","1391726030","1391726114","1391726190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/545ed5798adb44604d40e902378699c9.jpg","text":"TemporaryFile(/tmp/multipartBody4410634414724691180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_34_14_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27b3e67871cb3d781eb19a6152d0d8ab.jpg","text":"TemporaryFile(/tmp/multipartBody6404926071466342409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_34_01_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bef8e407c47d7de1b161a12af382a1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2701255372016055853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_34_07_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/273054067cab4a52ac074de5a174e292.jpg","text":"TemporaryFile(/tmp/multipartBody1548872011847277103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_34_04_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/933117a32104d6f3bf1111fbaaa8cfc8.jpg","text":"TemporaryFile(/tmp/multipartBody4717293505408431383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_33_59_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/90c2dfa9bb50901cb8bffa2c6fe5434e.jpg","text":"TemporaryFile(/tmp/multipartBody6027453499435771012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033288743,"filename":"image_30102025_06_34_10_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391725949","file1":"1391725840","file0":"1391725766","file4":"1391726114","file5":"1391726190","file3":"1391726030"},"map_files_photo_id_array":[{"photo_id":"1391726190","filename":"file5"},{"photo_id":"1391725949","filename":"file2"},{"photo_id":"1391726114","filename":"file4"},{"photo_id":"1391725840","filename":"file1"},{"photo_id":"1391725766","filename":"file0"},{"photo_id":"1391726030","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391726190":["hashtag1","hashtag2"]},{"1391725840":["hashtag1","hashtag2"]},{"1391726030":["hashtag1","hashtag2"]},{"1391725949":["hashtag1","hashtag2"]},{"1391725766":["hashtag1","hashtag2"]},{"1391726114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391726190, 1391725840, 1391726030, 1391725949, 1391725766, 1391726114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.653032541275024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:41:22.137337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_16_2785.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_19_2928.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_22_2602.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_25_3610.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_28_2706.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_31_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_16_2785.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_19_2928.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_22_2602.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_25_3610.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_28_2706.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_31_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391727275","1391727158","1391727032","1391727616","1391727495","1391727381"],"photo_ids_order":["1391727032","1391727158","1391727275","1391727381","1391727495","1391727616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/131b190f5374289be8546176334dc026.jpg","text":"TemporaryFile(/tmp/multipartBody2708912396956368203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_22_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7b8801f83497e9367fffa70f29c782bd.jpg","text":"TemporaryFile(/tmp/multipartBody89374252218620006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_19_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/83c0fcea37bb960b8080a3d593536d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1430704964903006696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_16_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2b501a73270b1daeb10102506e2af3c.jpg","text":"TemporaryFile(/tmp/multipartBody8442236055987475073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14d14db144cac73f51b689252c84cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8615058221322188655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_28_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c97e8333d74945c4853e397980b9af3b.jpg","text":"TemporaryFile(/tmp/multipartBody15811421232411415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033346532,"filename":"image_30102025_06_34_25_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391727275","file1":"1391727158","file0":"1391727032","file4":"1391727495","file5":"1391727616","file3":"1391727381"},"map_files_photo_id_array":[{"photo_id":"1391727616","filename":"file5"},{"photo_id":"1391727275","filename":"file2"},{"photo_id":"1391727495","filename":"file4"},{"photo_id":"1391727158","filename":"file1"},{"photo_id":"1391727032","filename":"file0"},{"photo_id":"1391727381","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391727275":["hashtag1","hashtag2"]},{"1391727158":["hashtag1","hashtag2"]},{"1391727032":["hashtag1","hashtag2"]},{"1391727616":["hashtag1","hashtag2"]},{"1391727495":["hashtag1","hashtag2"]},{"1391727381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391727275, 1391727158, 1391727032, 1391727616, 1391727495, 1391727381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.986000061035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:42:02.867416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_35_3677.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_37_2716.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_40_2528.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_43_3538.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_46_2513.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_49_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_35_3677.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_37_2716.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_40_2528.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_43_3538.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_46_2513.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_49_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391728506","1391728172","1391728424","1391728339","1391728257","1391728053"],"photo_ids_order":["1391728053","1391728172","1391728257","1391728339","1391728424","1391728506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9cdab4500a633b515455f0eea08cdadd.jpg","text":"TemporaryFile(/tmp/multipartBody9203098968135205660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_49_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c895032ce41527c4ddadde0e4af8982d.jpg","text":"TemporaryFile(/tmp/multipartBody66737926775589454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_37_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86b36a89a24aebe9b2cda6f7838aeb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3419448216107438098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_46_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72ef89e0f0900c230d3c13f71b96a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody6705899039966900973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_43_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a739fd090e269237daca43203a2ed16b.jpg","text":"TemporaryFile(/tmp/multipartBody1445016027665250702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_40_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d1861051c60b0947beb3da48ead39e4.jpg","text":"TemporaryFile(/tmp/multipartBody3540577286764298786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033385109,"filename":"image_30102025_06_34_35_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391728257","file1":"1391728172","file0":"1391728053","file4":"1391728424","file5":"1391728506","file3":"1391728339"},"map_files_photo_id_array":[{"photo_id":"1391728506","filename":"file5"},{"photo_id":"1391728257","filename":"file2"},{"photo_id":"1391728424","filename":"file4"},{"photo_id":"1391728172","filename":"file1"},{"photo_id":"1391728053","filename":"file0"},{"photo_id":"1391728339","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391728506":["hashtag1","hashtag2"]},{"1391728172":["hashtag1","hashtag2"]},{"1391728424":["hashtag1","hashtag2"]},{"1391728339":["hashtag1","hashtag2"]},{"1391728257":["hashtag1","hashtag2"]},{"1391728053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391728506, 1391728172, 1391728424, 1391728339, 1391728257, 1391728053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02138137817383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:42:42.385792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_52_3633.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_55_2774.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_58_2579.jpg', '/home/pi/Desktop/images/30102025/06/34/image_30102025_06_35_01_3797.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_04_2650.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_07_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_52_3633.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_55_2774.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_58_2579.jpg
/home/pi/Desktop/images/30102025/06/34/image_30102025_06_35_01_3797.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_04_2650.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_07_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391728874","1391728784","1391728870","1391728867","1391728846","1391728858"],"photo_ids_order":["1391728784","1391728846","1391728858","1391728867","1391728870","1391728874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/71ae84ff4e6651882de6e9079d17cba4.jpg","text":"TemporaryFile(/tmp/multipartBody1563890766675290245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_35_07_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5ae22a83dbace40ccb264a2e126ab00c.jpg","text":"TemporaryFile(/tmp/multipartBody608611626043773386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_34_52_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14c60bf136f0a177912a2f243a87ddc5.jpg","text":"TemporaryFile(/tmp/multipartBody2611911347684360477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_35_04_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fae073d70dce125752871257ffe43534.jpg","text":"TemporaryFile(/tmp/multipartBody6600766241442049925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_35_01_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fd22d086c6de780cdb6a2a24233ae093.jpg","text":"TemporaryFile(/tmp/multipartBody3763385827809528384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_34_55_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ff4807a58a27d3bad779425588132ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4448709319925585818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033423685,"filename":"image_30102025_06_34_58_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391728858","file1":"1391728846","file0":"1391728784","file4":"1391728870","file5":"1391728874","file3":"1391728867"},"map_files_photo_id_array":[{"photo_id":"1391728874","filename":"file5"},{"photo_id":"1391728858","filename":"file2"},{"photo_id":"1391728870","filename":"file4"},{"photo_id":"1391728846","filename":"file1"},{"photo_id":"1391728784","filename":"file0"},{"photo_id":"1391728867","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391728874":["hashtag1","hashtag2"]},{"1391728784":["hashtag1","hashtag2"]},{"1391728870":["hashtag1","hashtag2"]},{"1391728867":["hashtag1","hashtag2"]},{"1391728846":["hashtag1","hashtag2"]},{"1391728858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391728874, 1391728784, 1391728870, 1391728867, 1391728846, 1391728858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391728858 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/34/image_30102025_06_34_58_2579.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.818360567092896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:44:02.798273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_10_3579.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_13_2762.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_16_2688.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_19_3505.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_22_2683.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_25_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_10_3579.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_13_2762.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_16_2688.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_19_3505.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_22_2683.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_25_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391729972","1391730077","1391729773","1391730172","1391730253","1391729832"],"photo_ids_order":["1391729773","1391729832","1391729972","1391730077","1391730172","1391730253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/852621067b010915504d77f645e6f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody5282711005886124432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_16_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3b92d15d4bf950ce6837cd46d29ada76.jpg","text":"TemporaryFile(/tmp/multipartBody5186211940218957291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_19_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/873048e5031605d12ae7ddcca0d9ad51.jpg","text":"TemporaryFile(/tmp/multipartBody4295945900388937413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f67f8487cd8d99694cc9b18754fd5c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5146971115685036685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b2b85c850def4744afb60b03b713c275.jpg","text":"TemporaryFile(/tmp/multipartBody8559991531119302728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40346f4d0abc3249acba51b60418a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2849851965672430962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033504734,"filename":"image_30102025_06_35_13_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391729972","file1":"1391729832","file0":"1391729773","file4":"1391730172","file5":"1391730253","file3":"1391730077"},"map_files_photo_id_array":[{"photo_id":"1391730253","filename":"file5"},{"photo_id":"1391729972","filename":"file2"},{"photo_id":"1391730172","filename":"file4"},{"photo_id":"1391729832","filename":"file1"},{"photo_id":"1391729773","filename":"file0"},{"photo_id":"1391730077","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391729972":["hashtag1","hashtag2"]},{"1391730077":["hashtag1","hashtag2"]},{"1391729773":["hashtag1","hashtag2"]},{"1391730172":["hashtag1","hashtag2"]},{"1391730253":["hashtag1","hashtag2"]},{"1391729832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391729972, 1391730077, 1391729773, 1391730172, 1391730253, 1391729832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48648262023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:44:42.210135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_31_2664.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_33_2640.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_37_3682.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_40_2616.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_42_2690.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_46_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_31_2664.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_33_2640.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_37_3682.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_40_2616.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_42_2690.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_46_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391731346","1391730985","1391730868","1391731216","1391730754","1391731101"],"photo_ids_order":["1391730754","1391730868","1391730985","1391731101","1391731216","1391731346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05e55641126a077783cd175d51f805fa.jpg","text":"TemporaryFile(/tmp/multipartBody9053619849194020578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_46_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fc9e949a6aa87711983c3f6de66a032f.jpg","text":"TemporaryFile(/tmp/multipartBody1523351200183294060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_37_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d1d0e4f6a934dc181d93a48d66fab01.jpg","text":"TemporaryFile(/tmp/multipartBody3678118768070356549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_33_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e4bc79b5a539dedd74f86510f8747f74.jpg","text":"TemporaryFile(/tmp/multipartBody6194545600345969053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_42_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a4db749a0387f8b22284b37444862caa.jpg","text":"TemporaryFile(/tmp/multipartBody1647030099120265148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_31_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ec591af43ed07a6e9b5409c5e81e285.jpg","text":"TemporaryFile(/tmp/multipartBody1483873680209144544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033543662,"filename":"image_30102025_06_35_40_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391730985","file1":"1391730868","file0":"1391730754","file4":"1391731216","file5":"1391731346","file3":"1391731101"},"map_files_photo_id_array":[{"photo_id":"1391731346","filename":"file5"},{"photo_id":"1391730985","filename":"file2"},{"photo_id":"1391731216","filename":"file4"},{"photo_id":"1391730868","filename":"file1"},{"photo_id":"1391730754","filename":"file0"},{"photo_id":"1391731101","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391731346":["hashtag1","hashtag2"]},{"1391730985":["hashtag1","hashtag2"]},{"1391730868":["hashtag1","hashtag2"]},{"1391731216":["hashtag1","hashtag2"]},{"1391730754":["hashtag1","hashtag2"]},{"1391731101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391731346, 1391730985, 1391730868, 1391731216, 1391730754, 1391731101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.929664611816406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:45:22.526372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_49_2663.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_52_2768.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_55_3560.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_58_2643.jpg', '/home/pi/Desktop/images/30102025/06/35/image_30102025_06_36_00_2730.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_04_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_49_2663.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_52_2768.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_55_3560.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_58_2643.jpg
/home/pi/Desktop/images/30102025/06/35/image_30102025_06_36_00_2730.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_04_3537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391731757","1391731838","1391732257","1391732167","1391731954","1391732079"],"photo_ids_order":["1391731757","1391731838","1391731954","1391732079","1391732167","1391732257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7bbd24a10c9bd65e059dde051ba3afc.jpg","text":"TemporaryFile(/tmp/multipartBody4950073167529166341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_35_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2a550b0467ea086979bb87bfad305ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8893144507418450145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_35_52_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df45a2650022e8916ea6cb8d9f27fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody2488522023237607287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_36_04_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f16a86e9dba06f591b712c2a5c1494c4.jpg","text":"TemporaryFile(/tmp/multipartBody5922662010199207581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_36_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b00986e0a8a087d4e0242d1404b9b7a9.jpg","text":"TemporaryFile(/tmp/multipartBody4912463898860127986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_35_55_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab2bf410885eb5e78b34faaf7ac4f1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8703259067927074824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033585300,"filename":"image_30102025_06_35_58_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391731954","file1":"1391731838","file0":"1391731757","file4":"1391732167","file5":"1391732257","file3":"1391732079"},"map_files_photo_id_array":[{"photo_id":"1391732257","filename":"file5"},{"photo_id":"1391731954","filename":"file2"},{"photo_id":"1391732167","filename":"file4"},{"photo_id":"1391731838","filename":"file1"},{"photo_id":"1391731757","filename":"file0"},{"photo_id":"1391732079","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391731757":["hashtag1","hashtag2"]},{"1391731838":["hashtag1","hashtag2"]},{"1391732257":["hashtag1","hashtag2"]},{"1391732167":["hashtag1","hashtag2"]},{"1391731954":["hashtag1","hashtag2"]},{"1391732079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391731757, 1391731838, 1391732257, 1391732167, 1391731954, 1391732079)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391731954 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/35/image_30102025_06_35_55_3560.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 81.0042872428894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:47:07.343565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:47:27.235753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:47:44.286106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_07_2778.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_10_2715.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_13_3664.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_16_2583.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_18_2635.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_21_3042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_07_2778.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_10_2715.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_13_3664.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_16_2583.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_18_2635.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_21_3042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391734044","1391734131","1391733945","1391734235","1391733833","1391734324"],"photo_ids_order":["1391733833","1391733945","1391734044","1391734131","1391734235","1391734324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2e9001ef9aa6eaf9cb869eea8463d8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4906338630084304695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_13_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb54d97e2f83709f8a8fd0f4b29f44fe.jpg","text":"TemporaryFile(/tmp/multipartBody394912741688738401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_16_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/220ed65f13270642ed3a0d3e63f79081.jpg","text":"TemporaryFile(/tmp/multipartBody1575407344071335327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_10_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f96d5359190f2e0b8a2c388f0de3edfa.jpg","text":"TemporaryFile(/tmp/multipartBody6730624075835682557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_18_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e644e72df648f10ef977b4b37cf1f572.jpg","text":"TemporaryFile(/tmp/multipartBody175925425924822798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_07_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b0cbd632102bdc49a0480f815ad6304.jpg","text":"TemporaryFile(/tmp/multipartBody723948471322462310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033727021,"filename":"image_30102025_06_36_21_3042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391734044","file1":"1391733945","file0":"1391733833","file4":"1391734235","file5":"1391734324","file3":"1391734131"},"map_files_photo_id_array":[{"photo_id":"1391734324","filename":"file5"},{"photo_id":"1391734044","filename":"file2"},{"photo_id":"1391734235","filename":"file4"},{"photo_id":"1391733945","filename":"file1"},{"photo_id":"1391733833","filename":"file0"},{"photo_id":"1391734131","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391734044":["hashtag1","hashtag2"]},{"1391734131":["hashtag1","hashtag2"]},{"1391733945":["hashtag1","hashtag2"]},{"1391734235":["hashtag1","hashtag2"]},{"1391733833":["hashtag1","hashtag2"]},{"1391734324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391734044, 1391734131, 1391733945, 1391734235, 1391733833, 1391734324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.8755624294281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:48:42.440725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_25_3621.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_28_2576.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_30_2711.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_34_3754.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_37_2727.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_39_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_25_3621.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_28_2576.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_30_2711.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_34_3754.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_37_2727.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_39_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391734677","1391734682","1391734685","1391734640","1391734594","1391734651"],"photo_ids_order":["1391734594","1391734640","1391734651","1391734677","1391734682","1391734685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0dffc333c8fd11e42d5bfd7e16bcf1c.jpg","text":"TemporaryFile(/tmp/multipartBody8627637613789105880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_34_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7c52a19bbc7d162e1b86d03d90213e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2424588012788930201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_37_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d2a0744fd3a33f201e4d6da023f0769.jpg","text":"TemporaryFile(/tmp/multipartBody4762281052135699938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_39_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/659c7db88d91a5834f6e9d6ad224c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1534859652887334470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_28_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cf167316fcfad1f8ac6322f926d88a2.jpg","text":"TemporaryFile(/tmp/multipartBody2745598330533106313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_25_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5b62b3fc660b8dc0e90b6aa9255a80c.jpg","text":"TemporaryFile(/tmp/multipartBody395209837725979908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033783668,"filename":"image_30102025_06_36_30_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391734651","file1":"1391734640","file0":"1391734594","file4":"1391734682","file5":"1391734685","file3":"1391734677"},"map_files_photo_id_array":[{"photo_id":"1391734685","filename":"file5"},{"photo_id":"1391734651","filename":"file2"},{"photo_id":"1391734682","filename":"file4"},{"photo_id":"1391734640","filename":"file1"},{"photo_id":"1391734594","filename":"file0"},{"photo_id":"1391734677","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391734677":["hashtag1","hashtag2"]},{"1391734682":["hashtag1","hashtag2"]},{"1391734685":["hashtag1","hashtag2"]},{"1391734640":["hashtag1","hashtag2"]},{"1391734594":["hashtag1","hashtag2"]},{"1391734651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391734677, 1391734682, 1391734685, 1391734640, 1391734594, 1391734651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2204110622406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:49:22.646819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_43_3805.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_46_2600.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_48_2656.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_51_2937.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_55_3599.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_58_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_43_3805.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_46_2600.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_48_2656.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_51_2937.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_55_3599.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_58_2685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 8.450809240341187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:49:44.958617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_43_3805.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_46_2600.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_48_2656.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_51_2937.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_55_3599.jpg', '/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_58_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_43_3805.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_46_2600.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_48_2656.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_51_2937.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_55_3599.jpg
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_36_58_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391734962","1391735013","1391734965","1391734959","1391735001","1391735017"],"photo_ids_order":["1391734959","1391734962","1391734965","1391735001","1391735013","1391735017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07b3b76649ff5d1de8c00ed9e7675fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1267104486251673974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_46_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec2d6eb14f5d08bf394c22feb7989428.jpg","text":"TemporaryFile(/tmp/multipartBody5063166580875511165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_55_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df2fd88b26a56dfc8a7d1ab189182ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8588698780199846644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_48_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bdf2214210257185f6a28e0400d920f6.jpg","text":"TemporaryFile(/tmp/multipartBody4128319742574142080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_43_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44b265f4c2009ff07bb281837598c56b.jpg","text":"TemporaryFile(/tmp/multipartBody1446841330424565985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_51_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/802fc827619eb74b2e972bd5f6231cfe.jpg","text":"TemporaryFile(/tmp/multipartBody344104138213806893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033846108,"filename":"image_30102025_06_36_58_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391734965","file1":"1391734962","file0":"1391734959","file4":"1391735013","file5":"1391735017","file3":"1391735001"},"map_files_photo_id_array":[{"photo_id":"1391735017","filename":"file5"},{"photo_id":"1391734965","filename":"file2"},{"photo_id":"1391735013","filename":"file4"},{"photo_id":"1391734962","filename":"file1"},{"photo_id":"1391734959","filename":"file0"},{"photo_id":"1391735001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391734962":["hashtag1","hashtag2"]},{"1391735013":["hashtag1","hashtag2"]},{"1391734965":["hashtag1","hashtag2"]},{"1391734959":["hashtag1","hashtag2"]},{"1391735001":["hashtag1","hashtag2"]},{"1391735017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391734962, 1391735013, 1391734965, 1391734959, 1391735001, 1391735017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.115416049957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:50:22.329667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/36/image_30102025_06_37_00_2644.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_04_3798.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_07_2725.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_10_2691.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_13_3620.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_16_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/36/image_30102025_06_37_00_2644.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_04_3798.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_07_2725.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_10_2691.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_13_3620.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_16_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391735430","1391735352","1391735607","1391735270","1391735222","1391735521"],"photo_ids_order":["1391735222","1391735270","1391735352","1391735430","1391735521","1391735607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32024cf10877b5e63b46ab976812853f.jpg","text":"TemporaryFile(/tmp/multipartBody5939217385559158046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_10_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/78d7b3c71e15225acd3b41667e8fbcd9.jpg","text":"TemporaryFile(/tmp/multipartBody5950929379545753657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_07_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/925729918924d7729fa9c56714c8418b.jpg","text":"TemporaryFile(/tmp/multipartBody1514331896603585994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_16_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/70e3518e38483b75023b98b94509cff5.jpg","text":"TemporaryFile(/tmp/multipartBody4938672152506187264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_04_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/09409b54fec3ce47234e1ce3aad7356d.jpg","text":"TemporaryFile(/tmp/multipartBody5838256080760971495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_00_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c89e8a3fe3f54005d3a3ea5d4577734.jpg","text":"TemporaryFile(/tmp/multipartBody6017312931044513069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033885248,"filename":"image_30102025_06_37_13_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391735352","file1":"1391735270","file0":"1391735222","file4":"1391735521","file5":"1391735607","file3":"1391735430"},"map_files_photo_id_array":[{"photo_id":"1391735607","filename":"file5"},{"photo_id":"1391735352","filename":"file2"},{"photo_id":"1391735521","filename":"file4"},{"photo_id":"1391735270","filename":"file1"},{"photo_id":"1391735222","filename":"file0"},{"photo_id":"1391735430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391735430":["hashtag1","hashtag2"]},{"1391735352":["hashtag1","hashtag2"]},{"1391735607":["hashtag1","hashtag2"]},{"1391735270":["hashtag1","hashtag2"]},{"1391735222":["hashtag1","hashtag2"]},{"1391735521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391735430, 1391735352, 1391735607, 1391735270, 1391735222, 1391735521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.015992403030396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:51:03.178895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_18_2541.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_22_3698.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_25_2618.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_27_2645.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_31_3519.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_34_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_18_2541.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_22_3698.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_25_2618.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_27_2645.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_31_3519.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_34_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391736065","1391736305","1391736142","1391736223","1391735908","1391735985"],"photo_ids_order":["1391735908","1391735985","1391736065","1391736142","1391736223","1391736305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cc53d427fe9ef6a092d555186ce72b04.jpg","text":"TemporaryFile(/tmp/multipartBody8325944212889659670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_25_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d2a5bb32e2eed7159eba46af4e235cf.jpg","text":"TemporaryFile(/tmp/multipartBody2419153570191562925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82cbac207e66363e0b46c416d5378132.jpg","text":"TemporaryFile(/tmp/multipartBody4697141576602811079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_27_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5087d0c891d1f0d707674077f2476477.jpg","text":"TemporaryFile(/tmp/multipartBody8982652481701311472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_31_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/125a8bbcd88416dfde56557e4ddedd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2268102103828777787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_18_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/001a6d9b948f5905f6c4041fe772ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody8855344530930525882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033925509,"filename":"image_30102025_06_37_22_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391736065","file1":"1391735985","file0":"1391735908","file4":"1391736223","file5":"1391736305","file3":"1391736142"},"map_files_photo_id_array":[{"photo_id":"1391736305","filename":"file5"},{"photo_id":"1391736065","filename":"file2"},{"photo_id":"1391736223","filename":"file4"},{"photo_id":"1391735985","filename":"file1"},{"photo_id":"1391735908","filename":"file0"},{"photo_id":"1391736142","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391736065":["hashtag1","hashtag2"]},{"1391736305":["hashtag1","hashtag2"]},{"1391736142":["hashtag1","hashtag2"]},{"1391736223":["hashtag1","hashtag2"]},{"1391735908":["hashtag1","hashtag2"]},{"1391735985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391736065, 1391736305, 1391736142, 1391736223, 1391735908, 1391735985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27978706359863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:51:42.526302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_36_2785.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_40_3694.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_43_2780.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_46_2786.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_49_3565.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_52_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_36_2785.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_40_3694.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_43_2780.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_46_2786.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_49_3565.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_52_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391736665","1391737042","1391737164","1391736876","1391736588","1391737128"],"photo_ids_order":["1391736588","1391736665","1391736876","1391737042","1391737128","1391737164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c68d1e287b7c2dffb2afb1e0a2d86524.jpg","text":"TemporaryFile(/tmp/multipartBody2410968266959109704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_40_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/48f9beec1f065ea1649d1bcbcb6cf688.jpg","text":"TemporaryFile(/tmp/multipartBody4684443082751887899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_46_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99fcd147c6a2b2fb315afbdd8aa51853.jpg","text":"TemporaryFile(/tmp/multipartBody91363154882923539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_52_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e4d84c4bcde42738c71994b35fceb32.jpg","text":"TemporaryFile(/tmp/multipartBody1293383281558565104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_43_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d527bf4b9d2bbcf841b0ebaa7f7193cf.jpg","text":"TemporaryFile(/tmp/multipartBody3211878439280599961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_36_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d7f6ee66aabed9fe75e14cf14b8e73d.jpg","text":"TemporaryFile(/tmp/multipartBody7871140790434615090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762033963936,"filename":"image_30102025_06_37_49_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391736876","file1":"1391736665","file0":"1391736588","file4":"1391737128","file5":"1391737164","file3":"1391737042"},"map_files_photo_id_array":[{"photo_id":"1391737164","filename":"file5"},{"photo_id":"1391736876","filename":"file2"},{"photo_id":"1391737128","filename":"file4"},{"photo_id":"1391736665","filename":"file1"},{"photo_id":"1391736588","filename":"file0"},{"photo_id":"1391737042","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391736665":["hashtag1","hashtag2"]},{"1391737042":["hashtag1","hashtag2"]},{"1391737164":["hashtag1","hashtag2"]},{"1391736876":["hashtag1","hashtag2"]},{"1391736588":["hashtag1","hashtag2"]},{"1391737128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391736665, 1391737042, 1391737164, 1391736876, 1391736588, 1391737128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.19493126869202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:52:42.644758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_55_2734.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_57_2741.jpg', '/home/pi/Desktop/images/30102025/06/37/image_30102025_06_38_01_3573.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_04_2989.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_07_2695.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_09_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_55_2734.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_37_57_2741.jpg
/home/pi/Desktop/images/30102025/06/37/image_30102025_06_38_01_3573.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_04_2989.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_07_2695.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_09_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391737195","1391737189","1391737180","1391737192","1391737185","1391737176"],"photo_ids_order":["1391737176","1391737180","1391737185","1391737189","1391737192","1391737195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d231dc38c8d29aca298800e243af011e.jpg","text":"TemporaryFile(/tmp/multipartBody7316265507935143060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_38_09_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0abe7ade0f8fa1b26d77f944538e00b.jpg","text":"TemporaryFile(/tmp/multipartBody8917758232481154136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_38_04_2989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfbf55abd9fa3f19a1bad2c2288e0089.jpg","text":"TemporaryFile(/tmp/multipartBody1720998904138162102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_37_57_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1684c1d618f33397b36e0b161253170.jpg","text":"TemporaryFile(/tmp/multipartBody349010793817790062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_38_07_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5b025321164e60646a363897b0d44f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2199950945814663619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_38_01_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/18f2646e8eecd5c1db04fc9aaff48da6.jpg","text":"TemporaryFile(/tmp/multipartBody3628395938817144120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034023921,"filename":"image_30102025_06_37_55_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391737185","file1":"1391737180","file0":"1391737176","file4":"1391737192","file5":"1391737195","file3":"1391737189"},"map_files_photo_id_array":[{"photo_id":"1391737195","filename":"file5"},{"photo_id":"1391737185","filename":"file2"},{"photo_id":"1391737192","filename":"file4"},{"photo_id":"1391737180","filename":"file1"},{"photo_id":"1391737176","filename":"file0"},{"photo_id":"1391737189","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391737195":["hashtag1","hashtag2"]},{"1391737189":["hashtag1","hashtag2"]},{"1391737180":["hashtag1","hashtag2"]},{"1391737192":["hashtag1","hashtag2"]},{"1391737185":["hashtag1","hashtag2"]},{"1391737176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391737195, 1391737189, 1391737180, 1391737192, 1391737185, 1391737176)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 65.9998927116394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:54:04.101935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:54:23.912603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_13_3650.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_16_2725.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_19_2731.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_21_2792.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_25_3677.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_28_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_13_3650.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_16_2725.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_19_2731.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_21_2792.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_25_3677.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_28_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391738680","1391738425","1391738640","1391738466","1391738576","1391738504"],"photo_ids_order":["1391738425","1391738466","1391738504","1391738576","1391738640","1391738680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55bee7599a7dac88629762e27db05af3.jpg","text":"TemporaryFile(/tmp/multipartBody8078510962134491128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6ff683e5f695ac1e47a348556363ada.jpg","text":"TemporaryFile(/tmp/multipartBody2064703424248042073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_13_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/319e347910d01fd61e3ca7ab9d98669e.jpg","text":"TemporaryFile(/tmp/multipartBody484578547412988621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_25_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/990f37c37a9fd4e03fe2214ff4a6dcae.jpg","text":"TemporaryFile(/tmp/multipartBody7990064879399650682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_16_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e31a69aeb5070685060abe337bd66828.jpg","text":"TemporaryFile(/tmp/multipartBody6784763974330097712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_21_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c842fcfbb0ef29556150df5fd00d51d.jpg","text":"TemporaryFile(/tmp/multipartBody6603896143384725643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034126825,"filename":"image_30102025_06_38_19_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391738504","file1":"1391738466","file0":"1391738425","file4":"1391738640","file5":"1391738680","file3":"1391738576"},"map_files_photo_id_array":[{"photo_id":"1391738680","filename":"file5"},{"photo_id":"1391738504","filename":"file2"},{"photo_id":"1391738640","filename":"file4"},{"photo_id":"1391738466","filename":"file1"},{"photo_id":"1391738425","filename":"file0"},{"photo_id":"1391738576","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391738680":["hashtag1","hashtag2"]},{"1391738425":["hashtag1","hashtag2"]},{"1391738640":["hashtag1","hashtag2"]},{"1391738466":["hashtag1","hashtag2"]},{"1391738576":["hashtag1","hashtag2"]},{"1391738504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391738680, 1391738425, 1391738640, 1391738466, 1391738576, 1391738504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45132899284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 22:55:22.567291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_30_2568.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_34_3769.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_37_2606.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_39_2764.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_43_3695.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_46_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_30_2568.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_34_3769.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_37_2606.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_39_2764.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_43_3695.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_46_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391739340","1391739337","1391739106","1391739198","1391739246","1391739293"],"photo_ids_order":["1391739106","1391739198","1391739246","1391739293","1391739337","1391739340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f39d65c9f4dd05ca7077beb5044b9ef.jpg","text":"TemporaryFile(/tmp/multipartBody3970023369112088516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_46_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/699459c101bcc21c8ff809661218231d.jpg","text":"TemporaryFile(/tmp/multipartBody4183414369717037320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_43_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/215c82530cc902524a4bbb46e226c368.jpg","text":"TemporaryFile(/tmp/multipartBody6603777324759654082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_30_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28120cfbabc918b0252654bdedacbc3a.jpg","text":"TemporaryFile(/tmp/multipartBody1713540780539834195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_34_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eba512f72bd6a0ea000806f3cbba6644.jpg","text":"TemporaryFile(/tmp/multipartBody7100133988938640271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_37_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/514b72741a4a4493ecb56956216bd233.jpg","text":"TemporaryFile(/tmp/multipartBody6096035049989079393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034186874,"filename":"image_30102025_06_38_39_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391739246","file1":"1391739198","file0":"1391739106","file4":"1391739337","file5":"1391739340","file3":"1391739293"},"map_files_photo_id_array":[{"photo_id":"1391739340","filename":"file5"},{"photo_id":"1391739246","filename":"file2"},{"photo_id":"1391739337","filename":"file4"},{"photo_id":"1391739198","filename":"file1"},{"photo_id":"1391739106","filename":"file0"},{"photo_id":"1391739293","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391739340":["hashtag1","hashtag2"]},{"1391739337":["hashtag1","hashtag2"]},{"1391739106":["hashtag1","hashtag2"]},{"1391739198":["hashtag1","hashtag2"]},{"1391739246":["hashtag1","hashtag2"]},{"1391739293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391739340, 1391739337, 1391739106, 1391739198, 1391739246, 1391739293)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.70715308189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:56:44.485025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_48_2593.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_52_3728.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_55_2654.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_57_2721.jpg', '/home/pi/Desktop/images/30102025/06/38/image_30102025_06_39_01_3637.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_04_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_48_2593.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_52_3728.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_55_2654.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_38_57_2721.jpg
/home/pi/Desktop/images/30102025/06/38/image_30102025_06_39_01_3637.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_04_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391739814","1391739570","1391739517","1391739645","1391739893","1391739728"],"photo_ids_order":["1391739517","1391739570","1391739645","1391739728","1391739814","1391739893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/308ef42217aa6a44f1dc3a4651ff2162.jpg","text":"TemporaryFile(/tmp/multipartBody1003642816905591829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_39_01_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/135e5bebcf2366be9c3eb8f2495d2e35.jpg","text":"TemporaryFile(/tmp/multipartBody6642025364842318848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_38_52_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/366eb905517c7da0522cd27b7885f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1074719131763508619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_38_48_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/43354276302681e0fac91d2997993d62.jpg","text":"TemporaryFile(/tmp/multipartBody6009964903530048038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_38_55_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4b9624736ec09744c3f6374e0ee68fc3.jpg","text":"TemporaryFile(/tmp/multipartBody6748957617988131412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_39_04_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bd27f68bc6049ebaf1d2e87e752c8fe.jpg","text":"TemporaryFile(/tmp/multipartBody569496961888252366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034282023,"filename":"image_30102025_06_38_57_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391739645","file1":"1391739570","file0":"1391739517","file4":"1391739814","file5":"1391739893","file3":"1391739728"},"map_files_photo_id_array":[{"photo_id":"1391739893","filename":"file5"},{"photo_id":"1391739645","filename":"file2"},{"photo_id":"1391739814","filename":"file4"},{"photo_id":"1391739570","filename":"file1"},{"photo_id":"1391739517","filename":"file0"},{"photo_id":"1391739728","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391739814":["hashtag1","hashtag2"]},{"1391739570":["hashtag1","hashtag2"]},{"1391739517":["hashtag1","hashtag2"]},{"1391739645":["hashtag1","hashtag2"]},{"1391739893":["hashtag1","hashtag2"]},{"1391739728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391739814, 1391739570, 1391739517, 1391739645, 1391739893, 1391739728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.95801830291748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 22:57:42.736576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_06_2599.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_10_3651.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_13_2686.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_15_2664.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_19_3727.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_22_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_06_2599.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_10_3651.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_13_2686.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_15_2664.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_19_3727.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_22_2541.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391741157","1391740782","1391740686","1391740934","1391740859","1391741056"],"photo_ids_order":["1391740686","1391740782","1391740859","1391740934","1391741056","1391741157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0346a0b479c05f73d41c03710ad1e006.jpg","text":"TemporaryFile(/tmp/multipartBody6810353083798850057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_22_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2da2fb4f5adff4f3af82bae5f5732b41.jpg","text":"TemporaryFile(/tmp/multipartBody7458806726994221738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_10_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/24c3bc80fdce3f7d0f25686b4cbd40cc.jpg","text":"TemporaryFile(/tmp/multipartBody4458105664319211474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_06_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5bc4c0a2a16e2106c95ab0393b42d08.jpg","text":"TemporaryFile(/tmp/multipartBody5929731871415403187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_15_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6bd144cb6d07291785a17332c2b7a8ac.jpg","text":"TemporaryFile(/tmp/multipartBody4685859294587726437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_13_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8df2bda06c085f727c21b4ed6f70ee99.jpg","text":"TemporaryFile(/tmp/multipartBody1719795839928292325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034324021,"filename":"image_30102025_06_39_19_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391740859","file1":"1391740782","file0":"1391740686","file4":"1391741056","file5":"1391741157","file3":"1391740934"},"map_files_photo_id_array":[{"photo_id":"1391741157","filename":"file5"},{"photo_id":"1391740859","filename":"file2"},{"photo_id":"1391741056","filename":"file4"},{"photo_id":"1391740782","filename":"file1"},{"photo_id":"1391740686","filename":"file0"},{"photo_id":"1391740934","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391741157":["hashtag1","hashtag2"]},{"1391740782":["hashtag1","hashtag2"]},{"1391740686":["hashtag1","hashtag2"]},{"1391740934":["hashtag1","hashtag2"]},{"1391740859":["hashtag1","hashtag2"]},{"1391741056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391741157, 1391740782, 1391740686, 1391740934, 1391740859, 1391741056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47977924346924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 22:59:02.882756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_24_2638.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_28_3651.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_31_2718.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_33_2548.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_37_3596.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_39_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_24_2638.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_28_3651.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_31_2718.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_33_2548.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_37_3596.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_39_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391742593","1391742348","1391742470","1391742551","1391742428","1391742512"],"photo_ids_order":["1391742348","1391742428","1391742470","1391742512","1391742551","1391742593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c08027970bc62849efb4a4cdf19e6a02.jpg","text":"TemporaryFile(/tmp/multipartBody7843980083724772146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_39_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/210c67e4055e873edd36b112d11f954f.jpg","text":"TemporaryFile(/tmp/multipartBody7221972123122007374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_24_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e074963e831172f9f5df9a2dfbead2d.jpg","text":"TemporaryFile(/tmp/multipartBody492489298093655436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_31_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/205e988897c658104e1133b0973bff31.jpg","text":"TemporaryFile(/tmp/multipartBody9147063175491258542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_37_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d404646087a07160b1d280dcc72ec28.jpg","text":"TemporaryFile(/tmp/multipartBody4243101905421280776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_28_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56e2b2a3053dbe329e474eb7670790ad.jpg","text":"TemporaryFile(/tmp/multipartBody5207810180484634476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034405549,"filename":"image_30102025_06_39_33_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391742470","file1":"1391742428","file0":"1391742348","file4":"1391742551","file5":"1391742593","file3":"1391742512"},"map_files_photo_id_array":[{"photo_id":"1391742593","filename":"file5"},{"photo_id":"1391742470","filename":"file2"},{"photo_id":"1391742551","filename":"file4"},{"photo_id":"1391742428","filename":"file1"},{"photo_id":"1391742348","filename":"file0"},{"photo_id":"1391742512","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391742593":["hashtag1","hashtag2"]},{"1391742348":["hashtag1","hashtag2"]},{"1391742470":["hashtag1","hashtag2"]},{"1391742551":["hashtag1","hashtag2"]},{"1391742428":["hashtag1","hashtag2"]},{"1391742512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391742593, 1391742348, 1391742470, 1391742551, 1391742428, 1391742512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.70681095123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:00:02.777240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_43_3630.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_46_2740.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_48_2560.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_52_3720.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_55_2680.jpg', '/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_57_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_43_3630.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_46_2740.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_48_2560.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_52_3720.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_55_2680.jpg
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_39_57_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391742765","1391742755","1391742758","1391742752","1391742760","1391742748"],"photo_ids_order":["1391742748","1391742752","1391742755","1391742758","1391742760","1391742765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c48d4f767fd46ba5221761d305f36ad.jpg","text":"TemporaryFile(/tmp/multipartBody1002964800855444856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_57_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4e3d382c8e1664c13165e964e0e67567.jpg","text":"TemporaryFile(/tmp/multipartBody1231810217662614596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_48_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d17543595cac5d19a95a065aa7003e7.jpg","text":"TemporaryFile(/tmp/multipartBody2577133405653053181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_52_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f39819d97c4b027a04acf84c2728006.jpg","text":"TemporaryFile(/tmp/multipartBody4652698079894897213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68806de20a1bebe6f5d5c8ea93dff300.jpg","text":"TemporaryFile(/tmp/multipartBody2800725999737041848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_55_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/59336fbd66bc8e999134def6a167b602.jpg","text":"TemporaryFile(/tmp/multipartBody1525334534208693477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034465006,"filename":"image_30102025_06_39_43_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391742755","file1":"1391742752","file0":"1391742748","file4":"1391742760","file5":"1391742765","file3":"1391742758"},"map_files_photo_id_array":[{"photo_id":"1391742765","filename":"file5"},{"photo_id":"1391742755","filename":"file2"},{"photo_id":"1391742760","filename":"file4"},{"photo_id":"1391742752","filename":"file1"},{"photo_id":"1391742748","filename":"file0"},{"photo_id":"1391742758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391742765":["hashtag1","hashtag2"]},{"1391742755":["hashtag1","hashtag2"]},{"1391742758":["hashtag1","hashtag2"]},{"1391742752":["hashtag1","hashtag2"]},{"1391742760":["hashtag1","hashtag2"]},{"1391742748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391742765, 1391742755, 1391742758, 1391742752, 1391742760, 1391742748)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 75.57052302360535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:01:38.390071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/39/image_30102025_06_40_00_2744.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_04_3650.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_06_2695.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_09_2713.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_13_3640.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_15_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/39/image_30102025_06_40_00_2744.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_04_3650.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_06_2695.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_09_2713.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_13_3640.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_15_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391744126","1391744213","1391744292","1391744220","1391744217","1391744192"],"photo_ids_order":["1391744126","1391744192","1391744213","1391744217","1391744220","1391744292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05b65debc9964e2526d036104d3b1144.jpg","text":"TemporaryFile(/tmp/multipartBody2135922895009079565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_00_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34fa1746583d87a7032ca69b4be4d25b.jpg","text":"TemporaryFile(/tmp/multipartBody3872257129834215398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_06_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5fb5c692b1654450c12cb65a9988842.jpg","text":"TemporaryFile(/tmp/multipartBody653534482085818460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_15_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/96b7ac74bf10f081c4fbc53918d9fa8d.jpg","text":"TemporaryFile(/tmp/multipartBody1663936321768789966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_13_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/68104dca4351988f0b5236cfd674fd89.jpg","text":"TemporaryFile(/tmp/multipartBody899481202475465467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_09_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bcffbe1288dd2b2a1717e7a751450edb.jpg","text":"TemporaryFile(/tmp/multipartBody6176977598985184731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034561185,"filename":"image_30102025_06_40_04_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391744213","file1":"1391744192","file0":"1391744126","file4":"1391744220","file5":"1391744292","file3":"1391744217"},"map_files_photo_id_array":[{"photo_id":"1391744292","filename":"file5"},{"photo_id":"1391744213","filename":"file2"},{"photo_id":"1391744220","filename":"file4"},{"photo_id":"1391744192","filename":"file1"},{"photo_id":"1391744126","filename":"file0"},{"photo_id":"1391744217","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391744126":["hashtag1","hashtag2"]},{"1391744213":["hashtag1","hashtag2"]},{"1391744292":["hashtag1","hashtag2"]},{"1391744220":["hashtag1","hashtag2"]},{"1391744217":["hashtag1","hashtag2"]},{"1391744192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391744126, 1391744213, 1391744292, 1391744220, 1391744217, 1391744192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.36185908317566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:02:42.547599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_18_2656.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_22_3550.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_24_2668.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_27_2763.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_31_3934.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_34_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_18_2656.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_22_3550.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_24_2668.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_27_2763.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_31_3934.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_34_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391744869","1391745004","1391744707","1391745150","1391744787","1391744949"],"photo_ids_order":["1391744707","1391744787","1391744869","1391744949","1391745004","1391745150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/607f929c60b16e8871360e3f7b072ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1466048745048136553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_24_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03221ddfe0b0de740ced710020b677c9.jpg","text":"TemporaryFile(/tmp/multipartBody5890181121274904121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_31_3934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14ce288d239106c8005c691030f178fa.jpg","text":"TemporaryFile(/tmp/multipartBody3702982544848495974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_18_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5fe612d7908142c10c13a7edfa76d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7997704967952167052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_34_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ab92aa8dc4cb8ffdd4133a80692b5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6958065118206620125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_22_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0fcef8cc252412417bb9d56fd1b950c5.jpg","text":"TemporaryFile(/tmp/multipartBody1763001752250719620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034623827,"filename":"image_30102025_06_40_27_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391744869","file1":"1391744787","file0":"1391744707","file4":"1391745004","file5":"1391745150","file3":"1391744949"},"map_files_photo_id_array":[{"photo_id":"1391745150","filename":"file5"},{"photo_id":"1391744869","filename":"file2"},{"photo_id":"1391745004","filename":"file4"},{"photo_id":"1391744787","filename":"file1"},{"photo_id":"1391744707","filename":"file0"},{"photo_id":"1391744949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391744869":["hashtag1","hashtag2"]},{"1391745004":["hashtag1","hashtag2"]},{"1391744707":["hashtag1","hashtag2"]},{"1391745150":["hashtag1","hashtag2"]},{"1391744787":["hashtag1","hashtag2"]},{"1391744949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391744869, 1391745004, 1391744707, 1391745150, 1391744787, 1391744949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.302284955978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:03:42.685995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_36_2701.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_39_2703.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_42_2787.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_46_3553.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_48_2579.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_52_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_36_2701.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_39_2703.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_42_2787.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_46_3553.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_48_2579.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_52_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391745629","1391745588","1391745468","1391745429","1391745510","1391745551"],"photo_ids_order":["1391745429","1391745468","1391745510","1391745551","1391745588","1391745629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/30b7322b63da06e7dbf5d6a0d20a72f0.jpg","text":"TemporaryFile(/tmp/multipartBody3376609520755769842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_52_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dc84cc6da1ad9d579ae53dc2891e424.jpg","text":"TemporaryFile(/tmp/multipartBody2956880967557977528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_48_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8dfa50287148c4766830808e982f73d7.jpg","text":"TemporaryFile(/tmp/multipartBody1308912673304987846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_39_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f4cc503eea8607890714555a9401cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6843689370081480317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_36_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c36069f163c597d4241485b28e7de0c.jpg","text":"TemporaryFile(/tmp/multipartBody542501549183636486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_42_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4108ac04b77e5794e3cb001b2de6c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4083905864308238897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034683969,"filename":"image_30102025_06_40_46_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391745510","file1":"1391745468","file0":"1391745429","file4":"1391745588","file5":"1391745629","file3":"1391745551"},"map_files_photo_id_array":[{"photo_id":"1391745629","filename":"file5"},{"photo_id":"1391745510","filename":"file2"},{"photo_id":"1391745588","filename":"file4"},{"photo_id":"1391745468","filename":"file1"},{"photo_id":"1391745429","filename":"file0"},{"photo_id":"1391745551","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391745629":["hashtag1","hashtag2"]},{"1391745588":["hashtag1","hashtag2"]},{"1391745468":["hashtag1","hashtag2"]},{"1391745429":["hashtag1","hashtag2"]},{"1391745510":["hashtag1","hashtag2"]},{"1391745551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391745629, 1391745588, 1391745468, 1391745429, 1391745510, 1391745551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08544921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:04:21.833779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_54_2674.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_57_2749.jpg', '/home/pi/Desktop/images/30102025/06/40/image_30102025_06_41_00_2898.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_04_3692.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_06_2628.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_09_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_54_2674.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_40_57_2749.jpg
/home/pi/Desktop/images/30102025/06/40/image_30102025_06_41_00_2898.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_04_3692.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_06_2628.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_09_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391745856","1391745795","1391745843","1391745849","1391745840","1391745887"],"photo_ids_order":["1391745795","1391745840","1391745843","1391745849","1391745856","1391745887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/92017ffa226facc5ac62824e4a0d824b.jpg","text":"TemporaryFile(/tmp/multipartBody3005997045497138235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_41_06_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23d826282b3c59f33161007bab08702a.jpg","text":"TemporaryFile(/tmp/multipartBody8174662391724138131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_40_54_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/03f90c6bed2cd7031b435b936950d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2603298615141702531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_41_00_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ca3e63859cbd03e9e8f0954f54e71df5.jpg","text":"TemporaryFile(/tmp/multipartBody3447700991246699921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_41_04_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e87c38589d3baa03322c940e6d9c5bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7429994001816035176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_40_57_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9f15e037a7aab1a1792391b107a131f.jpg","text":"TemporaryFile(/tmp/multipartBody7215084702478026280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034724621,"filename":"image_30102025_06_41_09_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391745843","file1":"1391745840","file0":"1391745795","file4":"1391745856","file5":"1391745887","file3":"1391745849"},"map_files_photo_id_array":[{"photo_id":"1391745887","filename":"file5"},{"photo_id":"1391745843","filename":"file2"},{"photo_id":"1391745856","filename":"file4"},{"photo_id":"1391745840","filename":"file1"},{"photo_id":"1391745795","filename":"file0"},{"photo_id":"1391745849","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391745856":["hashtag1","hashtag2"]},{"1391745795":["hashtag1","hashtag2"]},{"1391745843":["hashtag1","hashtag2"]},{"1391745849":["hashtag1","hashtag2"]},{"1391745840":["hashtag1","hashtag2"]},{"1391745887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391745856, 1391745795, 1391745843, 1391745849, 1391745840, 1391745887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.655163288116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:05:02.883776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_13_3673.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_15_2729.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_18_2699.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_21_2708.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_24_3598.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_27_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_13_3673.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_15_2729.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_18_2699.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_21_2708.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_24_3598.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_27_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391746060","1391746135","1391746167","1391746206","1391746097","1391746025"],"photo_ids_order":["1391746025","1391746060","1391746097","1391746135","1391746167","1391746206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c52dcab87098dc18b12828ea9aa804a6.jpg","text":"TemporaryFile(/tmp/multipartBody1458352724069424518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_15_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95f203bf5fd950bf4cf0eb2ffc124a59.jpg","text":"TemporaryFile(/tmp/multipartBody2750107969672420104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_21_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/01e4af256fdf6f99807f1bde33dc328d.jpg","text":"TemporaryFile(/tmp/multipartBody3935721066923507496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_24_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a9daa293ff7d8839fd12411f75bb2d93.jpg","text":"TemporaryFile(/tmp/multipartBody1471304321985427158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_27_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45ddbc41e0802212c34a34e0d45f6444.jpg","text":"TemporaryFile(/tmp/multipartBody1630651901433148347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_18_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/53118df67236c2e765b172bb6617c35b.jpg","text":"TemporaryFile(/tmp/multipartBody879621860222807368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034765267,"filename":"image_30102025_06_41_13_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391746097","file1":"1391746060","file0":"1391746025","file4":"1391746167","file5":"1391746206","file3":"1391746135"},"map_files_photo_id_array":[{"photo_id":"1391746206","filename":"file5"},{"photo_id":"1391746097","filename":"file2"},{"photo_id":"1391746167","filename":"file4"},{"photo_id":"1391746060","filename":"file1"},{"photo_id":"1391746025","filename":"file0"},{"photo_id":"1391746135","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391746060":["hashtag1","hashtag2"]},{"1391746135":["hashtag1","hashtag2"]},{"1391746167":["hashtag1","hashtag2"]},{"1391746206":["hashtag1","hashtag2"]},{"1391746097":["hashtag1","hashtag2"]},{"1391746025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391746060, 1391746135, 1391746167, 1391746206, 1391746097, 1391746025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47020649909973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:05:42.150240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_30_2787.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_34_3673.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_36_2584.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_39_2588.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_42_3641.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_45_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_30_2787.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_34_3673.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_36_2584.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_39_2588.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_42_3641.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_45_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391746441","1391746519","1391746398","1391746356","1391746481","1391746556"],"photo_ids_order":["1391746356","1391746398","1391746441","1391746481","1391746519","1391746556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a2e43d012238789e6e10849db709836.jpg","text":"TemporaryFile(/tmp/multipartBody47862526496763025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_36_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da85a0eabb99a59a5e885d1a7c683596.jpg","text":"TemporaryFile(/tmp/multipartBody2726980358003455861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_42_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a6dffb85372e9022f2d07809116e089.jpg","text":"TemporaryFile(/tmp/multipartBody8343106194571918224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_34_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/af1378349b2646ff981b0d1ee5b94813.jpg","text":"TemporaryFile(/tmp/multipartBody7768443977404842611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_30_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5cde723fc1f40b329566b418c5600500.jpg","text":"TemporaryFile(/tmp/multipartBody8328441246915000153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_39_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce6f87c5784357545a7f53a51253ef24.jpg","text":"TemporaryFile(/tmp/multipartBody1253280282715636071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034803479,"filename":"image_30102025_06_41_45_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391746441","file1":"1391746398","file0":"1391746356","file4":"1391746519","file5":"1391746556","file3":"1391746481"},"map_files_photo_id_array":[{"photo_id":"1391746556","filename":"file5"},{"photo_id":"1391746441","filename":"file2"},{"photo_id":"1391746519","filename":"file4"},{"photo_id":"1391746398","filename":"file1"},{"photo_id":"1391746356","filename":"file0"},{"photo_id":"1391746481","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391746441":["hashtag1","hashtag2"]},{"1391746519":["hashtag1","hashtag2"]},{"1391746398":["hashtag1","hashtag2"]},{"1391746356":["hashtag1","hashtag2"]},{"1391746481":["hashtag1","hashtag2"]},{"1391746556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391746441, 1391746519, 1391746398, 1391746356, 1391746481, 1391746556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81550073623657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:06:22.381612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_49_3650.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_51_2723.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_54_2697.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_57_2831.jpg', '/home/pi/Desktop/images/30102025/06/41/image_30102025_06_42_01_3704.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_03_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_49_3650.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_51_2723.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_54_2697.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_41_57_2831.jpg
/home/pi/Desktop/images/30102025/06/41/image_30102025_06_42_01_3704.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_03_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391746992","1391747229","1391746911","1391746796","1391747071","1391747152"],"photo_ids_order":["1391746796","1391746911","1391746992","1391747071","1391747152","1391747229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b597b2375b45f3c299f17898ebc12602.jpg","text":"TemporaryFile(/tmp/multipartBody7176121185323898054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_41_54_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/10aa2c9101423b3aba852b0387546640.jpg","text":"TemporaryFile(/tmp/multipartBody2766883717116442980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_42_03_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/474bb7f77966a22d94a82db37c4c09b0.jpg","text":"TemporaryFile(/tmp/multipartBody8840959250404710047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_41_51_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8b4acc4e4a19674a75819da708d290fa.jpg","text":"TemporaryFile(/tmp/multipartBody844409459182876242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_41_49_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ee909599cbaf574061e1b1b03828a141.jpg","text":"TemporaryFile(/tmp/multipartBody5524260872654225158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_41_57_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faa1ab21252ac95a60f72271394950f3.jpg","text":"TemporaryFile(/tmp/multipartBody983408944278660129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034845146,"filename":"image_30102025_06_42_01_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391746992","file1":"1391746911","file0":"1391746796","file4":"1391747152","file5":"1391747229","file3":"1391747071"},"map_files_photo_id_array":[{"photo_id":"1391747229","filename":"file5"},{"photo_id":"1391746992","filename":"file2"},{"photo_id":"1391747152","filename":"file4"},{"photo_id":"1391746911","filename":"file1"},{"photo_id":"1391746796","filename":"file0"},{"photo_id":"1391747071","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391746992":["hashtag1","hashtag2"]},{"1391747229":["hashtag1","hashtag2"]},{"1391746911":["hashtag1","hashtag2"]},{"1391746796":["hashtag1","hashtag2"]},{"1391747071":["hashtag1","hashtag2"]},{"1391747152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391746992, 1391747229, 1391746911, 1391746796, 1391747071, 1391747152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.821049213409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:07:03.131267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_06_3016.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_09_2589.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_13_3610.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_15_2799.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_18_2871.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_21_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_06_3016.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_09_2589.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_13_3610.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_15_2799.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_18_2871.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_21_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391747950","1391747391","1391747436","1391747841","1391747639","1391747948"],"photo_ids_order":["1391747391","1391747436","1391747639","1391747841","1391747948","1391747950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/829b9f027d848e5c6431265d2cf16a86.jpg","text":"TemporaryFile(/tmp/multipartBody4612662619816333136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_21_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d90b6e9da20becdb85a05a0fdc079c5.jpg","text":"TemporaryFile(/tmp/multipartBody3954988852907587010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f6213ace7ed3a4ac5d657bb1e30d108b.jpg","text":"TemporaryFile(/tmp/multipartBody7639949892495286500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_09_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e85ce695eda7c79642046c456f377e18.jpg","text":"TemporaryFile(/tmp/multipartBody4713539232827259788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_15_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acf74947c3aa02c092b9e3de170f4780.jpg","text":"TemporaryFile(/tmp/multipartBody2208347591981862851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_13_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc7c42ef1faca2e562b81722fe53b65d.jpg","text":"TemporaryFile(/tmp/multipartBody7573733838996685407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034885460,"filename":"image_30102025_06_42_18_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391747639","file1":"1391747436","file0":"1391747391","file4":"1391747948","file5":"1391747950","file3":"1391747841"},"map_files_photo_id_array":[{"photo_id":"1391747950","filename":"file5"},{"photo_id":"1391747639","filename":"file2"},{"photo_id":"1391747948","filename":"file4"},{"photo_id":"1391747436","filename":"file1"},{"photo_id":"1391747391","filename":"file0"},{"photo_id":"1391747841","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391747950":["hashtag1","hashtag2"]},{"1391747391":["hashtag1","hashtag2"]},{"1391747436":["hashtag1","hashtag2"]},{"1391747841":["hashtag1","hashtag2"]},{"1391747639":["hashtag1","hashtag2"]},{"1391747948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391747950, 1391747391, 1391747436, 1391747841, 1391747639, 1391747948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90305995941162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:07:42.425935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_25_3702.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_27_2747.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_30_2541.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_34_3719.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_36_2561.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_39_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_25_3702.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_27_2747.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_30_2541.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_34_3719.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_36_2561.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_39_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391748222","1391748144","1391748072","1391748275","1391747998","1391748031"],"photo_ids_order":["1391747998","1391748031","1391748072","1391748144","1391748222","1391748275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bd3969ff8b2aa006f7e2ee60b059e45.jpg","text":"TemporaryFile(/tmp/multipartBody8984145105556569252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_36_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04aa9c372415c6c9928728f67d152ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2131982640826466881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_34_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1eca5b00ddd35886fec57a2c216e2f99.jpg","text":"TemporaryFile(/tmp/multipartBody9092329240078530513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_30_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfeae62c99fadeb0669e1425300273a0.jpg","text":"TemporaryFile(/tmp/multipartBody2846435640733023964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8cf9665ee866baeacbf4974fcdbc556.jpg","text":"TemporaryFile(/tmp/multipartBody765155467698061428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_25_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e285e5a7bc5718b1634df6afd73ed00d.jpg","text":"TemporaryFile(/tmp/multipartBody1529813318733043223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034923702,"filename":"image_30102025_06_42_27_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391748072","file1":"1391748031","file0":"1391747998","file4":"1391748222","file5":"1391748275","file3":"1391748144"},"map_files_photo_id_array":[{"photo_id":"1391748275","filename":"file5"},{"photo_id":"1391748072","filename":"file2"},{"photo_id":"1391748222","filename":"file4"},{"photo_id":"1391748031","filename":"file1"},{"photo_id":"1391747998","filename":"file0"},{"photo_id":"1391748144","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391748222":["hashtag1","hashtag2"]},{"1391748144":["hashtag1","hashtag2"]},{"1391748072":["hashtag1","hashtag2"]},{"1391748275":["hashtag1","hashtag2"]},{"1391747998":["hashtag1","hashtag2"]},{"1391748031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391748222, 1391748144, 1391748072, 1391748275, 1391747998, 1391748031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.139811277389526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:08:22.576955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_42_3593.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_45_2651.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_48_2634.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_51_3530.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_54_2796.jpg', '/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_57_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_42_3593.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_45_2651.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_48_2634.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_51_3530.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_54_2796.jpg
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_42_57_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391748672","1391748726","1391748603","1391748728","1391748713","1391748730"],"photo_ids_order":["1391748603","1391748672","1391748713","1391748726","1391748728","1391748730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/28fdd0af99ff0d0ce97e068b0ceb8612.jpg","text":"TemporaryFile(/tmp/multipartBody4631137153174205807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_45_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9d87f5593f0fd560c53600d124d942ae.jpg","text":"TemporaryFile(/tmp/multipartBody3550356858049080916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_51_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b41767d19b50aaf8db71d93f33f39314.jpg","text":"TemporaryFile(/tmp/multipartBody4441678483127348028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_42_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b88d9013460e82afd95fca1859b0c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2512859146281407725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_54_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0a6b1f4369fdd7f5237074e3779cc38.jpg","text":"TemporaryFile(/tmp/multipartBody5422277155601214913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_48_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99b7aa82d00d733d1155634838529554.jpg","text":"TemporaryFile(/tmp/multipartBody5717439901145991735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762034965371,"filename":"image_30102025_06_42_57_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391748713","file1":"1391748672","file0":"1391748603","file4":"1391748728","file5":"1391748730","file3":"1391748726"},"map_files_photo_id_array":[{"photo_id":"1391748730","filename":"file5"},{"photo_id":"1391748713","filename":"file2"},{"photo_id":"1391748728","filename":"file4"},{"photo_id":"1391748672","filename":"file1"},{"photo_id":"1391748603","filename":"file0"},{"photo_id":"1391748726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391748672":["hashtag1","hashtag2"]},{"1391748726":["hashtag1","hashtag2"]},{"1391748603":["hashtag1","hashtag2"]},{"1391748728":["hashtag1","hashtag2"]},{"1391748713":["hashtag1","hashtag2"]},{"1391748730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391748672, 1391748726, 1391748603, 1391748728, 1391748713, 1391748730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59744691848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:09:22.789703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/42/image_30102025_06_43_00_3691.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_04_3150.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_06_2661.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_09_2829.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_12_2721.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_15_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/42/image_30102025_06_43_00_3691.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_04_3150.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_06_2661.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_09_2829.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_12_2721.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_15_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391748756","1391748753","1391748747","1391748755","1391748740","1391748751"],"photo_ids_order":["1391748740","1391748747","1391748751","1391748753","1391748755","1391748756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cb55f514414e7c42edf320ef4a70ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3647177733922712965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_15_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d12336daf12087af72eb66ffbcdf333.jpg","text":"TemporaryFile(/tmp/multipartBody569358027645934846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_09_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40598d727626c2a3570bc4ca6d3bcd7a.jpg","text":"TemporaryFile(/tmp/multipartBody2494080019461648028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_04_3150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc38d9db6cc06d3d0f275531ae4271a6.jpg","text":"TemporaryFile(/tmp/multipartBody6833966521668867778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_12_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/de71df2da00e71cc2dd1ade8d487be06.jpg","text":"TemporaryFile(/tmp/multipartBody974172882176576406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_00_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc60ffaa8a7764871342ddd343643ccb.jpg","text":"TemporaryFile(/tmp/multipartBody193668034188896778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035025691,"filename":"image_30102025_06_43_06_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391748751","file1":"1391748747","file0":"1391748740","file4":"1391748755","file5":"1391748756","file3":"1391748753"},"map_files_photo_id_array":[{"photo_id":"1391748756","filename":"file5"},{"photo_id":"1391748751","filename":"file2"},{"photo_id":"1391748755","filename":"file4"},{"photo_id":"1391748747","filename":"file1"},{"photo_id":"1391748740","filename":"file0"},{"photo_id":"1391748753","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391748756":["hashtag1","hashtag2"]},{"1391748753":["hashtag1","hashtag2"]},{"1391748747":["hashtag1","hashtag2"]},{"1391748755":["hashtag1","hashtag2"]},{"1391748740":["hashtag1","hashtag2"]},{"1391748751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391748756, 1391748753, 1391748747, 1391748755, 1391748740, 1391748751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30513119697571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:10:22.518538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_18_2795.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_21_2676.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_24_3606.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_27_2768.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_30_2578.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_33_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_18_2795.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_21_2676.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_24_3606.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_27_2768.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_30_2578.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_33_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391748777","1391749013","1391748773","1391748947","1391748781","1391749015"],"photo_ids_order":["1391748773","1391748777","1391748781","1391748947","1391749013","1391749015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eb84baa4852164feb99e452f89bc298d.jpg","text":"TemporaryFile(/tmp/multipartBody8664834368382775531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_21_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b71fc26cb1504492018b14f5a448fc02.jpg","text":"TemporaryFile(/tmp/multipartBody4957957157342169608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_30_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4d7ccc0039b34e34ae7978515b590bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3732514614598290401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_18_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bad7e8fc061a5ca553153af8379fc649.jpg","text":"TemporaryFile(/tmp/multipartBody375621566438086322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_27_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/08de5105f7e9b82c8995f97312a42fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5854730275744718340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_24_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85ffb9592a9461114f75bc73ec55028f.jpg","text":"TemporaryFile(/tmp/multipartBody3335413994067010454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035105322,"filename":"image_30102025_06_43_33_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391748781","file1":"1391748777","file0":"1391748773","file4":"1391749013","file5":"1391749015","file3":"1391748947"},"map_files_photo_id_array":[{"photo_id":"1391749015","filename":"file5"},{"photo_id":"1391748781","filename":"file2"},{"photo_id":"1391749013","filename":"file4"},{"photo_id":"1391748777","filename":"file1"},{"photo_id":"1391748773","filename":"file0"},{"photo_id":"1391748947","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391748777":["hashtag1","hashtag2"]},{"1391749013":["hashtag1","hashtag2"]},{"1391748773":["hashtag1","hashtag2"]},{"1391748947":["hashtag1","hashtag2"]},{"1391748781":["hashtag1","hashtag2"]},{"1391749015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391748777, 1391749013, 1391748773, 1391748947, 1391748781, 1391749015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.5740749835968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:11:41.764491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_36_2590.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_39_2663.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_42_3610.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_45_2570.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_48_2801.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_51_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_36_2590.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_39_2663.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_42_3610.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_45_2570.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_48_2801.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_51_3551.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1420485973358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:12:02.383870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_36_2590.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_39_2663.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_42_3610.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_45_2570.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_48_2801.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_51_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_36_2590.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_39_2663.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_42_3610.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_45_2570.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_48_2801.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_51_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391749601","1391749591","1391749588","1391749599","1391749593","1391749596"],"photo_ids_order":["1391749588","1391749591","1391749593","1391749596","1391749599","1391749601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9897e56460928d9b11a407c7bcb8329a.jpg","text":"TemporaryFile(/tmp/multipartBody3318962930930367071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_51_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e862a37834fab16d5a0072ea8bd71357.jpg","text":"TemporaryFile(/tmp/multipartBody208805929143943735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_39_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/296996dbed150af46290e261d1b20f1f.jpg","text":"TemporaryFile(/tmp/multipartBody4922241571050067884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_36_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0c47831a1ca18bb0bcc3f4263a685d36.jpg","text":"TemporaryFile(/tmp/multipartBody2133208732650192575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_48_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1bd73edb9d22bc9b663ca7c172cf7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2764013307547818912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_42_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa8d48588979e3e86afedbe29d702918.jpg","text":"TemporaryFile(/tmp/multipartBody342761409922871061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035186840,"filename":"image_30102025_06_43_45_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391749593","file1":"1391749591","file0":"1391749588","file4":"1391749599","file5":"1391749601","file3":"1391749596"},"map_files_photo_id_array":[{"photo_id":"1391749601","filename":"file5"},{"photo_id":"1391749593","filename":"file2"},{"photo_id":"1391749599","filename":"file4"},{"photo_id":"1391749591","filename":"file1"},{"photo_id":"1391749588","filename":"file0"},{"photo_id":"1391749596","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391749601":["hashtag1","hashtag2"]},{"1391749591":["hashtag1","hashtag2"]},{"1391749588":["hashtag1","hashtag2"]},{"1391749599":["hashtag1","hashtag2"]},{"1391749593":["hashtag1","hashtag2"]},{"1391749596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391749601, 1391749591, 1391749588, 1391749599, 1391749593, 1391749596)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.918052196502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:13:02.890558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_57_2561.jpg', '/home/pi/Desktop/images/30102025/06/43/image_30102025_06_44_00_3628.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_03_2663.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_07_3676.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_09_2813.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_12_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_43_57_2561.jpg
/home/pi/Desktop/images/30102025/06/43/image_30102025_06_44_00_3628.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_03_2663.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_07_3676.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_09_2813.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_12_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391749809","1391749865","1391749874","1391749838","1391749805","1391749840"],"photo_ids_order":["1391749805","1391749809","1391749838","1391749840","1391749865","1391749874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38f1c6945084a43bcda84b528d1fafda.jpg","text":"TemporaryFile(/tmp/multipartBody3727470939651766902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_44_00_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36fd8ff7abc0bf10969c93de1a388acc.jpg","text":"TemporaryFile(/tmp/multipartBody3759846678383418816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_44_09_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c901309f6a126fcbf2de3409e83aee5e.jpg","text":"TemporaryFile(/tmp/multipartBody624685097487884644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_44_12_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b786f8ca4e4c12c51b2a12e8952aec3e.jpg","text":"TemporaryFile(/tmp/multipartBody944227351681667146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_44_03_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/724bc0b8bf15febd7ccaeb3a26dcabc3.jpg","text":"TemporaryFile(/tmp/multipartBody7559549513006755348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_43_57_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be52c3b4891d6662a7757b46319c5d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7313176105943803691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035245206,"filename":"image_30102025_06_44_07_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391749838","file1":"1391749809","file0":"1391749805","file4":"1391749865","file5":"1391749874","file3":"1391749840"},"map_files_photo_id_array":[{"photo_id":"1391749874","filename":"file5"},{"photo_id":"1391749838","filename":"file2"},{"photo_id":"1391749865","filename":"file4"},{"photo_id":"1391749809","filename":"file1"},{"photo_id":"1391749805","filename":"file0"},{"photo_id":"1391749840","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391749809":["hashtag1","hashtag2"]},{"1391749865":["hashtag1","hashtag2"]},{"1391749874":["hashtag1","hashtag2"]},{"1391749838":["hashtag1","hashtag2"]},{"1391749805":["hashtag1","hashtag2"]},{"1391749840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391749809, 1391749865, 1391749874, 1391749838, 1391749805, 1391749840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94755411148071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:13:42.204196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_15_2588.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_18_3581.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_21_2550.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_24_2724.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_27_3638.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_30_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_15_2588.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_18_3581.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_21_2550.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_24_2724.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_27_3638.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_30_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391749895","1391749892","1391749888","1391749884","1391749878","1391749881"],"photo_ids_order":["1391749878","1391749881","1391749884","1391749888","1391749892","1391749895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3a48a5d576f0bfb1e6cc522826fa3f44.jpg","text":"TemporaryFile(/tmp/multipartBody4497566043261425032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_30_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/73a691f5f63398b52ac395d1ba7c108d.jpg","text":"TemporaryFile(/tmp/multipartBody3223115427529927474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_27_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dccb9e9b0a44c9085606465000fff730.jpg","text":"TemporaryFile(/tmp/multipartBody1125077102133553760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_24_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67589792892a621ccf0190bff78360a3.jpg","text":"TemporaryFile(/tmp/multipartBody2356584852532493394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_21_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5f6c7f63c59802fb16e05ae7139ee60a.jpg","text":"TemporaryFile(/tmp/multipartBody5894667930682011787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_15_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbb7777042193abbd236abe6dcf3b48f.jpg","text":"TemporaryFile(/tmp/multipartBody7951250256088737019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035283618,"filename":"image_30102025_06_44_18_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391749884","file1":"1391749881","file0":"1391749878","file4":"1391749892","file5":"1391749895","file3":"1391749888"},"map_files_photo_id_array":[{"photo_id":"1391749895","filename":"file5"},{"photo_id":"1391749884","filename":"file2"},{"photo_id":"1391749892","filename":"file4"},{"photo_id":"1391749881","filename":"file1"},{"photo_id":"1391749878","filename":"file0"},{"photo_id":"1391749888","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391749895":["hashtag1","hashtag2"]},{"1391749892":["hashtag1","hashtag2"]},{"1391749888":["hashtag1","hashtag2"]},{"1391749884":["hashtag1","hashtag2"]},{"1391749878":["hashtag1","hashtag2"]},{"1391749881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391749895, 1391749892, 1391749888, 1391749884, 1391749878, 1391749881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82238006591797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:14:30.122802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_33_2600.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_36_3578.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_39_2649.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_42_3564.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_45_2646.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_48_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_33_2600.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_36_3578.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_39_2649.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_42_3564.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_45_2646.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_48_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391749925","1391749907","1391749916","1391749910","1391749904","1391749921"],"photo_ids_order":["1391749904","1391749907","1391749910","1391749916","1391749921","1391749925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e7107b3423ef4e12f71e4a883d6507e6.jpg","text":"TemporaryFile(/tmp/multipartBody82606563686702335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_48_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1bd96e04e4f2ccf32239f5e9c3a0757f.jpg","text":"TemporaryFile(/tmp/multipartBody2741568944241453137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_36_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5326f859f0315bb201f2a79e804ff4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2172702967383565990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_42_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4a6f4d428889d9cbaedeb83824cd0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6175654079474221838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_39_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ffe23db8e68743c5a2453c0bda93686.jpg","text":"TemporaryFile(/tmp/multipartBody3806164696116136487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_33_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1ca2ec176f555f55f493df80c711000a.jpg","text":"TemporaryFile(/tmp/multipartBody8304208575628960274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035332890,"filename":"image_30102025_06_44_45_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391749910","file1":"1391749907","file0":"1391749904","file4":"1391749921","file5":"1391749925","file3":"1391749916"},"map_files_photo_id_array":[{"photo_id":"1391749925","filename":"file5"},{"photo_id":"1391749910","filename":"file2"},{"photo_id":"1391749921","filename":"file4"},{"photo_id":"1391749907","filename":"file1"},{"photo_id":"1391749904","filename":"file0"},{"photo_id":"1391749916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391749925":["hashtag1","hashtag2"]},{"1391749907":["hashtag1","hashtag2"]},{"1391749916":["hashtag1","hashtag2"]},{"1391749910":["hashtag1","hashtag2"]},{"1391749904":["hashtag1","hashtag2"]},{"1391749921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391749925, 1391749907, 1391749916, 1391749910, 1391749904, 1391749921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96931719779968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:15:22.459033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_51_3671.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_54_2682.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_57_2701.jpg', '/home/pi/Desktop/images/30102025/06/44/image_30102025_06_45_00_3647.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_03_2677.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_08_4730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_51_3671.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_54_2682.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_44_57_2701.jpg
/home/pi/Desktop/images/30102025/06/44/image_30102025_06_45_00_3647.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_03_2677.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_08_4730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391749938","1391749943","1391749946","1391749934","1391749945","1391749941"],"photo_ids_order":["1391749934","1391749938","1391749941","1391749943","1391749945","1391749946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6537fd4e58e009950746ac9bd05917a.jpg","text":"TemporaryFile(/tmp/multipartBody8871993721378473044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_44_54_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b3bd7b70027f68dfc1dccc09700600e8.jpg","text":"TemporaryFile(/tmp/multipartBody789390214122349148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_45_00_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8fb79e5a44adf00e90f1cc5b308e1ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8763942074683343078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_45_08_4730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a578fef812710d89e7424763edc1f623.jpg","text":"TemporaryFile(/tmp/multipartBody600507881608500713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_44_51_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82538971a2b30f26b1f4b3630c5fc39b.jpg","text":"TemporaryFile(/tmp/multipartBody7645061939664621121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_45_03_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/da465af885b6288274d9cb70121d08f6.jpg","text":"TemporaryFile(/tmp/multipartBody4618942331156838010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035385252,"filename":"image_30102025_06_44_57_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391749941","file1":"1391749938","file0":"1391749934","file4":"1391749945","file5":"1391749946","file3":"1391749943"},"map_files_photo_id_array":[{"photo_id":"1391749946","filename":"file5"},{"photo_id":"1391749941","filename":"file2"},{"photo_id":"1391749945","filename":"file4"},{"photo_id":"1391749938","filename":"file1"},{"photo_id":"1391749934","filename":"file0"},{"photo_id":"1391749943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391749938":["hashtag1","hashtag2"]},{"1391749943":["hashtag1","hashtag2"]},{"1391749946":["hashtag1","hashtag2"]},{"1391749934":["hashtag1","hashtag2"]},{"1391749945":["hashtag1","hashtag2"]},{"1391749941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391749938, 1391749943, 1391749946, 1391749934, 1391749945, 1391749941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41801476478577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:16:04.029093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_10_1679.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_12_2829.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_15_2621.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_18_2724.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_21_3652.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_24_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_10_1679.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_12_2829.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_15_2621.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_18_2724.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_21_3652.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_24_2596.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1392574310302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:16:23.477636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_10_1679.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_12_2829.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_15_2621.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_18_2724.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_21_3652.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_24_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_10_1679.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_12_2829.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_15_2621.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_18_2724.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_21_3652.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_24_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750277","1391750333","1391750201","1391750368","1391750203","1391750206"],"photo_ids_order":["1391750201","1391750203","1391750206","1391750277","1391750333","1391750368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3982ee40f27e73d78b8fb2aad534c829.jpg","text":"TemporaryFile(/tmp/multipartBody812080709060652323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_18_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c47541fb660d827037a071206b23b291.jpg","text":"TemporaryFile(/tmp/multipartBody8655008963685173503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_21_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e711fb58e5fea7a0857d9ea6f350698.jpg","text":"TemporaryFile(/tmp/multipartBody935635623738145468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_10_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ccd7ecc7e1a38cf35f0fa1dbc2749c00.jpg","text":"TemporaryFile(/tmp/multipartBody6626590188378690900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_24_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5a38e837f108bccc3d6c78906945c38b.jpg","text":"TemporaryFile(/tmp/multipartBody2240178128761665881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_12_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dfc401d08c64886f802c33a77c9c143b.jpg","text":"TemporaryFile(/tmp/multipartBody3269585313821824734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035445774,"filename":"image_30102025_06_45_15_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750206","file1":"1391750203","file0":"1391750201","file4":"1391750333","file5":"1391750368","file3":"1391750277"},"map_files_photo_id_array":[{"photo_id":"1391750368","filename":"file5"},{"photo_id":"1391750206","filename":"file2"},{"photo_id":"1391750333","filename":"file4"},{"photo_id":"1391750203","filename":"file1"},{"photo_id":"1391750201","filename":"file0"},{"photo_id":"1391750277","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750277":["hashtag1","hashtag2"]},{"1391750333":["hashtag1","hashtag2"]},{"1391750201":["hashtag1","hashtag2"]},{"1391750368":["hashtag1","hashtag2"]},{"1391750203":["hashtag1","hashtag2"]},{"1391750206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750277, 1391750333, 1391750201, 1391750368, 1391750203, 1391750206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.868659257888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:17:22.599478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_27_2698.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_30_3688.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_33_2605.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_35_2550.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_39_3719.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_42_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_27_2698.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_30_3688.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_33_2605.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_35_2550.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_39_3719.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_42_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750382","1391750379","1391750387","1391750378","1391750380","1391750391"],"photo_ids_order":["1391750378","1391750379","1391750380","1391750382","1391750387","1391750391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db5f92a4959ac2abd4d48753e041e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2219399980722305799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_35_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67fe101eca69a817f91ad260de3a22b3.jpg","text":"TemporaryFile(/tmp/multipartBody9194976618647381361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_30_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7f059e7ab7ee5d1454f8ee5b5e604765.jpg","text":"TemporaryFile(/tmp/multipartBody685230152429615023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_39_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/45b2e181784a1071c0a02713dccc93ba.jpg","text":"TemporaryFile(/tmp/multipartBody6079627518487072258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_27_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/897322d8af0e2a46117d46116162848f.jpg","text":"TemporaryFile(/tmp/multipartBody2025401729670118069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_33_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/37c26becd80afe9854e97c6c6b193d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8177686571860360709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035505108,"filename":"image_30102025_06_45_42_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750380","file1":"1391750379","file0":"1391750378","file4":"1391750387","file5":"1391750391","file3":"1391750382"},"map_files_photo_id_array":[{"photo_id":"1391750391","filename":"file5"},{"photo_id":"1391750380","filename":"file2"},{"photo_id":"1391750387","filename":"file4"},{"photo_id":"1391750379","filename":"file1"},{"photo_id":"1391750378","filename":"file0"},{"photo_id":"1391750382","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750382":["hashtag1","hashtag2"]},{"1391750379":["hashtag1","hashtag2"]},{"1391750387":["hashtag1","hashtag2"]},{"1391750378":["hashtag1","hashtag2"]},{"1391750380":["hashtag1","hashtag2"]},{"1391750391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750382, 1391750379, 1391750387, 1391750378, 1391750380, 1391750391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37750744819641 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:18:23.541342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_45_2698.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_48_3634.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_51_2862.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_56_2619.jpg', '/home/pi/Desktop/images/30102025/06/45/image_30102025_06_46_00_3619.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_03_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_45_2698.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_48_3634.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_51_2862.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_45_56_2619.jpg
/home/pi/Desktop/images/30102025/06/45/image_30102025_06_46_00_3619.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_03_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750418","1391750433","1391750412","1391750423","1391750431","1391750428"],"photo_ids_order":["1391750412","1391750418","1391750423","1391750428","1391750431","1391750433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/36fea4823ac06ce1db7062fd897d6e96.jpg","text":"TemporaryFile(/tmp/multipartBody2663207190390994028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_45_48_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d9f693880ccb8f379ff4d36bab4cfacf.jpg","text":"TemporaryFile(/tmp/multipartBody1096250103788551048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_46_03_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9ebed03b203c65f408f0a0e5dd785eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7891510903357622323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_45_45_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d72d678d6b3e2c04aeeac406eaef6fff.jpg","text":"TemporaryFile(/tmp/multipartBody1221034859632774359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_45_51_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25b5c3aeb1a233481625d39bdecfa77e.jpg","text":"TemporaryFile(/tmp/multipartBody6156925166208076064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_46_00_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/233f2064d11fb72af517910e648dd354.jpg","text":"TemporaryFile(/tmp/multipartBody8486803811625274494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035580432,"filename":"image_30102025_06_45_56_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750423","file1":"1391750418","file0":"1391750412","file4":"1391750431","file5":"1391750433","file3":"1391750428"},"map_files_photo_id_array":[{"photo_id":"1391750433","filename":"file5"},{"photo_id":"1391750423","filename":"file2"},{"photo_id":"1391750431","filename":"file4"},{"photo_id":"1391750418","filename":"file1"},{"photo_id":"1391750412","filename":"file0"},{"photo_id":"1391750428","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750418":["hashtag1","hashtag2"]},{"1391750433":["hashtag1","hashtag2"]},{"1391750412":["hashtag1","hashtag2"]},{"1391750423":["hashtag1","hashtag2"]},{"1391750431":["hashtag1","hashtag2"]},{"1391750428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750418, 1391750433, 1391750412, 1391750423, 1391750431, 1391750428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29823684692383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:19:21.869323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_06_2712.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_09_3594.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_14_2604.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_18_3672.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_21_2693.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_23_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_06_2712.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_09_3594.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_14_2604.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_18_3672.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_21_2693.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_23_2651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7107863426208496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:19:41.896109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_06_2712.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_09_3594.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_14_2604.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_18_3672.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_21_2693.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_23_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_06_2712.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_09_3594.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_14_2604.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_18_3672.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_21_2693.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_23_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750451","1391750447","1391750459","1391750458","1391750461","1391750455"],"photo_ids_order":["1391750447","1391750451","1391750455","1391750458","1391750459","1391750461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ecf888866cb34421058e1a5b280d3880.jpg","text":"TemporaryFile(/tmp/multipartBody8353030124269680153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_09_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/334cc023df48200ca8f4154129a443a6.jpg","text":"TemporaryFile(/tmp/multipartBody8856612344586143426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_06_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ac1fe87e3a48c2d031eba25c34351b1.jpg","text":"TemporaryFile(/tmp/multipartBody3597936504169803029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_21_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dbeba7cde5664140356abed13d890661.jpg","text":"TemporaryFile(/tmp/multipartBody8355047429157350292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_18_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58dca40c599362b52fe2200e64d73d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2382152375915103445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_23_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/14925ff5f78a5278069c36d04482ec28.jpg","text":"TemporaryFile(/tmp/multipartBody4556514860129956307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035643172,"filename":"image_30102025_06_46_14_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750455","file1":"1391750451","file0":"1391750447","file4":"1391750459","file5":"1391750461","file3":"1391750458"},"map_files_photo_id_array":[{"photo_id":"1391750461","filename":"file5"},{"photo_id":"1391750455","filename":"file2"},{"photo_id":"1391750459","filename":"file4"},{"photo_id":"1391750451","filename":"file1"},{"photo_id":"1391750447","filename":"file0"},{"photo_id":"1391750458","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750451":["hashtag1","hashtag2"]},{"1391750447":["hashtag1","hashtag2"]},{"1391750459":["hashtag1","hashtag2"]},{"1391750458":["hashtag1","hashtag2"]},{"1391750461":["hashtag1","hashtag2"]},{"1391750455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750451, 1391750447, 1391750459, 1391750458, 1391750461, 1391750455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95298624038696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:20:22.057055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_27_3678.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_30_2637.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_33_3529.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_36_2663.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_38_2503.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_41_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_27_3678.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_30_2637.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_33_3529.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_36_2663.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_38_2503.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_41_2881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750475","1391750469","1391750478","1391750471","1391750482","1391750473"],"photo_ids_order":["1391750469","1391750471","1391750473","1391750475","1391750478","1391750482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5c5818068e0567df192a9cc758fa2ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7687696380163016132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_36_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85db74d8de5e00c608a144996df41f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8722308224108163647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_27_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc570e7a56b7227bd427826890c5ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody6496229096243695365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_38_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e350df17699ae0c6d9309f3aedd8f37c.jpg","text":"TemporaryFile(/tmp/multipartBody5448425847072908873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_30_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0823b317e468b27a3a64049a3ce88cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2422243801369763613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_41_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eaf36cd930467faa720c7759ce9ee3b3.jpg","text":"TemporaryFile(/tmp/multipartBody8337329210476806140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035684869,"filename":"image_30102025_06_46_33_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750473","file1":"1391750471","file0":"1391750469","file4":"1391750478","file5":"1391750482","file3":"1391750475"},"map_files_photo_id_array":[{"photo_id":"1391750482","filename":"file5"},{"photo_id":"1391750473","filename":"file2"},{"photo_id":"1391750478","filename":"file4"},{"photo_id":"1391750471","filename":"file1"},{"photo_id":"1391750469","filename":"file0"},{"photo_id":"1391750475","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750475":["hashtag1","hashtag2"]},{"1391750469":["hashtag1","hashtag2"]},{"1391750478":["hashtag1","hashtag2"]},{"1391750471":["hashtag1","hashtag2"]},{"1391750482":["hashtag1","hashtag2"]},{"1391750473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750475, 1391750469, 1391750478, 1391750471, 1391750482, 1391750473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.567182540893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:21:02.926368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_45_3662.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_49_3964.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_51_1709.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_53_2634.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_57_3661.jpg', '/home/pi/Desktop/images/30102025/06/46/image_30102025_06_47_00_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_45_3662.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_49_3964.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_51_1709.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_53_2634.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_46_57_3661.jpg
/home/pi/Desktop/images/30102025/06/46/image_30102025_06_47_00_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750496","1391750494","1391750507","1391750509","1391750500","1391750503"],"photo_ids_order":["1391750494","1391750496","1391750500","1391750503","1391750507","1391750509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6df3877d4df5d1ff5597cf17117a0560.jpg","text":"TemporaryFile(/tmp/multipartBody7316947207968324048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_46_49_3964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7455fb60d7c6a2b297e62efaa3bd128.jpg","text":"TemporaryFile(/tmp/multipartBody1830438302261658778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_46_45_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b6eb6abe9fe8147f098eeb297f296f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3674433299593080892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_46_57_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d2a6b8267b51b9ce5bba62f6d1b1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody9024783441188547546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_47_00_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d26740a72e576b4b17dc61f7f9623c52.jpg","text":"TemporaryFile(/tmp/multipartBody894779881132085492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_46_51_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/108886d3d02a2cdca924804b2fc22fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6967862893458482014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035725231,"filename":"image_30102025_06_46_53_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750500","file1":"1391750496","file0":"1391750494","file4":"1391750507","file5":"1391750509","file3":"1391750503"},"map_files_photo_id_array":[{"photo_id":"1391750509","filename":"file5"},{"photo_id":"1391750500","filename":"file2"},{"photo_id":"1391750507","filename":"file4"},{"photo_id":"1391750496","filename":"file1"},{"photo_id":"1391750494","filename":"file0"},{"photo_id":"1391750503","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750496":["hashtag1","hashtag2"]},{"1391750494":["hashtag1","hashtag2"]},{"1391750507":["hashtag1","hashtag2"]},{"1391750509":["hashtag1","hashtag2"]},{"1391750500":["hashtag1","hashtag2"]},{"1391750503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750496, 1391750494, 1391750507, 1391750509, 1391750500, 1391750503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.956063747406006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:22:02.981756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_02_2882.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_06_3676.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_09_2668.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_12_2879.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_14_2674.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_18_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_02_2882.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_06_3676.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_09_2668.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_12_2879.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_14_2674.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_18_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750535","1391750523","1391750537","1391750531","1391750533","1391750527"],"photo_ids_order":["1391750523","1391750527","1391750531","1391750533","1391750535","1391750537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3bf4d39936c148d75670f0bbf32bd8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6538926601731623396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_14_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d811c69f3247454b1b38feae78a19886.jpg","text":"TemporaryFile(/tmp/multipartBody3802807969563753841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_02_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b28ee1f306dc9cf033d301cff1ff2929.jpg","text":"TemporaryFile(/tmp/multipartBody4325321089318418181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_18_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3284f20cdb807144b9d235e1ee6104b.jpg","text":"TemporaryFile(/tmp/multipartBody5828107028588923719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_09_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8969f46b2d3d9ceb6d840e6d3e8c9f52.jpg","text":"TemporaryFile(/tmp/multipartBody69078592593647663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_12_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4eb59c16bb8b36b405df6dfee5f1c335.jpg","text":"TemporaryFile(/tmp/multipartBody6143232074684610229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035785315,"filename":"image_30102025_06_47_06_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750531","file1":"1391750527","file0":"1391750523","file4":"1391750535","file5":"1391750537","file3":"1391750533"},"map_files_photo_id_array":[{"photo_id":"1391750537","filename":"file5"},{"photo_id":"1391750531","filename":"file2"},{"photo_id":"1391750535","filename":"file4"},{"photo_id":"1391750527","filename":"file1"},{"photo_id":"1391750523","filename":"file0"},{"photo_id":"1391750533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750535":["hashtag1","hashtag2"]},{"1391750523":["hashtag1","hashtag2"]},{"1391750537":["hashtag1","hashtag2"]},{"1391750531":["hashtag1","hashtag2"]},{"1391750533":["hashtag1","hashtag2"]},{"1391750527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750535, 1391750523, 1391750537, 1391750531, 1391750533, 1391750527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.273357629776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:22:42.578426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_21_2862.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_24_2718.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_27_3673.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_30_2693.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_33_2693.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_35_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_21_2862.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_24_2718.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_27_3673.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_30_2693.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_33_2693.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_35_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750562","1391750564","1391750567","1391750549","1391750558","1391750554"],"photo_ids_order":["1391750549","1391750554","1391750558","1391750562","1391750564","1391750567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/21e5b138840f191985e96e4c45686f31.jpg","text":"TemporaryFile(/tmp/multipartBody4102266330424562973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_30_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1aee8dc39db51f7e1da42af4296e3c82.jpg","text":"TemporaryFile(/tmp/multipartBody7808921072278449976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_33_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a7918b21a06d50fab8e5ed92a186bded.jpg","text":"TemporaryFile(/tmp/multipartBody8223076663531973373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_35_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9bb92e364f1ed0163bb15644eacae167.jpg","text":"TemporaryFile(/tmp/multipartBody1984909597375102958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_21_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4defaa8f76573eb5486c70cb3d9219fc.jpg","text":"TemporaryFile(/tmp/multipartBody739866300084887625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_27_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/081d9952c7b3e220b6af90bceb0b5952.jpg","text":"TemporaryFile(/tmp/multipartBody1455202142990480425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035823911,"filename":"image_30102025_06_47_24_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750558","file1":"1391750554","file0":"1391750549","file4":"1391750564","file5":"1391750567","file3":"1391750562"},"map_files_photo_id_array":[{"photo_id":"1391750567","filename":"file5"},{"photo_id":"1391750558","filename":"file2"},{"photo_id":"1391750564","filename":"file4"},{"photo_id":"1391750554","filename":"file1"},{"photo_id":"1391750549","filename":"file0"},{"photo_id":"1391750562","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750562":["hashtag1","hashtag2"]},{"1391750564":["hashtag1","hashtag2"]},{"1391750567":["hashtag1","hashtag2"]},{"1391750549":["hashtag1","hashtag2"]},{"1391750558":["hashtag1","hashtag2"]},{"1391750554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750562, 1391750564, 1391750567, 1391750549, 1391750558, 1391750554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30061483383179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:23:22.774703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_39_3573.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_41_2554.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_45_3617.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_48_2711.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_50_2666.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_54_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_39_3573.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_41_2554.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_45_3617.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_48_2711.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_50_2666.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_54_3628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750580","1391750574","1391750577","1391750591","1391750588","1391750584"],"photo_ids_order":["1391750574","1391750577","1391750580","1391750584","1391750588","1391750591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1a248119c84b2f8c8709508637e4a84f.jpg","text":"TemporaryFile(/tmp/multipartBody6388433966310731168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_45_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69fa1315feb091d9b85bdbf80432c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2126456728622458398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_39_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edd029c9e8187cc46587a244783406e4.jpg","text":"TemporaryFile(/tmp/multipartBody8937532109332015759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_41_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8974bcbe6b6f7b2782cc81ea1c06564d.jpg","text":"TemporaryFile(/tmp/multipartBody7688773855512247309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_54_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/acf5a3b70a9ab9b9ed04eb12716b941a.jpg","text":"TemporaryFile(/tmp/multipartBody2219302269311089478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_50_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c2034e76df2b5252eec553b8336cafa.jpg","text":"TemporaryFile(/tmp/multipartBody4159677281056311599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035865619,"filename":"image_30102025_06_47_48_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750580","file1":"1391750577","file0":"1391750574","file4":"1391750588","file5":"1391750591","file3":"1391750584"},"map_files_photo_id_array":[{"photo_id":"1391750591","filename":"file5"},{"photo_id":"1391750580","filename":"file2"},{"photo_id":"1391750588","filename":"file4"},{"photo_id":"1391750577","filename":"file1"},{"photo_id":"1391750574","filename":"file0"},{"photo_id":"1391750584","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750580":["hashtag1","hashtag2"]},{"1391750574":["hashtag1","hashtag2"]},{"1391750577":["hashtag1","hashtag2"]},{"1391750591":["hashtag1","hashtag2"]},{"1391750588":["hashtag1","hashtag2"]},{"1391750584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750580, 1391750574, 1391750577, 1391750591, 1391750588, 1391750584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2408721446991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:24:03.217372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_57_2689.jpg', '/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_59_2693.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_03_3695.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_06_2523.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_09_3537.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_12_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_57_2689.jpg
/home/pi/Desktop/images/30102025/06/47/image_30102025_06_47_59_2693.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_03_3695.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_06_2523.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_09_3537.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_12_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750615","1391750600","1391750603","1391750612","1391750605","1391750608"],"photo_ids_order":["1391750600","1391750603","1391750605","1391750608","1391750612","1391750615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1f6f3205e310afe52e96edafe7ecd070.jpg","text":"TemporaryFile(/tmp/multipartBody4115744949411304397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_48_12_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44d36866b9425c48f4cc8b61e8a8cd50.jpg","text":"TemporaryFile(/tmp/multipartBody6372583265047727062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_47_57_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9fbcd8697097a186ef2fb66cd50a6d99.jpg","text":"TemporaryFile(/tmp/multipartBody3971589930893791850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_47_59_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3d222c5cdefee770af14cf00a68e974f.jpg","text":"TemporaryFile(/tmp/multipartBody3445816119628187788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_48_09_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3988c7f6fc7b857379820073120375c.jpg","text":"TemporaryFile(/tmp/multipartBody3011754756928601562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_48_03_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/217980db3a5127ed3afed258b4492d76.jpg","text":"TemporaryFile(/tmp/multipartBody1718314295793013502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035905751,"filename":"image_30102025_06_48_06_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750605","file1":"1391750603","file0":"1391750600","file4":"1391750612","file5":"1391750615","file3":"1391750608"},"map_files_photo_id_array":[{"photo_id":"1391750615","filename":"file5"},{"photo_id":"1391750605","filename":"file2"},{"photo_id":"1391750612","filename":"file4"},{"photo_id":"1391750603","filename":"file1"},{"photo_id":"1391750600","filename":"file0"},{"photo_id":"1391750608","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750615":["hashtag1","hashtag2"]},{"1391750600":["hashtag1","hashtag2"]},{"1391750603":["hashtag1","hashtag2"]},{"1391750612":["hashtag1","hashtag2"]},{"1391750605":["hashtag1","hashtag2"]},{"1391750608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750615, 1391750600, 1391750603, 1391750612, 1391750605, 1391750608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45892071723938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:24:42.532581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_14_2666.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_18_3655.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_21_2648.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_23_2614.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_27_3674.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_30_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_14_2666.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_18_3655.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_21_2648.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_23_2614.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_27_3674.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_30_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750634","1391750637","1391750631","1391750633","1391750626","1391750629"],"photo_ids_order":["1391750626","1391750629","1391750631","1391750633","1391750634","1391750637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/93aded8c90dc4007f8517b43bf8d5f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3859765863832383497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_27_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f3352a06ae1b9704964432e2cf3220c0.jpg","text":"TemporaryFile(/tmp/multipartBody3021229126963833431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_30_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05db8206afaa579838eec5a6cd29e94d.jpg","text":"TemporaryFile(/tmp/multipartBody3101912319930734740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_21_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c20d45ae0512f47a453447fa4dabe17f.jpg","text":"TemporaryFile(/tmp/multipartBody4194842202832563915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_23_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1700db890e0b742910bbf820a11d1308.jpg","text":"TemporaryFile(/tmp/multipartBody6901487589011447871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_14_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/790b0187cc9ea8f4770a8d506f00b28a.jpg","text":"TemporaryFile(/tmp/multipartBody2079993589484261017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035943758,"filename":"image_30102025_06_48_18_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750631","file1":"1391750629","file0":"1391750626","file4":"1391750634","file5":"1391750637","file3":"1391750633"},"map_files_photo_id_array":[{"photo_id":"1391750637","filename":"file5"},{"photo_id":"1391750631","filename":"file2"},{"photo_id":"1391750634","filename":"file4"},{"photo_id":"1391750629","filename":"file1"},{"photo_id":"1391750626","filename":"file0"},{"photo_id":"1391750633","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750634":["hashtag1","hashtag2"]},{"1391750637":["hashtag1","hashtag2"]},{"1391750631":["hashtag1","hashtag2"]},{"1391750633":["hashtag1","hashtag2"]},{"1391750626":["hashtag1","hashtag2"]},{"1391750629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750634, 1391750637, 1391750631, 1391750633, 1391750626, 1391750629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.724064111709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:25:24.115237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_32_2809.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_36_3537.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_39_3020.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_42_2549.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_44_2685.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_48_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_32_2809.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_36_3537.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_39_3020.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_42_2549.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_44_2685.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_48_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750649","1391750657","1391750651","1391750660","1391750653","1391750647"],"photo_ids_order":["1391750647","1391750649","1391750651","1391750653","1391750657","1391750660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35951373ebf9173c6c5c9ad7b4ec569a.jpg","text":"TemporaryFile(/tmp/multipartBody7628702370868667544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_36_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3c39a803e44d4a6776dce491eec429e7.jpg","text":"TemporaryFile(/tmp/multipartBody1540355187251811164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_44_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75d7b63791311a2b8b9d82bb68c4affb.jpg","text":"TemporaryFile(/tmp/multipartBody197179805669591055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_39_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e56a5b8b72a288900691bdd76c1050cd.jpg","text":"TemporaryFile(/tmp/multipartBody8894679090707970085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_48_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/528405da0f8a52449e973fca822fb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2864013107814547035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_42_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/566536249bab6aa6f687c17937706ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7503497230633888391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762035986644,"filename":"image_30102025_06_48_32_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750651","file1":"1391750649","file0":"1391750647","file4":"1391750657","file5":"1391750660","file3":"1391750653"},"map_files_photo_id_array":[{"photo_id":"1391750660","filename":"file5"},{"photo_id":"1391750651","filename":"file2"},{"photo_id":"1391750657","filename":"file4"},{"photo_id":"1391750649","filename":"file1"},{"photo_id":"1391750647","filename":"file0"},{"photo_id":"1391750653","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750649":["hashtag1","hashtag2"]},{"1391750657":["hashtag1","hashtag2"]},{"1391750651":["hashtag1","hashtag2"]},{"1391750660":["hashtag1","hashtag2"]},{"1391750653":["hashtag1","hashtag2"]},{"1391750647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750649, 1391750657, 1391750651, 1391750660, 1391750653, 1391750647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68871855735779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:26:03.190842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_51_2603.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_53_2809.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_56_2687.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_49_00_3644.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_02_2696.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_06_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_51_2603.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_53_2809.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_56_2687.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_49_00_3644.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_02_2696.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_06_3542.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.239309310913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:26:22.702026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_51_2603.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_53_2809.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_56_2687.jpg', '/home/pi/Desktop/images/30102025/06/48/image_30102025_06_49_00_3644.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_02_2696.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_06_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_51_2603.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_53_2809.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_48_56_2687.jpg
/home/pi/Desktop/images/30102025/06/48/image_30102025_06_49_00_3644.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_02_2696.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_06_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750696","1391750681","1391750686","1391750683","1391750701","1391750691"],"photo_ids_order":["1391750681","1391750683","1391750686","1391750691","1391750696","1391750701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fa651f76ce4e94ac66b4d1d9e2322d39.jpg","text":"TemporaryFile(/tmp/multipartBody4227776841024095630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_49_02_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/97ad90df30a888b139d02ccbe163e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8482891387573282240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_48_51_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4ca1db1d190e5d8c635add823db249ba.jpg","text":"TemporaryFile(/tmp/multipartBody556614644705162344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_48_56_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4c5ecb7523a688ff7fcfac572454183a.jpg","text":"TemporaryFile(/tmp/multipartBody6271586022204116018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_48_53_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2ed49254f1e6b44ca7149b0b2308ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4587663467579285929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_49_06_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/542530e6090286e17b46056b333917a3.jpg","text":"TemporaryFile(/tmp/multipartBody5523659432320699070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036045476,"filename":"image_30102025_06_49_00_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750686","file1":"1391750683","file0":"1391750681","file4":"1391750696","file5":"1391750701","file3":"1391750691"},"map_files_photo_id_array":[{"photo_id":"1391750701","filename":"file5"},{"photo_id":"1391750686","filename":"file2"},{"photo_id":"1391750696","filename":"file4"},{"photo_id":"1391750683","filename":"file1"},{"photo_id":"1391750681","filename":"file0"},{"photo_id":"1391750691","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750696":["hashtag1","hashtag2"]},{"1391750681":["hashtag1","hashtag2"]},{"1391750686":["hashtag1","hashtag2"]},{"1391750683":["hashtag1","hashtag2"]},{"1391750701":["hashtag1","hashtag2"]},{"1391750691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750696, 1391750681, 1391750686, 1391750683, 1391750701, 1391750691)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.955135345458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:27:25.234755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_14_7559.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_15_1560.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_17_1630.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_18_1612.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_20_1876.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_24_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_14_7559.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_15_1560.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_17_1630.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_18_1612.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_20_1876.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_24_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750730","1391750727","1391750720","1391750723","1391750717","1391750734"],"photo_ids_order":["1391750717","1391750720","1391750723","1391750727","1391750730","1391750734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b63192190bb41f2af9d1261dd57af4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6265681699181342270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_20_1876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7939b7889a6313db637793b6db014fd7.jpg","text":"TemporaryFile(/tmp/multipartBody5374264151865200418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_18_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/85816ef1faf2b9d5922526ef7b5ed18b.jpg","text":"TemporaryFile(/tmp/multipartBody3820182121645096846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_15_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a54d962e55f7899a2467ab95624de51e.jpg","text":"TemporaryFile(/tmp/multipartBody2646389003105859633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_17_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57be44e23c3895ab1856a713e8ee01a0.jpg","text":"TemporaryFile(/tmp/multipartBody1075836215897857159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_14_7559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3124ef8c2938c100fddbe98a6827f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody6840758897086126601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036111939,"filename":"image_30102025_06_49_24_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750723","file1":"1391750720","file0":"1391750717","file4":"1391750730","file5":"1391750734","file3":"1391750727"},"map_files_photo_id_array":[{"photo_id":"1391750734","filename":"file5"},{"photo_id":"1391750723","filename":"file2"},{"photo_id":"1391750730","filename":"file4"},{"photo_id":"1391750720","filename":"file1"},{"photo_id":"1391750717","filename":"file0"},{"photo_id":"1391750727","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750730":["hashtag1","hashtag2"]},{"1391750727":["hashtag1","hashtag2"]},{"1391750720":["hashtag1","hashtag2"]},{"1391750723":["hashtag1","hashtag2"]},{"1391750717":["hashtag1","hashtag2"]},{"1391750734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750730, 1391750727, 1391750720, 1391750723, 1391750717, 1391750734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02400016784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:28:22.588852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_27_2698.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_29_2705.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_33_3623.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_35_2586.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_38_2643.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_42_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_27_2698.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_29_2705.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_33_3623.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_35_2586.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_38_2643.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_42_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750763","1391750757","1391750745","1391750753","1391750747","1391750749"],"photo_ids_order":["1391750745","1391750747","1391750749","1391750753","1391750757","1391750763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/397870558e1e6d511b3cb7dc5e91daa7.jpg","text":"TemporaryFile(/tmp/multipartBody8091619115910880545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_42_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9f172dd37207899990da46e64196afb1.jpg","text":"TemporaryFile(/tmp/multipartBody4575223183202643375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_38_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/315abd78ff86a97ab4c2c595998b462b.jpg","text":"TemporaryFile(/tmp/multipartBody146529814805938397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_27_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/faa1b121833ddb9cb375030950d7398f.jpg","text":"TemporaryFile(/tmp/multipartBody8949664032245283032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_35_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/32856b49ce7395f5378304b18078bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7409645416807006760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_29_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/35afaf59aa7c47c21bac51ce9ca3d0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5696640075226927541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036165393,"filename":"image_30102025_06_49_33_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750749","file1":"1391750747","file0":"1391750745","file4":"1391750757","file5":"1391750763","file3":"1391750753"},"map_files_photo_id_array":[{"photo_id":"1391750763","filename":"file5"},{"photo_id":"1391750749","filename":"file2"},{"photo_id":"1391750757","filename":"file4"},{"photo_id":"1391750747","filename":"file1"},{"photo_id":"1391750745","filename":"file0"},{"photo_id":"1391750753","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750763":["hashtag1","hashtag2"]},{"1391750757":["hashtag1","hashtag2"]},{"1391750745":["hashtag1","hashtag2"]},{"1391750753":["hashtag1","hashtag2"]},{"1391750747":["hashtag1","hashtag2"]},{"1391750749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750763, 1391750757, 1391750745, 1391750753, 1391750747, 1391750749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0465567111969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:29:03.773736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_44_2643.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_48_3633.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_51_2850.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_53_2647.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_56_2644.jpg', '/home/pi/Desktop/images/30102025/06/49/image_30102025_06_50_00_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_44_2643.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_48_3633.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_51_2850.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_53_2647.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_49_56_2644.jpg
/home/pi/Desktop/images/30102025/06/49/image_30102025_06_50_00_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750775","1391750780","1391750777","1391750785","1391750782","1391750779"],"photo_ids_order":["1391750775","1391750777","1391750779","1391750780","1391750782","1391750785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/57ee55f275d2f25be9586f75faa8dc1c.jpg","text":"TemporaryFile(/tmp/multipartBody7233033138316161888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_49_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2546aa89e31c42ef1c3dcd492291feca.jpg","text":"TemporaryFile(/tmp/multipartBody2703465735993654455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_49_53_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/79210e46ea768eae52c246902a23fb85.jpg","text":"TemporaryFile(/tmp/multipartBody6325476261324754382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_49_48_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0402744fa09a373498ce32f455e68e40.jpg","text":"TemporaryFile(/tmp/multipartBody1419144933883851795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_50_00_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b1e9e52061e17335fa5147bb07b9ba66.jpg","text":"TemporaryFile(/tmp/multipartBody3330582067815428259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_49_56_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f8f420ab0d5260ec6ba149f5f9436779.jpg","text":"TemporaryFile(/tmp/multipartBody3557381464784374859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036206291,"filename":"image_30102025_06_49_51_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750779","file1":"1391750777","file0":"1391750775","file4":"1391750782","file5":"1391750785","file3":"1391750780"},"map_files_photo_id_array":[{"photo_id":"1391750785","filename":"file5"},{"photo_id":"1391750779","filename":"file2"},{"photo_id":"1391750782","filename":"file4"},{"photo_id":"1391750777","filename":"file1"},{"photo_id":"1391750775","filename":"file0"},{"photo_id":"1391750780","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750775":["hashtag1","hashtag2"]},{"1391750780":["hashtag1","hashtag2"]},{"1391750777":["hashtag1","hashtag2"]},{"1391750785":["hashtag1","hashtag2"]},{"1391750782":["hashtag1","hashtag2"]},{"1391750779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750775, 1391750780, 1391750777, 1391750785, 1391750782, 1391750779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13870167732239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:29:42.766422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_03_2919.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_05_2736.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_08_2745.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_12_3709.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_15_2754.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_17_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_03_2919.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_05_2736.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_08_2745.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_12_3709.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_15_2754.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_17_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750811","1391750810","1391750813","1391750807","1391750804","1391750799"],"photo_ids_order":["1391750799","1391750804","1391750807","1391750810","1391750811","1391750813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8678b1fb2f4d1e679726fd2426e53cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3467973570216119562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_15_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0ed0606a1f5320f0e8079ed91ad2be8b.jpg","text":"TemporaryFile(/tmp/multipartBody7518148911064324740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_12_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/62108d335fff6da31ba52584cdc7fd68.jpg","text":"TemporaryFile(/tmp/multipartBody2262970305250197787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_17_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4be4b3fa8051cc3b3a05fa47bb7c6eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7539717858180432949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_08_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8e930ffe626e6079d4811a93ba7dbf16.jpg","text":"TemporaryFile(/tmp/multipartBody240362948487975680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_05_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d345fd4cbecbe2c72c89d100e3cb22fe.jpg","text":"TemporaryFile(/tmp/multipartBody6542626745300441767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036244067,"filename":"image_30102025_06_50_03_2919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750807","file1":"1391750804","file0":"1391750799","file4":"1391750811","file5":"1391750813","file3":"1391750810"},"map_files_photo_id_array":[{"photo_id":"1391750813","filename":"file5"},{"photo_id":"1391750807","filename":"file2"},{"photo_id":"1391750811","filename":"file4"},{"photo_id":"1391750804","filename":"file1"},{"photo_id":"1391750799","filename":"file0"},{"photo_id":"1391750810","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750811":["hashtag1","hashtag2"]},{"1391750810":["hashtag1","hashtag2"]},{"1391750813":["hashtag1","hashtag2"]},{"1391750807":["hashtag1","hashtag2"]},{"1391750804":["hashtag1","hashtag2"]},{"1391750799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750811, 1391750810, 1391750813, 1391750807, 1391750804, 1391750799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66204619407654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:30:21.850369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_20_2615.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_24_3726.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_26_2631.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_30_3623.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_33_2742.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_35_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_20_2615.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_24_3726.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_26_2631.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_30_3623.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_33_2742.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_35_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750823","1391750826","1391750837","1391750831","1391750828","1391750833"],"photo_ids_order":["1391750823","1391750826","1391750828","1391750831","1391750833","1391750837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5174dcabb710e631d820a290d21175e7.jpg","text":"TemporaryFile(/tmp/multipartBody3114939942940942970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_20_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/04557ddb592c3200a75feb0715ff950c.jpg","text":"TemporaryFile(/tmp/multipartBody1914401346122745270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_24_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/535c62b4091f72427da7c6a938d6926d.jpg","text":"TemporaryFile(/tmp/multipartBody4345761798053744359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_35_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74399d85f24956c08efe2a2b95781333.jpg","text":"TemporaryFile(/tmp/multipartBody1977065774597051381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_30_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e5b10c11b8e99acc0c0b4321646bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody591906181496110209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_26_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/818df7f7feda371bd3f32bc13cd16646.jpg","text":"TemporaryFile(/tmp/multipartBody7830410610213060704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036284627,"filename":"image_30102025_06_50_33_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750828","file1":"1391750826","file0":"1391750823","file4":"1391750833","file5":"1391750837","file3":"1391750831"},"map_files_photo_id_array":[{"photo_id":"1391750837","filename":"file5"},{"photo_id":"1391750828","filename":"file2"},{"photo_id":"1391750833","filename":"file4"},{"photo_id":"1391750826","filename":"file1"},{"photo_id":"1391750823","filename":"file0"},{"photo_id":"1391750831","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750823":["hashtag1","hashtag2"]},{"1391750826":["hashtag1","hashtag2"]},{"1391750837":["hashtag1","hashtag2"]},{"1391750831":["hashtag1","hashtag2"]},{"1391750828":["hashtag1","hashtag2"]},{"1391750833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750823, 1391750826, 1391750837, 1391750831, 1391750828, 1391750833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876484632492065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:31:02.885577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_39_3634.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_42_2709.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_44_2786.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_47_2693.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_51_3669.jpg', '/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_53_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_39_3634.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_42_2709.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_44_2786.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_47_2693.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_51_3669.jpg
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_53_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750850","1391750853","1391750855","1391750846","1391750848","1391750842"],"photo_ids_order":["1391750842","1391750846","1391750848","1391750850","1391750853","1391750855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8f42580a066e043a0249cbb90821bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3529480020856276466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_47_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/aa5a88a9bd5bf1b74c909908f028b966.jpg","text":"TemporaryFile(/tmp/multipartBody6526930026114367338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_51_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/323c95166b96e6dbaa2a27d6cd65661f.jpg","text":"TemporaryFile(/tmp/multipartBody4674052307582764754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_53_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/38ebaff9ebf299726be45fabca1239ba.jpg","text":"TemporaryFile(/tmp/multipartBody39884149633938091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_42_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df37fc7bfc9eb04f22aaaf4855bd5319.jpg","text":"TemporaryFile(/tmp/multipartBody7572157082553811840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_44_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/692617283264f331435e4f1093512db1.jpg","text":"TemporaryFile(/tmp/multipartBody4546999962824116814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036325282,"filename":"image_30102025_06_50_39_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750848","file1":"1391750846","file0":"1391750842","file4":"1391750853","file5":"1391750855","file3":"1391750850"},"map_files_photo_id_array":[{"photo_id":"1391750855","filename":"file5"},{"photo_id":"1391750848","filename":"file2"},{"photo_id":"1391750853","filename":"file4"},{"photo_id":"1391750846","filename":"file1"},{"photo_id":"1391750842","filename":"file0"},{"photo_id":"1391750850","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750850":["hashtag1","hashtag2"]},{"1391750853":["hashtag1","hashtag2"]},{"1391750855":["hashtag1","hashtag2"]},{"1391750846":["hashtag1","hashtag2"]},{"1391750848":["hashtag1","hashtag2"]},{"1391750842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750850, 1391750853, 1391750855, 1391750846, 1391750848, 1391750842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97494554519653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:31:42.135452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_59_5537.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_02_3041.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_04_1800.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_05_1570.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_09_3632.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_12_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/50/image_30102025_06_50_59_5537.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_02_3041.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_04_1800.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_05_1570.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_09_3632.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_12_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750873","1391750876","1391750870","1391750867","1391750872","1391750863"],"photo_ids_order":["1391750863","1391750867","1391750870","1391750872","1391750873","1391750876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9120e6f06ea4ab7eedfcfc75f6bbb51c.jpg","text":"TemporaryFile(/tmp/multipartBody1717996341095193540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_51_09_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d48f8e7ec22fe8ede5462c4380a99d11.jpg","text":"TemporaryFile(/tmp/multipartBody3229836867542581432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_51_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2b27840c20a8add888947a561f5028e2.jpg","text":"TemporaryFile(/tmp/multipartBody3957518348391592924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_51_04_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d58b12f14617ae462d0ddaf750e5e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4774448391512844163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_51_02_3041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6f6f013a35bb35c37c7db4d7085ab311.jpg","text":"TemporaryFile(/tmp/multipartBody6785548164165558624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_51_05_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ba7a2db2ab859efb1911bae6fbfb9a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1985702882195351537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036363485,"filename":"image_30102025_06_50_59_5537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750870","file1":"1391750867","file0":"1391750863","file4":"1391750873","file5":"1391750876","file3":"1391750872"},"map_files_photo_id_array":[{"photo_id":"1391750876","filename":"file5"},{"photo_id":"1391750870","filename":"file2"},{"photo_id":"1391750873","filename":"file4"},{"photo_id":"1391750867","filename":"file1"},{"photo_id":"1391750863","filename":"file0"},{"photo_id":"1391750872","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750873":["hashtag1","hashtag2"]},{"1391750876":["hashtag1","hashtag2"]},{"1391750870":["hashtag1","hashtag2"]},{"1391750867":["hashtag1","hashtag2"]},{"1391750872":["hashtag1","hashtag2"]},{"1391750863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750873, 1391750876, 1391750870, 1391750867, 1391750872, 1391750863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19320511817932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:32:22.240871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_14_2671.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_17_2733.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_21_3714.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_23_2775.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_26_2699.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_29_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_14_2671.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_17_2733.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_21_3714.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_23_2775.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_26_2699.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_29_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750892","1391750894","1391750900","1391750903","1391750895","1391750898"],"photo_ids_order":["1391750892","1391750894","1391750895","1391750898","1391750900","1391750903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2dc6a40e88ff6e96e8862d4fbbc45ca.jpg","text":"TemporaryFile(/tmp/multipartBody2760482001299073519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_14_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/69c2f83a895ee1417f4e83078d26e98e.jpg","text":"TemporaryFile(/tmp/multipartBody5131428623465729385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_17_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/438a8729922751eb7ff04b180de54012.jpg","text":"TemporaryFile(/tmp/multipartBody4277064713687815155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_26_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d588239172d4e6f21b2eea8556d44102.jpg","text":"TemporaryFile(/tmp/multipartBody6263585947947298599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_29_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1c86cbe1ad674b01f24a23683605ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody4762273948124019167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_21_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f841a2663cafca39bf964b9f60989fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5042395290867352291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036405035,"filename":"image_30102025_06_51_23_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750895","file1":"1391750894","file0":"1391750892","file4":"1391750900","file5":"1391750903","file3":"1391750898"},"map_files_photo_id_array":[{"photo_id":"1391750903","filename":"file5"},{"photo_id":"1391750895","filename":"file2"},{"photo_id":"1391750900","filename":"file4"},{"photo_id":"1391750894","filename":"file1"},{"photo_id":"1391750892","filename":"file0"},{"photo_id":"1391750898","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750892":["hashtag1","hashtag2"]},{"1391750894":["hashtag1","hashtag2"]},{"1391750900":["hashtag1","hashtag2"]},{"1391750903":["hashtag1","hashtag2"]},{"1391750895":["hashtag1","hashtag2"]},{"1391750898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750892, 1391750894, 1391750900, 1391750903, 1391750895, 1391750898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372918367385864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:33:03.108184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_33_3728.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_35_2831.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_38_2740.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_42_3547.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_44_2556.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_47_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_33_3728.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_35_2831.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_38_2740.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_42_3547.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_44_2556.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_47_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750928","1391750916","1391750924","1391750918","1391750912","1391750920"],"photo_ids_order":["1391750912","1391750916","1391750918","1391750920","1391750924","1391750928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ceceaba5015dbb721ae883652c68a3fe.jpg","text":"TemporaryFile(/tmp/multipartBody8424924361007045574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_47_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c19f4f13a9f8d00f94a8bfa1b58e6c1.jpg","text":"TemporaryFile(/tmp/multipartBody6384835984308772663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_35_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b781c0d4cbae154590114cde4dfc4bc2.jpg","text":"TemporaryFile(/tmp/multipartBody572804543121108735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_44_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a920f1013e4e92989e16c6f5af6756d3.jpg","text":"TemporaryFile(/tmp/multipartBody8573052288111570542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_38_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2444c21bec84e943ef150bc6e5d0ad8c.jpg","text":"TemporaryFile(/tmp/multipartBody3084387301800273559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_33_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/806323e1a39e26e56f41135127114501.jpg","text":"TemporaryFile(/tmp/multipartBody5968304596873714752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036445571,"filename":"image_30102025_06_51_42_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750918","file1":"1391750916","file0":"1391750912","file4":"1391750924","file5":"1391750928","file3":"1391750920"},"map_files_photo_id_array":[{"photo_id":"1391750928","filename":"file5"},{"photo_id":"1391750918","filename":"file2"},{"photo_id":"1391750924","filename":"file4"},{"photo_id":"1391750916","filename":"file1"},{"photo_id":"1391750912","filename":"file0"},{"photo_id":"1391750920","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750928":["hashtag1","hashtag2"]},{"1391750916":["hashtag1","hashtag2"]},{"1391750924":["hashtag1","hashtag2"]},{"1391750918":["hashtag1","hashtag2"]},{"1391750912":["hashtag1","hashtag2"]},{"1391750920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750928, 1391750916, 1391750924, 1391750918, 1391750912, 1391750920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16318655014038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:33:42.493374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_51_3654.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_53_2602.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_56_2764.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_52_00_3669.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_02_2577.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_05_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_51_3654.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_53_2602.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_56_2764.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_52_00_3669.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_02_2577.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_05_2707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2000389099121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:34:03.403936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_51_3654.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_53_2602.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_56_2764.jpg', '/home/pi/Desktop/images/30102025/06/51/image_30102025_06_52_00_3669.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_02_2577.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_05_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_51_3654.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_53_2602.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_51_56_2764.jpg
/home/pi/Desktop/images/30102025/06/51/image_30102025_06_52_00_3669.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_02_2577.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_05_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750952","1391750960","1391750954","1391750957","1391750962","1391750950"],"photo_ids_order":["1391750950","1391750952","1391750954","1391750957","1391750960","1391750962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/249c576796c8f6c71b74bea7e99fd24f.jpg","text":"TemporaryFile(/tmp/multipartBody650215951553618698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_51_53_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d354fc30a471f1abad4044696ed77aca.jpg","text":"TemporaryFile(/tmp/multipartBody3898156357814897550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_52_02_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/be404cf20feb9a39ef6f5c0d41478428.jpg","text":"TemporaryFile(/tmp/multipartBody2810337894742613582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_51_56_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e97706b6ea11e47ab85ab327b296269.jpg","text":"TemporaryFile(/tmp/multipartBody6618693780626594046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_52_00_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/864f0b4f6cb71411637696c3aeca3e65.jpg","text":"TemporaryFile(/tmp/multipartBody7725416557910828361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_52_05_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0548ea906a9ff6ecf8c593214c913af5.jpg","text":"TemporaryFile(/tmp/multipartBody5771587744169743160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036505576,"filename":"image_30102025_06_51_51_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750954","file1":"1391750952","file0":"1391750950","file4":"1391750960","file5":"1391750962","file3":"1391750957"},"map_files_photo_id_array":[{"photo_id":"1391750962","filename":"file5"},{"photo_id":"1391750954","filename":"file2"},{"photo_id":"1391750960","filename":"file4"},{"photo_id":"1391750952","filename":"file1"},{"photo_id":"1391750950","filename":"file0"},{"photo_id":"1391750957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750952":["hashtag1","hashtag2"]},{"1391750960":["hashtag1","hashtag2"]},{"1391750954":["hashtag1","hashtag2"]},{"1391750957":["hashtag1","hashtag2"]},{"1391750962":["hashtag1","hashtag2"]},{"1391750950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750952, 1391750960, 1391750954, 1391750957, 1391750962, 1391750950)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.88355231285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:35:21.916093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_08_2773.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_11_3528.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_14_2753.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_18_3610.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_20_2537.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_23_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_08_2773.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_11_3528.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_14_2753.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_18_3610.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_20_2537.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_23_2813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391750985","1391751003","1391750999","1391750993","1391750983","1391750989"],"photo_ids_order":["1391750983","1391750985","1391750989","1391750993","1391750999","1391751003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/82b2df141d823fa2b0f6df5107c4ecae.jpg","text":"TemporaryFile(/tmp/multipartBody3234960713674407338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_11_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b387b3f7d9924811a6d7853918e953ed.jpg","text":"TemporaryFile(/tmp/multipartBody8658480178961739765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_23_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b48108ea0f228cc844df839ad02268f5.jpg","text":"TemporaryFile(/tmp/multipartBody6121009910386166033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_20_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4db28bc48dd479da6fc70d8109e1e676.jpg","text":"TemporaryFile(/tmp/multipartBody2931875287442575909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_18_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17d52d158e6169584c92f4dc6f606c32.jpg","text":"TemporaryFile(/tmp/multipartBody3982499529120282323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_08_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/80737c8eabc4da71a17484bf4c29340d.jpg","text":"TemporaryFile(/tmp/multipartBody8094880270005958039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036586869,"filename":"image_30102025_06_52_14_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391750989","file1":"1391750985","file0":"1391750983","file4":"1391750999","file5":"1391751003","file3":"1391750993"},"map_files_photo_id_array":[{"photo_id":"1391751003","filename":"file5"},{"photo_id":"1391750989","filename":"file2"},{"photo_id":"1391750999","filename":"file4"},{"photo_id":"1391750985","filename":"file1"},{"photo_id":"1391750983","filename":"file0"},{"photo_id":"1391750993","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391750985":["hashtag1","hashtag2"]},{"1391751003":["hashtag1","hashtag2"]},{"1391750999":["hashtag1","hashtag2"]},{"1391750993":["hashtag1","hashtag2"]},{"1391750983":["hashtag1","hashtag2"]},{"1391750989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391750985, 1391751003, 1391750999, 1391750993, 1391750983, 1391750989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.168428897857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:36:22.380261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_26_2847.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_30_3739.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_32_2635.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_35_2779.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_41_6140.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_43_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_26_2847.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_30_3739.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_32_2635.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_35_2779.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_41_6140.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_43_1671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751033","1391751027","1391751028","1391751037","1391751030","1391751024"],"photo_ids_order":["1391751024","1391751027","1391751028","1391751030","1391751033","1391751037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b547ee01bef4c5124803aae0ccb44c37.jpg","text":"TemporaryFile(/tmp/multipartBody6599831414678706723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_41_6140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e2c17e10559f9d3baafef77836b0c4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7690787373877723777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_30_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bfc5006052f6805a8013a8250ea1284.jpg","text":"TemporaryFile(/tmp/multipartBody3378919405984444980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_32_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8d6eb1991816a2464b4d2edb61d35fc9.jpg","text":"TemporaryFile(/tmp/multipartBody94241891465088381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_43_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6edc3fb7a68b186384e5153cec6e1699.jpg","text":"TemporaryFile(/tmp/multipartBody3926917231424283216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_35_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/25477c8ccc86f164c79ec933567eea78.jpg","text":"TemporaryFile(/tmp/multipartBody2444138987995858941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036644900,"filename":"image_30102025_06_52_26_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751028","file1":"1391751027","file0":"1391751024","file4":"1391751033","file5":"1391751037","file3":"1391751030"},"map_files_photo_id_array":[{"photo_id":"1391751037","filename":"file5"},{"photo_id":"1391751028","filename":"file2"},{"photo_id":"1391751033","filename":"file4"},{"photo_id":"1391751027","filename":"file1"},{"photo_id":"1391751024","filename":"file0"},{"photo_id":"1391751030","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751033":["hashtag1","hashtag2"]},{"1391751027":["hashtag1","hashtag2"]},{"1391751028":["hashtag1","hashtag2"]},{"1391751037":["hashtag1","hashtag2"]},{"1391751030":["hashtag1","hashtag2"]},{"1391751024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751033, 1391751027, 1391751028, 1391751037, 1391751030, 1391751024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21008276939392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:37:03.318108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_44_1604.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_47_2931.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_50_2766.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_53_2673.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_56_3608.jpg', '/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_59_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_44_1604.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_47_2931.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_50_2766.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_53_2673.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_56_3608.jpg
/home/pi/Desktop/images/30102025/06/52/image_30102025_06_52_59_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751054","1391751062","1391751056","1391751059","1391751052","1391751049"],"photo_ids_order":["1391751049","1391751052","1391751054","1391751056","1391751059","1391751062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5410fb4d63d2a6b263c13281e1eff826.jpg","text":"TemporaryFile(/tmp/multipartBody4545963084053005049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_50_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/74cfe5ddf9b6825901e2f955fbf59e75.jpg","text":"TemporaryFile(/tmp/multipartBody858035162726530816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_59_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5179a8617e1ea655c56a5618cc7a7921.jpg","text":"TemporaryFile(/tmp/multipartBody2205864901372676680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_53_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b60606a798d37e6cc447a8bd3ac8b62.jpg","text":"TemporaryFile(/tmp/multipartBody692789814695140224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_56_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4738fe5f58c4fa772a23cea466bfcadb.jpg","text":"TemporaryFile(/tmp/multipartBody7987330300134939575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_47_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c15f57dbf82d3998dd7f9440ab3eb607.jpg","text":"TemporaryFile(/tmp/multipartBody7381738586665919923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036685672,"filename":"image_30102025_06_52_44_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751054","file1":"1391751052","file0":"1391751049","file4":"1391751059","file5":"1391751062","file3":"1391751056"},"map_files_photo_id_array":[{"photo_id":"1391751062","filename":"file5"},{"photo_id":"1391751054","filename":"file2"},{"photo_id":"1391751059","filename":"file4"},{"photo_id":"1391751052","filename":"file1"},{"photo_id":"1391751049","filename":"file0"},{"photo_id":"1391751056","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751054":["hashtag1","hashtag2"]},{"1391751062":["hashtag1","hashtag2"]},{"1391751056":["hashtag1","hashtag2"]},{"1391751059":["hashtag1","hashtag2"]},{"1391751052":["hashtag1","hashtag2"]},{"1391751049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751054, 1391751062, 1391751056, 1391751059, 1391751052, 1391751049)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.91375112533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:38:03.494892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_02_2614.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_06_3750.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_08_2719.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_11_2874.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_14_2763.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_18_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_02_2614.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_06_3750.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_08_2719.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_11_2874.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_14_2763.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_18_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751098","1391751086","1391751080","1391751083","1391751094","1391751090"],"photo_ids_order":["1391751080","1391751083","1391751086","1391751090","1391751094","1391751098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6b9cc6420e34c329d00e9db660a5c9cc.jpg","text":"TemporaryFile(/tmp/multipartBody3393149906063455521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_18_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ea61d72f1fa310e43381831b449d332c.jpg","text":"TemporaryFile(/tmp/multipartBody3961842138084049877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_08_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/430f65ce8132860e8b3f314a6665d21a.jpg","text":"TemporaryFile(/tmp/multipartBody7774795577780226020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_02_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/39f3a5f8b8f3c26d08e3bc10f0f48050.jpg","text":"TemporaryFile(/tmp/multipartBody3453818635987236140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_06_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/47f75ee0abd36b78fd4047116870f3c3.jpg","text":"TemporaryFile(/tmp/multipartBody320247884394419872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_14_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/131c550e2ca6bf1742987e0d717a9ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5311454717558885714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036745718,"filename":"image_30102025_06_53_11_2874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751086","file1":"1391751083","file0":"1391751080","file4":"1391751094","file5":"1391751098","file3":"1391751090"},"map_files_photo_id_array":[{"photo_id":"1391751098","filename":"file5"},{"photo_id":"1391751086","filename":"file2"},{"photo_id":"1391751094","filename":"file4"},{"photo_id":"1391751083","filename":"file1"},{"photo_id":"1391751080","filename":"file0"},{"photo_id":"1391751090","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751098":["hashtag1","hashtag2"]},{"1391751086":["hashtag1","hashtag2"]},{"1391751080":["hashtag1","hashtag2"]},{"1391751083":["hashtag1","hashtag2"]},{"1391751094":["hashtag1","hashtag2"]},{"1391751090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751098, 1391751086, 1391751080, 1391751083, 1391751094, 1391751090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48348903656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:38:42.964974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_20_2640.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_26_5313.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_27_1518.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_29_1640.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_33_3805.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_35_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_20_2640.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_26_5313.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_27_1518.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_29_1640.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_33_3805.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_35_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751111","1391751105","1391751120","1391751108","1391751117","1391751115"],"photo_ids_order":["1391751105","1391751108","1391751111","1391751115","1391751117","1391751120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5bfe4cbe2ea4f37609fe3410d286cddf.jpg","text":"TemporaryFile(/tmp/multipartBody7656875158372992102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_27_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/05d2df9650b8800fc72229cf9be1a8fb.jpg","text":"TemporaryFile(/tmp/multipartBody408472631795145431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_20_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56d639721a07eef1ffa8558915d0d341.jpg","text":"TemporaryFile(/tmp/multipartBody6835811824807316484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_35_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/701f342efb22bb7db1b4c1a4696340ca.jpg","text":"TemporaryFile(/tmp/multipartBody3018069464705975781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_26_5313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cb7942a9c2cdbf54d92195430f58cf99.jpg","text":"TemporaryFile(/tmp/multipartBody4979561832651463692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_33_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2cc080d17dedd1c8d685c9f9b057461f.jpg","text":"TemporaryFile(/tmp/multipartBody8612466626864619176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036784292,"filename":"image_30102025_06_53_29_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751111","file1":"1391751108","file0":"1391751105","file4":"1391751117","file5":"1391751120","file3":"1391751115"},"map_files_photo_id_array":[{"photo_id":"1391751120","filename":"file5"},{"photo_id":"1391751111","filename":"file2"},{"photo_id":"1391751117","filename":"file4"},{"photo_id":"1391751108","filename":"file1"},{"photo_id":"1391751105","filename":"file0"},{"photo_id":"1391751115","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751111":["hashtag1","hashtag2"]},{"1391751105":["hashtag1","hashtag2"]},{"1391751120":["hashtag1","hashtag2"]},{"1391751108":["hashtag1","hashtag2"]},{"1391751117":["hashtag1","hashtag2"]},{"1391751115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751111, 1391751105, 1391751120, 1391751108, 1391751117, 1391751115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94681000709534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:39:22.091957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_38_2520.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_41_3625.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_44_2684.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_47_2727.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_50_3681.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_53_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_38_2520.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_41_3625.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_44_2684.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_47_2727.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_50_3681.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_53_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751126","1391751134","1391751143","1391751131","1391751128","1391751139"],"photo_ids_order":["1391751126","1391751128","1391751131","1391751134","1391751139","1391751143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/edcafb471d7b06ef8d64649eca5bc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody5836098221746147080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_38_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d4e876b3ecca8b73dd1cecb8e8564549.jpg","text":"TemporaryFile(/tmp/multipartBody6236599247760329281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_47_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00f4fb8409c7df47d8d5b561aacd000e.jpg","text":"TemporaryFile(/tmp/multipartBody1851409406965230174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_53_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/df22c750be564cb3dc057cbf0432f455.jpg","text":"TemporaryFile(/tmp/multipartBody8523558676370492958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d1bebe166b0caffdc60b52dd83ceb9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7018809274117595591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_41_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/81efa2e09d160cdaf1e53a37316bc405.jpg","text":"TemporaryFile(/tmp/multipartBody7424832244357353036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036824913,"filename":"image_30102025_06_53_50_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751131","file1":"1391751128","file0":"1391751126","file4":"1391751139","file5":"1391751143","file3":"1391751134"},"map_files_photo_id_array":[{"photo_id":"1391751143","filename":"file5"},{"photo_id":"1391751131","filename":"file2"},{"photo_id":"1391751139","filename":"file4"},{"photo_id":"1391751128","filename":"file1"},{"photo_id":"1391751126","filename":"file0"},{"photo_id":"1391751134","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751126":["hashtag1","hashtag2"]},{"1391751134":["hashtag1","hashtag2"]},{"1391751143":["hashtag1","hashtag2"]},{"1391751131":["hashtag1","hashtag2"]},{"1391751128":["hashtag1","hashtag2"]},{"1391751139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751126, 1391751134, 1391751143, 1391751131, 1391751128, 1391751139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285218477249146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:40:02.553401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_56_2696.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_59_3679.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_02_2650.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_05_2715.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_08_3644.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_11_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_56_2696.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_59_3679.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_02_2650.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_05_2715.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_08_3644.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_11_2605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.1579372882843018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:40:22.047744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_56_2696.jpg', '/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_59_3679.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_02_2650.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_05_2715.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_08_3644.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_11_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_56_2696.jpg
/home/pi/Desktop/images/30102025/06/53/image_30102025_06_53_59_3679.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_02_2650.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_05_2715.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_08_3644.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_11_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751176","1391751164","1391751181","1391751172","1391751160","1391751168"],"photo_ids_order":["1391751160","1391751164","1391751168","1391751172","1391751176","1391751181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bf11c428fc4ef3fc544940908b2f046a.jpg","text":"TemporaryFile(/tmp/multipartBody5142964504203666559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_54_08_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cee2aad360c6476f03df7f8a1d981b05.jpg","text":"TemporaryFile(/tmp/multipartBody7602527991467970905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_53_59_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e5a704c279b48fe45df835b402158cfd.jpg","text":"TemporaryFile(/tmp/multipartBody9004229281845235649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_54_11_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8897d0852102632c23db1ea0fa8af6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3352012963302486713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_54_05_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afefa09c5948f907ea638f9fc52fadd1.jpg","text":"TemporaryFile(/tmp/multipartBody7780095916063003347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_53_56_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cac216627a70b3368b234b55f06590d3.jpg","text":"TemporaryFile(/tmp/multipartBody4989873566544477453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036884548,"filename":"image_30102025_06_54_02_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751168","file1":"1391751164","file0":"1391751160","file4":"1391751176","file5":"1391751181","file3":"1391751172"},"map_files_photo_id_array":[{"photo_id":"1391751181","filename":"file5"},{"photo_id":"1391751168","filename":"file2"},{"photo_id":"1391751176","filename":"file4"},{"photo_id":"1391751164","filename":"file1"},{"photo_id":"1391751160","filename":"file0"},{"photo_id":"1391751172","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751176":["hashtag1","hashtag2"]},{"1391751164":["hashtag1","hashtag2"]},{"1391751181":["hashtag1","hashtag2"]},{"1391751172":["hashtag1","hashtag2"]},{"1391751160":["hashtag1","hashtag2"]},{"1391751168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751176, 1391751164, 1391751181, 1391751172, 1391751160, 1391751168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.528132915496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:41:03.150672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_14_2631.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_17_3673.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_20_2652.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_23_2739.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_26_3747.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_29_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_14_2631.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_17_3673.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_20_2652.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_23_2739.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_26_3747.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_29_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751197","1391751203","1391751193","1391751200","1391751190","1391751195"],"photo_ids_order":["1391751190","1391751193","1391751195","1391751197","1391751200","1391751203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6440e21fe372dc9eafdbea89c6feaad6.jpg","text":"TemporaryFile(/tmp/multipartBody779090804961461022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_23_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a49774809aef51e65f5fbd01c717533.jpg","text":"TemporaryFile(/tmp/multipartBody2969131861284002497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_29_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7e277889718404f395038051830abab9.jpg","text":"TemporaryFile(/tmp/multipartBody2818204735894337615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_17_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a152971cb9ef8a229e95af6342fc0c47.jpg","text":"TemporaryFile(/tmp/multipartBody2850639431559430042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_26_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fde479dfd5867319b4a30fa904bbe0df.jpg","text":"TemporaryFile(/tmp/multipartBody1892709725391369026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_14_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1e349e72bc7dfac63e1a95bca8717ac0.jpg","text":"TemporaryFile(/tmp/multipartBody399751914436365441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036925501,"filename":"image_30102025_06_54_20_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751195","file1":"1391751193","file0":"1391751190","file4":"1391751200","file5":"1391751203","file3":"1391751197"},"map_files_photo_id_array":[{"photo_id":"1391751203","filename":"file5"},{"photo_id":"1391751195","filename":"file2"},{"photo_id":"1391751200","filename":"file4"},{"photo_id":"1391751193","filename":"file1"},{"photo_id":"1391751190","filename":"file0"},{"photo_id":"1391751197","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751197":["hashtag1","hashtag2"]},{"1391751203":["hashtag1","hashtag2"]},{"1391751193":["hashtag1","hashtag2"]},{"1391751200":["hashtag1","hashtag2"]},{"1391751190":["hashtag1","hashtag2"]},{"1391751195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751197, 1391751203, 1391751193, 1391751200, 1391751190, 1391751195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71317219734192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:41:42.354494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_32_2821.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_35_2726.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_38_3667.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_41_2539.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_44_2778.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_47_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_32_2821.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_35_2726.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_38_3667.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_41_2539.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_44_2778.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_47_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751225","1391751219","1391751228","1391751215","1391751226","1391751222"],"photo_ids_order":["1391751215","1391751219","1391751222","1391751225","1391751226","1391751228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bb11495c8774445b272beffca72f0438.jpg","text":"TemporaryFile(/tmp/multipartBody7005976784743867723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_41_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/22628110e1c60768feade6939f967039.jpg","text":"TemporaryFile(/tmp/multipartBody189207830416456428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_35_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e69aa2dd723e66a7ffbb626cdff46e60.jpg","text":"TemporaryFile(/tmp/multipartBody6832471756322077375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_47_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/44d2b84a4af24d2a32d6bc824aad9995.jpg","text":"TemporaryFile(/tmp/multipartBody2963546672584578162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_32_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3264b2f30c3267e821450411d6c47e7.jpg","text":"TemporaryFile(/tmp/multipartBody7383533175812272681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_44_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/75c503101974aec73661e568da95a065.jpg","text":"TemporaryFile(/tmp/multipartBody6932182210334134130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762036963635,"filename":"image_30102025_06_54_38_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751222","file1":"1391751219","file0":"1391751215","file4":"1391751226","file5":"1391751228","file3":"1391751225"},"map_files_photo_id_array":[{"photo_id":"1391751228","filename":"file5"},{"photo_id":"1391751222","filename":"file2"},{"photo_id":"1391751226","filename":"file4"},{"photo_id":"1391751219","filename":"file1"},{"photo_id":"1391751215","filename":"file0"},{"photo_id":"1391751225","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751225":["hashtag1","hashtag2"]},{"1391751219":["hashtag1","hashtag2"]},{"1391751228":["hashtag1","hashtag2"]},{"1391751215":["hashtag1","hashtag2"]},{"1391751226":["hashtag1","hashtag2"]},{"1391751222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751225, 1391751219, 1391751228, 1391751215, 1391751226, 1391751222)","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 = 1391751222 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_38_3667.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.49184203147888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:42:42.490303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_50_2715.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_53_2606.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_56_3642.jpg', '/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_59_2581.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_02_3526.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_05_2943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_50_2715.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_53_2606.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_56_3642.jpg
/home/pi/Desktop/images/30102025/06/54/image_30102025_06_54_59_2581.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_02_3526.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_05_2943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751251","1391751262","1391751247","1391751255","1391751264","1391751258"],"photo_ids_order":["1391751247","1391751251","1391751255","1391751258","1391751262","1391751264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95ab7b4b6652706bd9c2c7b9b13f1e86.jpg","text":"TemporaryFile(/tmp/multipartBody2469564617740683215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_54_53_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e1a8b9c0790bd90bf7a0ff33934596aa.jpg","text":"TemporaryFile(/tmp/multipartBody6747294291134313028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_55_02_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1cb288d175d98b74742145405d2e812e.jpg","text":"TemporaryFile(/tmp/multipartBody839561056753879264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_54_50_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a12499a6a69f1c3ecfdbb8ad3b8b3650.jpg","text":"TemporaryFile(/tmp/multipartBody8079836700340537734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_54_56_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/253bbc02807b673dadb3048d3654aabb.jpg","text":"TemporaryFile(/tmp/multipartBody4937558641005101286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_55_05_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d1ae5a33ddd733c9f37c3dc46fd5bcf.jpg","text":"TemporaryFile(/tmp/multipartBody884091787692994990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037023732,"filename":"image_30102025_06_54_59_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751255","file1":"1391751251","file0":"1391751247","file4":"1391751262","file5":"1391751264","file3":"1391751258"},"map_files_photo_id_array":[{"photo_id":"1391751264","filename":"file5"},{"photo_id":"1391751255","filename":"file2"},{"photo_id":"1391751262","filename":"file4"},{"photo_id":"1391751251","filename":"file1"},{"photo_id":"1391751247","filename":"file0"},{"photo_id":"1391751258","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751251":["hashtag1","hashtag2"]},{"1391751262":["hashtag1","hashtag2"]},{"1391751247":["hashtag1","hashtag2"]},{"1391751255":["hashtag1","hashtag2"]},{"1391751264":["hashtag1","hashtag2"]},{"1391751258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751251, 1391751262, 1391751247, 1391751255, 1391751264, 1391751258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65564942359924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:43:22.793577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_08_2735.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_11_2649.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_14_3780.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_17_2610.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_20_2818.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_23_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_08_2735.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_11_2649.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_14_3780.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_17_2610.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_20_2818.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_23_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751290","1391751280","1391751286","1391751273","1391751267","1391751270"],"photo_ids_order":["1391751267","1391751270","1391751273","1391751280","1391751286","1391751290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/db0773ed0fc8df7d112039482c90e239.jpg","text":"TemporaryFile(/tmp/multipartBody4785182676219132641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_23_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/31764183ec4edd2473b991e061e9e33e.jpg","text":"TemporaryFile(/tmp/multipartBody6270965648549218160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_17_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a33e9a47b662c5454fd94235c6734a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6737267856586287857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_20_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/34109f60971865eff05bf71d231cb43b.jpg","text":"TemporaryFile(/tmp/multipartBody1424733800608803751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_14_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d7a11d4b7d29e6acfb28e8ffdcacab2b.jpg","text":"TemporaryFile(/tmp/multipartBody2347245448093642009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_08_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d41a8a2fa74621ab4be26b9eee3ff17.jpg","text":"TemporaryFile(/tmp/multipartBody6287148077169706292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037065581,"filename":"image_30102025_06_55_11_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751273","file1":"1391751270","file0":"1391751267","file4":"1391751286","file5":"1391751290","file3":"1391751280"},"map_files_photo_id_array":[{"photo_id":"1391751290","filename":"file5"},{"photo_id":"1391751273","filename":"file2"},{"photo_id":"1391751286","filename":"file4"},{"photo_id":"1391751270","filename":"file1"},{"photo_id":"1391751267","filename":"file0"},{"photo_id":"1391751280","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751290":["hashtag1","hashtag2"]},{"1391751280":["hashtag1","hashtag2"]},{"1391751286":["hashtag1","hashtag2"]},{"1391751273":["hashtag1","hashtag2"]},{"1391751267":["hashtag1","hashtag2"]},{"1391751270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751290, 1391751280, 1391751286, 1391751273, 1391751267, 1391751270)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.116204023361206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:44:22.034226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_26_2999.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_29_3531.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_32_2601.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_35_3659.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_38_2715.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_41_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_26_2999.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_29_3531.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_32_2601.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_35_3659.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_38_2715.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_41_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751324","1391751310","1391751313","1391751307","1391751316","1391751321"],"photo_ids_order":["1391751307","1391751310","1391751313","1391751316","1391751321","1391751324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d3ded4465dedd055aa9a39dbe54727c2.jpg","text":"TemporaryFile(/tmp/multipartBody6223930157977472503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_41_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/66630aea78104659ec39b01b670792e0.jpg","text":"TemporaryFile(/tmp/multipartBody5538571507490854037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_29_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/56c1a76060fedb76c704c21c2a2ea316.jpg","text":"TemporaryFile(/tmp/multipartBody5805320830366776916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_32_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b5dec199d8c132eb6600a9420feaeddd.jpg","text":"TemporaryFile(/tmp/multipartBody5343236739487977777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_26_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fea8152275d9f3b8fc39dde8ef928092.jpg","text":"TemporaryFile(/tmp/multipartBody1923679652080922354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_35_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f90a9e6c4800d01ec41dddef5d02b408.jpg","text":"TemporaryFile(/tmp/multipartBody7759189309699495641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037124944,"filename":"image_30102025_06_55_38_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751313","file1":"1391751310","file0":"1391751307","file4":"1391751321","file5":"1391751324","file3":"1391751316"},"map_files_photo_id_array":[{"photo_id":"1391751324","filename":"file5"},{"photo_id":"1391751313","filename":"file2"},{"photo_id":"1391751321","filename":"file4"},{"photo_id":"1391751310","filename":"file1"},{"photo_id":"1391751307","filename":"file0"},{"photo_id":"1391751316","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751324":["hashtag1","hashtag2"]},{"1391751310":["hashtag1","hashtag2"]},{"1391751313":["hashtag1","hashtag2"]},{"1391751307":["hashtag1","hashtag2"]},{"1391751316":["hashtag1","hashtag2"]},{"1391751321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751324, 1391751310, 1391751313, 1391751307, 1391751316, 1391751321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4109582901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:45:03.103218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_44_2819.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_47_3658.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_50_2682.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_53_2751.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_56_3699.jpg', '/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_59_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_44_2819.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_47_3658.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_50_2682.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_53_2751.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_56_3699.jpg
/home/pi/Desktop/images/30102025/06/55/image_30102025_06_55_59_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751350","1391751344","1391751341","1391751335","1391751352","1391751348"],"photo_ids_order":["1391751335","1391751341","1391751344","1391751348","1391751350","1391751352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d557a09803684b98c522ede6c1372c69.jpg","text":"TemporaryFile(/tmp/multipartBody5528570744684161385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_56_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ce31f921604124d40a8ca44959fdb11d.jpg","text":"TemporaryFile(/tmp/multipartBody8954417703169286970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_50_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/775542580110255741f6f730be917086.jpg","text":"TemporaryFile(/tmp/multipartBody7102012109194202984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_47_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/86d63befb567c561beead63509d77754.jpg","text":"TemporaryFile(/tmp/multipartBody3468671551546289594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_44_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87540f29324b536314743286f55e7587.jpg","text":"TemporaryFile(/tmp/multipartBody7283009220576152303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_59_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0e0bc97eb5bca53efca01ff854d9b8af.jpg","text":"TemporaryFile(/tmp/multipartBody8376990602151834592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037165223,"filename":"image_30102025_06_55_53_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751344","file1":"1391751341","file0":"1391751335","file4":"1391751350","file5":"1391751352","file3":"1391751348"},"map_files_photo_id_array":[{"photo_id":"1391751352","filename":"file5"},{"photo_id":"1391751344","filename":"file2"},{"photo_id":"1391751350","filename":"file4"},{"photo_id":"1391751341","filename":"file1"},{"photo_id":"1391751335","filename":"file0"},{"photo_id":"1391751348","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751350":["hashtag1","hashtag2"]},{"1391751344":["hashtag1","hashtag2"]},{"1391751341":["hashtag1","hashtag2"]},{"1391751335":["hashtag1","hashtag2"]},{"1391751352":["hashtag1","hashtag2"]},{"1391751348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751350, 1391751344, 1391751341, 1391751335, 1391751352, 1391751348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.402496099472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:45:42.296464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_02_2676.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_04_2550.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_08_3588.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_11_2791.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_13_2594.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_17_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_02_2676.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_04_2550.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_08_3588.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_11_2791.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_13_2594.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_17_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751380","1391751376","1391751361","1391751372","1391751366","1391751378"],"photo_ids_order":["1391751361","1391751366","1391751372","1391751376","1391751378","1391751380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d8a016a4e602e3d73ec03d8a4743f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody4898901057206469981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_17_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/87122f8bc647379aad89228b021a7844.jpg","text":"TemporaryFile(/tmp/multipartBody5272438498134707499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_11_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e18084a316caa890dd6f868cdfa71ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1080316246836147372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_02_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/67300252ac5a8d46b31910b7ec0932a0.jpg","text":"TemporaryFile(/tmp/multipartBody1768078053274895671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_08_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6d810c590d6fc1e17659f2dff43bd332.jpg","text":"TemporaryFile(/tmp/multipartBody1405663496138636080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_04_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/89bf0f5860b0f065c88e298130a5a382.jpg","text":"TemporaryFile(/tmp/multipartBody1736196850562082655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037204365,"filename":"image_30102025_06_56_13_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751372","file1":"1391751366","file0":"1391751361","file4":"1391751378","file5":"1391751380","file3":"1391751376"},"map_files_photo_id_array":[{"photo_id":"1391751380","filename":"file5"},{"photo_id":"1391751372","filename":"file2"},{"photo_id":"1391751378","filename":"file4"},{"photo_id":"1391751366","filename":"file1"},{"photo_id":"1391751361","filename":"file0"},{"photo_id":"1391751376","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751380":["hashtag1","hashtag2"]},{"1391751376":["hashtag1","hashtag2"]},{"1391751361":["hashtag1","hashtag2"]},{"1391751372":["hashtag1","hashtag2"]},{"1391751366":["hashtag1","hashtag2"]},{"1391751378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751380, 1391751376, 1391751361, 1391751372, 1391751366, 1391751378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28900861740112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:46:22.423919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_20_2708.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_23_3677.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_26_2642.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_29_2658.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_31_2719.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_35_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_20_2708.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_23_3677.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_26_2642.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_29_2658.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_31_2719.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_35_3810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751395","1391751391","1391751388","1391751385","1391751400","1391751403"],"photo_ids_order":["1391751385","1391751388","1391751391","1391751395","1391751400","1391751403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0897dcc68f41fde0e00581e95989517e.jpg","text":"TemporaryFile(/tmp/multipartBody9141268559780168203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_29_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e837df4a9aaab45292ebce322672a9ad.jpg","text":"TemporaryFile(/tmp/multipartBody572380318219857363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8f00de4d292cfeeccc8ac7f3ebcbe4ca.jpg","text":"TemporaryFile(/tmp/multipartBody911333472493580508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_23_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6699eab7641b020b7381949f97782c30.jpg","text":"TemporaryFile(/tmp/multipartBody8647169106702873157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_20_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9c8ae5ed9ae9e44a73e1ad06bf5241ef.jpg","text":"TemporaryFile(/tmp/multipartBody3448306340353526142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_31_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/27e972cc5e468d9c4a70e35da6d3ddd4.jpg","text":"TemporaryFile(/tmp/multipartBody4581733689030942835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037245271,"filename":"image_30102025_06_56_35_3810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751391","file1":"1391751388","file0":"1391751385","file4":"1391751400","file5":"1391751403","file3":"1391751395"},"map_files_photo_id_array":[{"photo_id":"1391751403","filename":"file5"},{"photo_id":"1391751391","filename":"file2"},{"photo_id":"1391751400","filename":"file4"},{"photo_id":"1391751388","filename":"file1"},{"photo_id":"1391751385","filename":"file0"},{"photo_id":"1391751395","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751395":["hashtag1","hashtag2"]},{"1391751391":["hashtag1","hashtag2"]},{"1391751388":["hashtag1","hashtag2"]},{"1391751385":["hashtag1","hashtag2"]},{"1391751400":["hashtag1","hashtag2"]},{"1391751403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751395, 1391751391, 1391751388, 1391751385, 1391751400, 1391751403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.604161739349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:47:03.454334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_38_2606.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_41_2776.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_44_3689.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_47_2741.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_50_2816.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_53_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_38_2606.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_41_2776.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_44_3689.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_47_2741.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_50_2816.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_53_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751423","1391751417","1391751426","1391751413","1391751410","1391751420"],"photo_ids_order":["1391751410","1391751413","1391751417","1391751420","1391751423","1391751426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2466ca5cad397b32c936d563d9d4efde.jpg","text":"TemporaryFile(/tmp/multipartBody2301399248642963416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_50_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/bc4273cdebb0a701c8ca23808747462a.jpg","text":"TemporaryFile(/tmp/multipartBody6441738690366717700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_44_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/dc1ed9073504723fc5def4c74f3b3113.jpg","text":"TemporaryFile(/tmp/multipartBody654110510407498290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_53_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/58a1ceab300461c5292ed29bfd36ad77.jpg","text":"TemporaryFile(/tmp/multipartBody2846829516333774307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_41_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/40cea048b8cc143ff019f46dfcac86ba.jpg","text":"TemporaryFile(/tmp/multipartBody881409632925210041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_38_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/342834870f7f5e67735c24e522c2e934.jpg","text":"TemporaryFile(/tmp/multipartBody3268085061467977735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037286043,"filename":"image_30102025_06_56_47_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751417","file1":"1391751413","file0":"1391751410","file4":"1391751423","file5":"1391751426","file3":"1391751420"},"map_files_photo_id_array":[{"photo_id":"1391751426","filename":"file5"},{"photo_id":"1391751417","filename":"file2"},{"photo_id":"1391751423","filename":"file4"},{"photo_id":"1391751413","filename":"file1"},{"photo_id":"1391751410","filename":"file0"},{"photo_id":"1391751420","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751423":["hashtag1","hashtag2"]},{"1391751417":["hashtag1","hashtag2"]},{"1391751426":["hashtag1","hashtag2"]},{"1391751413":["hashtag1","hashtag2"]},{"1391751410":["hashtag1","hashtag2"]},{"1391751420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751423, 1391751417, 1391751426, 1391751413, 1391751410, 1391751420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06621170043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:48:02.586582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_55_2722.jpg', '/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_59_3636.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_02_2597.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_05_3679.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_08_2819.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_11_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_55_2722.jpg
/home/pi/Desktop/images/30102025/06/56/image_30102025_06_56_59_3636.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_02_2597.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_05_3679.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_08_2819.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_11_2894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391751443","1391751446","1391751449","1391751451","1391751448","1391751447"],"photo_ids_order":["1391751443","1391751446","1391751447","1391751448","1391751449","1391751451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e0abbe8672ef6c675f3b5358ddf88fca.jpg","text":"TemporaryFile(/tmp/multipartBody7682824307053054190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_56_55_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5d9ac4f9eda272cfab1cd125ec3f6451.jpg","text":"TemporaryFile(/tmp/multipartBody4107778941623009048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_56_59_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3e35207538bdb9b042f41bc2a2932999.jpg","text":"TemporaryFile(/tmp/multipartBody5086785990754466796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_57_08_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d86a2148823c7cd8db673bf81e06f27e.jpg","text":"TemporaryFile(/tmp/multipartBody8391970030874075745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_57_11_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec78163fbe4de0898178fa17362431e7.jpg","text":"TemporaryFile(/tmp/multipartBody4417255146619762959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_57_05_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad85e1ac9646a3f51789d5b958e29774.jpg","text":"TemporaryFile(/tmp/multipartBody3942574949340957614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037344884,"filename":"image_30102025_06_57_02_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751447","file1":"1391751446","file0":"1391751443","file4":"1391751449","file5":"1391751451","file3":"1391751448"},"map_files_photo_id_array":[{"photo_id":"1391751451","filename":"file5"},{"photo_id":"1391751447","filename":"file2"},{"photo_id":"1391751449","filename":"file4"},{"photo_id":"1391751446","filename":"file1"},{"photo_id":"1391751443","filename":"file0"},{"photo_id":"1391751448","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751443":["hashtag1","hashtag2"]},{"1391751446":["hashtag1","hashtag2"]},{"1391751449":["hashtag1","hashtag2"]},{"1391751451":["hashtag1","hashtag2"]},{"1391751448":["hashtag1","hashtag2"]},{"1391751447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751443, 1391751446, 1391751449, 1391751451, 1391751448, 1391751447)","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 = 1391751447 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_02_2597.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.91665196418762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:49:22.357594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_14_2614.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_17_3577.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_20_2623.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_22_2522.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_26_3699.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_29_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_14_2614.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_17_3577.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_20_2623.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_22_2522.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_26_3699.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_29_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751488","1391751482","1391751479","1391751493","1391751496","1391751484"],"photo_ids_order":["1391751479","1391751482","1391751484","1391751488","1391751493","1391751496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a0e44c2b7c3af4264dbeafc296e6a5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3041821356556606082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_22_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/9b0201c6fdfcd3d1f5f1fd7809852d71.jpg","text":"TemporaryFile(/tmp/multipartBody2728229290803944866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_17_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a6ae372d330a5b6aab973b2800cfe5da.jpg","text":"TemporaryFile(/tmp/multipartBody9140268348980004368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_14_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d92e29148fa2350b42fd46eb84a443fe.jpg","text":"TemporaryFile(/tmp/multipartBody3254458127433416679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_26_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2bb364ef055bb9c63f53c06b3beb8036.jpg","text":"TemporaryFile(/tmp/multipartBody1665532414058092852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_29_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/cfad56372e20b0c3a729e1a86a61ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody217762261674879635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037425325,"filename":"image_30102025_06_57_20_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751484","file1":"1391751482","file0":"1391751479","file4":"1391751493","file5":"1391751496","file3":"1391751488"},"map_files_photo_id_array":[{"photo_id":"1391751496","filename":"file5"},{"photo_id":"1391751484","filename":"file2"},{"photo_id":"1391751493","filename":"file4"},{"photo_id":"1391751482","filename":"file1"},{"photo_id":"1391751479","filename":"file0"},{"photo_id":"1391751488","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751488":["hashtag1","hashtag2"]},{"1391751482":["hashtag1","hashtag2"]},{"1391751479":["hashtag1","hashtag2"]},{"1391751493":["hashtag1","hashtag2"]},{"1391751496":["hashtag1","hashtag2"]},{"1391751484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751488, 1391751482, 1391751479, 1391751493, 1391751496, 1391751484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.998475790023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:50:22.494834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_32_2919.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_35_3617.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_38_2640.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_40_2667.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_43_2763.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_47_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_32_2919.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_35_3617.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_38_2640.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_40_2667.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_43_2763.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_47_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751516","1391751524","1391751511","1391751520","1391751514","1391751528"],"photo_ids_order":["1391751511","1391751514","1391751516","1391751520","1391751524","1391751528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a3278eafa2ab861cfe404243709641bd.jpg","text":"TemporaryFile(/tmp/multipartBody998814411118296721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_38_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2ba38ac57f31697ed78e3ae25a1c8c01.jpg","text":"TemporaryFile(/tmp/multipartBody9039717661088947348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_43_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/98375fed50df2893161ad811e88ebc78.jpg","text":"TemporaryFile(/tmp/multipartBody3841119659200231971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_32_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cde9d1af91b19bcce3c4b8a5fc843b3.jpg","text":"TemporaryFile(/tmp/multipartBody4465251761358445025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_40_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/7a0d34bcf635e0a8889e937fd48af3e0.jpg","text":"TemporaryFile(/tmp/multipartBody7508763066397862248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_35_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c4c10be93d76ad2031982bb1d31c771e.jpg","text":"TemporaryFile(/tmp/multipartBody920308639147467129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037485298,"filename":"image_30102025_06_57_47_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751516","file1":"1391751514","file0":"1391751511","file4":"1391751524","file5":"1391751528","file3":"1391751520"},"map_files_photo_id_array":[{"photo_id":"1391751528","filename":"file5"},{"photo_id":"1391751516","filename":"file2"},{"photo_id":"1391751524","filename":"file4"},{"photo_id":"1391751514","filename":"file1"},{"photo_id":"1391751511","filename":"file0"},{"photo_id":"1391751520","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751516":["hashtag1","hashtag2"]},{"1391751524":["hashtag1","hashtag2"]},{"1391751511":["hashtag1","hashtag2"]},{"1391751520":["hashtag1","hashtag2"]},{"1391751514":["hashtag1","hashtag2"]},{"1391751528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751516, 1391751524, 1391751511, 1391751520, 1391751514, 1391751528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12081432342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:51:03.505668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_49_2569.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_53_3599.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_56_2978.jpg', '/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_59_2639.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_01_2556.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_05_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_49_2569.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_53_3599.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_56_2978.jpg
/home/pi/Desktop/images/30102025/06/57/image_30102025_06_57_59_2639.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_01_2556.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_05_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751537","1391751542","1391751552","1391751546","1391751549","1391751540"],"photo_ids_order":["1391751537","1391751540","1391751542","1391751546","1391751549","1391751552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/72fc0b04abd34de501d2e6cd09e6df28.jpg","text":"TemporaryFile(/tmp/multipartBody3170584487293910756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_57_49_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b4e4df28ced49152edea0c0590fc3614.jpg","text":"TemporaryFile(/tmp/multipartBody7153544871657655223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_57_56_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e27b6fd05de3663ef5d6df2d05184b3d.jpg","text":"TemporaryFile(/tmp/multipartBody3744901968971569807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_58_05_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0389f661dd587c8bd74a1eb2bb8530a4.jpg","text":"TemporaryFile(/tmp/multipartBody4589964873321395273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_57_59_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c2112d93a9a11f3cb66186af60e321f9.jpg","text":"TemporaryFile(/tmp/multipartBody4595201352993676287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_58_01_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a5b38d38ca83cf04478a1b6c137e9b50.jpg","text":"TemporaryFile(/tmp/multipartBody3288962659121874443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037525840,"filename":"image_30102025_06_57_53_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751542","file1":"1391751540","file0":"1391751537","file4":"1391751549","file5":"1391751552","file3":"1391751546"},"map_files_photo_id_array":[{"photo_id":"1391751552","filename":"file5"},{"photo_id":"1391751542","filename":"file2"},{"photo_id":"1391751549","filename":"file4"},{"photo_id":"1391751540","filename":"file1"},{"photo_id":"1391751537","filename":"file0"},{"photo_id":"1391751546","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751537":["hashtag1","hashtag2"]},{"1391751542":["hashtag1","hashtag2"]},{"1391751552":["hashtag1","hashtag2"]},{"1391751546":["hashtag1","hashtag2"]},{"1391751549":["hashtag1","hashtag2"]},{"1391751540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751537, 1391751542, 1391751552, 1391751546, 1391751549, 1391751540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47071576118469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:51:42.760093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_08_2696.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_10_2794.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_14_3735.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_17_2645.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_20_2701.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_26_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_08_2696.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_10_2794.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_14_3735.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_17_2645.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_20_2701.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_26_3686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751773","1391751776","1391751665","1391751774","1391751706","1391751750"],"photo_ids_order":["1391751665","1391751706","1391751750","1391751773","1391751774","1391751776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0183dc20cae6795060aaa32d1434a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody5566303107341430387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_17_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b8b71d60e1c4b8d5526961c15004ccd2.jpg","text":"TemporaryFile(/tmp/multipartBody7285608988443776775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_26_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/23075185ba769a638d8eae9ea6f05d04.jpg","text":"TemporaryFile(/tmp/multipartBody5782195400140309119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_08_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/e85021e80b500f38e78e7e347e731742.jpg","text":"TemporaryFile(/tmp/multipartBody2206499886899870828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_20_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/95990f74b79c8b31d1df0d5f266f03e9.jpg","text":"TemporaryFile(/tmp/multipartBody7301307956227437805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_10_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/00631648746bc0a01e461c4279ce0058.jpg","text":"TemporaryFile(/tmp/multipartBody6028746815631957525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037564040,"filename":"image_30102025_06_58_14_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751750","file1":"1391751706","file0":"1391751665","file4":"1391751774","file5":"1391751776","file3":"1391751773"},"map_files_photo_id_array":[{"photo_id":"1391751776","filename":"file5"},{"photo_id":"1391751750","filename":"file2"},{"photo_id":"1391751774","filename":"file4"},{"photo_id":"1391751706","filename":"file1"},{"photo_id":"1391751665","filename":"file0"},{"photo_id":"1391751773","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751773":["hashtag1","hashtag2"]},{"1391751776":["hashtag1","hashtag2"]},{"1391751665":["hashtag1","hashtag2"]},{"1391751774":["hashtag1","hashtag2"]},{"1391751706":["hashtag1","hashtag2"]},{"1391751750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751773, 1391751776, 1391751665, 1391751774, 1391751706, 1391751750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68602442741394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:52:21.957884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_29_2558.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_31_2705.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_35_3633.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_38_2615.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_40_2688.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_44_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_29_2558.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_31_2705.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_35_3633.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_38_2615.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_40_2688.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_44_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751906","1391751915","1391751926","1391751871","1391751931","1391751879"],"photo_ids_order":["1391751871","1391751879","1391751906","1391751915","1391751926","1391751931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/037ba84e9796e817a131a2311c9ad492.jpg","text":"TemporaryFile(/tmp/multipartBody8679114354857775866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_35_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/8c0d95c8e49b49a36bc4d19fee1e6604.jpg","text":"TemporaryFile(/tmp/multipartBody8710278357383601123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_38_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/062dadb95a8606734b90656d16c7b90c.jpg","text":"TemporaryFile(/tmp/multipartBody3213091463303139917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_40_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ad021d73c405c3fd6b233bbc71c93fe8.jpg","text":"TemporaryFile(/tmp/multipartBody769507655217589884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_29_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2482e2e8b9cfca75cd0a87ba8c691585.jpg","text":"TemporaryFile(/tmp/multipartBody8718311744557922889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_44_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ae9cc6c485b63264bbc83ceaebd1cd4a.jpg","text":"TemporaryFile(/tmp/multipartBody7837348426106403645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037604796,"filename":"image_30102025_06_58_31_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751906","file1":"1391751879","file0":"1391751871","file4":"1391751926","file5":"1391751931","file3":"1391751915"},"map_files_photo_id_array":[{"photo_id":"1391751931","filename":"file5"},{"photo_id":"1391751906","filename":"file2"},{"photo_id":"1391751926","filename":"file4"},{"photo_id":"1391751879","filename":"file1"},{"photo_id":"1391751871","filename":"file0"},{"photo_id":"1391751915","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751906":["hashtag1","hashtag2"]},{"1391751915":["hashtag1","hashtag2"]},{"1391751926":["hashtag1","hashtag2"]},{"1391751871":["hashtag1","hashtag2"]},{"1391751931":["hashtag1","hashtag2"]},{"1391751879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751906, 1391751915, 1391751926, 1391751871, 1391751931, 1391751879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9873149394989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:53:02.830458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_47_2726.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_49_2692.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_53_3624.jpg', '/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_59_2785.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_01_2594.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_05_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_47_2726.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_49_2692.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_53_3624.jpg
/home/pi/Desktop/images/30102025/06/58/image_30102025_06_58_59_2785.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_01_2594.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_05_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751956","1391751941","1391751938","1391751952","1391751946","1391751949"],"photo_ids_order":["1391751938","1391751941","1391751946","1391751949","1391751952","1391751956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/07a6fd6ae82e4c9f4bdad7888647c155.jpg","text":"TemporaryFile(/tmp/multipartBody7926663039346547979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_59_05_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5dd7ab4229a78801bda27471b594fccb.jpg","text":"TemporaryFile(/tmp/multipartBody4608322661254754375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_58_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a2442239cb57bcf4c197560fe1e8d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody9187574691160722505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_58_47_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/a71b5782d831f80bd58ebfca5ef3f663.jpg","text":"TemporaryFile(/tmp/multipartBody6247656195821667683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_59_01_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/4995c2cbad21213b87af2f25862e38d0.jpg","text":"TemporaryFile(/tmp/multipartBody422348861522655535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_58_53_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/809b35fbffa347ae6461a31cf8fa6193.jpg","text":"TemporaryFile(/tmp/multipartBody7377378902475708746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037645147,"filename":"image_30102025_06_58_59_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751946","file1":"1391751941","file0":"1391751938","file4":"1391751952","file5":"1391751956","file3":"1391751949"},"map_files_photo_id_array":[{"photo_id":"1391751956","filename":"file5"},{"photo_id":"1391751946","filename":"file2"},{"photo_id":"1391751952","filename":"file4"},{"photo_id":"1391751941","filename":"file1"},{"photo_id":"1391751938","filename":"file0"},{"photo_id":"1391751949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751956":["hashtag1","hashtag2"]},{"1391751941":["hashtag1","hashtag2"]},{"1391751938":["hashtag1","hashtag2"]},{"1391751952":["hashtag1","hashtag2"]},{"1391751946":["hashtag1","hashtag2"]},{"1391751949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751956, 1391751941, 1391751938, 1391751952, 1391751946, 1391751949)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.756049156188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:54:02.939416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_07_2583.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_10_2846.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_14_3652.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_17_2715.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_19_2584.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_23_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_07_2583.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_10_2846.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_14_3652.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_17_2715.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_19_2584.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_23_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391751992","1391751994","1391751988","1391751982","1391751985","1391751990"],"photo_ids_order":["1391751982","1391751985","1391751988","1391751990","1391751992","1391751994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6cdf1576b437b0a480b98ef31eec8df1.jpg","text":"TemporaryFile(/tmp/multipartBody4475965311570969453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_19_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/c1197a445925b534177db987b0ad4d97.jpg","text":"TemporaryFile(/tmp/multipartBody1430330191401188535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_23_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/eeff6a754d99258f4a7cd14fc917d4f4.jpg","text":"TemporaryFile(/tmp/multipartBody982792018111245226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_14_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/99655cf93b5df02d6c142fe36da3059a.jpg","text":"TemporaryFile(/tmp/multipartBody6655838040090100395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_07_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0f25c592e48773e676a51c259cad6bf7.jpg","text":"TemporaryFile(/tmp/multipartBody979994468384046025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_10_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/55b3a6fb87df36e0a42a92dd01e73479.jpg","text":"TemporaryFile(/tmp/multipartBody1389576302460445162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037705237,"filename":"image_30102025_06_59_17_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391751988","file1":"1391751985","file0":"1391751982","file4":"1391751992","file5":"1391751994","file3":"1391751990"},"map_files_photo_id_array":[{"photo_id":"1391751994","filename":"file5"},{"photo_id":"1391751988","filename":"file2"},{"photo_id":"1391751992","filename":"file4"},{"photo_id":"1391751985","filename":"file1"},{"photo_id":"1391751982","filename":"file0"},{"photo_id":"1391751990","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391751992":["hashtag1","hashtag2"]},{"1391751994":["hashtag1","hashtag2"]},{"1391751988":["hashtag1","hashtag2"]},{"1391751982":["hashtag1","hashtag2"]},{"1391751985":["hashtag1","hashtag2"]},{"1391751990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391751992, 1391751994, 1391751988, 1391751982, 1391751985, 1391751990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45217800140381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:54:42.279107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_25_2621.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_29_3642.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_32_2654.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_34_2666.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_37_2692.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_46_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_25_2621.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_29_3642.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_32_2654.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_34_2666.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_37_2692.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_46_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391752001","1391752019","1391752021","1391752023","1391752014","1391752008"],"photo_ids_order":["1391752001","1391752008","1391752014","1391752019","1391752021","1391752023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/fe79460c0438d9ec47dfcd1e078b1289.jpg","text":"TemporaryFile(/tmp/multipartBody7275789725631090756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_25_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3f9eb9f00e381adc4a0c909058daa968.jpg","text":"TemporaryFile(/tmp/multipartBody6027565567682555264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_34_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/234ee009fb5b5509dd0fea415755dc75.jpg","text":"TemporaryFile(/tmp/multipartBody8485162187202644432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_37_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/797082c5c7d9d013b6c9def9b7c47d96.jpg","text":"TemporaryFile(/tmp/multipartBody7426886946662747518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_46_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/17ff01a66a7a44fce74926510fe80c40.jpg","text":"TemporaryFile(/tmp/multipartBody2981964554395067468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_32_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6a4443fdcfd909056929221d7efe603d.jpg","text":"TemporaryFile(/tmp/multipartBody6775367866589715499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037743497,"filename":"image_30102025_06_59_29_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391752014","file1":"1391752008","file0":"1391752001","file4":"1391752021","file5":"1391752023","file3":"1391752019"},"map_files_photo_id_array":[{"photo_id":"1391752023","filename":"file5"},{"photo_id":"1391752014","filename":"file2"},{"photo_id":"1391752021","filename":"file4"},{"photo_id":"1391752008","filename":"file1"},{"photo_id":"1391752001","filename":"file0"},{"photo_id":"1391752019","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391752001":["hashtag1","hashtag2"]},{"1391752019":["hashtag1","hashtag2"]},{"1391752021":["hashtag1","hashtag2"]},{"1391752023":["hashtag1","hashtag2"]},{"1391752014":["hashtag1","hashtag2"]},{"1391752008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391752001, 1391752019, 1391752021, 1391752023, 1391752014, 1391752008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.161484479904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-01 23:55:22.623198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_50_3629.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_52_2616.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_55_2690.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_59_3565.jpg', '/home/pi/Desktop/images/30102025/06/59/image_30102025_07_00_02_2907.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_04_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_50_3629.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_52_2616.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_55_2690.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_06_59_59_3565.jpg
/home/pi/Desktop/images/30102025/06/59/image_30102025_07_00_02_2907.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_04_2877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391752034","1391752043","1391752039","1391752030","1391752027","1391752047"],"photo_ids_order":["1391752027","1391752030","1391752034","1391752039","1391752043","1391752047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b72e2d213a396125d0a527813063d596.jpg","text":"TemporaryFile(/tmp/multipartBody2702070035372220700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_06_59_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/381d88ed9e21e7c04c42b1fabfe88f69.jpg","text":"TemporaryFile(/tmp/multipartBody2139305041080809440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_07_00_02_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/d96472cba7165580cd9129db25d41d48.jpg","text":"TemporaryFile(/tmp/multipartBody6463143377723016687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_06_59_59_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/f0e98673ad877e1e4d6f0e7c3e5549da.jpg","text":"TemporaryFile(/tmp/multipartBody2470327686204101245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_06_59_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/3cef4fe808c8ca7595c1870939cb7ec0.jpg","text":"TemporaryFile(/tmp/multipartBody149155432412535578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_06_59_50_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/2fd26cfd40213bdd04937dcfbcfcd2d7.jpg","text":"TemporaryFile(/tmp/multipartBody224713991621440243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037785449,"filename":"image_30102025_07_00_04_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391752034","file1":"1391752030","file0":"1391752027","file4":"1391752043","file5":"1391752047","file3":"1391752039"},"map_files_photo_id_array":[{"photo_id":"1391752047","filename":"file5"},{"photo_id":"1391752034","filename":"file2"},{"photo_id":"1391752043","filename":"file4"},{"photo_id":"1391752030","filename":"file1"},{"photo_id":"1391752027","filename":"file0"},{"photo_id":"1391752039","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391752034":["hashtag1","hashtag2"]},{"1391752043":["hashtag1","hashtag2"]},{"1391752039":["hashtag1","hashtag2"]},{"1391752030":["hashtag1","hashtag2"]},{"1391752027":["hashtag1","hashtag2"]},{"1391752047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391752034, 1391752043, 1391752039, 1391752030, 1391752027, 1391752047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24619007110596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:56:03.194801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_07_2551.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_10_3025.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_14_3866.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_17_2749.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_19_2640.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_23_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_07_2551.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_10_3025.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_14_3866.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_17_2749.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_19_2640.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_23_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391752064","1391752067","1391752060","1391752057","1391752062","1391752065"],"photo_ids_order":["1391752057","1391752060","1391752062","1391752064","1391752065","1391752067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/247dfae0f8a6e12707c08c232c00bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2822724954568019234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_17_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/0aff5916a74dcc4c380d20d906fcf91c.jpg","text":"TemporaryFile(/tmp/multipartBody6190460636114921027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_23_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/5118c9b073a755d130613b6ecc500879.jpg","text":"TemporaryFile(/tmp/multipartBody7942423824886037535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_10_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/afeb759e15fc190364e594f4755d1a69.jpg","text":"TemporaryFile(/tmp/multipartBody7142719046190747284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_07_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/818428d269ea48e68495b81c62eed6c9.jpg","text":"TemporaryFile(/tmp/multipartBody1033549037326485371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_14_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/1d1b1fc425f69bfe685e324979b576a8.jpg","text":"TemporaryFile(/tmp/multipartBody1062619012023521884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037825538,"filename":"image_30102025_07_00_19_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391752062","file1":"1391752060","file0":"1391752057","file4":"1391752065","file5":"1391752067","file3":"1391752064"},"map_files_photo_id_array":[{"photo_id":"1391752067","filename":"file5"},{"photo_id":"1391752062","filename":"file2"},{"photo_id":"1391752065","filename":"file4"},{"photo_id":"1391752060","filename":"file1"},{"photo_id":"1391752057","filename":"file0"},{"photo_id":"1391752064","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391752064":["hashtag1","hashtag2"]},{"1391752067":["hashtag1","hashtag2"]},{"1391752060":["hashtag1","hashtag2"]},{"1391752057":["hashtag1","hashtag2"]},{"1391752062":["hashtag1","hashtag2"]},{"1391752065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391752064, 1391752067, 1391752060, 1391752057, 1391752062, 1391752065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73932909965515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-01 23:56:42.757102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_26_2684.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_28_2610.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_32_3642.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_35_2662.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_37_2577.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_41_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_26_2684.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_28_2610.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_32_3642.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_35_2662.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_37_2577.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_41_3645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2014310359954834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-01 23:57:02.622935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_26_2684.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_28_2610.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_32_3642.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_35_2662.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_37_2577.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_41_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_26_2684.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_28_2610.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_32_3642.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_35_2662.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_37_2577.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_41_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391752115","1391752106","1391752098","1391752102","1391752095","1391752110"],"photo_ids_order":["1391752095","1391752098","1391752102","1391752106","1391752110","1391752115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/ec521c4b7c2ae5c8829d0b6e67e3c705.jpg","text":"TemporaryFile(/tmp/multipartBody3625475310934300184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_41_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/6ea890f140f69bacc049bd82118d2b88.jpg","text":"TemporaryFile(/tmp/multipartBody5160561083728075065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_35_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/787c8ba5e8d3f09e4a5a5c7ad5d495fd.jpg","text":"TemporaryFile(/tmp/multipartBody799887550074037574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_28_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/b34ed63ae25408be5854eaea6aabd844.jpg","text":"TemporaryFile(/tmp/multipartBody1374017322065380285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_32_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/02e6989b5277f1f6ac3215c492a605ff.jpg","text":"TemporaryFile(/tmp/multipartBody8672298258228224225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_26_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/1/036bcc6efdcc2305931f621c95f3b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5506484344184533265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762037884812,"filename":"image_30102025_07_00_37_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391752102","file1":"1391752098","file0":"1391752095","file4":"1391752110","file5":"1391752115","file3":"1391752106"},"map_files_photo_id_array":[{"photo_id":"1391752115","filename":"file5"},{"photo_id":"1391752102","filename":"file2"},{"photo_id":"1391752110","filename":"file4"},{"photo_id":"1391752098","filename":"file1"},{"photo_id":"1391752095","filename":"file0"},{"photo_id":"1391752106","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391752115":["hashtag1","hashtag2"]},{"1391752106":["hashtag1","hashtag2"]},{"1391752098":["hashtag1","hashtag2"]},{"1391752102":["hashtag1","hashtag2"]},{"1391752095":["hashtag1","hashtag2"]},{"1391752110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391752115, 1391752106, 1391752098, 1391752102, 1391752095, 1391752110)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.410139083862305 secondes ---
